This commit is contained in:
TiclemFR
2023-12-29 16:00:02 +01:00
parent 9d79d7c0c6
commit 884eb3011a
8361 changed files with 1160554 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts;
/**
* @internal
*/
interface RenderlessEditor
{
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts;
/**
* @internal
*/
interface RenderlessTrace
{
}

View File

@@ -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;
}