feat: adds phpunit 12.2.1 support

This commit is contained in:
Nuno Maduro
2025-06-08 15:29:23 +01:00
parent 02b1ffb334
commit 0fc9d4dfe0
12 changed files with 99 additions and 69 deletions

View File

@ -59,10 +59,10 @@ final class ResultPrinter
private readonly OutputInterface $output,
private readonly Options $options
) {
$this->printer = new class($this->output) implements Printer
$this->printer = new readonly class($this->output) implements Printer
{
public function __construct(
private readonly OutputInterface $output,
private OutputInterface $output,
) {}
public function print(string $buffer): void