refactor: susun semula struktur folder — Laravel source ke src/

This commit is contained in:
Saufi
2026-05-19 15:58:35 +08:00
parent f052251b94
commit bf53c71b45
10806 changed files with 1385379 additions and 121 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,10 @@
<?php
declare(strict_types=1);
namespace NunoMaduro\Collision\Contracts;
/**
* @internal
*/
interface RenderlessEditor {}

View File

@@ -0,0 +1,10 @@
<?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; // @phpstan-ignore-line
}