From eee33a7fc5f572245b3c37ae0a2d549b6a7d5c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Mon, 9 Oct 2023 23:21:41 +0200 Subject: [PATCH] test: Remove unnecessary separate processes annotation Since PharInfo ensures a memory-safe consumption of the PHAR, some tests no longer need to be executed in separate processes. --- tests/Console/Command/GenerateDockerFileTest.php | 3 --- tests/Console/Command/InfoTest.php | 6 ------ tests/Console/Command/ValidateTest.php | 2 -- tests/Phar/PharFactoryTest.php | 2 -- tests/Phar/PharInfoTest.php | 1 - 5 files changed, 14 deletions(-) diff --git a/tests/Console/Command/GenerateDockerFileTest.php b/tests/Console/Command/GenerateDockerFileTest.php index 866a24a92..d6cfe2896 100644 --- a/tests/Console/Command/GenerateDockerFileTest.php +++ b/tests/Console/Command/GenerateDockerFileTest.php @@ -23,9 +23,6 @@ /** * @covers \KevinGH\Box\Console\Command\GenerateDockerFile * - * @runTestsInSeparateProcesses This is necessary as instantiating a PHAR in memory may load/autoload some stuff which - * can create undesirable side-effects. - * * @internal */ class GenerateDockerFileTest extends CommandTestCase diff --git a/tests/Console/Command/InfoTest.php b/tests/Console/Command/InfoTest.php index aac771ed3..b36a40e75 100644 --- a/tests/Console/Command/InfoTest.php +++ b/tests/Console/Command/InfoTest.php @@ -31,12 +31,6 @@ * @covers \KevinGH\Box\Console\Command\Info * @covers \KevinGH\Box\Console\Command\PharInfoRenderer * - * @runTestsInSeparateProcesses This is necessary as instantiating a PHAR in memory may load/autoload some stuff which - * can create undesirable side effect. - * - * @internal - */ -/** * @internal */ class InfoTest extends CommandTestCase diff --git a/tests/Console/Command/ValidateTest.php b/tests/Console/Command/ValidateTest.php index e29f14703..fb8765c8b 100644 --- a/tests/Console/Command/ValidateTest.php +++ b/tests/Console/Command/ValidateTest.php @@ -27,8 +27,6 @@ * @covers \KevinGH\Box\Console\Command\Validate * @covers \KevinGH\Box\Console\MessageRenderer * - * @runTestsInSeparateProcesses - * * @internal */ class ValidateTest extends CommandTestCase diff --git a/tests/Phar/PharFactoryTest.php b/tests/Phar/PharFactoryTest.php index f5adf5608..c2fd5a83f 100644 --- a/tests/Phar/PharFactoryTest.php +++ b/tests/Phar/PharFactoryTest.php @@ -26,8 +26,6 @@ * @covers \KevinGH\Box\Phar\InvalidPhar * @covers \KevinGH\Box\Phar\PharFactory * - * @runTestsInSeparateProcesses - * * @internal */ final class PharFactoryTest extends TestCase diff --git a/tests/Phar/PharInfoTest.php b/tests/Phar/PharInfoTest.php index b48a64c5c..3198a424a 100644 --- a/tests/Phar/PharInfoTest.php +++ b/tests/Phar/PharInfoTest.php @@ -23,7 +23,6 @@ /** * @covers \KevinGH\Box\Phar\PharInfo - * @runTestsInSeparateProcesses * * @internal */