Add STREAM_FORK_OUTPUT switch

This commit is contained in:
DariusIII
2025-08-16 09:49:56 +02:00
parent 8dd32e505a
commit b20cca23f1
8 changed files with 842 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Boots the Laravel application for tests.
*/
public function createApplication()
{
// Require the configured application instance.
$app = require __DIR__.'/../bootstrap/app.php';
// Bootstrap the console kernel so facades and providers are ready.
$app->make(Kernel::class)->bootstrap();
return $app;
}
}