Passed
Branch master (076bc5)
by Dmitri
06:24
created
Category
Tests/Request/ServicesTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function it_throws_exception_on_missing_service()
16 16
     {
17
-        $services = new Services([], new CallableServiceLocator(function ($id) {}));
17
+        $services = new Services([], new CallableServiceLocator(function($id) {}));
18 18
         $services->get('twig');
19 19
     }
20 20
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function it_throws_exception_on_aliased_method_call_with_invalid_service()
43 43
     {
44
-        $services = new Services([], new CallableServiceLocator(function ($id) {}));
44
+        $services = new Services([], new CallableServiceLocator(function($id) {}));
45 45
         $services->getFoo();
46 46
     }
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $ids = [];
54 54
         $map = ['url_generator' => 'router', 'template' => 'twig'];
55 55
 
56
-        $services = new Services($map, new CallableServiceLocator(function ($id) use (&$ids) { $ids[] = $id; }));
56
+        $services = new Services($map, new CallableServiceLocator(function($id) use (&$ids) { $ids[] = $id; }));
57 57
         $services->getUrlGenerator();
58 58
         $services->getTemplate();
59 59
 
Please login to merge, or discard this patch.
Tests/ServiceLocator/CallableServiceLocatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function it_works_with_valid_callable()
13 13
     {
14
-        $locator = new CallableServiceLocator(function ($id) {
14
+        $locator = new CallableServiceLocator(function($id) {
15 15
             return 'service_from_'.$id;
16 16
         });
17 17
         $this->assertSame('service_from_foo', $locator->get('foo'));
Please login to merge, or discard this patch.