Skip to content

Commit 9c534c7

Browse files
authored
Merge pull request #192 from PHPCSStandards/feature/phpstan-ignore-error
PHPStan: ignore a particular error
2 parents 1311dcf + c9356e3 commit 9c534c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

phpstan.neon.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@ parameters:
99
bootstrapFiles:
1010
- phpunit-bootstrap.php
1111
treatPhpDocTypesAsCertain: false
12+
13+
ignoreErrors:
14+
# yamllint disable rule:line-length
15+
16+
# Level 3
17+
# Bug upstream. See: https://github.com/phpstan/phpstan/issues/13325
18+
-
19+
message: '`^Property PHPCSDevTools\\Scripts\\FileList::\$fileIterator \(RegexIterator<[^)]+>>\) does not accept RegexIterator<[^>]+>>\.$`'
20+
path: Scripts/FileList.php
21+
count: 1
22+
23+
# yamllint enable rule:line-length

0 commit comments

Comments
 (0)