Add support for Psalm 6 #108
ci.yaml
on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: tests
Annotations
12 errors and 5 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)
|
UndefinedMethod:
src/analyzer/Stock/ParserTombstoneProvider.php#L41
src/analyzer/Stock/ParserTombstoneProvider.php:41:42: UndefinedMethod: Method PhpParser\ParserFactory::create does not exist (see https://psalm.dev/022)
|
UndefinedConstant:
src/analyzer/Stock/ParserTombstoneProvider.php#L41
src/analyzer/Stock/ParserTombstoneProvider.php:41:49: 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)
|
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/
|
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.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/
|