rector/phpstan.neon
2017-11-06 12:48:43 +01:00

18 lines
965 B
Plaintext

parameters:
ignoreErrors:
# property overriden
- '#Rector\\NodeTraverser\\(Cloning|Shutdown)NodeTraverser::__construct\(\) does not call parent constructor from PhpParser\\NodeTraverser#'
# 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
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/**'