2.x update stan #586
Annotations
10 errors
Run psalm:
src/AuthenticationService.php#L421
src/AuthenticationService.php:421:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/AuthenticationService.php#L421
src/AuthenticationService.php:421:41: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/AuthenticationService.php#L492
src/AuthenticationService.php:492:36: PossiblyNullArgument: Argument 1 of get_class cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run psalm:
src/Authenticator/CookieAuthenticator.php#L110
src/Authenticator/CookieAuthenticator.php:110:13: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/Authenticator/EnvironmentAuthenticator.php#L140
src/Authenticator/EnvironmentAuthenticator.php:140:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/Authenticator/EnvironmentAuthenticator.php#L150
src/Authenticator/EnvironmentAuthenticator.php:150:13: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/Authenticator/FormAuthenticator.php#L133
src/Authenticator/FormAuthenticator.php:133:13: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/Authenticator/HttpDigestAuthenticator.php#L100
src/Authenticator/HttpDigestAuthenticator.php:100:13: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/Authenticator/HttpDigestAuthenticator.php#L140
src/Authenticator/HttpDigestAuthenticator.php:140:13: RiskyTruthyFalsyComparison: Operand of type non-empty-mixed|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run psalm:
src/Authenticator/JwtAuthenticator.php#L111
src/Authenticator/JwtAuthenticator.php:111:13: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Loading