diff --git a/typo3/sysext/backend/Classes/Form/Event/ModifyInlineElementEnabledControlsEvent.php b/typo3/sysext/backend/Classes/Form/Event/ModifyInlineElementEnabledControlsEvent.php
index 2faa00670ffa39785993752e48b378f040cc8338..d3cabd4c644456c7bf710222250a6c25671dba9b 100644
--- a/typo3/sysext/backend/Classes/Form/Event/ModifyInlineElementEnabledControlsEvent.php
+++ b/typo3/sysext/backend/Classes/Form/Event/ModifyInlineElementEnabledControlsEvent.php
@@ -14,6 +14,7 @@ declare(strict_types=1);
  *
  * The TYPO3 project - inspiring people to share!
  */
+
 namespace TYPO3\CMS\Backend\Form\Event;
 
 /**
diff --git a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaLanguage.php b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaLanguage.php
index 6cc7554b6769a1874bf859c8575b2fb181992f2b..11a7774633b39ad9c827737390fc564b68b163f4 100644
--- a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaLanguage.php
+++ b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaLanguage.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Backend\Form\FormDataProvider;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Backend\Form\FormDataProvider;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Backend\Form\FormDataProvider;
+
 use TYPO3\CMS\Backend\Form\FormDataProviderInterface;
 use TYPO3\CMS\Core\Site\Entity\Site;
 use TYPO3\CMS\Core\Site\SiteFinder;
diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php
index ca8bc387681a62b08fe62a47d31d94d8952195b7..8f480a0aab33f94c21000235c2b856914890e5c0 100644
--- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php
+++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Backend\Tests\Functional\Form\FormDataProvider;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Backend\Tests\Functional\Form\FormDataProvider;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Backend\Tests\Functional\Form\FormDataProvider;
+
 use TYPO3\CMS\Backend\Form\FormDataProvider\TcaGroup;
 use TYPO3\CMS\Core\Core\Bootstrap;
 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
diff --git a/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php b/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php
index fbca42e51a34f67ebfe687abb4af2961fb67cdbb..6e6ea231936ae699cd357a2e5ea95003adf0ab28 100644
--- a/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php
+++ b/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php
@@ -3,7 +3,7 @@
 declare(strict_types=1);
 
 /*
- * This file is part of a TYPO3 extension.
+ * This file is part of the TYPO3 CMS project.
  *
  * It is free software; you can redistribute it and/or modify it under
  * the terms of the GNU General Public License, either version 2
diff --git a/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php b/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php
index 0071abed3d8e0e7a057a9619b309b89855cd8f0e..6c621433fd8ffc0eba347b9b115718405bac6cfb 100644
--- a/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php
+++ b/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Backend\Tests\Functional\Utility;
 
 use TYPO3\CMS\Backend\Utility\BackendUtility;
diff --git a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/BarElement.php b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/BarElement.php
index 32dde7d93f7ae9f269c4ff644c713bd0f02bf1a3..fa6346bb1ad8b0640c310930130d37c0ac1d6957 100644
--- a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/BarElement.php
+++ b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/BarElement.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Backend\Tests\Unit\Form\Fixtures\NodeFactory\NodeElements;
 
 use TYPO3\CMS\Backend\Form\NodeFactory;
diff --git a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/FooElement.php b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/FooElement.php
index dcf06fa6f358c377cfb98d6a33405ed6c9a173a5..3186896397f73387c4f2a8b9ffae75db46372a5c 100644
--- a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/FooElement.php
+++ b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeElements/FooElement.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Backend\Tests\Unit\Form\Fixtures\NodeFactory\NodeElements;
 
 use TYPO3\CMS\Backend\Form\NodeFactory;
diff --git a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/BarResolver.php b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/BarResolver.php
index 54b7395b8221b209a6655ebb3978a0287dcecb72..b7aab39a44f2b16d68b61dcafc128b1a339f177e 100644
--- a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/BarResolver.php
+++ b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/BarResolver.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Backend\Tests\Unit\Form\Fixtures\NodeFactory\NodeResolvers;
 
 use TYPO3\CMS\Backend\Form\NodeFactory;
diff --git a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/FooResolver.php b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/FooResolver.php
index 038ffeb474f9ac8bd01fc688fd6202e0f80d8560..66144fcf504e0f7ed8c94a18f1a990b6220feaa2 100644
--- a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/FooResolver.php
+++ b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/FooResolver.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Backend\Tests\Unit\Form\Fixtures\NodeFactory\NodeResolvers;
 
 use TYPO3\CMS\Backend\Form\NodeFactory;
diff --git a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/InvalidNodeResolverClass.php b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/InvalidNodeResolverClass.php
index 4d90e47d88f4ae0731b4f7e167b8b06285b548fc..bdbd81dd2b7a2bd92380cde3028ad7d4afbad6e4 100644
--- a/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/InvalidNodeResolverClass.php
+++ b/typo3/sysext/backend/Tests/Unit/Form/Fixtures/NodeFactory/NodeResolvers/InvalidNodeResolverClass.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Backend\Tests\Unit\Form\Fixtures\NodeFactory\NodeResolvers;
 
 class InvalidNodeResolverClass
diff --git a/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php b/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php
index 16ddf168284c5aed617af12f1e4dfab95387bb4a..63bed0b8fa000e14614152771428ac2ad5859df8 100644
--- a/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php
+++ b/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php
@@ -3,7 +3,7 @@
 declare(strict_types=1);
 
 /*
- * This file is part of a TYPO3 extension.
+ * This file is part of the TYPO3 CMS project.
  *
  * It is free software; you can redistribute it and/or modify it under
  * the terms of the GNU General Public License, either version 2
diff --git a/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodes.php b/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodes.php
index 7632a4d4d68dac60ea8646faaec1c7a4ce970089..fa70edb352aee54a1e66efda4bb6266279a3a1ce 100644
--- a/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodes.php
+++ b/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodes.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -13,8 +15,6 @@
  * The TYPO3 project - inspiring people to share!
  */
 
