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