forked from TomasVotruba/tomasvotruba.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
13 lines (11 loc) · 778 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
parameters:
ignoreErrors:
# known values
- '#Parameter \#1 \$nodes of method PhpParser\\NodeTraverser::traverse\(\) expects array<PhpParser\\Node>, array<PhpParser\\Node>\|null given#'
- '#Parameter \#1 \$nodes of method PhpParser\\NodeFinder::findFirstInstanceOf\(\) expects array<PhpParser\\Node>\|PhpParser\\Node, array<PhpParser\\Node>\|null given#'
# false positive, invalid vendor load
- '#Property PhpParser\\Node\\Stmt\\ClassMethod::\$name \(string\) does not accept PhpParser\\Node\\Identifier#'
- '#Call to an undefined method PhpParser\\PrettyPrinter\\Standard::printFormatPreserving\(\)#'
- '#Cannot call method toString\(\) on string#'
# buggy
- '#Property (.*) does not accept object#'