@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | $this->extractSection(); |
| 67 | 67 | $this->saveCurrentSection(); |
| 68 | 68 | |
| 69 | - } while (! $this->stream->isEnd()); |
|
| 69 | + } while (!$this->stream->isEnd()); |
|
| 70 | 70 | |
| 71 | 71 | return $this; |
| 72 | 72 | } |
@@ -156,11 +156,11 @@ discard block |
||
| 156 | 156 | |
| 157 | 157 | $char = $this->stream->currentAscii(); |
| 158 | 158 | |
| 159 | - if($char->isVerticalSpace() || $char->is(AsciiChar::OPENING_BRACE())) { |
|
| 159 | + if ($char->isVerticalSpace() || $char->is(AsciiChar::OPENING_BRACE())) { |
|
| 160 | 160 | return; |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - if($char->is(AsciiChar::COLON())) { |
|
| 163 | + if ($char->is(AsciiChar::COLON())) { |
|
| 164 | 164 | $this->stream->next(); |
| 165 | 165 | $this->extractInheritanceName(); |
| 166 | 166 | } else { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | goto start; |
| 185 | 185 | } elseif ($char->isWhiteSpace()) { |
| 186 | 186 | return; |
| 187 | - } else { |
|
| 187 | + } else { |
|
| 188 | 188 | throw new SyntaxErrorException($this->stream); |
| 189 | 189 | } |
| 190 | 190 | } |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | $char = $this->stream->currentAscii(); |
| 258 | 258 | $this->stream->next(); |
| 259 | 259 | |
| 260 | - if (! $char->is(AsciiChar::EQUALS())) { |
|
| 260 | + if (!$char->is(AsciiChar::EQUALS())) { |
|
| 261 | 261 | throw new SyntaxErrorException($this->stream); |
| 262 | 262 | } |
| 263 | 263 | |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | goto start; |
| 185 | 185 | } elseif ($char->isWhiteSpace()) { |
| 186 | 186 | return; |
| 187 | - } else { |
|
| 187 | + } else { |
|
| 188 | 188 | throw new SyntaxErrorException($this->stream); |
| 189 | 189 | } |
| 190 | 190 | } |