Skip to content

Commit

Permalink
phpstan ignore missing attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed May 2, 2024
1 parent a402c55 commit 903a154
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ parameters:
-
message: '#Call to an undefined static method \S+#'
path: tests/Support/RunkitTest.php

# PHPUnit 10+ attributes not available in earlier versions
-
message: '#Attribute class PHPUnit\\Framework\\Attributes\\After does not exist\.'
paths:
- src/EnvironmentVariables.php

0 comments on commit 903a154

Please sign in to comment.