We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f93b168 commit 8d42684Copy full SHA for 8d42684
src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
@@ -115,8 +115,8 @@ protected static function getKernelClass()
115
return $class;
116
}
117
118
- if (isset($_SERVER['KERNEL_DIR']) || isset($_ENV['KERNEL_DIR'])) {
119
- $dir = isset($_SERVER['KERNEL_DIR']) ? $_SERVER['KERNEL_DIR'] : $_ENV['KERNEL_DIR'];
+ if (isset($_SERVER['KERNEL_DIR'])) {
+ $dir = $_SERVER['KERNEL_DIR'];
120
121
if (!is_dir($dir)) {
122
$phpUnitDir = static::getPhpUnitXmlDir();
0 commit comments