-declare(strict_types=1);
-
 namespace TYPO3\CMS\Core\Authentication\Mfa\Provider;
 
 use TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory;
diff --git a/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php b/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php
index 17ef4cd01584b7697ec87d2847841cce7c391359..3064fa8f8cd11ce6af0092c7ae75099355863f3e 100644
--- a/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php
+++ b/typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -13,8 +15,6 @@
  * The TYPO3 project - inspiring people to share!
  */
 
-declare(strict_types=1);
-
 namespace TYPO3\CMS\Core\Authentication\Mfa\Provider;
 
 use Psr\Http\Message\ResponseInterface;
diff --git a/typo3/sysext/core/Classes/Authentication/Mfa/Provider/Totp.php b/typo3/sysext/core/Classes/Authentication/Mfa/Provider/Totp.php
index 531f209ffebc06c5f93c38dd2a682839886801a2..3841ee6aeec8a4c19749047a253447d9c9809b76 100644
--- a/typo3/sysext/core/Classes/Authentication/Mfa/Provider/Totp.php
+++ b/typo3/sysext/core/Classes/Authentication/Mfa/Provider/Totp.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -13,8 +15,6 @@
  * The TYPO3 project - inspiring people to share!
  */
 
-declare(strict_types=1);
-
 namespace TYPO3\CMS\Core\Authentication\Mfa\Provider;
 
 use Base32\Base32;
diff --git a/typo3/sysext/core/Classes/Core/RequestId.php b/typo3/sysext/core/Classes/Core/RequestId.php
index 81eaae4107227aadca87509d0c4c8c1fa8326e0e..78aadcf83ebd4a263a52c2a2bffbb778d688c26f 100644
--- a/typo3/sysext/core/Classes/Core/RequestId.php
+++ b/typo3/sysext/core/Classes/Core/RequestId.php
@@ -2,10 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Core\Core;
-
-use TYPO3\CMS\Core\Utility\StringUtility;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -19,6 +15,10 @@ use TYPO3\CMS\Core\Utility\StringUtility;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Core\Core;
+
+use TYPO3\CMS\Core\Utility\StringUtility;
+
 /**
  * @internal
  */
