@@ -55,7 +55,7 @@ |
||
55 | 55 | } |
56 | 56 | $writer = $this->writers[$format]; |
57 | 57 | |
58 | - $callback = function () use ($source, $writer) { |
|
58 | + $callback = function() use ($source, $writer) { |
|
59 | 59 | $handler = \Blast\Bundle\CoreBundle\Exporter\Handler::create($source, $writer); |
60 | 60 | $handler->export(); |
61 | 61 | }; |
@@ -62,18 +62,18 @@ |
||
62 | 62 | $map = [ |
63 | 63 | ['Model', ['foo', 'bar', 'not_an_id']], |
64 | 64 | ['Ledom', ['id', 'zoo', 'rab']], |
65 | - ]; |
|
65 | + ]; |
|
66 | 66 | $modelManagerMock |
67 | - ->expects($this->any()) |
|
68 | - ->method('getExportFields') |
|
69 | - ->will($this->returnValueMap($map)); |
|
67 | + ->expects($this->any()) |
|
68 | + ->method('getExportFields') |
|
69 | + ->will($this->returnValueMap($map)); |
|
70 | 70 | |
71 | 71 | $this->modelManager = $modelManagerMock; |
72 | 72 | $this->object = new BlastGenerator( |
73 | - $this->blastFile, |
|
74 | - $this->modelManager, |
|
75 | - $this->skeletonDirectory |
|
76 | - ); |
|
73 | + $this->blastFile, |
|
74 | + $this->modelManager, |
|
75 | + $this->skeletonDirectory |
|
76 | + ); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | protected function tearDown() |
@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | public function testServicesAreInitializable() |
31 | 31 | { |
32 | - $serviceIds = array_filter($this->container->getServiceIds(), function ($serviceId) { |
|
32 | + $serviceIds = array_filter($this->container->getServiceIds(), function($serviceId) { |
|
33 | 33 | return 0 === strpos($serviceId, 'blast_core.'); |
34 | 34 | }); |
35 | 35 |