From 02bca09bc1691fb4b3c62fee8402191cce7aee06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Mon, 27 Nov 2023 22:13:35 +0100 Subject: [PATCH] Add class aliases into the classmap of gen_stub.php Now that we have class aliases (DOMNode -> DOM\Node), it has become important to add them to the class map so that it will be possible to generate class synopses for them. --- build/gen_stub.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/gen_stub.php b/build/gen_stub.php index 203f8241d2a..d597d30a72f 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -5659,6 +5659,10 @@ foreach ($fileInfos as $fileInfo) { foreach ($fileInfo->classInfos as $classInfo) { $classMap[$classInfo->name->__toString()] = $classInfo; + + if ($classInfo->alias !== null) { + $classMap[$classInfo->alias] = $classInfo; + } } }