@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | // pieces only if the clause is not inlined or this fragment |
| 347 | 347 | // is between brackets that are on new line. |
| 348 | 348 | if (((empty(self::$INLINE_CLAUSES[$lastClause])) |
| 349 | - && ! $shortGroup |
|
| 349 | + && !$shortGroup |
|
| 350 | 350 | && ($this->options['parts_newline'])) |
| 351 | 351 | || (end($blocksLineEndings) === true) |
| 352 | 352 | ) { |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | } |
| 421 | 421 | |
| 422 | 422 | if ($this->options['type'] === 'cli') { |
| 423 | - return $ret . "\x1b[0m"; |
|
| 423 | + return $ret."\x1b[0m"; |
|
| 424 | 424 | } |
| 425 | 425 | |
| 426 | 426 | return $ret; |
@@ -449,9 +449,9 @@ discard block |
||
| 449 | 449 | |
| 450 | 450 | // Formatting HTML. |
| 451 | 451 | if ($this->options['type'] === 'html') { |
| 452 | - return '<span ' . $format['html'] . '>' . $text . '</span>'; |
|
| 452 | + return '<span '.$format['html'].'>'.$text.'</span>'; |
|
| 453 | 453 | } elseif ($this->options['type'] === 'cli') { |
| 454 | - return $format['cli'] . $text; |
|
| 454 | + return $format['cli'].$text; |
|
| 455 | 455 | } |
| 456 | 456 | |
| 457 | 457 | break; |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | } |
| 460 | 460 | |
| 461 | 461 | if ($this->options['type'] === 'cli') { |
| 462 | - return "\x1b[39m" . $text; |
|
| 462 | + return "\x1b[39m".$text; |
|
| 463 | 463 | } |
| 464 | 464 | return $text; |
| 465 | 465 | } |