Add typing to SetCookie
#1604
Annotations
9 errors
PHP-CS-Fixer
Process completed with exit code 8.
|
RedundantCondition:
src/Cookie/CookieJar.php#L91
src/Cookie/CookieJar.php:91:17: RedundantCondition: string can never contain null (see https://psalm.dev/122)
|
UndefinedFunction:
src/Cookie/SetCookie.php#L275
src/Cookie/SetCookie.php:275:114: UndefinedFunction: Function get_debug_type does not exist (see https://psalm.dev/021)
|
PossiblyUndefinedVariable:
src/Cookie/SetCookie.php#L275
src/Cookie/SetCookie.php:275:130: PossiblyUndefinedVariable: Variable $subset must be defined prior to use within an unknown function or method (see https://psalm.dev/018)
|
Psalm
Process completed with exit code 2.
|
PHPStan:
src/Cookie/SetCookie.php#L273
Ignored error pattern #^Result of && is always false\.$# in path /home/runner/work/guzzle/guzzle/src/Cookie/SetCookie.php is expected to occur 3 times, but occurred only 1 time.
|
PHPStan:
src/Cookie/SetCookie.php#L273
Ignored error pattern #^Strict comparison using \!\=\= between null and null will always evaluate to false\.$# in path /home/runner/work/guzzle/guzzle/src/Cookie/SetCookie.php is expected to occur 3 times, but occurred only 1 time.
|
PHPStan:
src/Cookie/SetCookie.php#L275
Undefined variable: $subset
|
PHPStan
Process completed with exit code 1.
|