Skip to content

Commit

Permalink
✅ ignore attribute missing
Browse files Browse the repository at this point in the history
The attribute HasNamedArguments exists only for Symfony 6.1+
  • Loading branch information
Nek- authored and maxhelias committed Jan 16, 2023
1 parent c397477 commit 23bd0d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ parameters:
- src
- tests
inferPrivatePropertyTypeFromConstructor: true
ignoreErrors:
-
message: "#^Attribute class Symfony\\\\Component\\\\Validator\\\\Attribute\\\\HasNamedArguments does not exist\\.$#"
count: 1
path: src/Validator/Constraints/PhoneNumber.php

0 comments on commit 23bd0d6

Please sign in to comment.