From afd860424ed23637fab03ea810107e2e4db7b65c Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 13 Aug 2026 10:59:56 +1000 Subject: [PATCH 1/4] [#2975] Replaced versioned Drupal Rector sets with the composer-based set. 'rector/rector' 2.6.2 removed the versioned 'PHPUnitSetList::PHPUNIT_40' through 'PHPUNIT_130' constants in favour of composer-based sets. The 'palantirnet/drupal-rector' Drupal 8, 9 and 10 deprecation configs still reference 'PHPUnitSetList::PHPUNIT_90', so loading 'Drupal9SetList::DRUPAL_9' or 'Drupal10SetList::DRUPAL_10' aborts Rector before it analyses anything. 'withComposerBased(drupal: TRUE)' loads Drupal sets through 'DrupalSetProvider', which binds each set to a 'drupal/core' version and loads only those the installed core satisfies. On Drupal 11 that resolves to the 11.0-11.4 sets and never the Drupal 9 or 10 configs that carry the removed constant. --- rector.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/rector.php b/rector.php index 31af310ffa..3872b3327f 100644 --- a/rector.php +++ b/rector.php @@ -17,8 +17,6 @@ declare(strict_types=1); use DrupalFinder\DrupalFinderComposerRuntime; -use DrupalRector\Set\Drupal10SetList; -use DrupalRector\Set\Drupal9SetList; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; @@ -95,11 +93,10 @@ privatization: TRUE, typeDeclarations: TRUE, ) - // Drupal-specific deprecation fixes. - ->withSets([ - Drupal9SetList::DRUPAL_9, - Drupal10SetList::DRUPAL_10, - ]) + // Drupal-specific deprecation fixes. Each rule is bound to a `drupal/core` + // version and runs only when the installed core matches, so the set tracks + // core upgrades without changing this configuration. + ->withComposerBased(drupal: TRUE) // Additional rules. ->withRules([ DeclareStrictTypesRector::class, From 4f42070275d37145cc52467df6521da6a2e27385 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 13 Aug 2026 11:00:13 +1000 Subject: [PATCH 2/4] Updated snapshots. --- .../Fixtures/handler_process/_baseline/rector.php | 11 ++++------- .../handler_process/hosting_acquia/rector.php | 4 ++-- .../hosting_project_name___acquia/rector.php | 4 ++-- .../Fixtures/handler_process/theme_claro/rector.php | 2 +- .../Fixtures/handler_process/theme_olivero/rector.php | 2 +- .../Fixtures/handler_process/theme_stark/rector.php | 2 +- .../tools_groups_no_be_tests/rector.php | 6 +++--- .../tools_groups_no_be_tests_circleci/rector.php | 6 +++--- .../tools_groups_no_fe_lint_no_theme/rector.php | 2 +- .../rector.php | 2 +- .../handler_process/tools_no_behat/rector.php | 2 +- .../tools_no_behat_circleci/rector.php | 2 +- .../tools_no_eslint_no_theme/rector.php | 2 +- .../handler_process/tools_no_phpunit/rector.php | 4 ++-- .../tools_no_phpunit_circleci/rector.php | 4 ++-- .../tools_no_stylelint_no_theme/rector.php | 2 +- 16 files changed, 27 insertions(+), 30 deletions(-) diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php index 503b8ce5e5..f56b3852e3 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php @@ -17,8 +17,6 @@ declare(strict_types=1); use DrupalFinder\DrupalFinderComposerRuntime; -use DrupalRector\Set\Drupal10SetList; -use DrupalRector\Set\Drupal9SetList; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; @@ -93,11 +91,10 @@ privatization: TRUE, typeDeclarations: TRUE, ) - // Drupal-specific deprecation fixes. - ->withSets([ - Drupal9SetList::DRUPAL_9, - Drupal10SetList::DRUPAL_10, - ]) + // Drupal-specific deprecation fixes. Each rule is bound to a `drupal/core` + // version and runs only when the installed core matches, so the set tracks + // core upgrades without changing this configuration. + ->withComposerBased(drupal: TRUE) // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php index 574b8e22bf..0d77b1d2ec 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php @@ -1,4 +1,4 @@ -@@ -45,10 +45,10 @@ +@@ -43,10 +43,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -73,7 +73,7 @@ +@@ -71,7 +71,7 @@ RenameVariableToMatchNewTypeRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, StringClassNameToClassConstantRector::class => [ diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php index 574b8e22bf..0d77b1d2ec 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php @@ -1,4 +1,4 @@ -@@ -45,10 +45,10 @@ +@@ -43,10 +43,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -73,7 +73,7 @@ +@@ -71,7 +71,7 @@ RenameVariableToMatchNewTypeRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, StringClassNameToClassConstantRector::class => [ diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php index 6884d9fc11..5bdc404b76 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -34,7 +34,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -82,8 +81,6 @@ +@@ -80,8 +79,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) @@ -15,7 +15,7 @@ // Code quality improvement sets. ->withPreparedSets( codeQuality: TRUE, -@@ -101,7 +98,6 @@ +@@ -98,7 +95,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php index 6884d9fc11..5bdc404b76 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -34,7 +34,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -82,8 +81,6 @@ +@@ -80,8 +79,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) @@ -15,7 +15,7 @@ // Code quality improvement sets. ->withPreparedSets( codeQuality: TRUE, -@@ -101,7 +98,6 @@ +@@ -98,7 +95,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php index b7723e06f1..209d3f324c 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php @@ -1,4 +1,4 @@ -@@ -82,8 +82,6 @@ +@@ -80,8 +80,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php index b7723e06f1..209d3f324c 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -82,8 +82,6 @@ +@@ -80,8 +80,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php index a8a54b7f9c..8616987282 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -34,7 +34,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -101,7 +100,6 @@ +@@ -98,7 +97,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php index a8a54b7f9c..8616987282 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -34,7 +34,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -101,7 +100,6 @@ +@@ -98,7 +97,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php index 09bf2278f7..e0e54ee790 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -46,7 +46,6 @@ +@@ -44,7 +44,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', From b1fec81cac5188cee8cf1f781f4a191be7c68995 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 13 Aug 2026 11:21:12 +1000 Subject: [PATCH 3/4] [#2975] Registered the Drupal set provider and applied the Drupal 11.4 test attribute. 'withComposerBased(drupal: TRUE)' only enables the 'drupal' set group; the sets themselves come from 'DrupalRector\Set\DrupalSetProvider', which must be registered with 'withSetProviders()'. Without it Rector loaded no Drupal rules at all and still exited 0, so lint passed while silently covering nothing. 'rector list-rules' reports 98 'DrupalRector' rules with the provider registered and 0 without it. Loading the Drupal 11 sets newly enables 'PhpUnitAddRunTestsInSeparateProcessesAttributeRector' from the 11.4 set, which adds '#[RunTestsInSeparateProcesses]' to Kernel and Functional test classes. The attribute and its import are applied to the example tests so Rector runs clean. PHPUnit runs each of those classes in its own process. --- rector.php | 10 +++++++--- .../ys_base/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/ys_base/tests/src/Kernel/ExampleTest.php | 2 ++ .../src/FunctionalJavascript/CounterBlockTest.php | 2 ++ .../ys_demo/tests/src/Kernel/CounterBlockTest.php | 2 ++ .../tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../your_site_theme/tests/src/Kernel/ExampleTest.php | 2 ++ 9 files changed, 23 insertions(+), 3 deletions(-) diff --git a/rector.php b/rector.php index 3872b3327f..e253e41b2f 100644 --- a/rector.php +++ b/rector.php @@ -17,6 +17,7 @@ declare(strict_types=1); use DrupalFinder\DrupalFinderComposerRuntime; +use DrupalRector\Set\DrupalSetProvider; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; @@ -93,9 +94,12 @@ privatization: TRUE, typeDeclarations: TRUE, ) - // Drupal-specific deprecation fixes. Each rule is bound to a `drupal/core` - // version and runs only when the installed core matches, so the set tracks - // core upgrades without changing this configuration. + // Drupal-specific deprecation fixes. The provider binds each set to a + // `drupal/core` version and only the sets the installed core satisfies are + // loaded, so the set tracks core upgrades without changing this + // configuration. Both calls are required: the provider supplies the sets, + // `withComposerBased()` enables the group. + ->withSetProviders(DrupalSetProvider::class) ->withComposerBased(drupal: TRUE) // Additional rules. ->withRules([ diff --git a/web/modules/custom/ys_base/tests/src/Functional/ExampleTest.php b/web/modules/custom/ys_base/tests/src/Functional/ExampleTest.php index 7cc91d8bad..1c9e5d37b7 100644 --- a/web/modules/custom/ys_base/tests/src/Functional/ExampleTest.php +++ b/web/modules/custom/ys_base/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\ys_base\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\ys_base\Tests */ #[Group('YsBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends YsBaseFunctionalTestBase { /** diff --git a/web/modules/custom/ys_base/tests/src/FunctionalJavascript/ExampleTest.php b/web/modules/custom/ys_base/tests/src/FunctionalJavascript/ExampleTest.php index 128f72d754..460e9429c4 100644 --- a/web/modules/custom/ys_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/web/modules/custom/ys_base/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\ys_base\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\ys_base\Tests */ #[Group('YsBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends YsBaseFunctionalJavascriptTestBase { /** diff --git a/web/modules/custom/ys_base/tests/src/Kernel/ExampleTest.php b/web/modules/custom/ys_base/tests/src/Kernel/ExampleTest.php index 7fcce9d3a7..fbbea88e6d 100644 --- a/web/modules/custom/ys_base/tests/src/Kernel/ExampleTest.php +++ b/web/modules/custom/ys_base/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\ys_base\Tests */ #[Group('YsBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends YsBaseKernelTestBase { /** diff --git a/web/modules/custom/ys_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/web/modules/custom/ys_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index a41f5b1320..96c353c207 100644 --- a/web/modules/custom/ys_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/web/modules/custom/ys_demo/tests/src/FunctionalJavascript/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\FunctionalJavascriptTests\WebDriverTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock JavaScript interactions. @@ -13,6 +14,7 @@ * @package Drupal\ys_demo\Tests */ #[Group('YsDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends WebDriverTestBase { /** diff --git a/web/modules/custom/ys_demo/tests/src/Kernel/CounterBlockTest.php b/web/modules/custom/ys_demo/tests/src/Kernel/CounterBlockTest.php index 895e2d2952..2ed7ba45d9 100644 --- a/web/modules/custom/ys_demo/tests/src/Kernel/CounterBlockTest.php +++ b/web/modules/custom/ys_demo/tests/src/Kernel/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\KernelTests\KernelTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock plugin discovery and theme integration. @@ -13,6 +14,7 @@ * @package Drupal\ys_demo\Tests */ #[Group('YsDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends KernelTestBase { /** diff --git a/web/themes/custom/your_site_theme/tests/src/Functional/ExampleTest.php b/web/themes/custom/your_site_theme/tests/src/Functional/ExampleTest.php index 7500078361..d332e39c26 100644 --- a/web/themes/custom/your_site_theme/tests/src/Functional/ExampleTest.php +++ b/web/themes/custom/your_site_theme/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\your_site_theme\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\your_site_theme\Tests */ #[Group('YourSiteTheme')] +#[RunTestsInSeparateProcesses] class ExampleTest extends YourSiteThemeFunctionalTestBase { /** diff --git a/web/themes/custom/your_site_theme/tests/src/FunctionalJavascript/ExampleTest.php b/web/themes/custom/your_site_theme/tests/src/FunctionalJavascript/ExampleTest.php index c2c09de8b8..301b554700 100644 --- a/web/themes/custom/your_site_theme/tests/src/FunctionalJavascript/ExampleTest.php +++ b/web/themes/custom/your_site_theme/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\your_site_theme\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\your_site_theme\Tests */ #[Group('YourSiteTheme')] +#[RunTestsInSeparateProcesses] class ExampleTest extends YourSiteThemeFunctionalJavascriptTestBase { /** diff --git a/web/themes/custom/your_site_theme/tests/src/Kernel/ExampleTest.php b/web/themes/custom/your_site_theme/tests/src/Kernel/ExampleTest.php index 06882529b3..97d219c7da 100644 --- a/web/themes/custom/your_site_theme/tests/src/Kernel/ExampleTest.php +++ b/web/themes/custom/your_site_theme/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\your_site_theme\Tests */ #[Group('YourSiteTheme')] +#[RunTestsInSeparateProcesses] class ExampleTest extends YourSiteThemeKernelTestBase { /** From bc4994570cf7fdb3490399f29a4f31073ddd828a Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 13 Aug 2026 11:21:19 +1000 Subject: [PATCH 4/4] Updated snapshots. --- .../Fixtures/handler_process/_baseline/rector.php | 10 +++++++--- .../sw_base/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/sw_base/tests/src/Kernel/ExampleTest.php | 2 ++ .../src/FunctionalJavascript/CounterBlockTest.php | 2 ++ .../sw_demo/tests/src/Kernel/CounterBlockTest.php | 2 ++ .../star_wars/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/star_wars/tests/src/Kernel/ExampleTest.php | 2 ++ .../sw_base/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/sw_base/tests/src/Kernel/ExampleTest.php | 2 ++ .../src/FunctionalJavascript/CounterBlockTest.php | 2 ++ .../sw_demo/tests/src/Kernel/CounterBlockTest.php | 2 ++ .../star_wars/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/star_wars/tests/src/Kernel/ExampleTest.php | 2 ++ .../Fixtures/handler_process/hosting_acquia/rector.php | 4 ++-- .../sw_base/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/sw_base/tests/src/Kernel/ExampleTest.php | 2 ++ .../src/FunctionalJavascript/CounterBlockTest.php | 2 ++ .../sw_demo/tests/src/Kernel/CounterBlockTest.php | 2 ++ .../star_wars/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/star_wars/tests/src/Kernel/ExampleTest.php | 2 ++ .../hosting_project_name___acquia/rector.php | 4 ++-- .../tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../the_force_base/tests/src/Kernel/ExampleTest.php | 2 ++ .../src/FunctionalJavascript/CounterBlockTest.php | 2 ++ .../tests/src/Kernel/CounterBlockTest.php | 2 ++ .../lightsaber/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../custom/lightsaber/tests/src/Kernel/ExampleTest.php | 2 ++ .../Fixtures/handler_process/theme_claro/rector.php | 2 +- .../light_saber/tests/src/Functional/ExampleTest.php | 2 ++ .../tests/src/FunctionalJavascript/ExampleTest.php | 2 ++ .../light_saber/tests/src/Kernel/ExampleTest.php | 2 ++ .../Fixtures/handler_process/theme_olivero/rector.php | 2 +- .../Fixtures/handler_process/theme_stark/rector.php | 2 +- .../star_wars/tests/src/Functional/ExampleTest.php | 2 +- .../star_wars/tests/src/Functional/ExampleTest.php | 2 +- .../tools_groups_no_be_tests/rector.php | 6 +++--- .../tools_groups_no_be_tests_circleci/rector.php | 6 +++--- .../tools_groups_no_fe_lint_no_theme/rector.php | 2 +- .../rector.php | 2 +- .../Fixtures/handler_process/tools_no_behat/rector.php | 2 +- .../handler_process/tools_no_behat_circleci/rector.php | 2 +- .../tools_no_eslint_no_theme/rector.php | 2 +- .../star_wars/tests/src/Functional/ExampleTest.php | 2 +- .../star_wars/tests/src/Functional/ExampleTest.php | 2 +- .../handler_process/tools_no_phpunit/rector.php | 4 ++-- .../tools_no_phpunit_circleci/rector.php | 4 ++-- .../tools_no_stylelint_no_theme/rector.php | 2 +- 55 files changed, 104 insertions(+), 30 deletions(-) diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php index f56b3852e3..84f7fa501e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php @@ -17,6 +17,7 @@ declare(strict_types=1); use DrupalFinder\DrupalFinderComposerRuntime; +use DrupalRector\Set\DrupalSetProvider; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; @@ -91,9 +92,12 @@ privatization: TRUE, typeDeclarations: TRUE, ) - // Drupal-specific deprecation fixes. Each rule is bound to a `drupal/core` - // version and runs only when the installed core matches, so the set tracks - // core upgrades without changing this configuration. + // Drupal-specific deprecation fixes. The provider binds each set to a + // `drupal/core` version and only the sets the installed core satisfies are + // loaded, so the set tracks core upgrades without changing this + // configuration. Both calls are required: the provider supplies the sets, + // `withComposerBased()` enables the group. + ->withSetProviders(DrupalSetProvider::class) ->withComposerBased(drupal: TRUE) // Additional rules. ->withRules([ diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php index c5ec9c552e..772a67f507 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\sw_base\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php index e27c074fc8..6168d7ab4c 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\sw_base\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php index 0b65a21e34..5fb880bffb 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 688961d18f..2d5a8546c5 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\FunctionalJavascriptTests\WebDriverTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock JavaScript interactions. @@ -13,6 +14,7 @@ * @package Drupal\sw_demo\Tests */ #[Group('SwDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends WebDriverTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php index 9736525d57..a4ce52c6ac 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\KernelTests\KernelTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock plugin discovery and theme integration. @@ -13,6 +14,7 @@ * @package Drupal\sw_demo\Tests */ #[Group('SwDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends KernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index b05695765c..ea8abbb03b 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\star_wars\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php index 20a0b652bc..f32437bbb8 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\star_wars\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php index eb7dbb8d9e..7f96318494 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php index c5ec9c552e..772a67f507 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\sw_base\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php index e27c074fc8..6168d7ab4c 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\sw_base\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php index 0b65a21e34..5fb880bffb 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 688961d18f..2d5a8546c5 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\FunctionalJavascriptTests\WebDriverTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock JavaScript interactions. @@ -13,6 +14,7 @@ * @package Drupal\sw_demo\Tests */ #[Group('SwDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends WebDriverTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php index 9736525d57..a4ce52c6ac 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\KernelTests\KernelTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock plugin discovery and theme integration. @@ -13,6 +14,7 @@ * @package Drupal\sw_demo\Tests */ #[Group('SwDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends KernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index b05695765c..ea8abbb03b 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\star_wars\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php index 20a0b652bc..f32437bbb8 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\star_wars\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php index eb7dbb8d9e..7f96318494 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php index 0d77b1d2ec..7a05edc492 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php @@ -1,4 +1,4 @@ -@@ -43,10 +43,10 @@ +@@ -44,10 +44,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -71,7 +71,7 @@ +@@ -72,7 +72,7 @@ RenameVariableToMatchNewTypeRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, StringClassNameToClassConstantRector::class => [ diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php index c5ec9c552e..772a67f507 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\sw_base\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php index e27c074fc8..6168d7ab4c 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\sw_base\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php index 0b65a21e34..5fb880bffb 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\sw_base\Tests */ #[Group('SwBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends SwBaseKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 688961d18f..2d5a8546c5 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\FunctionalJavascriptTests\WebDriverTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock JavaScript interactions. @@ -13,6 +14,7 @@ * @package Drupal\sw_demo\Tests */ #[Group('SwDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends WebDriverTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php index 9736525d57..a4ce52c6ac 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\KernelTests\KernelTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock plugin discovery and theme integration. @@ -13,6 +14,7 @@ * @package Drupal\sw_demo\Tests */ #[Group('SwDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends KernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index b05695765c..ea8abbb03b 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\star_wars\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php index 20a0b652bc..f32437bbb8 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\star_wars\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php index eb7dbb8d9e..7f96318494 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\star_wars\Tests */ #[Group('StarWars')] +#[RunTestsInSeparateProcesses] class ExampleTest extends StarWarsKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php index 0d77b1d2ec..7a05edc492 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php @@ -1,4 +1,4 @@ -@@ -43,10 +43,10 @@ +@@ -44,10 +44,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -71,7 +71,7 @@ +@@ -72,7 +72,7 @@ RenameVariableToMatchNewTypeRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, StringClassNameToClassConstantRector::class => [ diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php index dfc9a2fb54..aaa361bc81 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\the_force_base\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\the_force_base\Tests */ #[Group('TheForceBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends TheForceBaseFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php index f04a911ebb..b676e0d9b0 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\the_force_base\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\the_force_base\Tests */ #[Group('TheForceBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends TheForceBaseFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php index db779980e3..431e3ce917 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\the_force_base\Tests */ #[Group('TheForceBase')] +#[RunTestsInSeparateProcesses] class ExampleTest extends TheForceBaseKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index a9e7823b1d..8f75c3e223 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\FunctionalJavascriptTests\WebDriverTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock JavaScript interactions. @@ -13,6 +14,7 @@ * @package Drupal\the_force_demo\Tests */ #[Group('TheForceDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends WebDriverTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php index 542e596696..9cb0a0669f 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php @@ -6,6 +6,7 @@ use Drupal\KernelTests\KernelTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the CounterBlock plugin discovery and theme integration. @@ -13,6 +14,7 @@ * @package Drupal\the_force_demo\Tests */ #[Group('TheForceDemo')] +#[RunTestsInSeparateProcesses] class CounterBlockTest extends KernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php index cbcd409400..9715c220a7 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\lightsaber\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\lightsaber\Tests */ #[Group('Lightsaber')] +#[RunTestsInSeparateProcesses] class ExampleTest extends LightsaberFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php index cd8bc1a5a1..12415a4632 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\lightsaber\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\lightsaber\Tests */ #[Group('Lightsaber')] +#[RunTestsInSeparateProcesses] class ExampleTest extends LightsaberFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php index 88e238f520..6dd2f479a7 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\lightsaber\Tests */ #[Group('Lightsaber')] +#[RunTestsInSeparateProcesses] class ExampleTest extends LightsaberKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php index ab2aca4203..030ce99365 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\light_saber\Functional; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\light_saber\Tests */ #[Group('LightSaber')] +#[RunTestsInSeparateProcesses] class ExampleTest extends LightSaberFunctionalTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php index 15824203f4..5b9e23f85e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php @@ -5,6 +5,7 @@ namespace Drupal\Tests\light_saber\FunctionalJavascript; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -14,6 +15,7 @@ * @package Drupal\light_saber\Tests */ #[Group('LightSaber')] +#[RunTestsInSeparateProcesses] class ExampleTest extends LightSaberFunctionalJavascriptTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php index c59d075fbc..554e2c503e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php @@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Class ExampleTest. @@ -15,6 +16,7 @@ * @package Drupal\light_saber\Tests */ #[Group('LightSaber')] +#[RunTestsInSeparateProcesses] class ExampleTest extends LightSaberKernelTestBase { /** diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index e590202632..4fbbacc1e2 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -1,4 +1,4 @@ -@@ -19,7 +19,6 @@ +@@ -21,7 +21,6 @@ /** * {@inheritdoc} * diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index e590202632..4fbbacc1e2 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -1,4 +1,4 @@ -@@ -19,7 +19,6 @@ +@@ -21,7 +21,6 @@ /** * {@inheritdoc} * diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php index 5bdc404b76..1da4733100 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php @@ -1,4 +1,4 @@ -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -80,8 +79,6 @@ +@@ -81,8 +80,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) @@ -15,7 +15,7 @@ // Code quality improvement sets. ->withPreparedSets( codeQuality: TRUE, -@@ -98,7 +95,6 @@ +@@ -102,7 +99,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php index 5bdc404b76..1da4733100 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -80,8 +79,6 @@ +@@ -81,8 +80,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) @@ -15,7 +15,7 @@ // Code quality improvement sets. ->withPreparedSets( codeQuality: TRUE, -@@ -98,7 +95,6 @@ +@@ -102,7 +99,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php index 209d3f324c..01262d2e69 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/rector.php @@ -1,4 +1,4 @@ -@@ -80,8 +80,6 @@ +@@ -81,8 +81,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php index 209d3f324c..01262d2e69 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -80,8 +80,6 @@ +@@ -81,8 +81,6 @@ // PHP version upgrade sets - modernizes syntax to PHP 8.4. // Includes all rules from PHP 5.3 through 8.4. ->withPhpSets(php84: TRUE) diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index e590202632..4fbbacc1e2 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -1,4 +1,4 @@ -@@ -19,7 +19,6 @@ +@@ -21,7 +21,6 @@ /** * {@inheritdoc} * diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index e590202632..4fbbacc1e2 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php @@ -1,4 +1,4 @@ -@@ -19,7 +19,6 @@ +@@ -21,7 +21,6 @@ /** * {@inheritdoc} * diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php index 8616987282..6a0076a21e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/rector.php @@ -1,4 +1,4 @@ -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -98,7 +97,6 @@ +@@ -102,7 +101,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php index 8616987282..6a0076a21e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector; use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; @@ -6,7 +6,7 @@ use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; -@@ -98,7 +97,6 @@ +@@ -102,7 +101,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php index e0e54ee790..74275f1995 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom',