Handles tests where a static closure is provided

This commit is contained in:
Peter Fox
2024-03-17 16:48:43 +00:00
parent 6094682158
commit a4f8ae1a12
6 changed files with 44 additions and 5 deletions

View File

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Pest\Exceptions;
use NunoMaduro\Collision\Contracts\RenderlessEditor;
use NunoMaduro\Collision\Contracts\RenderlessTrace;
use Symfony\Component\Console\Exception\ExceptionInterface;
/**
* @internal
*/
final class TestClosureMustNotBeStatic extends \InvalidArgumentException implements ExceptionInterface, RenderlessEditor, RenderlessTrace
{
}