Skip to content

Commit 903a154

Browse files
committed
phpstan ignore missing attribute
1 parent a402c55 commit 903a154

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpstan.neon.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ parameters:
2323
-
2424
message: '#Call to an undefined static method \S+#'
2525
path: tests/Support/RunkitTest.php
26+
27+
# PHPUnit 10+ attributes not available in earlier versions
28+
-
29+
message: '#Attribute class PHPUnit\\Framework\\Attributes\\After does not exist\.'
30+
paths:
31+
- src/EnvironmentVariables.php

0 commit comments

Comments
 (0)