Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: paratestphp/paratest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.7.0
Choose a base ref
...
head repository: paratestphp/paratest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.x
Choose a head ref

Commits on Dec 11, 2024

  1. Update dependency squizlabs/php_codesniffer to ^3.11.2

    | datasource | package                   | from   | to     |
    | ---------- | ------------------------- | ------ | ------ |
    | packagist  | squizlabs/php_codesniffer | 3.11.1 | 3.11.2 |
    renovate[bot] authored Dec 11, 2024
    Copy the full SHA
    5503d00 View commit details

Commits on Dec 18, 2024

  1. Update all non-major dependencies (#921)

    * Update all non-major dependencies
    
    | datasource | package                 | from  | to    |
    | ---------- | ----------------------- | ----- | ----- |
    | packagist  | phpstan/phpstan         | 2.0.3 | 2.0.4 |
    | packagist  | phpstan/phpstan-phpunit | 2.0.1 | 2.0.2 |
    
    * SA fix
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Filippo Tessarotto <zoeslam@gmail.com>
    renovate[bot] and Slamdunk authored Dec 18, 2024
    Copy the full SHA
    e09083e View commit details

Commits on Dec 19, 2024

  1. Update dependency phpstan/phpstan-phpunit to ^2.0.3

    | datasource | package                 | from  | to    |
    | ---------- | ----------------------- | ----- | ----- |
    | packagist  | phpstan/phpstan-phpunit | 2.0.2 | 2.0.3 |
    renovate[bot] authored Dec 19, 2024
    Copy the full SHA
    c88b498 View commit details

Commits on Dec 21, 2024

  1. Update dependency phpunit/phpunit to ^11.5.2

    | datasource | package         | from   | to     |
    | ---------- | --------------- | ------ | ------ |
    | packagist  | phpunit/phpunit | 11.5.1 | 11.5.2 |
    renovate[bot] authored Dec 21, 2024
    Copy the full SHA
    9a58fa9 View commit details

Commits on Dec 31, 2024

  1. Update dependency phpstan/phpstan to ^2.1.0

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.0.4 | 2.1.0 |
    renovate[bot] authored Dec 31, 2024
    Copy the full SHA
    5d6fe09 View commit details

Commits on Jan 5, 2025

  1. Update dependency phpstan/phpstan to ^2.1.1

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.1.0 | 2.1.1 |
    renovate[bot] authored Jan 5, 2025
    Copy the full SHA
    e3195e5 View commit details

Commits on Jan 15, 2025

  1. Update dependency phpunit/phpunit to ^11.5.3 (#923)

    * Update dependency phpunit/phpunit to ^11.5.3
    
    | datasource | package         | from   | to     |
    | ---------- | --------------- | ------ | ------ |
    | packagist  | phpunit/phpunit | 11.5.2 | 11.5.3 |
    
    * SA Fix
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Filippo Tessarotto <zoeslam@gmail.com>
    renovate[bot] and Slamdunk authored Jan 15, 2025
    Copy the full SHA
    1714425 View commit details

Commits on Jan 19, 2025

  1. Update dependency phpstan/phpstan-strict-rules to ^2.0.2

    | datasource | package                      | from  | to    |
    | ---------- | ---------------------------- | ----- | ----- |
    | packagist  | phpstan/phpstan-strict-rules | 2.0.1 | 2.0.2 |
    renovate[bot] authored Jan 19, 2025
    Copy the full SHA
    bf97d8d View commit details

Commits on Jan 21, 2025

  1. Update all non-major dependencies

    | datasource | package                      | from  | to    |
    | ---------- | ---------------------------- | ----- | ----- |
    | packagist  | phpstan/phpstan              | 2.1.1 | 2.1.2 |
    | packagist  | phpstan/phpstan-strict-rules | 2.0.2 | 2.0.3 |
    renovate[bot] authored Jan 21, 2025
    Copy the full SHA
    673159a View commit details

Commits on Jan 22, 2025

  1. Update dependency phpstan/phpstan-phpunit to ^2.0.4

    | datasource | package                 | from  | to    |
    | ---------- | ----------------------- | ----- | ----- |
    | packagist  | phpstan/phpstan-phpunit | 2.0.3 | 2.0.4 |
    renovate[bot] authored Jan 22, 2025
    Copy the full SHA
    a9a02bd View commit details

Commits on Jan 23, 2025

  1. Update dependency squizlabs/php_codesniffer to ^3.11.3

    | datasource | package                   | from   | to     |
    | ---------- | ------------------------- | ------ | ------ |
    | packagist  | squizlabs/php_codesniffer | 3.11.2 | 3.11.3 |
    renovate[bot] authored Jan 23, 2025
    Copy the full SHA
    5c2d568 View commit details

Commits on Jan 28, 2025

  1. Update dependency phpunit/phpunit to ^11.5.4

    | datasource | package         | from   | to     |
    | ---------- | --------------- | ------ | ------ |
    | packagist  | phpunit/phpunit | 11.5.3 | 11.5.4 |
    renovate[bot] authored Jan 28, 2025
    Copy the full SHA
    f2bb9f7 View commit details

Commits on Jan 30, 2025

  1. Update dependency phpunit/phpunit to ^11.5.5 (#925)

    | datasource | package         | from   | to     |
    | ---------- | --------------- | ------ | ------ |
    | packagist  | phpunit/phpunit | 11.5.4 | 11.5.5 |
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 30, 2025
    Copy the full SHA
    88dba4f View commit details

Commits on Jan 31, 2025

  1. Update dependency phpunit/phpunit to ^11.5.6

    | datasource | package         | from   | to     |
    | ---------- | --------------- | ------ | ------ |
    | packagist  | phpunit/phpunit | 11.5.5 | 11.5.6 |
    renovate[bot] authored Jan 31, 2025
    Copy the full SHA
    23c38a2 View commit details

Commits on Feb 6, 2025

  1. Update dependency phpunit/phpunit to ^11.5.7

    | datasource | package         | from   | to     |
    | ---------- | --------------- | ------ | ------ |
    | packagist  | phpunit/phpunit | 11.5.6 | 11.5.7 |
    renovate[bot] authored Feb 6, 2025
    Copy the full SHA
    7e96b22 View commit details

Commits on Feb 7, 2025

  1. Copy the full SHA
    d447df8 View commit details
  2. Copy the full SHA
    272c8fd View commit details
  3. Copy the full SHA
    d18f88b View commit details
  4. Update dependency phpstan/phpstan to ^2.1.3

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.1.2 | 2.1.3 |
    renovate[bot] authored Feb 7, 2025
    Copy the full SHA
    24d6bb6 View commit details

Commits on Feb 10, 2025

  1. Update dependency phpstan/phpstan to ^2.1.4

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.1.3 | 2.1.4 |
    renovate[bot] authored Feb 10, 2025
    Copy the full SHA
    7b9cc5a View commit details

Commits on Feb 13, 2025

  1. Update dependency phpstan/phpstan to ^2.1.5

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.1.4 | 2.1.5 |
    renovate[bot] authored Feb 13, 2025
    Copy the full SHA
    7771e52 View commit details

Commits on Feb 14, 2025

  1. Copy the full SHA
    be947b2 View commit details

Commits on Feb 19, 2025

  1. Copy the full SHA
    22c45ae View commit details
  2. Update dependency phpstan/phpstan to ^2.1.6

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.1.5 | 2.1.6 |
    renovate[bot] authored Feb 19, 2025
    Copy the full SHA
    414b34f View commit details

Commits on Mar 5, 2025

  1. Copy the full SHA
    a585c34 View commit details
  2. Update dependency phpstan/phpstan to ^2.1.7

    | datasource | package         | from  | to    |
    | ---------- | --------------- | ----- | ----- |
    | packagist  | phpstan/phpstan | 2.1.6 | 2.1.7 |
    renovate[bot] authored Mar 5, 2025
    Copy the full SHA
    f324acf View commit details
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -40,23 +40,23 @@
"ext-simplexml": "*",
"fidry/cpu-core-counter": "^1.2.0",
"jean85/pretty-package-versions": "^2.1.0",
"phpunit/php-code-coverage": "^11.0.8",
"phpunit/php-file-iterator": "^5.1.0",
"phpunit/php-timer": "^7.0.1",
"phpunit/phpunit": "^11.5.1",
"sebastian/environment": "^7.2.0",
"symfony/console": "^6.4.14 || ^7.2.1",
"symfony/process": "^6.4.14 || ^7.2.0"
"phpunit/php-code-coverage": "^11.0.9 || ^12.0.4",
"phpunit/php-file-iterator": "^5.1.0 || ^6",
"phpunit/php-timer": "^7.0.1 || ^8",
"phpunit/phpunit": "^11.5.11 || ^12.0.6",
"sebastian/environment": "^7.2.0 || ^8",
"symfony/console": "^6.4.17 || ^7.2.1",
"symfony/process": "^6.4.19 || ^7.2.4"
},
"require-dev": {
"ext-pcov": "*",
"ext-posix": "*",
"doctrine/coding-standard": "^12.0.0",
"phpstan/phpstan": "^2.0.3",
"phpstan/phpstan": "^2.1.7",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-phpunit": "^2.0.1",
"phpstan/phpstan-strict-rules": "^2",
"squizlabs/php_codesniffer": "^3.11.1",
"phpstan/phpstan-phpunit": "^2.0.4",
"phpstan/phpstan-strict-rules": "^2.0.3",
"squizlabs/php_codesniffer": "^3.11.3",
"symfony/filesystem": "^6.4.13 || ^7.2.0"
},
"autoload": {
4 changes: 2 additions & 2 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ parameters:
path: src/Options.php

-
message: '#^Parameter \#7 \$phpunitOptions of class ParaTest\\Options constructor expects array\<non\-empty\-string, list\<non\-empty\-string\>\|non\-empty\-string\|true\>, array\<''bootstrap''\|''cache\-directory''\|''configuration''\|''coverage\-filter''\|''disallow\-test\-output''\|''dont\-report\-useless…''\|''exclude\-group''\|''fail\-on\-incomplete''\|''fail\-on\-risky''\|''fail\-on\-skipped''\|''fail\-on\-warning''\|''filter''\|''group''\|''no\-configuration''\|''order\-by''\|''process\-isolation''\|''random\-order\-seed''\|''stop\-on\-defect''\|''stop\-on\-error''\|''stop\-on\-incomplete''\|''stop\-on\-risky''\|''stop\-on\-skipped''\|''stop\-on\-warning''\|''strict\-coverage''\|''strict\-global\-state'', non\-empty\-array\|float\|int\<min, \-1\>\|int\<1, max\>\|non\-falsy\-string\|true\> given\.$#'
message: '#^Parameter \#7 \$phpunitOptions of class ParaTest\\Options constructor expects array\<non\-empty\-string, list\<non\-empty\-string\>\|non\-empty\-string\|true\>, array\<''bootstrap''\|''cache\-directory''\|''configuration''\|''coverage\-filter''\|''disallow\-test\-output''\|''dont\-report\-useless…''\|''exclude\-group''\|''fail\-on\-deprecation''\|''fail\-on\-incomplete''\|''fail\-on\-risky''\|''fail\-on\-skipped''\|''fail\-on\-warning''\|''filter''\|''group''\|''no\-configuration''\|''order\-by''\|''process\-isolation''\|''random\-order\-seed''\|''stop\-on\-defect''\|''stop\-on\-error''\|''stop\-on\-incomplete''\|''stop\-on\-risky''\|''stop\-on\-skipped''\|''stop\-on\-warning''\|''strict\-coverage''\|''strict\-global\-state'', non\-empty\-array\|float\|int\<min, \-1\>\|int\<1, max\>\|non\-falsy\-string\|true\> given\.$#'
identifier: argument.type
count: 1
path: src/Options.php
@@ -115,7 +115,7 @@ parameters:
path: src/WrapperRunner/WrapperRunner.php

-
message: '#^Parameter \#4 \$testErroredEvents of class PHPUnit\\TestRunner\\TestResult\\TestResult constructor expects list\<PHPUnit\\Event\\Test\\BeforeFirstTestMethodErrored\|PHPUnit\\Event\\Test\\Errored\>, array given\.$#'
message: '#^Parameter \#4 \$testErroredEvents of class PHPUnit\\TestRunner\\TestResult\\TestResult constructor expects list\<PHPUnit\\Event\\Test\\AfterLastTestMethodErrored\|PHPUnit\\Event\\Test\\BeforeFirstTestMethodErrored\|PHPUnit\\Event\\Test\\Errored\>, array given\.$#'
identifier: argument.type
count: 1
path: src/WrapperRunner/WrapperRunner.php
4 changes: 2 additions & 2 deletions src/Coverage/CoverageMerger.php
Original file line number Diff line number Diff line change
@@ -10,10 +10,10 @@
use function assert;

/** @internal */
final class CoverageMerger
final readonly class CoverageMerger
{
public function __construct(
private readonly CodeCoverage $coverage
private CodeCoverage $coverage
) {
}

2 changes: 1 addition & 1 deletion src/JUnit/LogMerger.php
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
*
* @immutable
*/
final class LogMerger
final readonly class LogMerger
{
/** @param list<SplFileInfo> $junitFiles */
public function merge(array $junitFiles): ?TestSuite
14 changes: 7 additions & 7 deletions src/JUnit/TestCase.php
Original file line number Diff line number Diff line change
@@ -17,15 +17,15 @@
*
* @immutable
*/
class TestCase
readonly class TestCase
{
public function __construct(
public readonly string $name,
public readonly string $class,
public readonly string $file,
public readonly int $line,
public readonly int $assertions,
public readonly float $time
public string $name,
public string $class,
public string $file,
public int $line,
public int $assertions,
public float $time
) {
}

8 changes: 4 additions & 4 deletions src/JUnit/TestCaseWithMessage.php
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
*
* @immutable
*/
final class TestCaseWithMessage extends TestCase
final readonly class TestCaseWithMessage extends TestCase
{
public function __construct(
string $name,
@@ -18,9 +18,9 @@ public function __construct(
int $line,
int $assertions,
float $time,
public readonly ?string $type,
public readonly string $text,
public readonly MessageType $xmlTagName
public ?string $type,
public string $text,
public MessageType $xmlTagName
) {
parent::__construct($name, $class, $file, $line, $assertions, $time);
}
22 changes: 11 additions & 11 deletions src/JUnit/TestSuite.php
Original file line number Diff line number Diff line change
@@ -16,23 +16,23 @@
*
* @immutable
*/
final class TestSuite
final readonly class TestSuite
{
/**
* @param array<string, TestSuite> $suites
* @param list<TestCase> $cases
*/
public function __construct(
public readonly string $name,
public readonly int $tests,
public readonly int $assertions,
public readonly int $failures,
public readonly int $errors,
public readonly int $skipped,
public readonly float $time,
public readonly string $file,
public readonly array $suites,
public readonly array $cases
public string $name,
public int $tests,
public int $assertions,
public int $failures,
public int $errors,
public int $skipped,
public float $time,
public string $file,
public array $suites,
public array $cases
) {
}

4 changes: 2 additions & 2 deletions src/JUnit/Writer.php
Original file line number Diff line number Diff line change
@@ -21,10 +21,10 @@
use const ENT_XML1;

/** @internal */
final class Writer
final readonly class Writer
{
private const TESTSUITES_NAME = 'PHPUnit tests';
private readonly DOMDocument $document;
private DOMDocument $document;

public function __construct()
{
33 changes: 20 additions & 13 deletions src/Options.php
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@
*
* @immutable
*/
final class Options
final readonly class Options
{
public const ENV_KEY_TOKEN = 'TEST_TOKEN';
public const ENV_KEY_UNIQUE_TOKEN = 'UNIQUE_TEST_TOKEN';
@@ -60,6 +60,7 @@ final class Options
'fail-on-risky' => true,
'fail-on-skipped' => true,
'fail-on-warning' => true,
'fail-on-deprecation' => true,
'filter' => true,
'group' => true,
'no-configuration' => true,
@@ -88,18 +89,18 @@ final class Options
* @param non-empty-string $tmpDir
*/
public function __construct(
public readonly Configuration $configuration,
public readonly string $phpunit,
public readonly string $cwd,
public readonly int $maxBatchSize,
public readonly bool $noTestTokens,
public readonly ?array $passthruPhp,
public readonly array $phpunitOptions,
public readonly int $processes,
public readonly string $runner,
public readonly string $tmpDir,
public readonly bool $verbose,
public readonly bool $functional,
public Configuration $configuration,
public string $phpunit,
public string $cwd,
public int $maxBatchSize,
public bool $noTestTokens,
public ?array $passthruPhp,
public array $phpunitOptions,
public int $processes,
public string $runner,
public string $tmpDir,
public bool $verbose,
public bool $functional,
) {
$this->needsTeamcity = $configuration->outputIsTeamCity() || $configuration->hasLogfileTeamcity();
}
@@ -424,6 +425,12 @@ public static function setInputDefinition(InputDefinition $inputDefinition): voi
InputOption::VALUE_NONE,
'@see PHPUnit guide, chapter: ' . $chapter,
),
new InputOption(
'fail-on-deprecation',
null,
InputOption::VALUE_NONE,
'@see PHPUnit guide, chapter: ' . $chapter,
),
new InputOption(
'order-by',
null,
2 changes: 1 addition & 1 deletion src/Util/PhpstormHelper.php
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
use function str_ends_with;

/** @internal */
final class PhpstormHelper
final readonly class PhpstormHelper
{
/** @param array<int, string> $argv */
public static function handleArgvFromPhpstorm(array &$argv, string $paratestBinary): string
6 changes: 5 additions & 1 deletion src/WrapperRunner/ApplicationForWrapperWorker.php
Original file line number Diff line number Diff line change
@@ -95,6 +95,10 @@ public function runTest(string $testPath): int
$testSuite = TestSuite::fromClassReflector($testSuiteRefl);
}

EventFacade::emitter()->testSuiteLoaded(
TestSuiteBuilder::from($testSuite),
);

(new TestSuiteFilterProcessor())->process($this->configuration, $testSuite);

if ($filter !== null) {
@@ -211,7 +215,7 @@ private function bootstrap(): void
try {
$baseline = (new Reader())->read($baselineFile);
} catch (CannotLoadBaselineException $e) {
EventFacade::emitter()->testRunnerTriggeredWarning($e->getMessage());
EventFacade::emitter()->testRunnerTriggeredPhpunitWarning($e->getMessage());
}

if ($baseline !== null) {
6 changes: 3 additions & 3 deletions src/WrapperRunner/ProgressPrinterOutput.php
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@
use function preg_match;

/** @internal */
final class ProgressPrinterOutput implements Printer
final readonly class ProgressPrinterOutput implements Printer
{
public function __construct(
private readonly Printer $progressPrinter,
private readonly Printer $outputPrinter,
private Printer $progressPrinter,
private Printer $outputPrinter,
) {
}

10 changes: 5 additions & 5 deletions src/WrapperRunner/SuiteLoader.php
Original file line number Diff line number Diff line change
@@ -42,14 +42,14 @@
use function substr;

/** @internal */
final class SuiteLoader
final readonly class SuiteLoader
{
public readonly int $testCount;
public int $testCount;
/** @var list<non-empty-string> */
public readonly array $tests;
public array $tests;

public function __construct(
private readonly Options $options,
private Options $options,
OutputInterface $output,
CodeCoverageFilterRegistry $codeCoverageFilterRegistry,
) {
@@ -188,7 +188,7 @@ private function loadFiles(TestSuite $testSuite): Generator
if ($test instanceof TestCase) {
$refClass = new ReflectionClass($test);
$filename = $refClass->getFileName();
assert(is_string($filename) && $filename !== '');
assert(is_string($filename));
$filename = $this->stripCwd($filename);

yield $filename => $test;
6 changes: 3 additions & 3 deletions test/RunnerResult.php
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@
namespace ParaTest\Tests;

/** @immutable */
final class RunnerResult
final readonly class RunnerResult
{
public function __construct(
public readonly int $exitCode,
public readonly string $output
public int $exitCode,
public string $output
) {
}
}
2 changes: 1 addition & 1 deletion test/TmpDirCreator.php
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@

use const DIRECTORY_SEPARATOR;

final class TmpDirCreator
final readonly class TmpDirCreator
{
/** @return non-empty-string */
public function create(): string
2 changes: 1 addition & 1 deletion test/Unit/CustomRunner.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
use ParaTest\RunnerInterface;

/** @internal */
final class CustomRunner implements RunnerInterface
final readonly class CustomRunner implements RunnerInterface
{
public const EXIT_CODE = 99;

2 changes: 0 additions & 2 deletions test/Unit/JUnitTest.php
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@
namespace ParaTest\Tests\Unit;

use ParaTest\JUnit\LogMerger;
use ParaTest\JUnit\MessageType;
use ParaTest\JUnit\TestCase as JunitTestCase;
use ParaTest\JUnit\TestCaseWithMessage;
use ParaTest\JUnit\TestSuite;
@@ -22,7 +21,6 @@

/** @internal */
#[CoversClass(LogMerger::class)]
#[CoversClass(MessageType::class)]
#[CoversClass(JunitTestCase::class)]
#[CoversClass(TestCaseWithMessage::class)]
#[CoversClass(TestSuite::class)]
6 changes: 1 addition & 5 deletions test/Unit/WrapperRunner/WrapperRunnerTest.php
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RequiresOperatingSystemFamily;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use Symfony\Component\Process\Process;
@@ -600,7 +599,7 @@ public function testHandleUnexpectedOutput(): void
There was 1 risky test:
1) ParaTest\Tests\fixtures\unexpected_output\UnexpectedOutputTest::testInvalidLogic
This test printed output: foobar
Test code or tested code printed unexpected output: foobar
%s/test/fixtures/unexpected_output/UnexpectedOutputTest.php:%d
@@ -632,7 +631,6 @@ public function testGroupOptionWithDataProviderAndCodeCoverageEnabled(): void
* @see https://bugs.php.net/bug.php?id=77726
* @see https://github.com/php/php-src/pull/8114
*/
#[RequiresPhp('>=8.2')]
public function testFunctionalParallelization(): void
{
$this->bareOptions['path'] = $this->fixture('function_parallelization_tests');
@@ -654,7 +652,6 @@ public function testFunctionalParallelization(): void
self::assertSame(RunnerInterface::SUCCESS_EXIT, $runnerResult->exitCode);
}

#[RequiresPhp('>=8.2')]
public function testSameBeginningOfName(): void
{
$this->bareOptions['path'] = $this->fixture('same_beginning_of_name');
@@ -676,7 +673,6 @@ public function testSameBeginningOfName(): void
self::assertSame(RunnerInterface::SUCCESS_EXIT, $runnerResult->exitCode);
}

#[RequiresPhp('>=8.2')]
public function testFunctionalParallelizationWithJunitLogging(): void
{
$outputFile = $this->tmpDir . DIRECTORY_SEPARATOR . 'test-output.xml';