[php-src] PR #13801: DOM stubs: Reference interfaces from the global namespace correctly
| From: | derrabus | Date: | Mon, 25 Mar 2024 09:53:59 +0000 |
| Subject: | [php-src] PR #13801: DOM stubs: Reference interfaces from the global namespace correctly | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25537@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13801
Author: derrabus
The stub file uses the interfaces
IteratorAggregate and Countable from the
global namespace in class definitions of the new DOM namespace, without importing those
interfaces or prepending them with a backslash. This would instruct an interpreter to search for
those interfaces inside the DOM namespace where they don't exist.
This PR fixes these bad references.