Skip to content

Make getExecutablePath guards more explicit #143

Make getExecutablePath guards more explicit

Make getExecutablePath guards more explicit #143

Triggered via push May 23, 2024 17:50
Status Failure
Total duration 25s
Artifacts

csqa.yml

on: push
PHP: 7.4 | Basic CS and QA checks
12s
PHP: 7.4 | Basic CS and QA checks
PHP: 7.4 | Static analysis
14s
PHP: 7.4 | Static analysis
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
RiskyTruthyFalsyComparison: PhpcsChanged/CliOptions.php#L358
PhpcsChanged/CliOptions.php:358:12: 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)
RiskyTruthyFalsyComparison: PhpcsChanged/CliOptions.php#L363
PhpcsChanged/CliOptions.php:363:12: 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)
RiskyTruthyFalsyComparison: PhpcsChanged/CliOptions.php#L368
PhpcsChanged/CliOptions.php:368:12: 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)
RiskyTruthyFalsyComparison: PhpcsChanged/CliOptions.php#L373
PhpcsChanged/CliOptions.php:373:12: 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)
RiskyTruthyFalsyComparison: PhpcsChanged/UnixShell.php#L420
PhpcsChanged/UnixShell.php:420:29: 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)
PHP: 7.4 | Static analysis
Process completed with exit code 2.
PHP: 7.4 | Basic CS and QA checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP: 7.4 | Static analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.