Skip to content

Commit

Permalink
Adapt ignore rules to new version of PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jul 5, 2021
1 parent c395343 commit 13350ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ parameters:
path: lib/Doctrine/ORM/QueryBuilder.php

-
message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\<int\\|string, object\\>\\|string\\>\\|object\\|string, array\\<string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Join\\> given\\.$#"
message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\<int\\|string, object\\>\\|string\\>\\|object\\|string, array\\<string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Join\\>&nonEmpty given\\.$#"
count: 2
path: lib/Doctrine/ORM/QueryBuilder.php

Expand Down
4 changes: 0 additions & 4 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ parameters:
Doctrine\ORM\Query\Parser:
- syntaxError
phpVersion: 70100

ignoreErrors:
# The class was added in PHP 8.1
- '/^Attribute class ReturnTypeWillChange does not exist.$/'

0 comments on commit 13350ea

Please sign in to comment.