summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-12-30 18:28:33 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-12-30 18:28:33 +0100
commitdc4d8400b4e3c3fdb943243471b1eacaeb6f5ff2 (patch)
tree1f76fa2146c309169be7b5abafa4c9431147cea8 /build
parent35333bd1c6adcc73d07d45e5bcfc39a435faa9c0 (diff)
parent446ad04524ca7fb146354763e62e5da8d9fe4c27 (diff)
downloadphp-git-dc4d8400b4e3c3fdb943243471b1eacaeb6f5ff2.tar.gz
Merge branch 'PHP-8.0'
Diffstat (limited to 'build')
-rwxr-xr-xbuild/gen_stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/gen_stub.php b/build/gen_stub.php
index 9301328892..5d651daaf2 100755
--- a/build/gen_stub.php
+++ b/build/gen_stub.php
@@ -1715,8 +1715,8 @@ function replaceMethodSynopses(string $targetDirectory, array $funcMap, array $a
$replacedXml = preg_replace(
[
"/REPLACED-ENTITY-([A-Za-z0-9._{}%-]+?;)/",
- "/<refentry\s+xmlns=\"([a-z0-9.:\/]+)\"\s+xml:id=\"([a-z._-]+)\"\s*>/i",
- "/<refentry\s+xmlns=\"([a-z0-9.:\/]+)\"\s+xmlns:xlink=\"([a-z0-9.:\/]+)\"\s+xml:id=\"([a-z._-]+)\"\s*>/i",
+ "/<refentry\s+xmlns=\"([a-z0-9.:\/]+)\"\s+xml:id=\"([a-z0-9._-]+)\"\s*>/i",
+ "/<refentry\s+xmlns=\"([a-z0-9.:\/]+)\"\s+xmlns:xlink=\"([a-z0-9.:\/]+)\"\s+xml:id=\"([a-z0-9._-]+)\"\s*>/i",
],
[
"&$1",