~fkooman/php-saml-sp

851f75b298a77e62d9022f1b170f662f5f7716d6 — Fran├žois Kooman 1 year, 3 months ago 6d7d008
remove unneeded DOMDocument::loadXML flags
1 files changed, 1 insertions(+), 1 deletions(-)

M src/XmlDocument.php
M src/XmlDocument.php => src/XmlDocument.php +1 -1
@@ 348,7 348,7 @@ class XmlDocument
    private static function loadStr($xmlStr, array $schemaFiles)
    {
        $domDocument = new DOMDocument();
        $loadResult = @$domDocument->loadXML($xmlStr, \LIBXML_NONET | \LIBXML_DTDLOAD | \LIBXML_DTDATTR | \LIBXML_COMPACT);
        $loadResult = @$domDocument->loadXML($xmlStr, \LIBXML_NONET | \LIBXML_COMPACT);
        if (false === $loadResult) {
            throw new XmlDocumentException('unable to load XML document');
        }