Completed
Push — master ( 137a25...07f458 )
by Daniel
04:36
created
DependencyInjection/CmobiRabbitmqExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public function load(array $configs, ContainerBuilder $container)
19 19
     {
20
-        $fileLocator = new FileLocator(__DIR__ . '/../Resources/config');
20
+        $fileLocator = new FileLocator(__DIR__.'/../Resources/config');
21 21
         $loader = new YamlFileLoader($container, $fileLocator);
22 22
         $loader->load('rabbitmq.yml');
23 23
 
Please login to merge, or discard this patch.
Amqp/ConnectionFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,10 +62,10 @@
 block discarded – undo
62 62
             $this->parameters['user'],
63 63
             $this->parameters['password'],
64 64
             $this->parameters['vhost'],
65
-            false,      // insist
65
+            false, // insist
66 66
             'AMQPLAIN', // login_method
67
-            null,       // login_response
68
-            'en_US',    // locale
67
+            null, // login_response
68
+            'en_US', // locale
69 69
             $this->parameters['connection_timeout'],
70 70
             $this->parameters['read_write_timeout'],
71 71
             $this->parameters['ssl_context'],
Please login to merge, or discard this patch.
Rpc/RpcServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
             if (!$service instanceof RpcServiceInterface) {
67 67
                 throw new InvalidRpcServerClassException(
68
-                    'Failed start RpcServer: %s is not instance of RpcServiceInterface'. $serviceName
68
+                    'Failed start RpcServer: %s is not instance of RpcServiceInterface'.$serviceName
69 69
                 );
70 70
             }
71 71
             list(
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             );
85 85
         }
86 86
 
87
-        while(count($this->getChannel()->callbacks)) {
87
+        while (count($this->getChannel()->callbacks)) {
88 88
             $this->getChannel()->wait();
89 89
         }
90 90
 
Please login to merge, or discard this patch.
Tests/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 
16 16
     public function registerContainerConfiguration(LoaderInterface $loader)
17 17
     {
18
-        $loader->load(__DIR__ . '/config/config.yml');
18
+        $loader->load(__DIR__.'/config/config.yml');
19 19
     }
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
Routing/MethodCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function remove($name)
50 50
     {
51
-        foreach ((array) $name as $n) {
51
+        foreach ((array)$name as $n) {
52 52
             unset($this->methods[$n]);
53 53
         }
54 54
     }
Please login to merge, or discard this patch.
Routing/Method.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $this->setDefaults($data['defaults']);
42 42
 
43 43
         if (isset($data['compiled'])) {
44
-            $this->compiled =$data['compiled'];
44
+            $this->compiled = $data['compiled'];
45 45
         }
46 46
     }
47 47
 
Please login to merge, or discard this patch.
Routing/MethodRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
         $that = $this;
148 148
 
149 149
         $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/'.$class.'.php',
150
-            function (ConfigCacheInterface $cache) use ($that, $class) {
150
+            function(ConfigCacheInterface $cache) use ($that, $class) {
151 151
                 $dumper = $that->getMatcherDumperInstance();
152 152
 
153 153
                 $options = array(
Please login to merge, or discard this patch.
Routing/MethodLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $collection = new MethodCollection();
16 16
         $root = $this->getContainer()->getParameter('kernel.root_dir');
17
-        $resource = $root . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'rpc_routing.yml';
17
+        $resource = $root.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'rpc_routing.yml';
18 18
         $type = 'yaml';
19 19
         $importedRouters = $this->import($resource, $type);
20 20
         $collection->addCollection($importedRouters);
Please login to merge, or discard this patch.
Rpc/BaseService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function createCallback()
43 43
     {
44
-        $callback = function (AMQPMessage $message) {
44
+        $callback = function(AMQPMessage $message) {
45 45
 
46 46
             $responseCollection = $this->rpcMessager->getResponseCollection();
47 47
             $requestCollection = $this->rpcMessager->getRequestCollection();
Please login to merge, or discard this patch.