Update intl dependency

This commit is contained in:
J. King 2019-12-13 12:13:44 -05:00
parent a0c3883363
commit 4e4aee2edd
3 changed files with 5 additions and 5 deletions

6
composer.lock generated
View file

@ -8,11 +8,11 @@
"packages": [ "packages": [
{ {
"name": "mensbeam/intl", "name": "mensbeam/intl",
"version": "0.4.0", "version": "0.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://code.mensbeam.com/MensBeam/intl", "url": "https://code.mensbeam.com/MensBeam/intl",
"reference": "58328b7524b6889889ef0a60ab9e622b3d071a4a" "reference": "2e47fde77465114c509bec270d44261da71bbf89"
}, },
"require": { "require": {
"php": "^7.0" "php": "^7.0"
@ -49,7 +49,7 @@
"utf-8", "utf-8",
"utf8" "utf8"
], ],
"time": "2018-09-15T23:52:16+00:00" "time": "2019-12-13T16:05:01+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [

View file

@ -100,7 +100,7 @@ class Data {
public function unconsume(int $length = 1) { public function unconsume(int $length = 1) {
assert($length > 0, new Exception(Exception::DATA_INVALID_DATA_CONSUMPTION_LENGTH, $length)); assert($length > 0, new Exception(Exception::DATA_INVALID_DATA_CONSUMPTION_LENGTH, $length));
if ($this->data->peekChar($length) !== '') { if (!$this->data->eof()) {
$this->data->seek(0 - $length); $this->data->seek(0 - $length);
$string = $this->data->peekChar($length); $string = $this->data->peekChar($length);

View file

@ -45,7 +45,7 @@ class TestTokenizer extends \dW\HTML5\Test\StandardTest {
public function provideStandardTokenizerTests() { public function provideStandardTokenizerTests() {
$tests = []; $tests = [];
$blacklist = ["pendingSpecChanges.test", "xmlViolation.test"]; $blacklist = ["pendingSpecChanges.test", "xmlViolation.test"];
foreach (new \GlobIterator(\dW\HTML5\BASE."tests/html5lib-tests/tokenizer/test*.test", \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::CURRENT_AS_PATHNAME) as $file) { foreach (new \GlobIterator(\dW\HTML5\BASE."tests/html5lib-tests/tokenizer/*.test", \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::CURRENT_AS_PATHNAME) as $file) {
if (!in_array(basename($file), $blacklist)) { if (!in_array(basename($file), $blacklist)) {
$tests[] = $file; $tests[] = $file;
} }