mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Ignore symfony generated files for rector
This commit is contained in:
parent
7a389469b9
commit
272608b4ec
1 changed files with 8 additions and 0 deletions
|
@ -56,4 +56,12 @@ return static function (RectorConfig $rectorConfig): void {
|
|||
$rectorConfig->skip([
|
||||
CountArrayToEmptyArrayComparisonRector::class,
|
||||
]);
|
||||
|
||||
//Do not apply rules to Symfony own files
|
||||
$rectorConfig->skip([
|
||||
__DIR__ . '/public/index.php',
|
||||
__DIR__ . '/src/Kernel.php',
|
||||
__DIR__ . '/config/preload.php',
|
||||
__DIR__ . '/config/bundles.php',
|
||||
]);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue