Skip to content

Commit b108684

Browse files
Merge branch '4.4' into 5.1
* 4.4: Add missing `@return` annotations to fix deprecations on PHP 8 [ProxyManagerBridge] fix PHP notice, switch to "friendsofphp/proxy-manager-lts"
2 parents fb6337d + c935b6a commit b108684

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/Resources/TranslationFilesTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public function testTranslationFileIsValidWithoutEntityLoader($filePath)
3636
{
3737
$document = new \DOMDocument();
3838
$document->loadXML(file_get_contents($filePath));
39-
libxml_disable_entity_loader(true);
39+
if (\LIBXML_VERSION < 20900) {
40+
libxml_disable_entity_loader(true);
41+
}
4042

4143
$errors = XliffUtils::validateSchema($document);
4244

0 commit comments

Comments
 (0)