@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | // pieces only if the clause is not inlined or this fragment |
| 351 | 351 | // is between brackets that are on new line. |
| 352 | 352 | if (((empty(self::$INLINE_CLAUSES[$lastClause])) |
| 353 | - && ! $shortGroup |
|
| 353 | + && !$shortGroup |
|
| 354 | 354 | && ($this->options['parts_newline'])) |
| 355 | 355 | || (end($blocksLineEndings) === true) |
| 356 | 356 | ) { |
@@ -424,7 +424,7 @@ discard block |
||
| 424 | 424 | } |
| 425 | 425 | |
| 426 | 426 | if ($this->options['type'] === 'cli') { |
| 427 | - return $ret . "\x1b[0m"; |
|
| 427 | + return $ret."\x1b[0m"; |
|
| 428 | 428 | } |
| 429 | 429 | |
| 430 | 430 | return $ret; |
@@ -436,9 +436,9 @@ discard block |
||
| 436 | 436 | array( |
| 437 | 437 | "\x00", "\x01", "\x02", "\x03", "\x04", |
| 438 | 438 | "\x05", "\x06", "\x07", "\x08", "\x09", "\x0A", |
| 439 | - "\x0B","\x0C","\x0D", "\x0E", "\x0F", "\x10", "\x11", |
|
| 440 | - "\x12","\x13","\x14","\x15", "\x16", "\x17", "\x18", |
|
| 441 | - "\x19","\x1A","\x1B","\x1C","\x1D", "\x1E", "\x1F" |
|
| 439 | + "\x0B", "\x0C", "\x0D", "\x0E", "\x0F", "\x10", "\x11", |
|
| 440 | + "\x12", "\x13", "\x14", "\x15", "\x16", "\x17", "\x18", |
|
| 441 | + "\x19", "\x1A", "\x1B", "\x1C", "\x1D", "\x1E", "\x1F" |
|
| 442 | 442 | ), |
| 443 | 443 | array( |
| 444 | 444 | '\x00', '\x01', '\x02', '\x03', '\x04', |
@@ -474,9 +474,9 @@ discard block |
||
| 474 | 474 | |
| 475 | 475 | // Formatting HTML. |
| 476 | 476 | if ($this->options['type'] === 'html') { |
| 477 | - return '<span ' . $format['html'] . '>' . htmlspecialchars($text, ENT_NOQUOTES) . '</span>'; |
|
| 477 | + return '<span '.$format['html'].'>'.htmlspecialchars($text, ENT_NOQUOTES).'</span>'; |
|
| 478 | 478 | } elseif ($this->options['type'] === 'cli') { |
| 479 | - return $format['cli'] . $this->escapeConsole($text); |
|
| 479 | + return $format['cli'].$this->escapeConsole($text); |
|
| 480 | 480 | } |
| 481 | 481 | |
| 482 | 482 | break; |
@@ -484,7 +484,7 @@ discard block |
||
| 484 | 484 | } |
| 485 | 485 | |
| 486 | 486 | if ($this->options['type'] === 'cli') { |
| 487 | - return "\x1b[39m" . $this->escapeConsole($text); |
|
| 487 | + return "\x1b[39m".$this->escapeConsole($text); |
|
| 488 | 488 | } elseif ($this->options['type'] === 'html') { |
| 489 | 489 | return htmlspecialchars($text, ENT_NOQUOTES); |
| 490 | 490 | } |