rector/phpstan.neon
2017-11-06 13:13:55 +01:00

21 lines
1.1 KiB
Plaintext

parameters:
ignoreErrors:
# property overriden
- '#Rector\\NodeTraverser\\(Cloning|Shutdown)NodeTraverser::__construct\(\) does not call parent constructor from PhpParser\\NodeTraverser#'
# false positive - property_exists()
- '#Access to an undefined property PhpParser\\Node\\Stmt\\ClassLike::\$extends#'
# false positive, has annotation type above (@todo recheck for possible ignored positives)
- '#Access to an undefined property PhpParser\\Node::\$args#'
- '#Access to an undefined property PhpParser\\Node::\$var#'
- '#Call to an undefined method PhpParser\\Node::toString\(\)#'
- '#Access to an undefined property PhpParser\\Node::\$name#' # 13 off
- '#Access to an undefined property PhpParser\\Node\\Stmt::\$expr#'
excludes_analyse:
# test files
- '*tests/Rector/Contrib/Nette/Routing/BootstrapToRouterFactoryRector/Wrong/bootstrap.php'
- '*tests/Rector/Dynamic/MethodNameReplacerRector/wrong/*'
- '*tests/Rector/Dynamic/MethodNameReplacerRector/correct/*'
- '*packages/**/tests/**/**Source/**'
- '*packages/**/tests/**Source/**'