Early version of using PHPStan for parsing. #2092
Annotations
10 errors and 3 warnings
Psalm:
src/Core/Ast/Parser/Extractors/ClassMethodExtractor.php#L115
src/Core/Ast/Parser/Extractors/ClassMethodExtractor.php:115:18: RedundantCondition: Type array<array-key, string> for $<tmp coalesce var>4218 is never null (see https://psalm.dev/122)
|
Psalm:
src/Core/Ast/Parser/Extractors/ClassMethodExtractor.php#L115
src/Core/Ast/Parser/Extractors/ClassMethodExtractor.php:115:89: TypeDoesNotContainNull: Cannot resolve types for $<tmp coalesce var>4218 - array<array-key, string> does not contain null (see https://psalm.dev/090)
|
Psalm:
src/Core/Ast/Parser/Extractors/PropertyExtractor.php#L93
src/Core/Ast/Parser/Extractors/PropertyExtractor.php:93:23: PossiblyNullReference: Cannot call method getName on possibly null value (see https://psalm.dev/083)
|
Psalm:
src/Core/Ast/Parser/Extractors/PropertyExtractor.php#L95
src/Core/Ast/Parser/Extractors/PropertyExtractor.php:95:23: PossiblyNullReference: Cannot call method getName on possibly null value (see https://psalm.dev/083)
|
Psalm:
src/Core/Ast/Parser/Extractors/VariableExtractor.php#L84
src/Core/Ast/Parser/Extractors/VariableExtractor.php:84:23: PossiblyNullReference: Cannot call method getName on possibly null value (see https://psalm.dev/083)
|
Psalm:
src/Core/Ast/Parser/Extractors/VariableExtractor.php#L86
src/Core/Ast/Parser/Extractors/VariableExtractor.php:86:23: PossiblyNullReference: Cannot call method getName on possibly null value (see https://psalm.dev/083)
|
Psalm:
src/Core/Ast/Parser/NikicPhpParser/TypeScope.php#L18
src/Core/Ast/Parser/NikicPhpParser/TypeScope.php:18:21: 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)
|
Psalm:
src/Core/Ast/Parser/PhpStanParser/PhpStanTypeResolver.php#L31
src/Core/Ast/Parser/PhpStanParser/PhpStanTypeResolver.php:31:93: NamedArgumentNotAllowed: Method array_merge called with named unpacked array array<array-key, list<string>> (array with string keys) (see https://psalm.dev/268)
|
Psalm:
src/Core/Ast/Parser/TypeScope.php#L1
src/Core/Ast/Parser/TypeScope.php:0:0: UnusedBaselineEntry: Baseline for issue "RiskyTruthyFalsyComparison" has 1 extra entry. (see https://psalm.dev/316)
|
Psalm
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Get composer cache directory
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/
|
Loading