@@ -20,9 +20,7 @@ |
||
| 20 | 20 | namespace Wicked\Timely\Command; |
| 21 | 21 | |
| 22 | 22 | use Symfony\Component\Console\Command\Command; |
| 23 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 24 | 23 | use Symfony\Component\Console\Input\InputInterface; |
| 25 | -use Symfony\Component\Console\Input\InputOption; |
|
| 26 | 24 | use Symfony\Component\Console\Output\OutputInterface; |
| 27 | 25 | use Wicked\Timely\Storage\StorageFactory; |
| 28 | 26 | use Wicked\Timely\Formatter\FormatterFactory; |
@@ -67,7 +67,6 @@ |
||
| 67 | 67 | /** |
| 68 | 68 | * Whether or not this booking can be the start of a task |
| 69 | 69 | * |
| 70 | - * @param boolean $includePause Whether or not pauses are included as task building bookings |
|
| 71 | 70 | * |
| 72 | 71 | * @return boolean |
| 73 | 72 | */ |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function __construct($path = '.') |
| 20 | 20 | { |
| 21 | - parent::__construct(realpath(__DIR__ . '/../')); |
|
| 21 | + parent::__construct(realpath(__DIR__.'/../')); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | // print the total amount of time spent |
| 92 | 92 | $result .= ' |
| 93 | 93 | ==================================================== |
| 94 | -Total: ca. ' . Date::secondsToUnits(Date::roundByInterval($this->totalDuration, 900)) . ' |
|
| 94 | +Total: ca. ' . Date::secondsToUnits(Date::roundByInterval($this->totalDuration, 900)).' |
|
| 95 | 95 | ===================================================='; |
| 96 | 96 | |
| 97 | 97 | // return the string |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | Date::secondsToUnits($task->getDuration()), |
| 123 | 123 | $task->getComment() |
| 124 | 124 | ) |
| 125 | - ) . ' |
|
| 125 | + ).' |
|
| 126 | 126 | '; |
| 127 | 127 | $total += $task->getDuration(); |
| 128 | 128 | } |
@@ -132,13 +132,13 @@ discard block |
||
| 132 | 132 | $lastBooking = end($tasks)->getEndBooking(); |
| 133 | 133 | |
| 134 | 134 | // begin the string generation |
| 135 | - $result = $ticketId . ' ' . $startTime . ' -> ' . $lastBooking->getTime() . ' |
|
| 135 | + $result = $ticketId.' '.$startTime.' -> '.$lastBooking->getTime().' |
|
| 136 | 136 | ==================================================== |
| 137 | 137 | ' . $ticketList; |
| 138 | 138 | |
| 139 | 139 | // print the total and end with another linebreak without indention to break groups apart |
| 140 | 140 | $result .= '------------------------------------------------- |
| 141 | - ' . Date::secondsToUnits(Date::roundByInterval($total, 900)) . ' |
|
| 141 | + ' . Date::secondsToUnits(Date::roundByInterval($total, 900)).' |
|
| 142 | 142 | |
| 143 | 143 | '; |
| 144 | 144 | $this->totalDuration += $total; |