From 7064c1707ed9b300c8302ea7db6d6f8faf172b72 Mon Sep 17 00:00:00 2001 From: Dani Garcia Date: Mon, 8 Apr 2024 11:39:27 +0200 Subject: [PATCH] whitelist deprecation errors --- phpstan.neon | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index 412b80d..8fc4e2c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,3 +4,63 @@ parameters: - vendor ignoreErrors: - '#Parameter \#2 \$hydrationMode of method Doctrine\\ORM\\Query::iterate\(\) expects [0-9\|]+string\|null, 101 given#' + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$nameConverter\\.$#" + count: 1 + path: Doctrine/Orm/Filter/BooleanFilter.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$nameConverter\\.$#" + count: 1 + path: Doctrine/Orm/Filter/DateFilter.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$nameConverter\\.$#" + count: 1 + path: Doctrine/Orm/Filter/NotEqualFilter.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$nameConverter\\.$#" + count: 1 + path: Doctrine/Orm/Filter/NumericFilter.php + + - + message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/OrderFilter.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$orderParameterName follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/OrderFilter.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$properties\\.$#" + count: 1 + path: Doctrine/Orm/Filter/RangeFilter.php + + - + message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/SearchFilter.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$iriConverter follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/SearchFilter.php + + - + message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$propertyMetadataFactory follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/SearchFilterExact.php + + - + message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$resourceMetadataFactory follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/SearchFilterExact.php + + - + message: "#^Deprecated in PHP 8\\.1\\: Required parameter \\$iriConverter follows optional parameter \\$requestStack\\.$#" + count: 1 + path: Doctrine/Orm/Filter/SearchFilterExact.php