readability: import fixed html5-php
This commit is contained in:
parent
a8b0bce008
commit
ff7e99b986
|
@ -242,7 +242,7 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://dev.tt-rss.org/fox/html5-php.git",
|
||||
"reference": "f640ac1bdddff06ea333a920c95bbad8872429ab"
|
||||
"reference": "1e0033a694ce576deba7c59c1da56c76e9e42109"
|
||||
},
|
||||
"require": {
|
||||
"ext-ctype": "*",
|
||||
|
@ -298,7 +298,7 @@
|
|||
"serializer",
|
||||
"xml"
|
||||
],
|
||||
"time": "2021-07-01T14:25:37+00:00"
|
||||
"time": "2022-07-31T06:41:22+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/http-factory",
|
||||
|
|
|
@ -30,7 +30,7 @@ class InstalledVersions
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => '4aefbd628e9a0e1eac58523904ad887b0635cda3',
|
||||
'reference' => 'a8b0bce008e23f9c47bf1f4de4d8e6886435071e',
|
||||
'name' => '__root__',
|
||||
),
|
||||
'versions' =>
|
||||
|
@ -42,7 +42,7 @@ class InstalledVersions
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => '4aefbd628e9a0e1eac58523904ad887b0635cda3',
|
||||
'reference' => 'a8b0bce008e23f9c47bf1f4de4d8e6886435071e',
|
||||
),
|
||||
'fivefilters/readability.php' =>
|
||||
array (
|
||||
|
@ -80,7 +80,7 @@ class InstalledVersions
|
|||
array (
|
||||
0 => '2.7.x-dev',
|
||||
),
|
||||
'reference' => 'f640ac1bdddff06ea333a920c95bbad8872429ab',
|
||||
'reference' => '1e0033a694ce576deba7c59c1da56c76e9e42109',
|
||||
),
|
||||
'psr/http-factory' =>
|
||||
array (
|
||||
|
|
|
@ -246,7 +246,7 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://dev.tt-rss.org/fox/html5-php.git",
|
||||
"reference": "f640ac1bdddff06ea333a920c95bbad8872429ab"
|
||||
"reference": "1e0033a694ce576deba7c59c1da56c76e9e42109"
|
||||
},
|
||||
"require": {
|
||||
"ext-ctype": "*",
|
||||
|
@ -257,7 +257,7 @@
|
|||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7"
|
||||
},
|
||||
"time": "2021-07-01T14:25:37+00:00",
|
||||
"time": "2022-07-31T06:41:22+00:00",
|
||||
"default-branch": true,
|
||||
"type": "library",
|
||||
"extra": {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => '4aefbd628e9a0e1eac58523904ad887b0635cda3',
|
||||
'reference' => 'a8b0bce008e23f9c47bf1f4de4d8e6886435071e',
|
||||
'name' => '__root__',
|
||||
),
|
||||
'versions' =>
|
||||
|
@ -18,7 +18,7 @@
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => '4aefbd628e9a0e1eac58523904ad887b0635cda3',
|
||||
'reference' => 'a8b0bce008e23f9c47bf1f4de4d8e6886435071e',
|
||||
),
|
||||
'fivefilters/readability.php' =>
|
||||
array (
|
||||
|
@ -56,7 +56,7 @@
|
|||
array (
|
||||
0 => '2.7.x-dev',
|
||||
),
|
||||
'reference' => 'f640ac1bdddff06ea333a920c95bbad8872429ab',
|
||||
'reference' => '1e0033a694ce576deba7c59c1da56c76e9e42109',
|
||||
),
|
||||
'psr/http-factory' =>
|
||||
array (
|
||||
|
|
|
@ -192,6 +192,7 @@ class StringInputStream implements InputStream
|
|||
* Advance the pointer.
|
||||
* This is part of the Iterator interface.
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function next()
|
||||
{
|
||||
++$this->char;
|
||||
|
@ -200,6 +201,7 @@ class StringInputStream implements InputStream
|
|||
/**
|
||||
* Rewind to the start of the string.
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function rewind()
|
||||
{
|
||||
$this->char = 0;
|
||||
|
@ -210,6 +212,7 @@ class StringInputStream implements InputStream
|
|||
*
|
||||
* @return bool Whether the current pointer location is valid.
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function valid()
|
||||
{
|
||||
return $this->char < $this->EOF;
|
||||
|
|
Loading…
Reference in New Issue