for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Hyde\Testing;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Application;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication(): Application
$app = require getcwd().'/app/bootstrap.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}