Completed
Push — develop ( 1407ca...12372e )
by Novikov
02:24
created
Manager/Cron.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             $logSize = filesize($logFile);
139 139
         }
140 140
         if (isset($errorFile) && file_exists($errorFile)) {
141
-            $lastRunTime = max($lastRunTime ? : 0, filemtime($errorFile));
141
+            $lastRunTime = max($lastRunTime ?: 0, filemtime($errorFile));
142 142
             $errorSize = filesize($errorFile);
143 143
         }
144 144
 
Please login to merge, or discard this patch.
Manager/CronManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         // parsing cron file
35 35
         $process = new Process('crontab -l');
36 36
         $process->run();
37
-        $lines = array_filter(explode(PHP_EOL, $process->getOutput()), function ($line) {
37
+        $lines = array_filter(explode(PHP_EOL, $process->getOutput()), function($line) {
38 38
             return '' != trim($line);
39 39
         });
40 40
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function get()
62 62
     {
63
-        return array_filter($this->lines, function ($line) {
63
+        return array_filter($this->lines, function($line) {
64 64
             return $line instanceof Cron;
65 65
         });
66 66
     }
Please login to merge, or discard this patch.