Skip to content

Commit

Permalink
Add script for PHP 7.4 downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswolf committed Oct 8, 2024
1 parent cd1d5e3 commit 3a4bcff
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .build/rector-php74-downgrade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

declare(strict_types=1);

/**
* Rector config to run for a downgrade to PHP 7.4. This is used during the release process
*/

use Rector\Config\RectorConfig;

return RectorConfig::configure()
->withSets([
\Rector\Set\ValueObject\DowngradeSetList::PHP_74
])
->withSkip([
__DIR__ . '/../packages/extension-installer/generated',
__DIR__ . '/../packages/fractor-rule-generator/templates',
])
->withPaths([
__DIR__ . '/../packages',
__DIR__ . '/../src',
]);

0 comments on commit 3a4bcff

Please sign in to comment.