Minimal Laravel 10 application

This commit is contained in:
2024-02-15 12:04:21 +01:00
parent 1387db39cf
commit 49a9ac300b
44 changed files with 114 additions and 801 deletions

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
@ -13,7 +15,7 @@ trait CreatesApplication
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app = require __DIR__ . '/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests\Feature;
use Tests\TestCase;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests\Feature;
use Tests\TestCase;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Feature;
use Tests\TestCase;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;