first commit

This commit is contained in:
Ariyutta
2026-08-07 10:47:09 +07:00
commit 1c094fbe7f
11630 changed files with 1580900 additions and 0 deletions
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts\Adapters\Phpunit;
/**
* @internal
*/
interface HasPrintableTestCaseName
{
/**
* The printable test case name.
*/
public static function getPrintableTestCaseName(): string;
/**
* The printable test case method name.
*/
public function getPrintableTestCaseMethodName(): string;
/**
* The "latest" printable test case method name.
*/
public static function getLatestPrintableTestCaseMethodName(): string;
}
@@ -0,0 +1,13 @@
<?php
namespace NunoMaduro\Collision\Contracts;
use Whoops\Exception\Frame;
interface RenderableOnCollisionEditor
{
/**
* Returns the frame to be used on the Collision Editor.
*/
public function toCollisionEditor(): Frame;
}
@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts;
/**
* @internal
*/
interface RenderlessEditor {}
@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts;
/**
* @internal
*/
interface RenderlessTrace {}
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts;
use Spatie\Ignition\Contracts\Solution;
use Throwable;
/**
* @internal
*/
interface SolutionsRepository
{
/**
* Gets the solutions from the given `$throwable`.
*
* @return array<int, Solution>
*/
public function getFromThrowable(Throwable $throwable): array; // @phpstan-ignore-line
}