Skip to content

Commit 0484e9c

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: minor #58472 CS: clean some whitespaces/indentation (keradus) Fix newline harden test to not depend on the system's configured default timezone [Form] Support intl.use_exceptions/error_level in NumberToLocalizedStringTransformer [ExpressionLanguage] Add missing test case for `Lexer` [FrameworkBundle] Fix passing request_stack to session.listener ensure session storages are opened in tests before destroying them [HttpKernel] Correctly merge `max-age`/`s-maxage` and `Expires` headers [Security][Validator] Check translations for Czech [Security] Fix serialized object representation in tests [DoctrineBridge] Fix risky test warnings
2 parents 4c1b449 + dbd9605 commit 0484e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/XmlFileLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ private function parseFileToDOM(string $file): \DOMDocument
483483
}
484484
}
485485
if ($errors) {
486-
throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).implode("/n", $errors), $e->getCode(), $e);
486+
throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).implode("\n", $errors), $e->getCode(), $e);
487487
}
488488
}
489489

0 commit comments

Comments
 (0)