From 11e75ee7a7039c6111daced8f4b4c449904ebbae Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Tue, 28 Jan 2025 11:53:39 +0100 Subject: [PATCH] [ibexa/rector] Backported Ibexa Rector to 4.6 --- ibexa/rector/4.6/manifest.json | 7 +++++++ ibexa/rector/4.6/rector.php | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 ibexa/rector/4.6/manifest.json create mode 100644 ibexa/rector/4.6/rector.php diff --git a/ibexa/rector/4.6/manifest.json b/ibexa/rector/4.6/manifest.json new file mode 100644 index 00000000..42224aa7 --- /dev/null +++ b/ibexa/rector/4.6/manifest.json @@ -0,0 +1,7 @@ +{ + "aliases": [], + "bundles": {}, + "copy-from-recipe": { + "rector.php": "rector.php" + } +} diff --git a/ibexa/rector/4.6/rector.php b/ibexa/rector/4.6/rector.php new file mode 100644 index 00000000..3c37e2eb --- /dev/null +++ b/ibexa/rector/4.6/rector.php @@ -0,0 +1,23 @@ +withPaths( + [ + __DIR__ . '/src', // see if it matches your project structure + __DIR__ . '/tests' + ] + ) + ->withSets( + [ + IbexaSetList::IBEXA_50->value // rule set for upgrading to Ibexa DXP 5.0 + ] + );