@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function __construct($path = '.') |
| 44 | 44 | { |
| 45 | - parent::__construct(realpath(__DIR__ . '/../')); |
|
| 45 | + parent::__construct(realpath(__DIR__.'/../')); |
|
| 46 | 46 | $this->pushService = $this->env('PUSH_SERVICE'); |
| 47 | 47 | } |
| 48 | 48 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | * |
| 38 | 38 | * @var string LINE_BREAK |
| 39 | 39 | */ |
| 40 | - const LINE_BREAK = ';' . PHP_EOL; |
|
| 40 | + const LINE_BREAK = ';'.PHP_EOL; |
|
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * Default character sequence for segment separation |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $booking->getComment(), |
| 72 | 72 | $booking->isPushed() ? 'jira '.date('Y-m-d H:i:s').'' : '' |
| 73 | 73 | ) |
| 74 | - ) . self::LINE_BREAK; |
|
| 74 | + ).self::LINE_BREAK; |
|
| 75 | 75 | } |
| 76 | 76 | return $result; |
| 77 | 77 | } |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @var string LINE_BREAK |
| 42 | 42 | */ |
| 43 | - const LINE_BREAK = ';' . PHP_EOL; |
|
| 43 | + const LINE_BREAK = ';'.PHP_EOL; |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * Default character sequence for segment separation |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | public function __construct() |
| 77 | 77 | { |
| 78 | 78 | // calculate the default file path |
| 79 | - $this->logFilePath = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . self::DATA_NAME; |
|
| 79 | + $this->logFilePath = dirname(dirname(__DIR__)).DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.self::DATA_NAME; |
|
| 80 | 80 | // check if the file exists, if not create it |
| 81 | 81 | if (!is_file($this->logFilePath)) { |
| 82 | 82 | touch($this->logFilePath); |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | protected function storeNewestStorageContent($bookString) |
| 143 | 143 | { |
| 144 | 144 | $path = $this->getLogFilePath(); |
| 145 | - file_put_contents($path, $bookString . $this->getStorageContent()); |
|
| 145 | + file_put_contents($path, $bookString.$this->getStorageContent()); |
|
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | /** |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | |
| 221 | 221 | // increase the booking counter |
| 222 | 222 | if (!$booking->isMetaBooking() || $countMeta) { |
| 223 | - $bookingCount ++; |
|
| 223 | + $bookingCount++; |
|
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | // if clipping is not omitted we will add the rear clipping to our collection. |