readability: import fixed html5-php

This commit is contained in:
Andrew Dolgov 2022-07-31 09:42:00 +03:00
parent a8b0bce008
commit ff7e99b986
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
5 changed files with 13 additions and 10 deletions

View File

@ -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",

View File

@ -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 (

View File

@ -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": {

View File

@ -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 (

View File

@ -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;