@@ -11,5 +11,5 @@ |
||
| 11 | 11 | |
| 12 | 12 | const FAIL = 'processed.event.fail'; |
| 13 | 13 | |
| 14 | - const FINISH = 'processed.event.finish'; |
|
| 14 | + const FINISH = 'processed.event.finish'; |
|
| 15 | 15 | } |
@@ -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); |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | */ |
| 187 | 187 | private function calculateAvailableSlotsCount($lockNames, $fieldGroupIdentifierList, $maxConcurrentJobsCount) |
| 188 | 188 | { |
| 189 | - $concurrentJobsCount = count(array_intersect($fieldGroupIdentifierList , $lockNames)); |
|
| 189 | + $concurrentJobsCount = count(array_intersect($fieldGroupIdentifierList, $lockNames)); |
|
| 190 | 190 | |
| 191 | 191 | return $maxConcurrentJobsCount - $concurrentJobsCount; |
| 192 | 192 | } |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | $dateWithMaxTime = $lock->getLockedAt(); |
| 113 | - $dateWithMaxTime->add(new DateInterval('PT' . $this->timeLimit . 'S')); |
|
| 113 | + $dateWithMaxTime->add(new DateInterval('PT'.$this->timeLimit.'S')); |
|
| 114 | 114 | if (new \DateTime() > ($dateWithMaxTime)) { |
| 115 | 115 | $this->notifier->process($this->channelName); |
| 116 | 116 | } |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | $to, |
| 57 | 57 | $subject, |
| 58 | 58 | $template |
| 59 | - ){ |
|
| 59 | + ) { |
|
| 60 | 60 | $this->mailer = $mailer; |
| 61 | 61 | $this->templating = $templating; |
| 62 | 62 | $this->from = $from; |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | */ |
| 128 | 128 | public function increaseTryCount() |
| 129 | 129 | { |
| 130 | - $this->tryCount ++; |
|
| 130 | + $this->tryCount++; |
|
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |