Skip to content

Commit 3c2d8ce

Browse files
committed
Revert "Put KERNEL_CLASS to environment if it was not there yet (#184)"
This reverts commit 24078d9.
1 parent 8f423a3 commit 3c2d8ce

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

CHANGELOG.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
Changelog
22
=========
33

4-
2.1.3
5-
-----
6-
* **2018-06-30**: Use KERNEL_DIR for backward compatibility only
7-
* **2018-06-29**: Setting KERNEL_CLASS from phpunit.xml.dist during bootstrapping console command
8-
9-
2.1.2
10-
-----
11-
* **2018-06-29**: Read KERNEL_DIR and KERNEL_CLASS from phpunit.xml.dist for console commands
12-
13-
2.1.1
14-
-----
15-
* **2018-06-23**: Passing command line as array to Process for newer Symfony versions only
16-
17-
2.1.0
18-
-----
4+
2.1.0 (unreleased)
5+
------------------
196

207
* **2017-01-18**: Introduce a `TestCompilePass` to make services public, which are needed
218
in i.e. a WebTest.

bootstrap/kernel_bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
$envClass = $xml->xpath("//php/env[@name='KERNEL_CLASS']");
3030
if (count($envClass)) {
3131
$kernelClass = (string) $envClass[0]['value'];
32-
putenv(sprintf('KERNEL_CLASS=%s', $kernelClass));
3332
} else {
3433
$envDir = $xml->xpath("//php/server[@name='KERNEL_DIR']");
3534
if (!count($envDir)) {

0 commit comments

Comments
 (0)