Completed
Pull Request — master (#15)
by Wachter
07:53
created
tests/Unit/Storage/DoctrineStorageTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $entityManager->persist(
51 51
             Argument::that(
52
-                function (TaskEntity $entity) use ($date, $completed, $uuid) {
52
+                function(TaskEntity $entity) use ($date, $completed, $uuid) {
53 53
                     $this->assertEquals($uuid, $entity->getUuid());
54 54
                     $this->assertEquals($completed, $entity->isCompleted());
55 55
                     $this->assertEquals($date, $entity->getExecutionDate());
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         } else {
88 88
             $entityManager->persist(
89 89
                 Argument::that(
90
-                    function (TaskEntity $entity) use ($date, $completed, $uuid) {
90
+                    function(TaskEntity $entity) use ($date, $completed, $uuid) {
91 91
                         $this->assertEquals($uuid, $entity->getUuid());
92 92
                         $this->assertEquals($completed, $entity->isCompleted());
93 93
                         $this->assertEquals($date, $entity->getExecutionDate());
Please login to merge, or discard this patch.
tests/Unit/Command/ScheduleTaskCommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
                 $cronExpression,
78 78
                 Argument::type(\DateTime::class),
79 79
                 Argument::that(
80
-                    function ($argument) use ($endDate) {
80
+                    function($argument) use ($endDate) {
81 81
                         $this->assertEquals($endDate, $argument, '', 2);
82 82
 
83 83
                         return true;
Please login to merge, or discard this patch.
src/Entity/Task.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @return mixed
29
+     * @return string
30 30
      */
31 31
     public function getIntervalExpression()
32 32
     {
Please login to merge, or discard this patch.
src/DependencyInjection/TaskExtension.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\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
25
+        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
26 26
         $loader->load(sprintf('storage/%s.xml', $config['storage']));
27 27
         $loader->load('task_event_listener.xml');
28 28
         $loader->load('scheduler.xml');
Please login to merge, or discard this patch.
tests/app/TestKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Command/DebugTasksCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.