From 3a4bcff2f9f875755e63e2687ca492fb2b89e252 Mon Sep 17 00:00:00 2001 From: Andreas Wolf Date: Tue, 8 Oct 2024 20:58:04 +0200 Subject: [PATCH] Add script for PHP 7.4 downgrade --- .build/rector-php74-downgrade.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .build/rector-php74-downgrade.php diff --git a/.build/rector-php74-downgrade.php b/.build/rector-php74-downgrade.php new file mode 100644 index 0000000..3b2e176 --- /dev/null +++ b/.build/rector-php74-downgrade.php @@ -0,0 +1,22 @@ +withSets([ + \Rector\Set\ValueObject\DowngradeSetList::PHP_74 + ]) + ->withSkip([ + __DIR__ . '/../packages/extension-installer/generated', + __DIR__ . '/../packages/fractor-rule-generator/templates', + ]) + ->withPaths([ + __DIR__ . '/../packages', + __DIR__ . '/../src', + ]);