Skip to content

Commit c04ea85

Browse files
[symfony/framework-bundle/8.1] Add Kernel::$allowedEnvs = prod+dev+test
1 parent 2bf874b commit c04ea85

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
namespace App;
4+
5+
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
6+
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
7+
8+
class Kernel extends BaseKernel
9+
{
10+
use MicroKernelTrait;
11+
12+
private $allowedEnvs = [
13+
'prod',
14+
'dev',
15+
'test',
16+
];
17+
}

0 commit comments

Comments
 (0)