@@ -49,7 +49,7 @@ |
||
49 | 49 | protected function buildContainer() |
50 | 50 | { |
51 | 51 | $container = parent::buildContainer(); |
52 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/config')); |
|
52 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/config')); |
|
53 | 53 | $loader->load('services.xml'); |
54 | 54 | |
55 | 55 | $container->setParameter('kernel.storage', $this->storage); |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $execution->getHandlerClass(), |
58 | 58 | $execution->getScheduleTime()->format(\DateTime::RFC3339), |
59 | 59 | !$execution->getEndTime() ? '' : $execution->getEndTime()->format(\DateTime::RFC3339), |
60 | - (round($execution->getDuration(), 6) * 1000000) . 'ms', |
|
60 | + (round($execution->getDuration(), 6) * 1000000).'ms', |
|
61 | 61 | ] |
62 | 62 | ); |
63 | 63 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | $container->setParameter('task.system_tasks', $config['system_tasks']); |
38 | 38 | $container->setParameter('task.storage', $config['storage']); |
39 | 39 | |
40 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
40 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
41 | 41 | $loader->load(sprintf('storage/%s.xml', $config['storage'])); |
42 | 42 | $loader->load('task_event_listener.xml'); |
43 | 43 | $loader->load('scheduler.xml'); |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | $task->reveal()->getInterval(), |
162 | 162 | $task->reveal()->getFirstExecution(), |
163 | 163 | Argument::that( |
164 | - function ($date) { |
|
164 | + function($date) { |
|
165 | 165 | return $date <= new \DateTime('+1 Minute'); |
166 | 166 | } |
167 | 167 | ) |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | $task->reveal()->getInterval(), |
271 | 271 | $task->reveal()->getFirstExecution(), |
272 | 272 | Argument::that( |
273 | - function ($date) { |
|
273 | + function($date) { |
|
274 | 274 | return $date <= new \DateTime('+1 Minute'); |
275 | 275 | } |
276 | 276 | ) |