Skip to content

switch condition order #109

switch condition order

switch condition order #109

Triggered via push February 4, 2025 18:22
Status Failure
Total duration 36s
Artifacts

ci.yaml

on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 9 warnings
Code Coverage - PHP 8.3
Process completed with exit code 2.
Unit Tests - PHP 8.3
Process completed with exit code 2.
PossiblyFalseOperand: src/analyzer/Cli/AnalyzeCommand.php#L75
src/analyzer/Cli/AnalyzeCommand.php:75:60: PossiblyFalseOperand: Cannot concatenate with a possibly false false|string (see https://psalm.dev/162)
PossiblyFalseArgument: src/analyzer/Config/YamlConfigProvider.php#L33
src/analyzer/Config/YamlConfigProvider.php:33:49: PossiblyFalseArgument: Argument 1 of dirname cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyNullArrayOffset: src/analyzer/Model/AnalyzerResult.php#L120
src/analyzer/Model/AnalyzerResult.php:120:17: PossiblyNullArrayOffset: Cannot access value on variable $tree['dirs'][$pathPart] using possibly null offset mixed|null (see https://psalm.dev/125)
PossiblyNullArrayOffset: src/analyzer/Model/AnalyzerResult.php#L122
src/analyzer/Model/AnalyzerResult.php:122:45: PossiblyNullArrayOffset: Cannot access value on variable $tree['dirs'] using possibly null offset mixed|null (see https://psalm.dev/125)
PossiblyNullReference: src/analyzer/Report/Checkstyle/CheckstyleReportGenerator.php#L84
src/analyzer/Report/Checkstyle/CheckstyleReportGenerator.php:84:44: PossiblyNullReference: Cannot call method getInvoker on possibly null value (see https://psalm.dev/083)
PossiblyFalseArgument: src/analyzer/Report/Html/Renderer/PhpFileFormatter.php#L31
src/analyzer/Report/Html/Renderer/PhpFileFormatter.php:31:33: PossiblyFalseArgument: Argument 1 of token_get_all cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyFalseArgument: src/analyzer/Report/Html/Renderer/PhpFileFormatter.php#L32
src/analyzer/Report/Html/Renderer/PhpFileFormatter.php:32:48: PossiblyFalseArgument: Argument 1 of substr cannot be false, possibly string value expected (see https://psalm.dev/104)
UndefinedConstant: src/analyzer/Stock/ParserTombstoneProvider.php#L47
src/analyzer/Stock/ParserTombstoneProvider.php:47:53: UndefinedConstant: Constant PhpParser\ParserFactory::PREFER_PHP7 is not defined (see https://psalm.dev/020)
PossiblyFalseArgument: src/analyzer/Stock/TombstoneExtractor.php#L69
src/analyzer/Stock/TombstoneExtractor.php:69:43: PossiblyFalseArgument: Argument 1 of PhpParser\Parser::parse cannot be false, possibly string value expected (see https://psalm.dev/104)
RedundantCast: src/analyzer/Stock/TombstoneNodeVisitor.php#L183
src/analyzer/Stock/TombstoneNodeVisitor.php:183:29: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
Unit Tests - PHP 7.1.3, Deps: lowest
The `save-state` 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/
Unit Tests - PHP 7.1.3, Deps: lowest
The `save-state` 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/
Unit Tests - PHP 7.1.3, Deps: lowest
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/
Unit Tests - PHP 7.4
The `save-state` 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/
Unit Tests - PHP 7.4
The `save-state` 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/
Unit Tests - PHP 7.4
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/
Code Coverage - PHP 8.3
The `save-state` 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/
Unit Tests - PHP 8.3
The `save-state` 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/
Coding Standards - PHP 8.3
The `save-state` 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/