@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-08-02 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-08-02 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | namespace Chapi\Commands; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-30 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-30 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Chapi\Commands; |
11 | 11 |
@@ -49,8 +49,7 @@ |
||
49 | 49 | $_mValue = (!empty($_mValue)) |
50 | 50 | ? '[ ' . implode(', ', $_mValue) . ' ]' |
51 | 51 | : '[ ]'; |
52 | - } |
|
53 | - elseif (is_bool($_mValue)) |
|
52 | + } elseif (is_bool($_mValue)) |
|
54 | 53 | { |
55 | 54 | $_mValue = (true === $_mValue) |
56 | 55 | ? 'true' |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-28 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-28 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Chapi\Commands; |
11 | 11 |
@@ -50,12 +50,10 @@ |
||
50 | 50 | { |
51 | 51 | |
52 | 52 | $this->oOutput->writeln(sprintf("\t<fg=red>%s</>", $_oJobEntity->name)); |
53 | - } |
|
54 | - elseif ($_oJobEntity->errorCount > 0) |
|
53 | + } elseif ($_oJobEntity->errorCount > 0) |
|
55 | 54 | { |
56 | 55 | $this->oOutput->writeln(sprintf("\t<comment>%s</comment>", $_oJobEntity->name)); |
57 | - } |
|
58 | - else |
|
56 | + } else |
|
59 | 57 | { |
60 | 58 | $this->oOutput->writeln(sprintf("\t<info>%s</info>", $_oJobEntity->name)); |
61 | 59 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-08-02 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-08-02 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | namespace Chapi\Commands; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-31 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-31 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Chapi\Commands; |
11 | 11 |
@@ -49,8 +49,7 @@ |
||
49 | 49 | if (JobUtils::isWildcard($aJobNames)) |
50 | 50 | { |
51 | 51 | $_oJobIndexService->resetJobIndex(); |
52 | - } |
|
53 | - else |
|
52 | + } else |
|
54 | 53 | { |
55 | 54 | $_oJobIndexService->removeJobs($aJobNames); |
56 | 55 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-09-09 |
|
7 | - * |
|
8 | - * @link: https://github.com/msiebeneicher/chapi/issues/24 |
|
9 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-09-09 |
|
7 | + * |
|
8 | + * @link: https://github.com/msiebeneicher/chapi/issues/24 |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | |
12 | 12 | namespace Chapi\Commands; |
@@ -250,13 +250,11 @@ discard block |
||
250 | 250 | { |
251 | 251 | $_sTimeline .= $this->parseTimeLineStrMark($_bPrintJobStart, $_bPrintJobEnd, $_bHasToCloseFinalTag, $_oTime->format('H>i'), $_oTime->format('H:i')); |
252 | 252 | |
253 | - } |
|
254 | - else |
|
253 | + } else |
|
255 | 254 | { |
256 | 255 | $_sTimeline .= $this->parseTimeLineStrMark($_bPrintJobStart, $_bPrintJobEnd, $_bHasToCloseFinalTag, str_repeat('>', 5), str_repeat($_sSpacer, 5)); |
257 | 256 | } |
258 | - } |
|
259 | - else |
|
257 | + } else |
|
260 | 258 | { |
261 | 259 | $_sTimeline .= $this->parseTimeLineStrMark($_bPrintJobStart, $_bPrintJobEnd, $_bHasToCloseFinalTag, '>', $_sSpacer); |
262 | 260 | } |
@@ -284,18 +282,15 @@ discard block |
||
284 | 282 | if ($bPrintJobStart && $bPrintJobEnd) |
285 | 283 | { |
286 | 284 | $_sTimelineSnippet = sprintf('<comment>%s</comment>', $sStartStopMark); |
287 | - } |
|
288 | - elseif ($bPrintJobStart) |
|
285 | + } elseif ($bPrintJobStart) |
|
289 | 286 | { |
290 | 287 | $_sTimelineSnippet = sprintf('<comment>%s', $sStartStopMark); |
291 | 288 | $bHasToCloseFinalTag = true; |
292 | - } |
|
293 | - elseif ($bPrintJobEnd) |
|
289 | + } elseif ($bPrintJobEnd) |
|
294 | 290 | { |
295 | 291 | $_sTimelineSnippet = sprintf('%s</comment>', $sStartStopMark); |
296 | 292 | $bHasToCloseFinalTag = false; |
297 | - } |
|
298 | - else |
|
293 | + } else |
|
299 | 294 | { |
300 | 295 | $_sTimelineSnippet = $sSpacer; |
301 | 296 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-28 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-28 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Chapi\Commands; |
11 | 11 |
@@ -115,8 +115,7 @@ |
||
115 | 115 | { |
116 | 116 | $_aFilteredJobList[] = $_sJobName; |
117 | 117 | } |
118 | - } |
|
119 | - else |
|
118 | + } else |
|
120 | 119 | { |
121 | 120 | if (!$this->oJobIndexService->isJobInIndex($_sJobName)) |
122 | 121 | { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-09-20 |
|
7 | - * |
|
8 | - * @link: http:// |
|
9 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-09-20 |
|
7 | + * |
|
8 | + * @link: http:// |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Chapi\Commands; |
12 | 12 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-28 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-28 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Chapi\Component\Cache; |
11 | 11 |