rector
rector copied to clipboard
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. dev-main | Ref error build https://github.com/rectorphp/rector/actions/runs/10485665712/job/29042254179 ## Expected Behaviour should be working.
# Bug Report error with more complex code... | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | now() | ## Minimal PHP Code Causing Issue code...
# Bug Report | Subject | Details | | :------------- | :--------------------| | Rector version | last dev-main | | Installed as | composer dependency | ## Minimal PHP Code...
# Feature Request I want create Rector that import missed imports for doctrine annotations for example: ```diff declare(strict_types=1); +use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity */ class Entity { }...
# Bug Report | Subject | Details | | :------------- | :--------------------| | Rector version | last dev-main | | Installed as | composer dependency | ## Minimal PHP Code...
Hi, `SetListInterface` was [deprecated](https://github.com/rectorphp/rector-src/blob/f6844a40e3502c4e0aa8f3bb4add5728bf1a3ef5/src/Set/Contract/SetListInterface.php#L7-L13). ```php /** * @deprecated This interface needs a reflection to load and uses constant links. * Now we changed to services provider architecture that can be...
# Bug Report | Subject | Details | | :------------- | :--------------------| | Rector version | last dev-main | | Installed as | composer dependency | ## Minimal PHP Code...
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 1.2.5 | RemoveAlwaysTrueIfConditionRector removes a correct if statement. Code is quite ugly. It seems...
# Feature Request Hi, I just started working on PHPStan 2.0 which will come with PHP-Parser 5. These are early days of the development, but you can already require `phpstan/phpstan:^2.0`...
# Bug Report The demo page has broken UI since recently. e.g. https://getrector.com/demo/d70fe11c-3afe-49b0-bb73-96580257f92d  The replacement overlays the original code