Code Duplication    Length = 4-4 lines in 2 locations

src/Passes/RemoveBraces.php 2 locations

@@ 214-217 (lines=4) @@
211
			}
212
			elseif ($this->isControlStructure())
213
			{
214
				if (!$this->stream->isAny([T_ELSE, T_ELSEIF]))
215
				{
216
					++$structure['statements'];
217
				}
218
219
				$innerStructure = $this->parseControlStructure();
220
				if ($innerStructure)
@@ 258-261 (lines=4) @@
255
256
			$this->stream->next();
257
			$this->stream->skipNoise();
258
			if ($this->stream->valid())
259
			{
260
				$isFollowedByElse = $this->stream->isAny([T_ELSE, T_ELSEIF]);
261
			}
262
		}
263
264
		if ($isFollowedByElse && $braces > 1)