8000 Properly unset environment variable · alexpott/symfony@cd3c931 · GitHub
[go: up one dir, main page]

Skip to content

Commit cd3c931

Browse files
committed
Properly unset environment variable
1 parent f337a66 commit cd3c931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public function endTest($test, $time)
262262
if ($this->runsInSeparateProcess) {
263263
$deprecations = file_get_contents($this->runsInSeparateProcess);
264264
unlink($this->runsInSeparateProcess);
265-
putenv('SYMFONY_DEPRECATIONS_SERIALIZE=');
265+
putenv('SYMFONY_DEPRECATIONS_SERIALIZE');
266266
foreach ($deprecations ? unserialize($deprecations) : array() as $deprecation) {
267267
if ($deprecation[0]) {
268268
trigger_error(serialize(array('deprecation' => $deprecation[1], 'class' => $className, 'method' => $test->getName(false))), E_USER_DEPRECATED);

0 commit comments

Comments
 (0)
0