PHP 8.4 support #531
Annotations
10 errors
Run the tests on unix:
src/Collection/ProcessArgumentsCollection.php#L25
src/Collection/ProcessArgumentsCollection.php:25:13: RiskyTruthyFalsyComparison: Operand of type mixed|null contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run the tests on unix:
src/Collection/ProcessArgumentsCollection.php#L37
src/Collection/ProcessArgumentsCollection.php:37:13: RiskyTruthyFalsyComparison: Operand of type int|null|string contains types int|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run the tests on unix:
src/Composer/GrumPHPPlugin.php#L212
src/Composer/GrumPHPPlugin.php:212:13: 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 the tests on unix:
src/Composer/GrumPHPPlugin.php#L284
src/Composer/GrumPHPPlugin.php:284:21: 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 the tests on unix:
src/Console/Command/Git/InitCommand.php#L195
src/Console/Command/Git/InitCommand.php:195:13: 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 the tests on unix:
src/IO/ConsoleIO.php#L101
src/IO/ConsoleIO.php:101:22: RiskyTruthyFalsyComparison: Operand of type false|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 the tests on unix:
src/IO/ConsoleIO.php#L105
src/IO/ConsoleIO.php:105:24: RiskyTruthyFalsyComparison: Operand of type false|int<0, max> contains type int<0, max>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run the tests on unix:
src/Linter/Xml/XmlLinter.php#L179
src/Linter/Xml/XmlLinter.php:179:17: 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 the tests on unix:
src/Locator/ExternalCommand.php#L49
src/Locator/ExternalCommand.php:49:17: 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 the tests on unix:
src/Locator/GuessedPathsLocator.php#L46
src/Locator/GuessedPathsLocator.php:46:26: 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)
|
Loading