rector
rector copied to clipboard
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 0.19.0 | The RemoveAlwaysTrueIfConditionRector tries to remove an if-statement that is needed to prevent...
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. v1.0.0 (invoke `vendor/bin/rector --version`) | Hi, this rule remove a functional condition, Doctrine...
# 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....
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | e.g. v0.11.5 (invoke `vendor/bin/rector --version`) | `FinalizeClassesWithoutChildrenRector` is relying on `FamilyRelationsAnalyzer` to decide whether...
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...
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v0.18.10 | When rector encounters hierarchy of classes where child class redefines a method...
# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | Rector 0.17.1 | ## Minimal PHP Code Causing Issue Using rector with multiple users...
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 Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 1.0.4 | As I'm part of developer experience team, sometimes we extract pieces of...