diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ce485eb..cab5dde 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -16,12 +16,7 @@ parameters: path: src/Preg.php - - message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:matchAll\\(\\) expects array\\\\>, \\(512 is 1 \\? array\\\\> \\: \\(512 is 2 \\? list\\\\> \\: \\(512 is 256\\|257 \\? array\\\\> \\: \\(512 is 258 \\? list\\\\> \\: \\(512 is 512\\|513 \\? array\\\\> \\: \\(512 is 514 \\? list\\\\> \\: \\(512 is 770 \\? list\\\\> \\: array\\)\\)\\)\\)\\)\\)\\) given\\.$#" - count: 1 - path: src/Preg.php - - - - message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:matchAllWithOffsets\\(\\) expects array\\\\}\\>\\>, \\(768 is 1 \\? array\\\\> \\: \\(768 is 2 \\? list\\\\> \\: \\(768 is 256\\|257 \\? array\\\\> \\: \\(768 is 258 \\? list\\\\> \\: \\(768 is 512\\|513 \\? array\\\\> \\: \\(768 is 514 \\? list\\\\> \\: \\(768 is 770 \\? list\\\\> \\: array\\)\\)\\)\\)\\)\\)\\) given\\.$#" + message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:matchAllWithOffsets\\(\\) expects array\\\\}\\>\\>, array given\\.$#" count: 1 path: src/Preg.php @@ -31,11 +26,6 @@ parameters: path: src/Preg.php - - message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:pregMatch\\(\\) expects array\\, \\(int is int \\? array\\\\|string\\>\\> \\: \\(int is int \\? array\\ \\: \\(int is int \\? array\\\\> \\: array\\\\)\\)\\) given\\.$#" - count: 1 - path: src/Preg.php - - - - message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:pregMatch\\(\\) expects array\\, array given\\.$#" + message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:pregMatch\\(\\) expects array\\\\}\\|string\\|null\\>, array given\\.$#" count: 1 path: src/Preg.php