@@ 89-96 (lines=8) @@ | ||
86 | /** |
|
87 | * @param int $length |
|
88 | */ |
|
89 | public function writeNewLineForLongInlineValues($length) |
|
90 | { |
|
91 | if ($this->parentheses->getInlineParentheses() && $length > 30) { |
|
92 | $this->indentation->setIncreaseBlockIndent(true); |
|
93 | $this->indentation->setInlineIndented(true); |
|
94 | $this->newline = true; |
|
95 | } |
|
96 | } |
|
97 | ||
98 | /** |
|
99 | * Adds a new line break for an opening parentheses for a non-inline expression. |
|
@@ 101-107 (lines=7) @@ | ||
98 | /** |
|
99 | * Adds a new line break for an opening parentheses for a non-inline expression. |
|
100 | */ |
|
101 | public function addNewLineAfterOpeningParentheses() |
|
102 | { |
|
103 | if (false === $this->parentheses->getInlineParentheses()) { |
|
104 | $this->indentation->setIncreaseBlockIndent(true); |
|
105 | $this->newline = true; |
|
106 | } |
|
107 | } |
|
108 | ||
109 | /** |
|
110 | * @param bool $addedNewline |