Bump phpstan/phpstan from 1.12.13 to 2.0.4 in /tools/phpstan #1356
Annotations
10 errors and 1 warning
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.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading