Passed
Push — master ( ced089...b0157b )
by Baptiste
02:41
created
src/Context/Rest.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,23 +2,17 @@
 block discarded – undo
2 2
 namespace Behapi\Context;
3 3
 
4 4
 use RuntimeException;
5
-
6 5
 use Psr\Http\Message\RequestInterface;
7
-
8 6
 use Behat\Behat\Context\Context;
9 7
 use Behat\Gherkin\Node\TableNode;
10
-
11 8
 use Http\Client\HttpClient;
12 9
 use Http\Message\StreamFactory;
13 10
 use Http\Message\MessageFactory;
14
-
15 11
 use Twig_Environment;
16
-
17 12
 use Behapi\Extension\Context\ApiTrait;
18 13
 use Behapi\Extension\Context\ApiInterface;
19 14
 use Behapi\Extension\Context\TwigInterface;
20 15
 use Behapi\Extension\Context\TwigTrait;
21
-
22 16
 use Behapi\Extension\Tools\Assert;
23 17
 use Behapi\Extension\Tools\HttpHistory;
24 18
 
Please login to merge, or discard this patch.
src/Extension/Behapi.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,17 +4,12 @@
 block discarded – undo
4 4
 use Behat\Testwork\ServiceContainer\Extension;
5 5
 use Behat\Testwork\ServiceContainer\ExtensionManager;
6 6
 use Behat\Testwork\Cli\ServiceContainer\CliExtension;
7
-
8 7
 use Behat\Behat\HelperContainer\ServiceContainer\HelperContainerExtension;
9
-
10 8
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
11
-
12 9
 use Symfony\Component\DependencyInjection\Reference;
13 10
 use Symfony\Component\DependencyInjection\ContainerBuilder;
14
-
15 11
 use Behapi\Extension\Tools\Debug;
16 12
 use Behapi\Extension\Tools\HttpHistory as History;
17
-
18 13
 use Behapi\Extension\Cli\DebugController;
19 14
 use Behapi\Extension\EventListener\DebugHttp;
20 15
 use Behapi\Extension\EventListener\HttpHistory;
Please login to merge, or discard this patch.
src/Context/AbstractJson.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,16 +3,12 @@
 block discarded – undo
3 3
 
4 4
 use stdClass;
5 5
 use Datetime;
6
-
7 6
 use Throwable;
8 7
 use InvalidArgumentException;
9
-
10 8
 use Behat\Behat\Context\Context;
11 9
 use Behat\Gherkin\Node\PyStringNode;
12
-
13 10
 use Symfony\Component\PropertyAccess\PropertyAccess;
14 11
 use Symfony\Component\PropertyAccess\PropertyAccessor;
15
-
16 12
 use Behapi\Extension\Tools\Assert;
17 13
 
18 14
 abstract class AbstractJson implements Context
Please login to merge, or discard this patch.