diff --git a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php
index 218d0b9..545931b 100644
--- a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php
+++ b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php
@@ -28,10 +28,11 @@ class KernelTestBaseTest extends KernelTestBase {
    */
   protected function setUp() {
     $php = <<<'EOS'
+<?php
 # Make sure that the $test_class variable is defined when this file is included.
 if ($test_class) {
 }
-<?php
+
 # Define a function to be able to check that this file was loaded with
 # function_exists().
 if (!function_exists('simpletest_test_stub_settings_function')) {
