vendor and env first commit
This commit is contained in:
+26
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user