Add support for PSR-18 HTTP clients #600
ci.yml
on: pull_request
Matrix: check-code-style
Matrix: test-compiled
Matrix: test
Annotations
71 errors
Check code style | PHP 8.2
Process completed with exit code 8.
|
PHP: 8.0:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 8.0:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 8.0:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 8.0:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 8.0:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 8.0:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 8.0:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 8.0:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 8.0:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 8.0:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|
PHP: 7.3:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 7.3:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 7.3:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 7.3:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 7.3:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 7.3:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 7.3:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 7.3:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 7.3:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 7.3:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|
PHP: 8.1:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 8.1:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 8.1:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 8.1:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 8.1:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 8.1:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 8.1:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 8.1:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 8.1:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 8.1:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|
PHP: 7.4:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 7.4:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 7.4:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 7.4:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 7.4:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 7.4:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 7.4:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 7.4:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 7.4:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 7.4:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|
PHP: 8.2:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 8.2:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 8.2:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 8.2:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 8.2:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 8.2:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 8.2:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 8.2:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 8.2:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 8.2:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|
PHP: 7.2:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 7.2:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 7.2:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 7.2:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 7.2:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 7.2:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 7.2:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 7.2:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 7.2:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 7.2:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|
PHP: 8.3:
src/Content/Type/Sniffer.php#L41
Result of || is always false.
|
PHP: 8.3:
src/Content/Type/Sniffer.php#L50
Property SimplePie\Content\Type\Sniffer::$file (SimplePie\File) does not accept SimplePie\HTTP\Response.
|
PHP: 8.3:
src/File.php#L456
Property SimplePie\File::$useragent (string) does not accept null.
|
PHP: 8.3:
src/HTTP/Psr18Client.php#L25
Property SimplePie\HTTP\Psr18Client::$httpClient has no type specified.
|
PHP: 8.3:
src/HTTP/Psr18Client.php#L27
Property SimplePie\HTTP\Psr18Client::$requestFactory has no type specified.
|
PHP: 8.3:
src/HTTP/Psr18Client.php#L29
Property SimplePie\HTTP\Psr18Client::$uriFactory has no type specified.
|
PHP: 8.3:
src/HTTP/Psr18Client.php#L31
Property SimplePie\HTTP\Psr18Client::$allowedRedirects has no type specified.
|
PHP: 8.3:
src/HTTP/Psr18Client.php#L66
Strict comparison using !== between 'GET' and 'GET' will always evaluate to false.
|
PHP: 8.3:
src/HTTP/Psr18Client.php#L81
Method SimplePie\HTTP\Psr18Client::requestUrl() has parameter $headers with no value type specified in iterable type array.
|
PHP: 8.3:
src/HTTP/Psr7Response.php#L22
Property SimplePie\HTTP\Psr7Response::$response has no type specified.
|