You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 2.1:
[FrameworkBundle] tweaked reference dumper command (see #7093)
[HttpKernel] added some tests for previous merge
Fix REMOTE_ADDR for cached subrequests
[Process] Warn user with a useful message when tmpfile() failed
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Command/ConfigDumpReferenceCommand.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Process.php
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,9 @@ public function start($callback = null)
232
232
$this->fileHandles = array(
233
233
self::STDOUT => tmpfile(),
234
234
);
235
+
if (false === $this->fileHandles[self::STDOUT]) {
236
+
thrownewRuntimeException('A temporary file could not be opened to write the process output to, verify that your TEMP environment variable is writable');
0 commit comments