Allow specifying a relative file via phar, assert that the requested file exists #102
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/
|