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_bug.zip](https://github.com/rectorphp/rector/files/9226215/rector_bug.zip) Attached is a bug report, along with the source file and rector.php

vendor/bin/rector process src/Controller/SecurityController.php --dry-run [controller_error.zip](https://github.com/rectorphp/rector/files/9226231/controller_error.zip) Attached is the log and file that caused the problem.

Probably it is php file size because I could not isolate the bug. Here is the demo : https://getrector.org/demo/df558d72-0bf5-4ac6-9293-9c623232a7ea I joined the asked report. Inside the report I have seen:...

bug

# Bug Report Hi! | Subject | Details | | :------------- | :---------------------------------------------------------------| | 0.13.9 | Latest version when issue was observed | On a random basis my Rector runs...

bug
parallel
Documentation

# Bug Report / Question? | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 0.13.8 | I'm trying to run Rector against a fairly large and...

bug
parallel

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | ≥0.13.1 | With Rector 0.13.0 running a custom Rector rule form https://github.com/j0k3r/graby/pull/293 is able...

bug

Hello, I have got this error message (bin/php is a docker run on a php container, this is my firts experience with Rector. I joined the asked report in this...

When I use the latest version of Rector 0.13.8 under php 8.18 I get these depreciation errors: ```bash PHP Deprecated: Return type of PHPUnit\Framework\TestCase::count() should either be compatible with Countable::count():...

bug

# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | v0.13.8 | Changes made by this rule are changing constructor signatures in some circumstances....

bug

# Bug Report | Subject | Details | | :------------- | :--------------------| | Rector version | 0.13.7 | | Installed as | composer dependency | ## Minimal PHP Code Causing...