Completed
Pull Request — master (#8)
by Clément
03:36
created
Category
Model/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,6 +121,6 @@
 block discarded – undo
121 121
      */
122 122
     public function increaseTryCount()
123 123
     {
124
-        $this->tryCount ++;
124
+        $this->tryCount++;
125 125
     }
126 126
 }
Please login to merge, or discard this patch.
Command/ProcessEventCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
                 $event->setDelayed(false);
88 88
                 $this->eventProcessor->process($event);
89 89
             }
90
-        } catch(\Exception $e) {
90
+        } catch (\Exception $e) {
91 91
             $this->lockHandler->release();
92 92
             throw $e;
93 93
         }
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
                     ->children()
36 36
                         ->scalarNode('type')
37 37
                             ->validate()
38
-                                ->ifTrue(function($v){ return !in_array($v, array('normal', 'critic')); })
38
+                                ->ifTrue(function($v) { return !in_array($v, array('normal', 'critic')); })
39 39
                                 ->thenInvalid('%s is not a valid type')
40 40
                             ->end()
41 41
                             ->defaultValue('normal')
Please login to merge, or discard this patch.
DependencyInjection/ItkgDelayEventExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $configuration = new Configuration();
23 23
         $config = $this->processConfiguration($configuration, $configs);
24 24
 
25
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
25
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26 26
         $loader->load('services.yml');
27 27
 
28 28
         $this->loadEventNames($container, $config);
Please login to merge, or discard this patch.