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 | 0.19.0 | The RemoveAlwaysTrueIfConditionRector tries to remove an if-statement that is needed to prevent...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. v1.0.0 (invoke `vendor/bin/rector --version`) | Hi, this rule remove a functional condition, Doctrine...

bug

# Feature Request Thanks for a great tool. I love the `custom-rule` command. It would be even better if this command setup `phpunit.xml`, in the same way `composer.json` is updated....

feature

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. v0.11.5 (invoke `vendor/bin/rector --version`) | `FinalizeClassesWithoutChildrenRector` is relying on `FamilyRelationsAnalyzer` to decide whether...

bug

Rector is the only tool that can handle downgraded. Yet setting up the downgrade process is quite challenging when it comes to: * path defintion * scoper setup * github...

feature

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v0.18.10 | When rector encounters hierarchy of classes where child class redefines a method...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | Rector 0.17.1 | ## Minimal PHP Code Causing Issue Using rector with multiple users...

easy pick
docs

I hope somebody can shed some light on my confusion. I'm trying to use Rector for a conversion/update of a bunch of tests. I ran into the use of assertArraySubset...

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v1.0.4 | | symfony/http-kernel | v6.4.6 | Looks like the bugfix in #7135 prevents...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 1.0.4 | As I'm part of developer experience team, sometimes we extract pieces of...

bug