@@ -42,12 +42,12 @@ discard block |
||
42 | 42 | |
43 | 43 | if ($this->runner->getGroups()->containsKey($el)) { |
44 | 44 | $group = $this->runner->getGroups()->get($el); |
45 | - $output->writeln('Executing group \'' . $group->getName() . '\''); |
|
45 | + $output->writeln('Executing group \''.$group->getName().'\''); |
|
46 | 46 | |
47 | 47 | $this->executeGroup($group, $output); |
48 | 48 | } elseif ($this->runner->getTasks()->containsKey($el)) { |
49 | 49 | $task = $this->runner->getTasks()->get($el); |
50 | - $output->writeln('Executing task \'' . $task->getName() . '\''); |
|
50 | + $output->writeln('Executing task \''.$task->getName().'\''); |
|
51 | 51 | |
52 | 52 | $this->runner->runTask($task); |
53 | 53 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | foreach ($els as $el) { |
60 | 60 | $data = $this->getFromOrderData($el); |
61 | 61 | |
62 | - $output->writeln('Executing ' . $data['type'] . ' \'' . $data['name'] . '\''); |
|
62 | + $output->writeln('Executing '.$data['type'].' \''.$data['name'].'\''); |
|
63 | 63 | |
64 | 64 | try { |
65 | 65 | if ($data['type'] == 'group') { |
@@ -70,24 +70,24 @@ discard block |
||
70 | 70 | $this->runner->runTask($data['name']); |
71 | 71 | } |
72 | 72 | } catch (\Exception $e) { |
73 | - $output->writeln('Error on ' . $data['type'] . ' \'' . $data['name'] . '\': ' . $e->getMessage()); |
|
73 | + $output->writeln('Error on '.$data['type'].' \''.$data['name'].'\': '.$e->getMessage()); |
|
74 | 74 | } |
75 | 75 | } |
76 | 76 | } |
77 | 77 | |
78 | 78 | $time = round((microtime(true) - $_SERVER['REQUEST_TIME_FLOAT']) * 10000); |
79 | - $output->writeln('Finished! Time: ' . $time . 'ms'); |
|
79 | + $output->writeln('Finished! Time: '.$time.'ms'); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | private function executeGroup(GroupInterface $group, OutputInterface $output) |
83 | 83 | { |
84 | 84 | foreach ($group->getTasks() as $task) { |
85 | - $output->writeln('--Executing task \'' . $task->getName() . '\''); |
|
85 | + $output->writeln('--Executing task \''.$task->getName().'\''); |
|
86 | 86 | |
87 | 87 | try { |
88 | 88 | $this->runner->runTask($task); |
89 | 89 | } catch (\Exception $e) { |
90 | - $output->writeln('--Error on task \'' . $task->getName() . '\': ' . $e->getMessage()); |
|
90 | + $output->writeln('--Error on task \''.$task->getName().'\': '.$e->getMessage()); |
|
91 | 91 | } |
92 | 92 | } |
93 | 93 | } |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Task; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Junty |
|
4 | - * |
|
5 | - * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | - * @license MIT License |
|
7 | - */ |
|
3 | + * Junty |
|
4 | + * |
|
5 | + * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]> |
|
6 | + * @license MIT License |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Junty\TaskRunner\Runner; |
10 | 10 |