Lock file maintenance, Minor static analysis improvements #250
continuous-integration.yml
on: pull_request
Generate job matrix
7s
Matrix: QA Checks
Annotations
6 errors
RiskyTruthyFalsyComparison:
test/MezzioInstallerTest/AddPackageTest.php#L47
test/MezzioInstallerTest/AddPackageTest.php:47:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
test/MezzioInstallerTest/OptionalPackagesTestCase.php#L57
test/MezzioInstallerTest/OptionalPackagesTestCase.php:57:20: 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)
|
RiskyTruthyFalsyComparison:
test/MezzioInstallerTest/OptionalPackagesTestCase.php#L81
test/MezzioInstallerTest/OptionalPackagesTestCase.php:81:20: 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)
|
RiskyTruthyFalsyComparison:
test/MezzioInstallerTest/OptionalPackagesTestCase.php#L137
test/MezzioInstallerTest/OptionalPackagesTestCase.php:137:20: 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)
|
RiskyTruthyFalsyComparison:
test/MezzioInstallerTest/OptionalPackagesTestCase.php#L170
test/MezzioInstallerTest/OptionalPackagesTestCase.php:170:24: 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)
|
RiskyTruthyFalsyComparison:
test/MezzioInstallerTest/ProjectSandboxTrait.php#L182
test/MezzioInstallerTest/ProjectSandboxTrait.php:182:13: RiskyTruthyFalsyComparison: Operand of type callable|null contains type callable, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|