futtern/src/Kernel.php
lubiana af9354ff22
All checks were successful
/ ls (pull_request) Successful in 1m33s
migrate to pest php for testing
2025-02-01 00:11:25 +01:00

22 lines
485 B
PHP

<?php declare(strict_types=1);
namespace App;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
final class Kernel extends BaseKernel
{
use MicroKernelTrait;
public function __construct(
protected string $environment,
protected bool $debug,
) {
parent::__construct($environment, $debug);
if ($environment === 'test') {
$this->debug = false;
}
}
}