diff --git a/src/app/phpbob/analyze/PhpFileBuilder.php b/src/app/phpbob/analyze/PhpFileBuilder.php
index <HASH>..<HASH> 100644
--- a/src/app/phpbob/analyze/PhpFileBuilder.php
+++ b/src/app/phpbob/analyze/PhpFileBuilder.php
@@ -131,7 +131,7 @@ class PhpFileBuilder {
 			switch (strtolower($codePart)) {

 				case Phpbob::KEYWORD_EXTENDS:

 					$inExtendsClause = true;

-					continue;

+					break;

 			}

 		}

 		

@@ -464,4 +464,4 @@ class PhpFileBuilder {
 	private function createPrependingCode(PhpStatement $phpStatement) {

 		return implode(PHP_EOL, $phpStatement->getPrependingCommentLines());

 	}

-}
\ No newline at end of file
+}
continue in switch causes error in PHP <I> break