From: gggeek Date: Mon, 15 Apr 2024 11:41:00 +0000 (+0000) Subject: touch docs to run build X-Git-Tag: 4.10.3~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5b59cb5670af1072691dc56ca22ce8ebc8eeab70;p=plcapi.git touch docs to run build --- diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5fa6c8c1..a187fee7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -89,7 +89,7 @@ jobs: # key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} - name: install dependencies - run: 'composer install' + run: 'composer install --no-progress' - name: run tests and upload coverage info if needed run: | @@ -147,7 +147,7 @@ jobs: sudo cat /var/log/php*.log # Whenever a change is pushed to this library, we run as well the tests of all known packages depending on it, - # so that we can catch any (involuntary) breackage. + # so that we can catch any (involuntary) breakage. # NB: if any are detected, do not forget to mark the current versions of dependents as incompatible in composer.json test-dependencies: runs-on: ubuntu-20.04 diff --git a/src/Helper/XMLParser.php b/src/Helper/XMLParser.php index 2a2094a9..9212d1f2 100644 --- a/src/Helper/XMLParser.php +++ b/src/Helper/XMLParser.php @@ -929,6 +929,7 @@ class XMLParser // Details: // SPACE: (#x20 | #x9 | #xD | #xA)+ === [ \x9\xD\xA]+ // EQ: SPACE?=SPACE? === [ \x9\xD\xA]*=[ \x9\xD\xA]* + // We could be stricter on version number: VersionNum ::= '1.' [0-9]+ if (preg_match('/^<\?xml\s+version\s*=\s*' . "((?:\"[a-zA-Z0-9_.:-]+\")|(?:'[a-zA-Z0-9_.:-]+'))" . '\s+encoding\s*=\s*' . "((?:\"[A-Za-z][A-Za-z0-9._-]*\")|(?:'[A-Za-z][A-Za-z0-9._-]*'))/", $xmlChunk, $matches)) { @@ -988,6 +989,7 @@ class XMLParser // Details: // SPACE: (#x20 | #x9 | #xD | #xA)+ === [ \x9\xD\xA]+ // EQ: SPACE?=SPACE? === [ \x9\xD\xA]*=[ \x9\xD\xA]* + // We could be stricter on version number: VersionNum ::= '1.' [0-9]+ if (preg_match('/^<\?xml\s+version\s*=\s*' . "((?:\"[a-zA-Z0-9_.:-]+\")|(?:'[a-zA-Z0-9_.:-]+'))" . '\s+encoding\s*=\s*' . "((?:\"[A-Za-z][A-Za-z0-9._-]*\")|(?:'[A-Za-z][A-Za-z0-9._-]*'))/", $xmlChunk)) {