Passed
Pull Request — master (#2)
by Sebastiaan
02:34
created
src/Schedule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function run($event)
61 61
     {
62
-        if(is_callable($event)) {
62
+        if (is_callable($event)) {
63 63
             $event = new Callback($event);
64 64
         } else {
65 65
             $event = new Process($event);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function dueEvents()
86 86
     {
87
-        return array_filter($this->events, function (Event $event) {
87
+        return array_filter($this->events, function(Event $event) {
88 88
             return $event->isDue();
89 89
         });
90 90
     }
Please login to merge, or discard this patch.
src/Command/Run.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,11 +56,11 @@
 block discarded – undo
56 56
 
57 57
         foreach ($events as $event) {
58 58
             if ($output->getVerbosity() >= $this->minimumVerbosity) {
59
-                $output->writeln('Running event <info>"' . (string)$event . '"</info>');
59
+                $output->writeln('Running event <info>"' . (string) $event . '"</info>');
60 60
             }
61 61
 
62 62
             $result = $event->run();
63
-            if ($event instanceof Process)  {
63
+            if ($event instanceof Process) {
64 64
                 $this->handleProcessOutput($result, $output);
65 65
             }
66 66
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             }
61 61
 
62 62
             $result = $event->run();
63
-            if ($event instanceof Process)  {
63
+            if ($event instanceof Process) {
64 64
                 $this->handleProcessOutput($result, $output);
65 65
             }
66 66
         }
Please login to merge, or discard this patch.