diff --git a/typo3/sysext/core/Classes/Html/DefaultSanitizerBuilder.php b/typo3/sysext/core/Classes/Html/DefaultSanitizerBuilder.php
index 5a5b86529203d75377c1553ab291601944241ea3..a68ff4c9d043aaff6e00913f829957d53c46f968 100644
--- a/typo3/sysext/core/Classes/Html/DefaultSanitizerBuilder.php
+++ b/typo3/sysext/core/Classes/Html/DefaultSanitizerBuilder.php
@@ -3,11 +3,14 @@
 declare(strict_types=1);
 
 /*
- * This file is part of the TYPO3 project.
+ * This file is part of the TYPO3 CMS project.
  *
- * It is free software; you can redistribute it and/or modify it under the terms
- * of the MIT License (MIT). For the full copyright and license information,
- * please read the LICENSE file that was distributed with this source code.
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
  *
  * The TYPO3 project - inspiring people to share!
  */
diff --git a/typo3/sysext/core/Classes/Html/I18nSanitizerBuilder.php b/typo3/sysext/core/Classes/Html/I18nSanitizerBuilder.php
index 528ed2f6a4a4774975c92632d7b29ce3b8a9a705..22a9b6efb46af43fc559a245f33c2be26c636ff9 100644
--- a/typo3/sysext/core/Classes/Html/I18nSanitizerBuilder.php
+++ b/typo3/sysext/core/Classes/Html/I18nSanitizerBuilder.php
@@ -3,11 +3,14 @@
 declare(strict_types=1);
 
 /*
- * This file is part of the TYPO3 project.
+ * This file is part of the TYPO3 CMS project.
  *
- * It is free software; you can redistribute it and/or modify it under the terms
- * of the MIT License (MIT). For the full copyright and license information,
- * please read the LICENSE file that was distributed with this source code.
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
  *
  * The TYPO3 project - inspiring people to share!
  */
diff --git a/typo3/sysext/core/Classes/Html/SanitizerBuilderFactory.php b/typo3/sysext/core/Classes/Html/SanitizerBuilderFactory.php
index 2ee9333d2bdbeb3e4ec9e3dc2466f6901067e796..cd9ec236b335cd724935663e71cdfbd1db289c09 100644
--- a/typo3/sysext/core/Classes/Html/SanitizerBuilderFactory.php
+++ b/typo3/sysext/core/Classes/Html/SanitizerBuilderFactory.php
@@ -3,11 +3,14 @@
 declare(strict_types=1);
 
 /*
- * This file is part of the TYPO3 project.
+ * This file is part of the TYPO3 CMS project.
  *
- * It is free software; you can redistribute it and/or modify it under the terms
- * of the MIT License (MIT). For the full copyright and license information,
- * please read the LICENSE file that was distributed with this source code.
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
  *
  * The TYPO3 project - inspiring people to share!
  */
diff --git a/typo3/sysext/core/Classes/Html/SanitizerInitiator.php b/typo3/sysext/core/Classes/Html/SanitizerInitiator.php
index 4458724471ed49744b19a697e84316e5ebe98046..b16f9cf08ce5005eb7d596c484e8627f26cac1b9 100644
--- a/typo3/sysext/core/Classes/Html/SanitizerInitiator.php
+++ b/typo3/sysext/core/Classes/Html/SanitizerInitiator.php
@@ -3,11 +3,14 @@
 declare(strict_types=1);
 
 /*
- * This file is part of the TYPO3 project.
+ * This file is part of the TYPO3 CMS project.
  *
- * It is free software; you can redistribute it and/or modify it under the terms
- * of the MIT License (MIT). For the full copyright and license information,
- * please read the LICENSE file that was distributed with this source code.
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
  *
  * The TYPO3 project - inspiring people to share!
  */
