Completed
Push — master ( 9ea0a0...136b8b )
by Julián
04:20
created
src/Janitor.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * @param array $watchers
38 38
      * @param array $excluders
39
-     * @param Janitor\Strategy $strategy
39
+     * @param Strategy $strategy
40 40
      */
41 41
     public function __construct(array $watchers = [], array $excluders = [], Strategy $strategy = null)
42 42
     {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor;
10 10
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 
138 138
         usort(
139 139
             $scheduledTimes,
140
-            function ($time1, $time2) {
140
+            function($time1, $time2) {
141 141
                 if ($time1['start'] == $time2['start']) {
142 142
                     return 0;
143 143
                 }
Please login to merge, or discard this patch.
src/Watcher/Scheduled/Cron.php 4 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
     protected $interval;
76 76
 
77 77
     /**
78
-     * @param \Cron\CronExpression|string $expression
79
-     * @param \DateInterval|string $interval
78
+     * @param string $expression
79
+     * @param string $interval
80 80
      * @param mixed $timeZone
81 81
      */
82 82
     public function __construct($expression, $interval, $timeZone = null)
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     /**
239 239
      * Get maintenance interval.
240 240
      *
241
-     * @return \DateInterval
241
+     * @return string
242 242
      */
243 243
     public function getInterval()
244 244
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,13 +8,13 @@
 block discarded – undo
8 8
 
9 9
 namespace Janitor\Watcher\Scheduled;
10 10
 
11
-use Janitor\ScheduledWatcher;
12 11
 use Cron\CronExpression;
13
-use DateTime;
14 12
 use DateInterval;
13
+use DateTime;
15 14
 use Exception;
16
-use RuntimeException;
17 15
 use InvalidArgumentException;
16
+use Janitor\ScheduledWatcher;
17
+use RuntimeException;
18 18
 
19 19
 /**
20 20
  * Cron syntax scheduled maintenance status watcher.
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Watcher\Scheduled;
10 10
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
         $interval = $this->interval;
120 120
 
121 121
         return array_map(
122
-            function ($start) use ($interval) {
122
+            function($start) use ($interval) {
123 123
                 $end = clone $start;
124 124
                 $end->add($interval);
125 125
 
Please login to merge, or discard this patch.
src/Excluder/IP.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Excluder;
10 10
 
Please login to merge, or discard this patch.
src/Excluder/Path.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Excluder;
10 10
 
Please login to merge, or discard this patch.
src/Provider/IP.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Provider;
10 10
 
Please login to merge, or discard this patch.
src/Provider/IP/Basic.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Provider\IP;
10 10
 
Please login to merge, or discard this patch.
src/Provider/Path.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Provider;
10 10
 
Please login to merge, or discard this patch.
src/Provider/Path/Basic.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor\Provider\Path;
10 10
 
Please login to merge, or discard this patch.
src/ScheduledWatcher.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Effortless maintenance management (http://juliangut.com/janitor)
4
- *
5
- * @link https://github.com/juliangut/janitor for the canonical source repository
6
- * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
- */
3
+     * Effortless maintenance management (http://juliangut.com/janitor)
4
+     *
5
+     * @link https://github.com/juliangut/janitor for the canonical source repository
6
+     * @license https://github.com/juliangut/janitor/blob/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Janitor;
10 10
 
Please login to merge, or discard this patch.