diff --git a/.vortex/cli/tests/Fixtures/handler_process/_baseline/rector.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/rector.php index 6aa3af9b5d..2c2daabe98 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/rector.php +++ b/.vortex/cli/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; @@ -97,9 +98,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/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php index f8e3aee667..7d1f358508 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php index 62af70e1e0..318359626b 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php index bf04b4f90a..7cee424aee 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 76011c8f88..9bfbe4c57e 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php index 9736525d57..a4ce52c6ac 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index 6ad08b88e3..9320413649 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php index 20a0b652bc..f32437bbb8 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php index 854005f854..13685c6ef8 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/_baseline/web/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php index f8e3aee667..7d1f358508 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php index 62af70e1e0..318359626b 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php index bf04b4f90a..7cee424aee 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 76011c8f88..9bfbe4c57e 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php index 9736525d57..a4ce52c6ac 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index 6ad08b88e3..9320413649 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php index 20a0b652bc..f32437bbb8 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php index 854005f854..13685c6ef8 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_acquia/rector.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/rector.php index 1fbd9e190f..29fec454e9 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/hosting_acquia/rector.php @@ -1,4 +1,4 @@ -@@ -46,10 +46,10 @@ +@@ -47,10 +47,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -77,7 +77,7 @@ +@@ -78,7 +78,7 @@ RenameVariableToMatchNewTypeRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, StringClassNameToClassConstantRector::class => [ diff --git a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php index f8e3aee667..7d1f358508 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php index 62af70e1e0..318359626b 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php index bf04b4f90a..7cee424aee 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 76011c8f88..9bfbe4c57e 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php index 9736525d57..a4ce52c6ac 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/modules/custom/sw_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index 6ad08b88e3..9320413649 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php index 20a0b652bc..f32437bbb8 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php index 854005f854..13685c6ef8 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php index 1fbd9e190f..29fec454e9 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php @@ -1,4 +1,4 @@ -@@ -46,10 +46,10 @@ +@@ -47,10 +47,10 @@ return RectorConfig::configure() ->withPaths([ @@ -13,7 +13,7 @@ __DIR__ . '/tests', ]) ->withSkip([ -@@ -77,7 +77,7 @@ +@@ -78,7 +78,7 @@ RenameVariableToMatchNewTypeRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, StringClassNameToClassConstantRector::class => [ diff --git a/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php index e54eecbe38..98e706b297 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php index d4ca82be8d..a504e42c32 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php index 54605d315e..7f0a2b999a 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_base/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php index 83470c2658..27351479ba 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/FunctionalJavascript/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php index 542e596696..9cb0a0669f 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/modules/custom/the_force_demo/tests/src/Kernel/CounterBlockTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php index d4f6afea0f..8363b06848 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php index cd8bc1a5a1..12415a4632 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php index 40a7dff942..e298bea4ae 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/names/web/themes/custom/lightsaber/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/theme_claro/rector.php b/.vortex/cli/tests/Fixtures/handler_process/theme_claro/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/theme_claro/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/theme_claro/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php index 400b731d49..051d96f6ff 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php index 15824203f4..5b9e23f85e 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/FunctionalJavascript/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php index c9780940f9..29758103e6 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/theme_custom/web/themes/custom/light_saber/tests/src/Kernel/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/theme_olivero/rector.php b/.vortex/cli/tests/Fixtures/handler_process/theme_olivero/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/theme_olivero/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/theme_olivero/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/cli/tests/Fixtures/handler_process/theme_stark/rector.php b/.vortex/cli/tests/Fixtures/handler_process/theme_stark/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/theme_stark/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/theme_stark/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_lint/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/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/cli/tests/Fixtures/handler_process/tools_groups_no_be_lint/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/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/cli/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php index b1f8979ed7..58cc304ac4 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -37,7 +37,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\ClassConst\PrivatizeFinalClassConstantRector; use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; -@@ -86,8 +85,6 @@ +@@ -87,8 +86,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, -@@ -104,7 +101,6 @@ +@@ -108,7 +105,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php index b1f8979ed7..58cc304ac4 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -37,7 +37,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\ClassConst\PrivatizeFinalClassConstantRector; use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; -@@ -86,8 +85,6 @@ +@@ -87,8 +86,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, -@@ -104,7 +101,6 @@ +@@ -108,7 +105,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat/rector.php index b23b5aab31..cefd5a83df 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat/rector.php @@ -1,4 +1,4 @@ -@@ -86,8 +86,6 @@ +@@ -87,8 +87,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/cli/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php index b23b5aab31..cefd5a83df 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_no_behat_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -86,8 +86,6 @@ +@@ -87,8 +87,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/cli/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_no_eslint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index e590202632..4fbbacc1e2 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpcs/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php index e590202632..4fbbacc1e2 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpcs_circleci/web/themes/custom/star_wars/tests/src/Functional/ExampleTest.php +++ b/.vortex/cli/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/cli/tests/Fixtures/handler_process/tools_no_phpunit/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit/rector.php index de039464a1..f4c6993b28 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -37,7 +37,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\ClassConst\PrivatizeFinalClassConstantRector; use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; -@@ -104,7 +103,6 @@ +@@ -108,7 +107,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php index de039464a1..f4c6993b28 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_no_phpunit_circleci/rector.php @@ -1,4 +1,4 @@ -@@ -36,7 +36,6 @@ +@@ -37,7 +37,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\ClassConst\PrivatizeFinalClassConstantRector; use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; -@@ -104,7 +103,6 @@ +@@ -108,7 +107,6 @@ // Additional rules. ->withRules([ DeclareStrictTypesRector::class, diff --git a/.vortex/cli/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php b/.vortex/cli/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php index be61deb99e..2d3912fefc 100644 --- a/.vortex/cli/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php +++ b/.vortex/cli/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/rector.php @@ -1,4 +1,4 @@ -@@ -47,7 +47,6 @@ +@@ -48,7 +48,6 @@ return RectorConfig::configure() ->withPaths([ __DIR__ . '/web/modules/custom', diff --git a/rector.php b/rector.php index 7c104d65e8..d9da444101 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; @@ -99,9 +100,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 6ac6ed5a64..067ab25f3b 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 7f903917b6..4c05179a69 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 17a5c1afa8..044acb8715 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 ced29785f1..fc8577acbb 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 deeea83eb9..354619c7f9 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 aee42a906c..52dda36901 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 { /**