Skip to content

Commit 145e60e

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 4b6f4e7 + d7b98fa commit 145e60e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ public function validateSchema(\DOMDocument $dom)
597597
foreach ($schemaLocations as $namespace => $location) {
598598
$parts = explode('/', $location);
599599
if (0 === stripos($location, 'phar://')) {
600-
$tmpfile = tempnam(sys_get_temp_dir(), 'sf2');
600+
$tmpfile = tempnam(sys_get_temp_dir(), 'symfony');
601601
if ($tmpfile) {
602602
copy($location, $tmpfile);
603603
$tmpfiles[] = $tmpfile;

0 commit comments

Comments
 (0)