mll-lab/rector-config
rector-config
Shared configuration for rector
Installation
composer require --dev mll-lab/rector-config
Usage
In your rector.php:
+use function MLL\RectorConfig\config;
use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig): void {
+ config($rectorConfig);
$rectorConfig->paths([
...
]);
$rectorConfig->rule(...);
};
If the project is using Laravel, use laravel instead of config.
Related Packages
valorin/random
Random is a simple helper package designed to make it easy to generate a range o...
413,065
233
cline/struct
Lean, attribute-driven Laravel data objects with explicit validation and Eloquen...
17,788
0
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v3.3.0 | ^8.3 | MIT | |
| v3.2.0 | ^8.3 | MIT | |
| v3.1.1 | ^8.3 | MIT | |
| v3.1.0 | ^8.3 | MIT | |
| v3.0.0 | ^8.3 | MIT | |
| v2.5.0 | ^8.1 | MIT | |
| v2.4.0 | ^8.1 | MIT | |
| v2.3.0 | ^8.1 | MIT | |
| v2.2.0 | ^8.1 | MIT | |
| v2.1.0 | ^8.1 | MIT | |
| v2.0.1 | ^8.1 | MIT | |
| v2.0.0 | ^8.1 | MIT | |
| v1.0.0 | ^7.4 || | MIT |