Skip to content

Replace HTTPlug factories by PSR-17 #313

Replace HTTPlug factories by PSR-17

Replace HTTPlug factories by PSR-17 #313

Triggered via pull request August 5, 2023 16:58
Status Failure
Total duration 1m 34s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

php.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

17 errors
PHP 8.2 (low)
Process completed with exit code 2.
PHP 8.0 (low)
Process completed with exit code 2.
PHP 8.0 (high)
Process completed with exit code 2.
PHP 8.1 (high)
Process completed with exit code 2.
PHP 8.2 (high)
Process completed with exit code 2.
PHP 8.1 (low)
Process completed with exit code 2.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L68
Method Geocoder\Http\Provider\AbstractHttpProvider::createRequest() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L126
Method Geocoder\Http\Provider\AbstractHttpProvider::getMessageFactory() has invalid return type Http\Message\MessageFactory.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L130
Anonymous class implements unknown interface Http\Message\MessageFactory.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L130
Method Geocoder\Http\Provider\AbstractHttpProvider::getMessageFactory() should return Http\Message\MessageFactory but returns class@anonymous/Http/Provider/AbstractHttpProvider.php:130.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L131
Property class@anonymous/Http/Provider/AbstractHttpProvider.php:130::$factory has no type specified.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L133
Method class@anonymous/Http/Provider/AbstractHttpProvider.php:130::__construct() has parameter $factory with no type specified.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L138
Method class@anonymous/Http/Provider/AbstractHttpProvider.php:130::createRequest() has parameter $body with no type specified.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L138
Method class@anonymous/Http/Provider/AbstractHttpProvider.php:130::createRequest() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L138
Method class@anonymous/Http/Provider/AbstractHttpProvider.php:130::createRequest() has parameter $method with no type specified.
PHPStan: src/Http/Provider/AbstractHttpProvider.php#L138
Method class@anonymous/Http/Provider/AbstractHttpProvider.php:130::createRequest() has parameter $protocolVersion with no type specified.
PHP CS Fixer
Process completed with exit code 8.