Skip to content

Commit d40001c

Browse files
committed
feature #23936 Remove some sf2 references (fabpot)
This PR was merged into the 3.4 branch. Discussion ---------- Remove some sf2 references | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Those `sf2` references can be safely remove and changed to `symfony` as there are internal or they don't break anything when upgrading Symfony's version: * Flashes are ephemeral, so changing the key in the session is not a problem; * Changing the local storage key for the profiler is not an issue as this is a dev tool. Commits ------- 1b0265417b removed sf2 references
2 parents f8b9847 + 561c7e2 commit d40001c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/XliffFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private function fixXmlLocation($schemaSource, $xmlUri)
222222
$newPath = str_replace('\\', '/', __DIR__).'/schema/dic/xliff-core/xml.xsd';
223223
$parts = explode('/', $newPath);
224224
if (0 === stripos($newPath, 'phar://')) {
225-
$tmpfile = tempnam(sys_get_temp_dir(), 'sf2');
225+
$tmpfile = tempnam(sys_get_temp_dir(), 'symfony');
226226
if ($tmpfile) {
227227
copy($newPath, $tmpfile);
228228
$parts = explode('/', str_replace('\\', '/', $tmpfile));

0 commit comments

Comments
 (0)