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

chore: bump dev dependencies #239

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"symfony/polyfill-php80": "^1.17"
},
"require-dev": {
"doctrine/instantiator": "^1.1",
"guzzlehttp/psr7": "^1.4",
"nyholm/psr7": "^1.2",
"phpspec/phpspec": "^5.1 || ^6.3 || ^7.1",
"phpspec/prophecy": "^1.10.2",
"phpunit/phpunit": "^7.5.20 || ^8.5.33 || ^9.6.7"
"doctrine/instantiator": "^1.5 || ^2.0",
"guzzlehttp/psr7": "^1.9.1 || ^2.6.2",
"nyholm/psr7": "^1.8",
"phpspec/phpspec": "^5.1 || ^6.3 || ^7.5",
"phpspec/prophecy": "^1.18",
"phpspec/prophecy-phpunit": "^1.1 || ^2.1",
"phpunit/phpunit": "^7.5.20 || ^8.5.36 || ^9.6.16"
},
"suggest": {
"ext-json": "To detect JSON responses with the ContentTypePlugin",
Expand Down
3 changes: 3 additions & 0 deletions tests/PluginChainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
use Http\Client\Common\PluginChain;
use Http\Promise\Promise;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Psr\Http\Message\RequestInterface;

class PluginChainTest extends TestCase
{
use ProphecyTrait;

private function createPlugin(callable $func): Plugin
{
return new class($func) implements Plugin {
Expand Down
3 changes: 3 additions & 0 deletions tests/PluginClientBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
use Http\Client\HttpAsyncClient;
use Http\Client\HttpClient;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;

class PluginClientBuilderTest extends TestCase
{
use ProphecyTrait;

/** @dataProvider clientProvider */
public function testPriority(string $client): void
{
Expand Down
Loading