Skip to content

Update to PHPStan 2 #248

Update to PHPStan 2

Update to PHPStan 2 #248

Re-run triggered November 12, 2024 16:09
Status Failure
Total duration 49s
Artifacts

phpstan.yml

on: pull_request
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan (8.3): src/PHPStan/PregMatchTypeSpecifyingExtension.php#L115
Parameter #4 $scope of method PHPStan\Analyser\TypeSpecifier::create() expects PHPStan\Analyser\Scope, bool given.
PHPStan (8.3)
Process completed with exit code 1.
PHPStan (7.2)
The job was canceled because "_8_3" failed.
PHPStan (7.2): src/Preg.php#L134
Parameter &$matches @param-out type of method Composer\Pcre\Preg::matchAllWithOffsets() expects array<int|string, list<array{string|null, int<-1, max>}>>, array given.
PHPStan (7.2): src/Preg.php#L188
Parameter #2 $callback of function preg_replace_callback expects callable(array<int|string, string>): string, (callable(array<int|string, array{string|null, int<-1, max>}>): string)|(callable(array<int|string, string|null>): string) given.
PHPStan (7.2): src/Preg.php#L190
Parameter #2 $callback of function preg_replace_callback expects callable(array<int|string, string>): string, (callable(array<int|string, array{string|null, int<-1, max>}>): string)|(callable(array<int|string, string|null>): string) given.
PHPStan (7.2)
The operation was canceled.