@@ -121,6 +121,6 @@ |
||
| 121 | 121 | */ |
| 122 | 122 | public function increaseTryCount() |
| 123 | 123 | { |
| 124 | - $this->tryCount ++; |
|
| 124 | + $this->tryCount++; |
|
| 125 | 125 | } |
| 126 | 126 | } |
@@ -87,7 +87,7 @@ |
||
| 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 | } |
@@ -35,7 +35,7 @@ |
||
| 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') |
@@ -22,7 +22,7 @@ |
||
| 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); |