Bump phpstan/phpstan from 1.12.7 to 2.0.3 in /tools/phpstan #1334
Annotations
10 errors and 2 warnings
Static Analyze:
src/Matcher/ArrayMatcher.php#L226
Dead catch - Coduo\PHPMatcher\Exception\Exception is never thrown in the try block.
|
Static Analyze:
src/Matcher/Pattern/Expander/DateTimeComparisonTrait.php (in context of class Coduo/PHPMatcher/Matcher/Pattern/Expander/After)#L20
Call to function is_string() with string will always evaluate to true.
|
Static Analyze:
src/Matcher/Pattern/Expander/DateTimeComparisonTrait.php (in context of class Coduo/PHPMatcher/Matcher/Pattern/Expander/Before)#L20
Call to function is_string() with string will always evaluate to true.
|
Static Analyze:
src/Matcher/Pattern/Expander/EndsWith.php#L27
Call to function is_string() with string will always evaluate to true.
|
Static Analyze:
src/Matcher/Pattern/Expander/MatchRegex.php#L25
Call to function is_string() with string will always evaluate to true.
|
Static Analyze:
src/Matcher/Pattern/Expander/MatchRegex.php#L29
Call to function is_string() with string will always evaluate to true.
|
Static Analyze:
src/Matcher/Pattern/Expander/StartsWith.php#L27
Call to function is_string() with string will always evaluate to true.
|
Static Analyze:
src/PHPUnit/PHPMatcherAssertions.php#L10
Trait Coduo\PHPMatcher\PHPUnit\PHPMatcherAssertions is used zero times and is not analysed.
|
Static Analyze:
src/Parser.php#L78
Instanceof between Coduo\PHPMatcher\AST\Pattern and Coduo\PHPMatcher\AST\Pattern will always evaluate to true.
|
Static Analyze
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
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