Skip to content

Update to PHPStan 2 #249

Update to PHPStan 2

Update to PHPStan 2 #249

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

phpstan.yml

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

Annotations

4 errors
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)
Process completed with exit code 1.