Skip to content

Commit

Permalink
whitelist deprecation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danigargar committed Apr 9, 2024
1 parent 62456ee commit 7064c17
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7064c17

Please sign in to comment.