Skip to content

Commit 6a7b965

Browse files
committed
Remove unnecessary libxml2 version checks
The minimum required version is 2.9.0. So these checks are useless.
1 parent ab22571 commit 6a7b965

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

ext/libxml/libxml.stub.php

-6
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,11 @@
9393
* @cvalue XML_PARSE_HUGE
9494
*/
9595
const LIBXML_PARSEHUGE = UNKNOWN;
96-
#if LIBXML_VERSION >= 20900
9796
/**
9897
* @var int
9998
* @cvalue XML_PARSE_BIG_LINES
10099
*/
101100
const LIBXML_BIGLINES = UNKNOWN;
102-
#endif
103101
/**
104102
* @var int
105103
* @cvalue LIBXML_SAVE_NOEMPTYTAG
@@ -114,21 +112,17 @@
114112
const LIBXML_SCHEMA_CREATE = UNKNOWN;
115113
#endif
116114

117-
#if LIBXML_VERSION >= 20707
118115
/**
119116
* @var int
120117
* @cvalue HTML_PARSE_NOIMPLIED
121118
*/
122119
const LIBXML_HTML_NOIMPLIED = UNKNOWN;
123-
#endif
124120

125-
#if LIBXML_VERSION >= 20708
126121
/**
127122
* @var int
128123
* @cvalue HTML_PARSE_NODEFDTD
129124
*/
130125
const LIBXML_HTML_NODEFDTD = UNKNOWN;
131-
#endif
132126

133127
/**
134128
* @var int

ext/libxml/libxml_arginfo.h

+1-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)