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

Rector is such a great tool, it does so much great stuff that for big projects it's very challenging to run, and more important, review changes... so here is my...

feature

# Bug Report | Subject | Details | | :------------- | :--------------------| | Rector version | last dev-main | | Installed as | composer dependency | ## Minimal PHP Code...

bug

Hi, I run the rector.php to migrate annotations to attributes on a symfony 5.4 project and this issue occured in AttributeReader.php line 115 : Attribute "Doctrine\ORM\Mapping\Entity" must not be repeated...

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. v1.0.3 | ## Minimal PHP Code Causing Issue in a project which contains...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 0.19.8 | Today was trying to debug something in rector, looking at documentation I...

bug

# Question Hey, I am updating a symfony project with rector and I so much love it! Thanks for this amazing tool :) I am almost done, only `SYMFONY_CODE_QUALITY` is...

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v1.0.4 | I'm using `getclass($object) === A::class` to test if my variable is exactly...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. v1.1.1 | | PHP version | 8.3.7| I have library, written for php...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 1.1.1 | `mb_ucfirst()` from `symfony/polyfill-php84` is not found by rector. I tried some ways...

bug

In `rector/src/Configuration/RectorConfigBuilder.php` the function `withPreparedSets` looks like this: ```php public function withPreparedSets(bool $deadCode = \false, bool $codeQuality = \false, bool $codingStyle = \false, bool $typeDeclarations = \false, bool $privatization =...

feature