Update intl dependency
This commit is contained in:
parent
a0c3883363
commit
4e4aee2edd
3 changed files with 5 additions and 5 deletions
6
composer.lock
generated
6
composer.lock
generated
|
@ -8,11 +8,11 @@
|
|||
"packages": [
|
||||
{
|
||||
"name": "mensbeam/intl",
|
||||
"version": "0.4.0",
|
||||
"version": "0.5.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://code.mensbeam.com/MensBeam/intl",
|
||||
"reference": "58328b7524b6889889ef0a60ab9e622b3d071a4a"
|
||||
"reference": "2e47fde77465114c509bec270d44261da71bbf89"
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.0"
|
||||
|
@ -49,7 +49,7 @@
|
|||
"utf-8",
|
||||
"utf8"
|
||||
],
|
||||
"time": "2018-09-15T23:52:16+00:00"
|
||||
"time": "2019-12-13T16:05:01+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
|
|
|
@ -100,7 +100,7 @@ class Data {
|
|||
public function unconsume(int $length = 1) {
|
||||
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);
|
||||
|
||||
$string = $this->data->peekChar($length);
|
||||
|
|
|
@ -45,7 +45,7 @@ class TestTokenizer extends \dW\HTML5\Test\StandardTest {
|
|||
public function provideStandardTokenizerTests() {
|
||||
$tests = [];
|
||||
$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)) {
|
||||
$tests[] = $file;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue