You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- fixed endless recursion in XMLAttributeIterator::getReader()
- fixed dumping trailing white-space
- fixed length in dumping strings
- fixed xml-file-scanner example deprecated each() use (php 7.2+/php 8.0)
- fixed XMLSequenceStream node expansion (php 7.4+)
- fixed php internal interfaces return type deprecation messages on parse
time for Iterator, Countable, ArrayAccess etc. (php 8.1+)
- fixed php internal function parameter type errors for fopen(), strtok(),
strlen() etc. (php 8.1+)
- fixed a couple of minor code issues and typos
- build: run .travis.yml (recycle) as github action
- build: patch vendor for php compatibility (php 5.3 ... 8.1)
- build: fixed composer version detection
- build: improved composer package size
- build: change autoload to classmap (from files)
- build: capture errors during require/auto loading
- build: pass standard error stream from phpunit
- build: fix $TRAVIS reference
- build: no explicit source preference with composer
- improved utf-8 support for dump operations
- improved use of SPDX license list (version 3.0 deprecation)
- added CDATA and Whitespace node support for XMLWritingIteration (thanks
CPCoder and Kacper Woźniak)
- added warning on writing unsupported node-type
- added SimpleXMLElement class-name support
- added XMLElementIterator::skipNextRead()
- added reading and writing with DOM example
- added reading and writing with SimpleXML example
- added XMLChildElementIterator example
- example tests: skip on missing stream wrapper
- example tests: clean output buffer on failure
- example tests: show backtrace on failure
- maintenance
@@ -144,7 +147,7 @@ function built_test_composer_validate_json(&$errors)
144
147
145
148
exec($command, $output, $exitCode);
146
149
list($versionLine) = $output;
147
-
if (!preg_match('~^Composer version (?:1.0-dev \([0-9a-f]{40}\)|[0-9a-f]{40}) 2\d{3}-(?:0\d|1[0-2])-(?:[0-2]\d|3[0-1]) (?:[0-1]\d|2[0-3]):[0-5]\d:(?:[0-5]\d|60)$~', $versionLine)) {
150
+
if (!preg_match('~^Composer version (?:[12]\.\d+\.\d+|1\.0-dev \([0-9a-f]{40}\)|[0-9a-f]{40}) 2\d{3}-(?:0\d|1[0-2])-(?:[0-2]\d|3[0-1]) (?:[0-1]\d|2[0-3]):[0-5]\d:(?:[0-5]\d|60)$~', $versionLine)) {
148
151
echo"ERROR: Unable to invoke Composer.\n";
149
152
$errors++;
150
153
return;
@@ -169,9 +172,9 @@ function built_test_composer_validate_json(&$errors)
169
172
*/
170
173
functionbuild_test_tests(&$errors)
171
174
{
172
-
echo"INFO: Running phpunit testuite before building:\n";
175
+
echo"INFO: Running phpunit testsuite before building:\n";
173
176
174
-
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
177
+
if (stripos(PHP_OS, 'WIN') === 0) {
175
178
$phpunit = '.\vendor\bin\phpunit.bat';
176
179
} else {
177
180
$phpunit = './vendor/bin/phpunit';
@@ -188,9 +191,9 @@ function build_test_tests(&$errors)
0 commit comments