Skip to content

Allow specifying a relative file via phar, assert that the requested file exists #102

Allow specifying a relative file via phar, assert that the requested file exists

Allow specifying a relative file via phar, assert that the requested file exists #102

Triggered via pull request March 8, 2024 12:03
Status Failure
Total duration 6m 2s
Artifacts

psalm.yml

on: pull_request
Matrix: Static Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
MixedAssignment: src/ComposerRequireChecker/Cli/CheckCommand.php#L235
src/ComposerRequireChecker/Cli/CheckCommand.php:235:9: MixedAssignment: Unable to determine the type that $configFileArgument is being assigned to (see https://psalm.dev/032)
RiskyTruthyFalsyComparison: src/ComposerRequireChecker/DependencyGuesser/GuessFromLoadedExtensions.php#L42
src/ComposerRequireChecker/DependencyGuesser/GuessFromLoadedExtensions.php:42:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, string>|null contains type array<array-key, string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/ComposerRequireChecker/FileLocator/LocateAllFilesByExtension.php#L55
src/ComposerRequireChecker/FileLocator/LocateAllFilesByExtension.php:55:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, string>|null contains type array<array-key, string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
Static Analysis by Psalm (locked, 8.2, ubuntu-latest)
Process completed with exit code 2.
Static Analysis by Psalm (locked, 8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/