Update to PHPStan 2 #248
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.
|