Skip to content

Instantly share code, notes, and snippets.

@Jeroeny
Created November 23, 2021 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jeroeny/acc1ac1fe61927d3cf8951d6310d12a2 to your computer and use it in GitHub Desktop.
Save Jeroeny/acc1ac1fe61927d3cf8951d6310d12a2 to your computer and use it in GitHub Desktop.
php-http/client-common test with Symfony 6
$ composer show -D symfony/options-resolver
name : symfony/options-resolver
descrip. : Provides an improved replacement for the array_replace PHP function
keywords : config, configuration, options
versions : * v6.0.0-BETA1
...
$ ./vendor/bin/phpunit
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.
....WWWWWW.... 14 / 14 (100%)
Time: 00:04.280, Memory: 8.00 MB
There were 6 warnings:
1) tests\Http\Client\Common\PluginChainTest::testChainShouldInvokePluginsInReversedOrder
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
/mnt/c/Users/speej/Develop/github.com/php-http/client-common/vendor/phpunit/phpunit/phpunit:92
2) tests\Http\Client\Common\PluginChainTest::testShouldThrowLoopExceptionOnMaxRestarts
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
/mnt/c/Users/speej/Develop/github.com/php-http/client-common/vendor/phpunit/phpunit/phpunit:92
3) tests\Http\Client\Common\PluginClientBuilderTest::testPriority with data set "sync'd http client" ('Http\Client\HttpClient')
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
/mnt/c/Users/speej/Develop/github.com/php-http/client-common/vendor/phpunit/phpunit/phpunit:92
4) tests\Http\Client\Common\PluginClientBuilderTest::testPriority with data set "async'd http client" ('Http\Client\HttpAsyncClient')
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
/mnt/c/Users/speej/Develop/github.com/php-http/client-common/vendor/phpunit/phpunit/phpunit:92
5) tests\Http\Client\Common\PluginClientBuilderTest::testOptions with data set "sync'd http client" ('Http\Client\HttpClient')
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
/mnt/c/Users/speej/Develop/github.com/php-http/client-common/vendor/phpunit/phpunit/phpunit:92
6) tests\Http\Client\Common\PluginClientBuilderTest::testOptions with data set "async'd http client" ('Http\Client\HttpAsyncClient')
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
/mnt/c/Users/speej/Develop/github.com/php-http/client-common/vendor/phpunit/phpunit/phpunit:92
WARNINGS!
Tests: 14, Assertions: 24, Warnings: 6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment