Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation warning #427

Closed
wants to merge 1 commit into from
Closed

Conversation

klapaudius
Copy link

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/.

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
Copy link
Author

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

  • Locking squizlabs/php_codesniffer (3.0.2)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 1 install, 0 updates, 0 removals
  • Downloading squizlabs/php_codesniffer (3.0.2)
  • Installing squizlabs/php_codesniffer (3.0.2): Extracting archive
    Generating autoload files
    1 package you are using is looking for funding.
    Use the composer fund command to find out more!
    No security vulnerability advisories found.
    PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Config.php on line 399
    PHP Stack trace:
    PHP 1. {main}() /home/scrutinizer/.analysis/phpcs/vendor/bin/phpcs:0
    PHP 2. include() /home/scrutinizer/.analysis/phpcs/vendor/bin/phpcs:119
    PHP 3. PHP_CodeSniffer\Runner->runPHPCS() /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/bin/phpcs:18
    PHP 4. PHP_CodeSniffer\Autoload::load($class = 'PHP_CodeSniffer\Config') /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Runner.php:67
    PHP 5. PHP_CodeSniffer\Autoload::loadFile($path = '/home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Config.php') /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/autoload.php:134
    PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Config.php on line 399
    PHP Stack trace:
    PHP 1. {main}() /home/scrutinizer/.analysis/phpcs/vendor/bin/phpcs:0
    PHP 2. include() /home/scrutinizer/.analysis/phpcs/vendor/bin/phpcs:119
    PHP 3. PHP_CodeSniffer\Runner->runPHPCS() /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/bin/phpcs:18
    PHP 4. PHP_CodeSniffer\Autoload::load($class = 'PHP_CodeSniffer\Config') /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Runner.php:67
    PHP 5. PHP_CodeSniffer\Autoload::loadFile($path = '/home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Config.php') /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/autoload.php:134
    Setting configuration file : /home/scrutinizer/tmp/scrutinizer_toolconfigs/phpcs.xml
    PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Config.php on line 399
    PHP Stack trace:
    PHP 1. {main}() /home/scrutinizer/.analysis/phpcs/vendor/bin/phpcs:0
    PHP 2. include() /home/scrutinizer/.analysis/phpcs/vendor/bin/phpcs:119
    PHP 3. PHP_CodeSniffer\Runner->runPHPCS() /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/bin/phpcs:18
    PHP 4. PHP_CodeSniffer\Autoload::load($class = 'PHP_CodeSniffer\Config') /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Runner.php:67
    PHP 5. PHP_CodeSniffer\Autoload::loadFile($path = '/home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/src/Config.php') /home/scrutinizer/.analysis/phpcs/vendor/squizlabs/php_codesniffer/autoload.php:134

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

@klapaudius
Copy link
Author

Maybe php_codesniffer 3.0.2 is too out of date

@klapaudius
Copy link
Author

klapaudius commented Dec 21, 2023

Ok tests were already broken #422

@klapaudius klapaudius closed this by deleting the head repository Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant