-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
30 lines (26 loc) · 914 Bytes
/
phpstan.neon.dist
File metadata and controls
30 lines (26 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
parameters:
# phpVersion: 50400 # Needs to be 70100 or higher... sigh...
level: 6
paths:
- devtools-autoload.php
- bin
- PHPCSDebug
- Scripts
- Tests
bootstrapFiles:
- phpunit-bootstrap.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
# yamllint disable rule:line-length
# Level 3
# Bug upstream. See: https://github.com/phpstan/phpstan/issues/13325
-
message: '`^Property PHPCSDevTools\\Scripts\\Utils\\FileList::\$fileIterator \(RegexIterator<[^)]+>>\) does not accept RegexIterator<[^>]+>>\.$`'
path: Scripts/Utils/FileList.php
count: 1
# yamllint enable rule:line-length
# Level 5
-
count: 1
message: '`^Parameter #1 \$callback of function spl_autoload_register expects`'
path: devtools-autoload.php