kriswallsmith / Buzz

PHP's lightweight HTTP client
MIT License
1.92k stars 250 forks source link

Fix deprecation warning #427

Closed klapaudius closed 1 month ago

klapaudius commented 10 months ago

The "Buzz\Client\BuzzClientInterface" interface extends "Http\Client\HttpClient" that is deprecated since version 2.4, use Psr\Http\Client\ClientInterface instead; see https://www.php-fig.org/psr/psr-18/.

klapaudius commented 10 months ago

Tests failed du to this error :

Preparing execution... done No local installation of phpcs found, installing phpcs... Changed current directory to /home/scrutinizer/.analysis/phpcs ./composer.json has been created Running composer update squizlabs/php_codesniffer Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals

I can't find the reason why the CI is down :/

klapaudius commented 10 months ago

Maybe php_codesniffer 3.0.2 is too out of date

klapaudius commented 10 months ago

Ok tests were already broken #422