diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php b/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php index 503b8ce5e5..84f7fa501e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php +++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php @@ -17,8 +17,7 @@ declare(strict_types=1); use DrupalFinder\DrupalFinderComposerRuntime; -use DrupalRector\Set\Drupal10SetList; -use DrupalRector\Set\Drupal9SetList; +use DrupalRector\Set\DrupalSetProvider; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; @@ -93,11 +92,13 @@ privatization: TRUE, typeDeclarations: TRUE, ) - // Drupal-specific deprecation fixes. - ->withSets([ - Drupal9SetList::DRUPAL_9, - Drupal10SetList::DRUPAL_10, - ]) + // 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([ DeclareStrictTypesRector::class, 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 574b8e22bf..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 @@ -@@ -45,10 +45,10 @@ +@@ -44,10 +44,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -73,7 +73,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 574b8e22bf..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 @@ -@@ -45,10 +45,10 @@ +@@ -44,10 +44,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -73,7 +73,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 09bf2278f7..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 @@ -@@ -46,7 +46,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 09bf2278f7..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 @@ -@@ -46,7 +46,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 09bf2278f7..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 @@ -@@ -46,7 +46,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 6884d9fc11..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 @@ -@@ -36,7 +36,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; -@@ -82,8 +81,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, -@@ -101,7 +98,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 6884d9fc11..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 @@ -@@ -36,7 +36,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; -@@ -82,8 +81,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, -@@ -101,7 +98,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 09bf2278f7..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 @@ -@@ -46,7 +46,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 09bf2278f7..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 @@ -@@ -46,7 +46,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 b7723e06f1..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 @@ -@@ -82,8 +82,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 b7723e06f1..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 @@ -@@ -82,8 +82,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 09bf2278f7..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 @@ -@@ -46,7 +46,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 a8a54b7f9c..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 @@ -@@ -36,7 +36,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; -@@ -101,7 +100,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 a8a54b7f9c..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 @@ -@@ -36,7 +36,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; -@@ -101,7 +100,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 09bf2278f7..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 @@ -@@ -46,7 +46,6 @@ +@@ -45,7 +45,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/rector.php b/rector.php index 31af310ffa..e253e41b2f 100644 --- a/rector.php +++ b/rector.php @@ -17,8 +17,7 @@ declare(strict_types=1); use DrupalFinder\DrupalFinderComposerRuntime; -use DrupalRector\Set\Drupal10SetList; -use DrupalRector\Set\Drupal9SetList; +use DrupalRector\Set\DrupalSetProvider; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; @@ -95,11 +94,13 @@ privatization: TRUE, typeDeclarations: TRUE, ) - // Drupal-specific deprecation fixes. - ->withSets([ - Drupal9SetList::DRUPAL_9, - Drupal10SetList::DRUPAL_10, - ]) + // 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([ DeclareStrictTypesRector::class, 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 { /**