for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace spec\PHPSpec;
use PhpSpec;
use PhpSpec\ServiceContainer;
final class Extension implements PhpSpec\Extension
{
/**
* @param mixed[] $params
*/
public function load(ServiceContainer $container, array $params): void
$container->define(
OneOfMatcher::class,
static fn (): OneOfMatcher => new OneOfMatcher(),
['matchers']
);
}