Passed
Pull Request — master (#11)
by Pavel
06:35
created
DependencyInjection/BankiruJsonRpcServerExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Bankiru\Api\JsonRpc\DependencyInjection;
4 4
 
5
-use Bankiru\Api\JsonRpc\Adapters\JMS\Compiler\JmsDriverPass;
6 5
 use Bankiru\Api\JsonRpc\Adapters\JMS\Compiler\RelationHandlerHelper;
7 6
 use Bankiru\Api\Rpc\RpcEvents;
8 7
 use JMS\SerializerBundle\JMSSerializerBundle;
Please login to merge, or discard this patch.
Test/Tests/RouterTest.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,9 +23,11 @@
 block discarded – undo
23 23
     {
24 24
         $client = self::createClient();
25 25
 
26
-        foreach (['test', 'test_private'] as $endpoint) /** @var MethodCollection $collection */ {
26
+        foreach (['test', 'test_private'] as $endpoint) {
27
+            /** @var MethodCollection $collection */ {
27 28
             /** @var Router $router */
28 29
             $router = $client->getContainer()->get('rpc_server.endpoint_router.' . $endpoint);
30
+        }
29 31
             self::assertNotNull($router);
30 32
             $collection = $router->getMethodCollection();
31 33
             self::assertNotNull($router);
Please login to merge, or discard this patch.