Skip to content

Commit

Permalink
Remove XML_GLOBAL_NAMESPACE (#14265)
Browse files Browse the repository at this point in the history
This constant is only available if it is defined by libxml2, but it is
never defined because the minimum version of libxml2 that we support had
removed XML_GLOBAL_NAMESPACE already.
  • Loading branch information
nielsdos committed May 18, 2024
1 parent 09d0e38 commit 20fafa7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 0 additions & 8 deletions ext/dom/php_dom.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@
* @cvalue XML_NAMESPACE_DECL
*/
const XML_NAMESPACE_DECL_NODE = UNKNOWN;
#ifdef XML_GLOBAL_NAMESPACE
/**
* @var int
* @cvalue XML_GLOBAL_NAMESPACE
*/
const XML_GLOBAL_NAMESPACE = UNKNOWN;
#endif

/**
* @var int
* @cvalue XML_LOCAL_NAMESPACE
Expand Down
5 changes: 1 addition & 4 deletions ext/dom/php_dom_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20fafa7

Please sign in to comment.