diff --git a/typo3/sysext/core/Resources/Private/Php/cli.php b/typo3/sysext/core/Resources/Private/Php/cli.php
index d16c5746bc2621c1078e95d7141413de8abe3c69..e11fc9ae4cdbeb8cb08cc0d226f63c5f5353c9d1 100644
--- a/typo3/sysext/core/Resources/Private/Php/cli.php
+++ b/typo3/sysext/core/Resources/Private/Php/cli.php
@@ -1,5 +1,6 @@
 #!/usr/bin/env php
 <?php
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
diff --git a/typo3/sysext/core/Tests/Acceptance/Application/FileList/FileStorageTreeFilterCest.php b/typo3/sysext/core/Tests/Acceptance/Application/FileList/FileStorageTreeFilterCest.php
index 2908481f322e1ab0e730b821df62ef4c04a96ad8..3952be437b108154f8b52c37849228159b9f900a 100644
--- a/typo3/sysext/core/Tests/Acceptance/Application/FileList/FileStorageTreeFilterCest.php
+++ b/typo3/sysext/core/Tests/Acceptance/Application/FileList/FileStorageTreeFilterCest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Core\Tests\Acceptance\Application\FileList;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Core\Tests\Acceptance\Application\FileList;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Core\Tests\Acceptance\Application\FileList;
+
 use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
 use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\FileTree;
 
diff --git a/typo3/sysext/core/Tests/Acceptance/Application/FormEngine/ElementsBasicInputTextTableCest.php b/typo3/sysext/core/Tests/Acceptance/Application/FormEngine/ElementsBasicInputTextTableCest.php
index d77a555f632005aafce81c245e4dbc6dae34c05d..4076b701e201f8cfbd9843c964a0eae4903dbca9 100644
--- a/typo3/sysext/core/Tests/Acceptance/Application/FormEngine/ElementsBasicInputTextTableCest.php
+++ b/typo3/sysext/core/Tests/Acceptance/Application/FormEngine/ElementsBasicInputTextTableCest.php
@@ -1,6 +1,7 @@
 <?php
 
 declare(strict_types=1);
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
diff --git a/typo3/sysext/core/Tests/Acceptance/Application/PageTree/DragAndDrop/PageCreationWithDragAndDropCest.php b/typo3/sysext/core/Tests/Acceptance/Application/PageTree/DragAndDrop/PageCreationWithDragAndDropCest.php
index f2e5631fdb3c87a8376db3d6c367b08292f9b1ab..c3b79920685e90b8c0dec79fedc8fe4811544d76 100644
--- a/typo3/sysext/core/Tests/Acceptance/Application/PageTree/DragAndDrop/PageCreationWithDragAndDropCest.php
+++ b/typo3/sysext/core/Tests/Acceptance/Application/PageTree/DragAndDrop/PageCreationWithDragAndDropCest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\DragAndDrop;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\DragAndDrop;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\DragAndDrop;
+
 use Facebook\WebDriver\WebDriverKeys;
 use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
 use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\Mouse;
diff --git a/typo3/sysext/core/Tests/Acceptance/Application/PageTree/PageTreeFilterCest.php b/typo3/sysext/core/Tests/Acceptance/Application/PageTree/PageTreeFilterCest.php
index d85c181e267ce90e1700fdc52f09528996423642..cc76c1880789d4b51250c37cb2497b20d539d086 100644
--- a/typo3/sysext/core/Tests/Acceptance/Application/PageTree/PageTreeFilterCest.php
+++ b/typo3/sysext/core/Tests/Acceptance/Application/PageTree/PageTreeFilterCest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree;
+
 use Facebook\WebDriver\WebDriverKeys;
 use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
 use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\ModalDialog;
diff --git a/typo3/sysext/core/Tests/Acceptance/Support/Helper/FileTree.php b/typo3/sysext/core/Tests/Acceptance/Support/Helper/FileTree.php
index ebf0a4b4d447f5f82179ab6eac8aaf5fb3acf7f8..ebff831d4a0b40b457d6cabff72c27de0a71a75d 100644
--- a/typo3/sysext/core/Tests/Acceptance/Support/Helper/FileTree.php
+++ b/typo3/sysext/core/Tests/Acceptance/Support/Helper/FileTree.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Core\Tests\Acceptance\Support\Helper;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Core\Tests\Acceptance\Support\Helper;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Core\Tests\Acceptance\Support\Helper;
+
 use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
 use TYPO3\TestingFramework\Core\Acceptance\Helper\AbstractPageTree;
 
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php
index 9f5c8dd16d395b6fd7a6f5f1a93718135f78ea27..54da43236607422338f90681c490914050fd2b81 100644
--- a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\Slug;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\Slug;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\Slug;
+
 use TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory;
 use TYPO3\CMS\Core\DataHandling\SlugHelper;
 use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase;
