Skip to content

Commit

Permalink
test: Remove unnecessary separate processes annotation
Browse files Browse the repository at this point in the history
Since PharInfo ensures a memory-safe consumption of the PHAR, some tests
no longer need to be executed in separate processes.
  • Loading branch information
theofidry committed Oct 9, 2023
1 parent 21c655b commit eee33a7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions tests/Console/Command/GenerateDockerFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions tests/Console/Command/InfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tests/Console/Command/ValidateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
* @covers \KevinGH\Box\Console\Command\Validate
* @covers \KevinGH\Box\Console\MessageRenderer
*
* @runTestsInSeparateProcesses
*
* @internal
*/
class ValidateTest extends CommandTestCase
Expand Down
2 changes: 0 additions & 2 deletions tests/Phar/PharFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* @covers \KevinGH\Box\Phar\InvalidPhar
* @covers \KevinGH\Box\Phar\PharFactory
*
* @runTestsInSeparateProcesses
*
* @internal
*/
final class PharFactoryTest extends TestCase
Expand Down
1 change: 0 additions & 1 deletion tests/Phar/PharInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

/**
* @covers \KevinGH\Box\Phar\PharInfo
* @runTestsInSeparateProcesses
*
* @internal
*/
Expand Down

0 comments on commit eee33a7

Please sign in to comment.