Allowing version 6 and 7 of symfony/yaml #374
Annotations
16 errors
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.1
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 7.4 --prefer-lowest
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.2 --prefer-lowest
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.1 --prefer-lowest
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.0
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 7.4
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.0 --prefer-lowest
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
lib/Doctrine/Cache/Memcache.php#L148
lib/Doctrine/Cache/Memcache.php:148:25: RiskyTruthyFalsyComparison: Operand of type array<string, int|string>|false contains type array<string, int|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.2
Process completed with exit code 2.
|