Skip to content

Commit

Permalink
Merge pull request #69 from Taluu/remove-client-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Taluu authored Jan 27, 2021
2 parents dfb8dd1 + df116d5 commit 3747f2f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 78 deletions.
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

0 comments on commit 3747f2f

Please sign in to comment.