diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 47262eaccf..5eebeeae34 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -844,4 +844,4 @@ class phpbb_template
 class template extends phpbb_template
 {
 	// dirty hack
-}
\ No newline at end of file
+}
diff --git a/phpBB/includes/template_compile.php b/phpBB/includes/template_compile.php
index 64dd8117a0..d9eda1d8c2 100644
--- a/phpBB/includes/template_compile.php
+++ b/phpBB/includes/template_compile.php
@@ -978,5 +978,3 @@ class phpbb_template_compile
 		return stream_get_contents($destination_handle);
 	}
 }
-
-?>
\ No newline at end of file