Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ container capable of using behapi's container.

Some services are provided to be injected in contexts, which are the following:

- `@Behapi\Http\PluginClientBuilder`, which will build a
- `@Http\Client\Common\PluginClientBuilder`, which will build a
`Http\Client\Common\PluginClient` when needed
- `@Behapi\HttpHistory\History`, which is a sort of a container with the last
requests done and last responses received
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"psr/http-factory-implementation": "^1.0",

"php-http/discovery": "^1.11",
"php-http/client-common": "^2.0"
"php-http/client-common": "^2.2"
},

"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use Behat\Behat\HelperContainer\ContainerInterface;
use Behat\Behat\HelperContainer\Exception\ServiceNotFoundException;

use Http\Client\Common\PluginClientBuilder;
use Http\Client\Common\Plugin\BaseUriPlugin;
use Http\Client\Common\Plugin\HistoryPlugin;
use Http\Client\Common\Plugin\ContentLengthPlugin;
Expand All @@ -13,7 +14,6 @@
use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;

use Behapi\Http\PluginClientBuilder;
use Behapi\HttpHistory\History as HttpHistory;

use function in_array;
Expand Down
75 changes: 0 additions & 75 deletions src/Http/PluginClientBuilder.php

This file was deleted.

1 change: 1 addition & 0 deletions src/Http/RequestContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Behat\Gherkin\Node\TableNode;

use Http\Discovery\Psr18ClientDiscovery;
use Http\Client\Common\PluginClientBuilder;

use function trim;
use function is_array;
Expand Down