diff --git a/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php b/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php
index 8a742f7d0ea2d1b573f5de179290dbde8445d70b..392e0fc729079e37f619266ff909599717413052 100644
--- a/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php
+++ b/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Core\Tests\Functional\Utility\ExtensionManagementUtility;
 
 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
diff --git a/typo3/sysext/extbase/Classes/DependencyInjection/TypeConverterPass.php b/typo3/sysext/extbase/Classes/DependencyInjection/TypeConverterPass.php
index 91b8b8d02165650c241abc6947aeef0500637aef..2f16b65eeecb1f9643d6043cb2e6ce69c7a5a1a0 100644
--- a/typo3/sysext/extbase/Classes/DependencyInjection/TypeConverterPass.php
+++ b/typo3/sysext/extbase/Classes/DependencyInjection/TypeConverterPass.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Extbase\DependencyInjection;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Extbase\DependencyInjection;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Extbase\DependencyInjection;
+
 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
diff --git a/typo3/sysext/extbase/Classes/Property/TypeConverterRegistry.php b/typo3/sysext/extbase/Classes/Property/TypeConverterRegistry.php
index b2c71f807fde3192b233af9e7e1014ddd3db5b3a..622903be456ba48b01f0d612e82cdcac83cddd25 100644
--- a/typo3/sysext/extbase/Classes/Property/TypeConverterRegistry.php
+++ b/typo3/sysext/extbase/Classes/Property/TypeConverterRegistry.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Extbase\Property;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Extbase\Property;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Extbase\Property;
+
 use TYPO3\CMS\Extbase\Utility\TypeHandlingUtility;
 
 /**
diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php
index c4267c2d99adbc0b37cfc0b4ec24e9747bf6bed8..18edad94e7ca3400a351aa8b144ad82d02a6210b 100644
--- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php
+++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator;
 
 use TYPO3\CMS\Core\Localization\LanguageServiceFactory;
diff --git a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php
index e9d48bb1f63e4a9a9d3835dc4145dd97eab36147..6b02907c5894716833ab4b5f177735003f245a19 100644
--- a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php
+++ b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Extbase\Tests\Unit\Property;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Property;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Extbase\Tests\Unit\Property;
+
 use TYPO3\CMS\Core\Authentication\LoginType;
 use TYPO3\CMS\Core\Type\TypeInterface;
 use TYPO3\CMS\Extbase\Domain\Model\FileReference;
diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php
index 420712f9d40a10882fbe4348265aafe77ff84c1d..4518cdd1f1e5d77dde6e19a2a391ed24592ad9be 100644
--- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php
+++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php
@@ -2,6 +2,19 @@
 
 declare(strict_types=1);
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Repository;
 
 use TYPO3\CMS\Extensionmanager\Domain\Model\Dependency;
diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectFactory.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectFactory.php
index c55aebecf35003c552c06e73d016485b2206a2a8..f86cd907472bfdedf776d66a384fd655ac876681 100644
--- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectFactory.php
+++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectFactory.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Frontend\ContentObject;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Frontend\ContentObject;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Frontend\ContentObject;
+
 use Psr\Container\ContainerInterface;
 use Psr\Http\Message\ServerRequestInterface;
 use TYPO3\CMS\Frontend\ContentObject\Exception\ContentRenderingException;
diff --git a/typo3/sysext/frontend/Classes/DataProcessing/FlexFormProcessor.php b/typo3/sysext/frontend/Classes/DataProcessing/FlexFormProcessor.php
index ac59803447035656b0b817902fc3b712b568e598..50e404931c7ce71b11c63738652dfe7290411a73 100644
--- a/typo3/sysext/frontend/Classes/DataProcessing/FlexFormProcessor.php
+++ b/typo3/sysext/frontend/Classes/DataProcessing/FlexFormProcessor.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Frontend\DataProcessing;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Frontend\DataProcessing;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Frontend\DataProcessing;
+
 use TYPO3\CMS\Core\Service\FlexFormService;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Frontend\ContentObject\ContentDataProcessor;
diff --git a/typo3/sysext/frontend/Classes/Preview/TextmediaPreviewRenderer.php b/typo3/sysext/frontend/Classes/Preview/TextmediaPreviewRenderer.php
index 43be3f2d46720b939589e27ea647a0bb9edf9923..4dd0591d01d7678d906c7c858e8455eb4a1f546e 100644
--- a/typo3/sysext/frontend/Classes/Preview/TextmediaPreviewRenderer.php
+++ b/typo3/sysext/frontend/Classes/Preview/TextmediaPreviewRenderer.php
@@ -1,6 +1,7 @@
 <?php
 
 declare(strict_types=1);
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
diff --git a/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php b/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php
index a523d07eb7d978b4d580fdaf29188d9e7a34cb54..3e2439c394f0e94611ab2f429ae014267415327b 100644
--- a/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php
+++ b/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Frontend\Tests\Unit\DataProcessing;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\DataProcessing;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Frontend\Tests\Unit\DataProcessing;
+
 use Prophecy\PhpUnit\ProphecyTrait;
 use Prophecy\Prophecy\ObjectProphecy;
 use TYPO3\CMS\Core\Service\FlexFormService;
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecords.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecords.php
index afea1bcb39ebcd1338a5cdd946dcdc0eafc3219f..64b26e232c10a1e78fbc3ddf2243fef2e01d91d2 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecords.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecords.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecordsWithSoftRefs.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecordsWithSoftRefs.php
index 2bd427efa1bbd55c4dea41b89241bacc7f8cb0b3..fc8f8d9ccf9af0d263dfd6848577bc4a0ddb082a 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecordsWithSoftRefs.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportPageAndRecordsWithSoftRefs.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportRecords.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportRecords.php
index 14db601b9e629f73b16905cbd9430d8c7819651e..9102e8a55b639680479eda0def49ea739e23f190 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportRecords.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportRecords.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportTable.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportTable.php
index cc93f2b8fc54bfddf8f9ef76146720d72341bcea..8c758945de49b79ec542e6b8cd6f0534f2ac198b 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportTable.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewExportTable.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecords.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecords.php
index cf37cd4d0462bbd0ec248f82d44fa46337fd50fd..d6e11966b363b2a46789b65141f8715b4f636ce8 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecords.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecords.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdate.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdate.php
index 87688b782d0af01e6c42be932a95d5e651f2f2f1..ed1c44e1a682ad03ee18781cc824ac1afc48263f 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdate.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdate.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => true,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdateWithDiff.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdateWithDiff.php
index 26d4c25d6a35c203dcd3aaa5188c1b9f80969e69..357d3ee0caf57558e26c203c6765ac11227d5650 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdateWithDiff.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdateWithDiff.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => true,
   'showDiff' => true,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithDiff.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithDiff.php
index 4f08b5ff352e5ca58743cf3f0d9610d0cfd70041..d6215346ba3e30481c354f3b5215d079ba1a45db 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithDiff.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithDiff.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => true,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithSoftRefs.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithSoftRefs.php
index 7af2acf37327261d3a343be40c6cbd61dce13b73..68c92e1d7a749515215f7abcfd5ef36ffe22da91 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithSoftRefs.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsWithSoftRefs.php
@@ -1,5 +1,18 @@
 <?php
 
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
   'update' => false,
   'showDiff' => false,
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/IrreRecordsIncludeFields.php b/typo3/sysext/impexp/Tests/Functional/Fixtures/IrreRecordsIncludeFields.php
index bd602a881814baf99baeaba579f8df50bd4fd3a0..5e6abc270ba2333044b47b052f829a3299136e9d 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/IrreRecordsIncludeFields.php
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/IrreRecordsIncludeFields.php
@@ -1,6 +1,18 @@
 <?php
 
-// Fields of record types to be included in the export
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
 return [
     'pages' => [
         'title',
diff --git a/typo3/sysext/install/Classes/Updates/BackendGroupsExplicitAllowDenyMigration.php b/typo3/sysext/install/Classes/Updates/BackendGroupsExplicitAllowDenyMigration.php
index c97004fe2b15d4876f79f8e93d9be85143abf932..47a9cc0d1021b32eb12acf705af7684bdc4450f4 100644
--- a/typo3/sysext/install/Classes/Updates/BackendGroupsExplicitAllowDenyMigration.php
+++ b/typo3/sysext/install/Classes/Updates/BackendGroupsExplicitAllowDenyMigration.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Install\Updates;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Install\Updates;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Install\Updates;
+
 use Symfony\Component\Console\Output\OutputInterface;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Query\QueryBuilder;
diff --git a/typo3/sysext/install/Classes/Updates/BackendModulePermissionMigration.php b/typo3/sysext/install/Classes/Updates/BackendModulePermissionMigration.php
index 917d28385c93b3f71e99d88b479e4d7c50657aed..e46789317cd24add86bbc2287bc2b36b9284b44e 100644
--- a/typo3/sysext/install/Classes/Updates/BackendModulePermissionMigration.php
+++ b/typo3/sysext/install/Classes/Updates/BackendModulePermissionMigration.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Install\Updates;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Install\Updates;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Install\Updates;
+
 use TYPO3\CMS\Backend\Module\ModuleRegistry;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Query\QueryBuilder;
diff --git a/typo3/sysext/install/Classes/Updates/BackendUserLanguageMigration.php b/typo3/sysext/install/Classes/Updates/BackendUserLanguageMigration.php
index 7504ca7b99e3c90d09814249880ee083eb68c85f..04970ab619bde862bd17287602eb17e22c865951 100644
--- a/typo3/sysext/install/Classes/Updates/BackendUserLanguageMigration.php
+++ b/typo3/sysext/install/Classes/Updates/BackendUserLanguageMigration.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Install\Updates;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Install\Updates;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Install\Updates;
+
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Query\QueryBuilder;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
diff --git a/typo3/sysext/install/Classes/Updates/RowUpdater/L18nDiffsourceToJsonMigration.php b/typo3/sysext/install/Classes/Updates/RowUpdater/L18nDiffsourceToJsonMigration.php
index 27e4de9977be42099266bef542e7437114d065f7..82e2318a630ae51410b3e3d783abf007346ecd5f 100644
--- a/typo3/sysext/install/Classes/Updates/RowUpdater/L18nDiffsourceToJsonMigration.php
+++ b/typo3/sysext/install/Classes/Updates/RowUpdater/L18nDiffsourceToJsonMigration.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Install\Updates\RowUpdater;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Install\Updates\RowUpdater;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Install\Updates\RowUpdater;
+
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 
 /**
diff --git a/typo3/sysext/install/Classes/Updates/ShortcutRecordsMigration.php b/typo3/sysext/install/Classes/Updates/ShortcutRecordsMigration.php
index 7cafddfcab2ebf54b80281aa5b8199a069a6fa40..cd8e9ec520d5ef58f9a1b4dedcff820c2ce5af2c 100644
--- a/typo3/sysext/install/Classes/Updates/ShortcutRecordsMigration.php
+++ b/typo3/sysext/install/Classes/Updates/ShortcutRecordsMigration.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Install\Updates;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Install\Updates;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Install\Updates;
+
 use TYPO3\CMS\Backend\Module\ModuleProvider;
 use TYPO3\CMS\Backend\Routing\Router;
 use TYPO3\CMS\Core\Database\ConnectionPool;
diff --git a/typo3/sysext/install/Classes/Updates/SysLogSerializationUpdate.php b/typo3/sysext/install/Classes/Updates/SysLogSerializationUpdate.php
index 0eba3acd257e427833148aad5cdae5077f8554ed..b02aac0f0ad182dcf968aa9e0456030942908d66 100644
--- a/typo3/sysext/install/Classes/Updates/SysLogSerializationUpdate.php
+++ b/typo3/sysext/install/Classes/Updates/SysLogSerializationUpdate.php
@@ -2,8 +2,6 @@
 
 declare(strict_types=1);
 
-namespace TYPO3\CMS\Install\Updates;
-
 /*
  * This file is part of the TYPO3 CMS project.
  *
@@ -17,6 +15,8 @@ namespace TYPO3\CMS\Install\Updates;
  * The TYPO3 project - inspiring people to share!
  */
 
+namespace TYPO3\CMS\Install\Updates;
+
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Query\QueryBuilder;
 use TYPO3\CMS\Core\Log\LogDataTrait;