mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
37 lines
2.9 KiB
Plaintext
37 lines
2.9 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#'
|
|
- '#Parameter \#1 \$node of method Rector\\NodeAnalyzer\\ClassConstAnalyzer::isNames\(\) expects PhpParser\\Node\\Expr\\ClassConstFetch, PhpParser\\Node given#'
|
|
- '#Parameter \#1 \$classNode of method Rector\\NodeTypeResolver\\TypesExtractor\\ConstructorPropertyTypesExtractor::extractFromClassNode\(\) expects PhpParser\\Node\\Stmt\\Class_, PhpParser\\Node\\Stmt\\ClassLike given#'
|
|
- '#Parameter \#1 \$classMethodNode of method Rector\\NodeTypeResolver\\TypesExtractor\\ConstructorPropertyTypesExtractor::extractPropertiesFromConstructorMethodNode\(\) expects PhpParser\\Node\\Stmt\\ClassMethod, PhpParser\\Node\\Stmt given#'
|
|
|
|
# known values
|
|
- '#Method Rector\\Node\\NodeFactory::create(Null|False|True)Constant\(\) should return PhpParser\\Node\\Expr\\ConstFetch but returns PhpParser\\Node\\Expr#'
|
|
- '#Method Rector\\Node\\NodeFactory::createNamespace\(\) should return PhpParser\\Node\\Stmt\\Namespace_ but returns PhpParser\\Node#'
|
|
- '#Property PhpParser\\Node\\Stmt\\ClassLike::\$stmts \(PhpParser\\Node\\Stmt\[\]\) does not accept PhpParser\\Node\[\]#'
|
|
- '#Array \(PhpParser\\Node\\Stmt\[\]\) does not accept PhpParser\\Node#'
|
|
- '#Property Rector\\NodeTypeResolver\\NodeVisitor\\NamespaceResolver::\$useNodes \(PhpParser\\Node\\Stmt\\Use_\[\]\) does not accept PhpParser\\Node\[\]#'
|
|
|
|
# buggy
|
|
- '#Property Rector\\Rector\\Contrib\\PHPUnit\\SpecificMethodRector::\$oldToNewMethods \(false\[\]\[\]|string\[\]\[\]\) does not accept default value of type \(false|string\)\[\]\[\]#'
|
|
- '#Parameter \#1 \$classLikeNode of method Rector\\NodeAnalyzer\\ClassLikeAnalyzer::resolveExtendsTypes\(\) expects PhpParser\\Node\\Stmt\\Class_\|PhpParser\\Node\\Stmt\\Interface_, PhpParser\\Node\\Stmt\\ClassLike given#'
|
|
|
|
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/**'
|