8000 Mitigate dependency upon ConfigCache by mpdude · Pull Request #7753 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Mitigate dependency upon ConfigCache #7753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Prev Previous commit
Next Next commit
Bug introduced when turning the condition around
  • Loading branch information
mpdude committed Apr 21, 2013
commit 249abb38516dacec3cc3015f3465161888b9ae7d
2 changes: 1 addition & 1 deletion src/Symfony/Component/Filesystem/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public function dumpFile($filename, $content)

$tmpFile = tempnam($dir, basename($filename));

if (false !== @file_put_contents($tmpFile, $content)) {
if (false === @file_put_contents($tmpFile, $content)) {
throw new IOException(sprintf('Failed to write file "%s".', $filename));
}

Expand Down
0