fix: require phpstan v2 #918
Annotations
10 errors and 1 warning
Full CI:
build/PHPStan/Rules/CheckRuleIsInExtension.php#L29
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
|
Full CI:
build/PHPStan/Rules/CheckRuleIsInExtension.php#L30
Cannot access offset 'class' on mixed.
|
Full CI:
build/PHPStan/Rules/CheckRuleIsInExtension.php#L37
Property DaveLiddament\PhpstanPhpLanguageExtensions\Build\PHPStan\Rules\CheckRuleIsInExtension::$classes (list<string>) does not accept list<mixed>.
|
Full CI:
build/PHPStan/Rules/CheckRuleIsInExtension.php#L70
Method DaveLiddament\PhpstanPhpLanguageExtensions\Build\PHPStan\Rules\CheckRuleIsInExtension::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
|
Full CI:
e2e/PHPStanResultsChecker.php#L26
Cannot cast mixed to int.
|
Full CI:
e2e/PHPStanResultsChecker.php#L44
Cannot access offset 'line' on mixed.
|
Full CI:
e2e/PHPStanResultsChecker.php#L45
Cannot access offset 'identifier' on mixed.
|
Full CI:
e2e/PHPStanResultsChecker.php#L46
Parameter #3 $subject of function str_replace expects array<string>|string, mixed given.
|
Full CI:
e2e/PHPStanResultsChecker.php#L48
Parameter #3 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
|
Full CI:
e2e/PHPStanResultsChecker.php#L66
Parameter #1 $array (list<non-falsy-string>) of array_values is already a list, call has no effect.
|
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