rector icon indicating copy to clipboard operation
rector copied to clipboard

Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

Results 119 rector issues
Sort by recently updated
recently updated
newest added

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v0.13.6 | When promoting constructor properties and there is a name miss-match between the...

bug

We had to drop this feature when moving to parallel, because PHPStan had only single-file scope. Now it's back so we can return the rules with whole-project-scope :) * See...

feature

# Feature Request When rector is run on a directory with bad/legacy code in it, it will sometimes crash due to issue in the code. For example : `Fatal error:...

feature

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 0.13.5 | I am trying to migrate some very old projects (e.g. https://github.com/RSS-Bridge/rss-bridge) to...

bug

# Feature Request When a single rule is applied, the virtual printed new content needs to be applied to a File object so can be continued in another rule as...

feature

We have around 8 repositories where all issue can be located. To make it easier to view them all, I made a Github search link to display them: https://github.com/search?q=github+type%3Aissue++is%3Aopen+repo%3Arectorphp%2Frector+repo%3Arectorphp%2Frector-symfony+repo%3Arectorphp%2Frector-nette+repo%3Arectorphp%2Frector-phpunit+repo%3Arectorphp%2Frector-laravel+repo%3Arectorphp%2Frector-cakephp+repo%3Arectophp%2Frector-doctrine&type=issues cc...

# Feature Request Downgrade PHP 8.1 Enum to an opinionated enum implementation. Or even better, would downgrading be possible without requiring an external dependency? ## Diff ```diff - enum Action...

feature

# Feature Request PHP 5 [does not like](https://3v4l.org/TJa2A#v5.6.40) using isset on `ArrayDimFetch` on a (class) constant > Fatal error: Cannot use isset() on the result of an expression (you can...

feature

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v0.14.0 | When a function returns either `null` or `mixed`, the `ReturnTypeFromStrictScalarReturnExprRector` rule adds...

bug
easy pick

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 0.14.2 | According to docs, there should be `AddArrowFunctionReturnTypeRector` but for some reason I...

bug