Skip to content

Http & Related Components #104

Http & Related Components

Http & Related Components #104

Triggered via pull request October 30, 2023 00:15
Status Failure
Total duration 1m 33s
Artifacts

static-analysis.yml

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

Annotations

10 errors
UnusedClass: src/SonsOfPHP/Component/HttpClient/Client.php#L18
src/SonsOfPHP/Component/HttpClient/Client.php:18:7: UnusedClass: Class SonsOfPHP\Component\HttpClient\Client is never used (see https://psalm.dev/075)
UnimplementedInterfaceMethod: src/SonsOfPHP/Component/HttpClient/Exception/ClientException.php#L12
src/SonsOfPHP/Component/HttpClient/Exception/ClientException.php:12:7: UnimplementedInterfaceMethod: Method __tostring is not defined on class SonsOfPHP\Component\HttpClient\ClientException (see https://psalm.dev/044)
UnimplementedInterfaceMethod: src/SonsOfPHP/Component/HttpClient/Exception/NetworkException.php#L13
src/SonsOfPHP/Component/HttpClient/Exception/NetworkException.php:13:7: UnimplementedInterfaceMethod: Method __tostring is not defined on class SonsOfPHP\Component\HttpClient\NetworkException (see https://psalm.dev/044)
UnusedClass: src/SonsOfPHP/Component/HttpClient/Exception/NetworkException.php#L13
src/SonsOfPHP/Component/HttpClient/Exception/NetworkException.php:13:7: UnusedClass: Class SonsOfPHP\Component\HttpClient\NetworkException is never used (see https://psalm.dev/075)
UndefinedThisPropertyFetch: src/SonsOfPHP/Component/HttpClient/Exception/NetworkException.php#L20
src/SonsOfPHP/Component/HttpClient/Exception/NetworkException.php:20:16: UndefinedThisPropertyFetch: Instance property SonsOfPHP\Component\HttpClient\NetworkException::$request is not defined (see https://psalm.dev/041)
UnimplementedInterfaceMethod: src/SonsOfPHP/Component/HttpClient/Exception/RequestException.php#L13
src/SonsOfPHP/Component/HttpClient/Exception/RequestException.php:13:7: UnimplementedInterfaceMethod: Method __tostring is not defined on class SonsOfPHP\Component\HttpClient\RequestException (see https://psalm.dev/044)
UnusedClass: src/SonsOfPHP/Component/HttpClient/Exception/RequestException.php#L13
src/SonsOfPHP/Component/HttpClient/Exception/RequestException.php:13:7: UnusedClass: Class SonsOfPHP\Component\HttpClient\RequestException is never used (see https://psalm.dev/075)
UndefinedThisPropertyFetch: src/SonsOfPHP/Component/HttpClient/Exception/RequestException.php#L20
src/SonsOfPHP/Component/HttpClient/Exception/RequestException.php:20:16: UndefinedThisPropertyFetch: Instance property SonsOfPHP\Component\HttpClient\RequestException::$request is not defined (see https://psalm.dev/041)
UnusedClass: src/SonsOfPHP/Component/HttpFactory/RequestFactory.php#L18
src/SonsOfPHP/Component/HttpFactory/RequestFactory.php:18:7: UnusedClass: Class SonsOfPHP\Component\HttpFactory\RequestFactory is never used (see https://psalm.dev/075)
MethodSignatureMismatch: src/SonsOfPHP/Component/HttpFactory/RequestFactory.php#L27
src/SonsOfPHP/Component/HttpFactory/RequestFactory.php:27:71: MethodSignatureMismatch: Argument 2 of SonsOfPHP\Component\HttpFactory\RequestFactory::createRequest has wrong type 'Psr\Http\Message\UriInterface|string', expecting '' as defined by Psr\Http\Message\RequestFactoryInterface::createRequest (see https://psalm.dev/042)