Skip to content

Instantly share code, notes, and snippets.

View choinek's full-sized avatar

Adrian Chojnicki choinek

View GitHub Profile
@bizley
bizley / ConsecutiveCalls.php
Last active April 1, 2025 14:22
PHPUnit 10 withConsecutive() replacement (using with())
<?php
declare(strict_types=1);
namespace App\Tests\Unit;
use PHPUnit\Framework\Constraint\Constraint;
class ConsecutiveCalls extends Constraint
{