ErrLookup › rectorphp/rector

rectorphp/rector

Instant Upgrades and Automated Refactoring of any PHP 5.3+ code · PHP · 1,365 source files

Analyzed at 408fcb0ff1 on 2026-08-21. 94 documented errors.

Code / MessageTypeSeverityTags
E_USER_DEPRECATED
UseNodesToAddCollector
console info rector, deprecation, e-user-deprecated, imports, custom-rules, php
" " rule is deprecated, as turning a docblock type into a…
exception error rector, php, deprecated-rule, assert, docblock
The "-> ()" method is deprecated and no longer applied. Use…
console warning rector, deprecation, php-sets, config-builder, php
The " " rule requires configuration.
validation error rector, php, attributes, annotations, configuration, doctrine
" " rule is deprecated, as the #[Deprecated] attribute…
exception error rector, php, deprecation, attributes, phpstan, php84
" " rule is deprecated, as matching sensitive parameters by…
exception error rector, php, security, sensitive-parameter, deprecated-rule, php82
Following rules are registered twice:
validation error rector, config, duplicate-rules, should-not-happen-exception, php
" " rule is deprecated, as it can cause BC breaks. The…
exception error rector, php, json, deprecated-rule, bc-break, php73
" " is deprecated, as the pipe chain length that stays…
exception error rector, php, pipe-operator, php85, deprecated-rule
" " is deprecated, as it removes intermediate variables…
exception error rector, php, pipe-operator, php85, deprecated-rule
" " rule is deprecated, as a function call can rarely be…
exception error rector, php, refactor, function-call, transform, deprecated-rule
These rules from "$rectorConfig->skip()" do not exist -…
validation error rector, skip, typo, class-not-found, config, php
" " rule is deprecated, as removing an annotation by name…
exception error rector, php, deprecated-rule, annotations, docblock, dead-code
" " rule is deprecated, as the scalar value target is too…
exception error rector, php, constants, scalar, transform, deprecated-rule
" " rule is deprecated, as it is a personal preference that…
exception error rector, php, deprecated-rule, foreach, code-style
" " rule is deprecated, as it creates unreadable code with…
exception error rector, php, strict, empty, code-quality, deprecated-rule
" " rule is deprecated, as risky. The "??" and "?:"…
exception error rector, php, deprecated-rule, coalesce, null-handling
" " is deprecated as it produces too many false positives…
exception error rector, php, type-declaration, string, false-positives, deprecated-rule
" " is deprecated, as simplifying regex ranges is a…
exception error rector, php, deprecated-rule, regex, code-style
" " is deprecated as risky change that does not handle enum…
exception error rector, php, deprecated-rule, enum, rename, ide-refactor
Method " ()" can be called only once. It always includes…
exception error php, rector, config, duplicate, php-sets
Rule " " was not found.%sThe rule has no namespace. Make…
exception error php, rector, cli, shell-escaping, rule-selection, windows
" " is deprecated, as null compare is ambiguous and weak…
exception error rector, php, deprecated-rule, null-comparison, instanceof, weak-comparison
" " rule is deprecated, as inverting nested ifs to early…
exception error rector, php, deprecated-rule, static-analysis, config
The installed package json not found. Make sure you run…
exception error php, rector, composer, installed-json, vendor, ci
Your config already enables
exception error php, rector, config, duplicate, sets, level
" " is deprecated, as converting string interpolation to…
exception error rector, php, deprecated-rule, string-interpolation, sprintf, code-style
" " rule is deprecated, as inverting nested ifs to continue…
exception error rector, php, deprecated-rule, foreach, early-return, readability
unescaped metacharacter ")"
validation error rector, php, regex, posix-ere, preg-match, migration
" " rule is deprecated, as too niche and of little…
exception error rector, php, docblock, array-map, type-declaration, deprecated-rule
Ensure to run compile from composer git repository clone…
exception error php, rector, git, build, compile, version
" " rule is deprecated, as it covers a very specific shape…
exception error rector, php, deprecated-rule, compound-assignment, code-style
" " is deprecated, as it copies docblock from another…
exception error rector, php, docblock, return-type, type-declaration, deprecated-rule
Memory limit " " cannot be set.
validation error php, memory-limit, ini-settings, php-fpm, rector
" " rule is deprecated, as too niche; use a custom rule…
exception error rector, php, interface, trait, transform, deprecated-rule
" " rule is deprecated, as the array shape guessed from…
exception error rector, php, docblock, array-shape, return-type, deprecated-rule
" " is deprecated as noisy change with little value. Use…
exception error rector, php, deprecated-rule, closure, static, code-style
" " rule is deprecated, as property hooks are a matter of…
exception error rector, php, property-hooks, php84, deprecated-rule
an invalid bound
validation error rector, php, regex, posix-ere, quantifier, bound, migration
Bootstrap file " " does not exist.
exception error php, rector, bootstrap, config, file-not-found
"(" does not have a matching ")"
validation error rector, php, regex, posix-ere, grouping, migration
[parallel] Main script was not found
exception error php, rector, parallel, subprocess, cli, argv
" " rule is deprecated, as it is a personal preference that…
exception error rector, php, deprecated-rule, array-merge, spread, code-style
Parameter " :: " must be int, " " given.%sUse constant from…
validation error php, rector, parameter-type, php-version, validation
" " is deprecated as it has no real value
exception error rector, php, deprecated-rule, docblock, mock, dead-code
" " rule is deprecated, as the param type guessed from a…
exception error rector, php, docblock, param, array-map, deprecated-rule
Array of nodes cannot be empty. Ensure
exception error php, rector, custom-rule, refactor-contract, empty-array
" " is deprecated as risky change with little value. Use…
exception error rector, php, deprecated-rule, static-call, config
"-" is invalid for the start character in the brackets
validation error rector, php, regex, posix-ere, character-class, migration
Provide only PHP file, ready for Dependency Injection.
exception error php, rector, config, yaml, file-extension, cache
" " is deprecated, as match(true) with nested conditions is…
exception error rector, php, deprecated-rule, ternary, match-expression, readability
" " is deprecated, as data provider docblock typing is not…
exception error rector, php, phpunit, data-provider, docblock, deprecated-rule
Rule " " was not found.%sMake sure it is registered in your…
exception error php, rector, cli, rule-selection, typo, package-missing
" " is deprecated as it worsens readability. Use "match…
exception error rector, php, deprecated-rule, switch, match-expression
an invalid or unsupported character class
validation error rector, php, regex, posix-ere, character-class, migration
" " rule is deprecated, as it is a coding standard…
exception error rector, php, deprecated-rule, count, empty-check, code-style
unescaped metacharacter
validation error rector, php, regex, posix-ere, quantifier, migration
" " is deprecated as depends on context and personal…
exception error rector, php, deprecated-rule, string-concat, code-style
" " rule is deprecated, as splitting a single condition…
exception error rector, php, deprecated-rule, static-analysis, config
" " is not a valid name
validation error php, naming, validation, identifier, rector
Provided dumped Symfony container must have "xml" suffix.
exception error php, rector, symfony, config, file-extension, container-dump
Error occurred while saving item
exception error php, rector, cache, var-export, serialization
enterNode() returned invalid value of type
exception error php, rector, php-parser, node-visitor, return-contract
Invalid memory limit format
validation error php, memory-limit, cli, format-validation, rector
Rule " " exists, but is not registered in your Rector…
exception error php, rector, cli, rule-selection, registration, config
an invalid character range
validation error rector, php, regex, posix-ere, character-class, range, migration
Short rule name " " is ambiguous. Specify the full rule name
exception error php, rector, cli, rule-selection, ambiguous-name
Your config uses "withPhp*()" and "withPhpLevel()" methods…
exception error php, rector, config, conflict, php-version, migration
Pick only one PHP version target in "withDowngradeSets()"…
exception error php, rector, config, downgrade, php-version
" " rule is deprecated, as it is a personal preference that…
exception error rector, php, deprecated-rule, ternary, code-style
Matching file paths by using glob-patterns is no longer…
exception error php, rector, config, import, glob, wildcard
"{" does not have a matching "}"
validation error rector, php, regex, posix-ere, quantifier, bound, migration
empty regular expression or branch
validation error rector, php, regex, posix-ere, alternation, migration
File object is missing. Make sure you call…
exception error php, rector, custom-rule, lifecycle, current-file
Output formatter " " was not found. Pick one of " ".
validation error php, rector, cli, output-format, service-lookup
Fixture file and input file cannot be the same:
exception error php, rector, testing, fixtures, path-collision
Provided dumped Symfony container must have "php" suffix.
exception error php, rector, symfony, config, file-extension, container-dump
"[" does not have a matching "]"
validation error rector, php, regex, posix-ere, character-class, migration
Set provider " " must implement
exception error php, rector, config, set-provider, interface-check
Could not write data to cache file
exception error php, rector, cache, filesystem, permissions, disk-full
" " rule is deprecated, as splitting a single return into…
exception error rector, php, deprecated-rule, static-analysis, config
a literal null byte in the regex
validation error rector, php, regex, posix-ere, binary, null-byte, migration
Pick only one version target in "withPhpSets()". All rules…
exception error php, rector, config, php-version, conflicting-arguments
Invalid node structure: Contains nested arrays
exception error php, rector, php-parser, ast, node-visitor
You must ensure to run compile from composer git repository…
exception error php, rector, git, build, compile, release-date
Rector name cannot be empty
exception error php, rector, cli, interactive-prompt, scaffolding
The "->withPhpSets()" method uses named arguments. Its…
exception error php, rector, php-version, named-arguments, config
File is not readable
exception error php, file-io, permissions, hashing, rector
Property "$ " was not found in " " class
exception error php, reflection, private-property, rector, testing
We could not find local "composer.json" to determine your…
validation error php, rector, composer-json, php-version, working-directory
Trying to replace statement
exception error php, rector, php-parser, ast, node-replacement
an invalid escape sequence at the end
validation error rector, php, regex, posix-ere, escaping, migration
REPLACE_WITH_NULL can not be used if the parent structure…
exception error php, rector, php-parser, node-visitor, remove-node
Trying to replace expression
exception error php, rector, php-parser, ast, node-replacement