@@ -73,7 +73,7 @@ |
||
73 | 73 | */ |
74 | 74 | public function getErrorCommandsCount() |
75 | 75 | { |
76 | - return count(array_filter($this->data['commands'], function ($command) { |
|
76 | + return count(array_filter($this->data['commands'], function($command) { |
|
77 | 77 | return $command['error'] !== false; |
78 | 78 | })); |
79 | 79 | } |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | $natsLoggerMock->expects($this->once()) |
44 | 44 | ->method('getCommands') |
45 | - ->willReturn(array(1,2)); |
|
45 | + ->willReturn(array(1, 2)); |
|
46 | 46 | |
47 | 47 | $requestMock = $this->getMock('Symfony\Component\HttpFoundation\Request'); |
48 | 48 | $responseMock = $this->getMock('Symfony\Component\HttpFoundation\Response'); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | array('ping', array()), |
40 | 40 | array('request', array('subject', 'payload', 'callback', 1)), |
41 | 41 | array('publish', array('subject', 'payload')), |
42 | - array('subscribe', array('subject', function(){})), |
|
42 | + array('subscribe', array('subject', function() {})), |
|
43 | 43 | array('unsubscribe', array('sid')), |
44 | 44 | array('wait', array(1)), |
45 | 45 | array('setStreamTimeout', array(10)), |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | $loader = new YamlFileLoader( |
34 | 34 | $container, |
35 | - new FileLocator(__DIR__.'/../Resources/config') |
|
35 | + new FileLocator(__DIR__ . '/../Resources/config') |
|
36 | 36 | ); |
37 | 37 | $loader->load('services.yml'); |
38 | 38 |