|
44 | 44 | *
|
45 | 45 | * @immutable
|
46 | 46 | */
|
47 |
| -final class Options |
| 47 | +final readonly class Options |
48 | 48 | {
|
49 | 49 | public const ENV_KEY_TOKEN = 'TEST_TOKEN';
|
50 | 50 | public const ENV_KEY_UNIQUE_TOKEN = 'UNIQUE_TEST_TOKEN';
|
@@ -89,18 +89,18 @@ final class Options
|
89 | 89 | * @param non-empty-string $tmpDir
|
90 | 90 | */
|
91 | 91 | public function __construct(
|
92 |
| - public readonly Configuration $configuration, |
93 |
| - public readonly string $phpunit, |
94 |
| - public readonly string $cwd, |
95 |
| - public readonly int $maxBatchSize, |
96 |
| - public readonly bool $noTestTokens, |
97 |
| - public readonly ?array $passthruPhp, |
98 |
| - public readonly array $phpunitOptions, |
99 |
| - public readonly int $processes, |
100 |
| - public readonly string $runner, |
101 |
| - public readonly string $tmpDir, |
102 |
| - public readonly bool $verbose, |
103 |
| - public readonly bool $functional, |
| 92 | + public Configuration $configuration, |
| 93 | + public string $phpunit, |
| 94 | + public string $cwd, |
| 95 | + public int $maxBatchSize, |
| 96 | + public bool $noTestTokens, |
| 97 | + public ?array $passthruPhp, |
| 98 | + public array $phpunitOptions, |
| 99 | + public int $processes, |
| 100 | + public string $runner, |
| 101 | + public string $tmpDir, |
| 102 | + public bool $verbose, |
| 103 | + public bool $functional, |
104 | 104 | ) {
|
105 | 105 | $this->needsTeamcity = $configuration->outputIsTeamCity() || $configuration->hasLogfileTeamcity();
|
106 | 106 | }
|
|
0 commit comments