diff --git a/core/modules/action/tests/src/Functional/ActionListTest.php b/core/modules/action/tests/src/Functional/ActionListTest.php
index fdfcfd5bf51a1cce6d1dc96c4119360f877926f9..dd7dd06d4f25083041e1c88e97feec502089ac02 100644
--- a/core/modules/action/tests/src/Functional/ActionListTest.php
+++ b/core/modules/action/tests/src/Functional/ActionListTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/action/tests/src/Functional/ActionUninstallTest.php b/core/modules/action/tests/src/Functional/ActionUninstallTest.php
index f5d17379f8ce8cb46c11e9a4b4451c82785ec9fd..957d65f15eaedd57604ef57278f723fafaefd2e8 100644
--- a/core/modules/action/tests/src/Functional/ActionUninstallTest.php
+++ b/core/modules/action/tests/src/Functional/ActionUninstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/action/tests/src/Functional/ConfigurationTest.php b/core/modules/action/tests/src/Functional/ConfigurationTest.php
index 8844cb0979b76e75f25404e1b6bf112aa76cd430..d2d2b7e1ca88302060184a3f8ce98aea2a74dcdb 100644
--- a/core/modules/action/tests/src/Functional/ConfigurationTest.php
+++ b/core/modules/action/tests/src/Functional/ConfigurationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional;
 
 use Drupal\system\Entity\Action;
diff --git a/core/modules/action/tests/src/Functional/GenericTest.php b/core/modules/action/tests/src/Functional/GenericTest.php
index c67627892ddd133ff29874dec3fc26e6ffe4f01c..7c987812e10924ed3d7dd197f1c2249ef785d30a 100644
--- a/core/modules/action/tests/src/Functional/GenericTest.php
+++ b/core/modules/action/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/action/tests/src/Functional/Jsonapi/ActionTest.php b/core/modules/action/tests/src/Functional/Jsonapi/ActionTest.php
index c0027d78418de00b9e983ea1496d6bd1512db0bb..0305b50c943af82313e71b81e901f836983bef50 100644
--- a/core/modules/action/tests/src/Functional/Jsonapi/ActionTest.php
+++ b/core/modules/action/tests/src/Functional/Jsonapi/ActionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Jsonapi;
 
 use Drupal\Core\Url;
diff --git a/core/modules/action/tests/src/Functional/Node/NodeActionsConfigurationTest.php b/core/modules/action/tests/src/Functional/Node/NodeActionsConfigurationTest.php
index 196e907b68656a962baf243f4c5226eab8dd0ac8..95eac981f70606fdff1e789d7d50c37d6549c1d2 100644
--- a/core/modules/action/tests/src/Functional/Node/NodeActionsConfigurationTest.php
+++ b/core/modules/action/tests/src/Functional/Node/NodeActionsConfigurationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Node;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionJsonAnonTest.php b/core/modules/action/tests/src/Functional/Rest/ActionJsonAnonTest.php
index f4307f1a20b9132dccb6ddbc3748f05d2ae97578..aede29f7a235c106c61b8d523d5da330e21d421e 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionJsonAnonTest.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionJsonBasicAuthTest.php b/core/modules/action/tests/src/Functional/Rest/ActionJsonBasicAuthTest.php
index fcecaca743b0f4e9dd8dfa87d611cebdb40d0da5..d37c747c1084b380c0a1d2a3efcaeeb1a9371d82 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionJsonBasicAuthTest.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionJsonCookieTest.php b/core/modules/action/tests/src/Functional/Rest/ActionJsonCookieTest.php
index 562d858d7ef7d99876e18053d662a20daf9c8d44..e2022097d35db03ec9658c488173593f32cc1dd2 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionJsonCookieTest.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php b/core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php
index 6bf213818ffd322d2ab94a48b0097a990c9aed37..7864b199a79cd35753e25ee30f5844e1691def9f 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionXmlAnonTest.php b/core/modules/action/tests/src/Functional/Rest/ActionXmlAnonTest.php
index 4cbad70673f8c956415aeda5c2eaacc32b4e4dfd..45a04d87a1d6cb1c982aefa3085b9229127d2d5a 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionXmlAnonTest.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionXmlBasicAuthTest.php b/core/modules/action/tests/src/Functional/Rest/ActionXmlBasicAuthTest.php
index ae651f66626ed1279b091bdbd7ce20539f5f731d..dd3175a7cb7f3c3e947ab0acc06e5b27cae3305a 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionXmlBasicAuthTest.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/action/tests/src/Functional/Rest/ActionXmlCookieTest.php b/core/modules/action/tests/src/Functional/Rest/ActionXmlCookieTest.php
index 030136ce0b58d1408dfe306b0d92c584c3df1a21..2d224e5b1a40fd8d01078f3837be1dd2709139dc 100644
--- a/core/modules/action/tests/src/Functional/Rest/ActionXmlCookieTest.php
+++ b/core/modules/action/tests/src/Functional/Rest/ActionXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\action\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/announcements_feed/tests/src/Functional/GenericTest.php b/core/modules/announcements_feed/tests/src/Functional/GenericTest.php
index 63fa620029723007bfd1c43d6220c51f553538e6..e2699a09e5f7d2d8695dee58907324c8a38b70ab 100644
--- a/core/modules/announcements_feed/tests/src/Functional/GenericTest.php
+++ b/core/modules/announcements_feed/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\announcements_feed\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/automated_cron/tests/src/Functional/GenericTest.php b/core/modules/automated_cron/tests/src/Functional/GenericTest.php
index 8e8edc0fc5e2a8f5b21c9bb115a139407bee616f..b70b592599d58d7c550c5145b73513d97e9937e0 100644
--- a/core/modules/automated_cron/tests/src/Functional/GenericTest.php
+++ b/core/modules/automated_cron/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\automated_cron\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/ban/tests/src/Functional/GenericTest.php b/core/modules/ban/tests/src/Functional/GenericTest.php
index a1ca6003f25dffef155c422774def90083e6c961..cf59629d1729afa334d1bfdcda9fde48f08cb2cb 100644
--- a/core/modules/ban/tests/src/Functional/GenericTest.php
+++ b/core/modules/ban/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ban\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php b/core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
index aeed41b40e0bd3e7c1e737f5e3ac3359202c5bed..6c72b0dae8efb1371d09deec0c683e01b01f075c 100644
--- a/core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
+++ b/core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ban\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php b/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
index 00d962fbb079cecfb1ee0e30ba07bd1824670ff9..1d9f3fca3fd89bd063ff84bb3c44fa0a043dbe38 100644
--- a/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
+++ b/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\basic_auth\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/basic_auth/tests/src/Functional/GenericTest.php b/core/modules/basic_auth/tests/src/Functional/GenericTest.php
index 678d1bed159808c9442ad812f651f614d56d7d0d..4703d087dac822bd69eec823bbc29c9e8f7b566d 100644
--- a/core/modules/basic_auth/tests/src/Functional/GenericTest.php
+++ b/core/modules/basic_auth/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\basic_auth\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php b/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
index 6894c88a7cc58580b35c71ccffb8a7abd3b438d5..59681f05c063fde352c910c755ca7cfc12892810 100644
--- a/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
+++ b/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\big_pipe\Functional;
 
 use Behat\Mink\Element\NodeElement;
diff --git a/core/modules/big_pipe/tests/src/Functional/GenericTest.php b/core/modules/big_pipe/tests/src/Functional/GenericTest.php
index 7b5aed9267635a737e46f261ba016f00762db70a..5032fcab2fc154e0f6679cdf772642888cd29f49 100644
--- a/core/modules/big_pipe/tests/src/Functional/GenericTest.php
+++ b/core/modules/big_pipe/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\big_pipe\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php b/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php
index f78b1404d7104b6d18217a0aef244bd82a415e61..e31158bc508280c17eee92df03837af84059cc28 100644
--- a/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php
+++ b/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/block/tests/src/Functional/BlockAdminThemeTest.php b/core/modules/block/tests/src/Functional/BlockAdminThemeTest.php
index 8559be7079ed303b407ffa70abf2dc6673a2f99d..3f250d96a23571d56d72d7f7599935d0dd102595 100644
--- a/core/modules/block/tests/src/Functional/BlockAdminThemeTest.php
+++ b/core/modules/block/tests/src/Functional/BlockAdminThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockCacheTest.php b/core/modules/block/tests/src/Functional/BlockCacheTest.php
index 68c0c0a108184e0e72c7256671b9a339f3d0581c..3a56d554096c03e5e6246c0ea64893e1cfd0df1b 100644
--- a/core/modules/block/tests/src/Functional/BlockCacheTest.php
+++ b/core/modules/block/tests/src/Functional/BlockCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/block/tests/src/Functional/BlockDemoTest.php b/core/modules/block/tests/src/Functional/BlockDemoTest.php
index d9d1f519fbf24259b683324aedf46a82b0095b05..0b06daf0ebc534c1d34cc5747e1bdb0409e55a3b 100644
--- a/core/modules/block/tests/src/Functional/BlockDemoTest.php
+++ b/core/modules/block/tests/src/Functional/BlockDemoTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php b/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
index 94b3bccc337e6954382d7edd0673e6608db69de1..7077279e8924f56afb004a0ea7b386404c43d3f9 100644
--- a/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
+++ b/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php b/core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
index 7f5906be7d784cb931021574264bc83651eca49d..f90bf01419a8e0180c764e64d734979b3345cc4e 100644
--- a/core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
+++ b/core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockHookOperationTest.php b/core/modules/block/tests/src/Functional/BlockHookOperationTest.php
index 925544415d5fa7013d404246c99eb3bcac4eee68..53076f65eef1daae2fa6e41bed5b1c422697b536 100644
--- a/core/modules/block/tests/src/Functional/BlockHookOperationTest.php
+++ b/core/modules/block/tests/src/Functional/BlockHookOperationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockHtmlTest.php b/core/modules/block/tests/src/Functional/BlockHtmlTest.php
index 07af38369050c5b55bcc9df537c5d25234ac8828..6dc6853500c07e551b444d213bc501e3357fd41b 100644
--- a/core/modules/block/tests/src/Functional/BlockHtmlTest.php
+++ b/core/modules/block/tests/src/Functional/BlockHtmlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockInstallTest.php b/core/modules/block/tests/src/Functional/BlockInstallTest.php
index 32b6855a1dab042f2b4f0ae043e4b8e1b35b1fbe..6897526c86d32001ca789db427b87800b4c7a237 100644
--- a/core/modules/block/tests/src/Functional/BlockInstallTest.php
+++ b/core/modules/block/tests/src/Functional/BlockInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php b/core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
index 9a0052b07a2f383bb0082b2ddd26e2543dbf5e16..a111dacc75fe465dca3552a11df29f349acf4b5c 100644
--- a/core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
+++ b/core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php b/core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
index 9bfd99dd7c4b72fba69d4184006ffa369b004f58..b728d0732359be2e9571e5e35ca4a1c05808ed11 100644
--- a/core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
+++ b/core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/block/tests/src/Functional/BlockLanguageTest.php b/core/modules/block/tests/src/Functional/BlockLanguageTest.php
index cd558073852bcbb42d1913bd8a95130c18aca81f..173d939e76709c892ba6d04f96b8f5e5c7cd8366 100644
--- a/core/modules/block/tests/src/Functional/BlockLanguageTest.php
+++ b/core/modules/block/tests/src/Functional/BlockLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/BlockRenderOrderTest.php b/core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
index 455aa6ca57787fd4802d23887b5424e1f5de957f..1fb9a6fbe59f83671d3c869b2d3e87079f35972e 100644
--- a/core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
+++ b/core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php b/core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php
index e7cdbb6ab7df0159360d62de4f3cfbcd91d13411..a0bed0cf80df6f3958f0cd46afdeaffd3d0cd309 100644
--- a/core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php
+++ b/core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 /**
diff --git a/core/modules/block/tests/src/Functional/BlockTest.php b/core/modules/block/tests/src/Functional/BlockTest.php
index a71259ee32003098978ad4f14dfdcb84b26ca5c6..1861c39d1f556e75fda3fb26c74b7db246f1e3a7 100644
--- a/core/modules/block/tests/src/Functional/BlockTest.php
+++ b/core/modules/block/tests/src/Functional/BlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/block/tests/src/Functional/BlockTestBase.php b/core/modules/block/tests/src/Functional/BlockTestBase.php
index 04b7c91e2a29e8ed95622cb88ae94f8e5581e4c5..f6a9b1a6d2ebc6a5d43f23679112be138c41d6cb 100644
--- a/core/modules/block/tests/src/Functional/BlockTestBase.php
+++ b/core/modules/block/tests/src/Functional/BlockTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/block/tests/src/Functional/BlockUiTest.php b/core/modules/block/tests/src/Functional/BlockUiTest.php
index 0c63eb8816683259c3590f6a277e461255a1b833..4956abd2c6f6d7302ac8cd664968ff1282abba95 100644
--- a/core/modules/block/tests/src/Functional/BlockUiTest.php
+++ b/core/modules/block/tests/src/Functional/BlockUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/block/tests/src/Functional/BlockXssTest.php b/core/modules/block/tests/src/Functional/BlockXssTest.php
index 518b3c9b34cb042ac97d39752a8cf09c3f8b1639..dc95fea4d08f5aa95f1ab611c7bb2824dc1c94ae 100644
--- a/core/modules/block/tests/src/Functional/BlockXssTest.php
+++ b/core/modules/block/tests/src/Functional/BlockXssTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block/tests/src/Functional/GenericTest.php b/core/modules/block/tests/src/Functional/GenericTest.php
index f69d0caed3a5fa3fb1271cd54a972d16e33c642e..94eaccaa5d2c34b34c702738e0dcafca62af89fc 100644
--- a/core/modules/block/tests/src/Functional/GenericTest.php
+++ b/core/modules/block/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php b/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
index dac5331fa1ef285f323d424b035594fd7137e277..51208f05cf3b1e211e709ead829df091f563b212 100644
--- a/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
+++ b/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php b/core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php
index 8ba0217fed04399d5511d9b23cb456a2dc13853d..05c8260ff971bf19ef28ed5e653d000b3c2b3ab7 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php b/core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php
index dfb473a8e7ed94a20f7585418ed8aaddedc9ddbc..7f699a2dfe7e37fc185f4fee8828f2270b3db2e2 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php b/core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php
index c90d98deceeef1347d135f233c00e78c6802887b..cd9a63b34ec3708ee4ef01ef9f77ad1d11ce85c6 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php b/core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
index 47ef41b446eb460cea8ed94cda6116a83f616a46..22bfc18814455d63ad843d627d880858145c0146 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php b/core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php
index b761a6bf038510d1da07132cd0cdfa0baf046694..efda685c4dd03b73896efa27c8f94b9a28e06688 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php b/core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php
index e3c6ce03eb78bfcd18e3f6e310256d77ccffeb06..f2d03436e6e02f3cc9f77136c6dd2ecbceefce73 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php b/core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php
index f9d554e3736e969c9f08ae3007682dc153fa9518..b271b3703ac88e06b037c84f2104bd6b37d0f660 100644
--- a/core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php
+++ b/core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php b/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
index 67f4500c5a08057987bfb21b33d074274a025695..71f0a6d23b87579ec050f461e73835ed020fbd1a 100644
--- a/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
+++ b/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block\Functional\Views;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php b/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
index aa51c958141298db08c412dfb4e57c8c9726d623..931241c56b92bd5f803280398ec52e3d137aaf01 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php b/core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php
index 16e147d99cb5a9ad4b171b803de7bb3f588800aa..75759b2c171e51f51fd9d7b96634218dd10ce418 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 /**
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
index 71eb497607fbc82fe6d74f0903ddbdafd4b6293f..1e57d1e39bea16d151dc59a63f99ba3b3ceaadc0 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentListTest.php b/core/modules/block_content/tests/src/Functional/BlockContentListTest.php
index c455264749c7b55927e3c8208dfa18eac8d142cb..c18b40352be88bc49ce7b496d70b5e9bb82ba204 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentListTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentListTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php b/core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php
index 322bfdd5e64f8dea93942f2ae60a552e5afa90e4..666a8e5fcddc0db94975a6d71680b14a438c83e7 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php b/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
index 53ba2eff6c5494a0f5fc6d5528dc5217aa587cec..87c59d6e0ae65b0400881e94691cd6daa9edb716 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 /**
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php b/core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php
index 434c4eefa1e8c60705c09f5ca39ce34ac6d2180c..e271f842955190bea2f067aa8f72b7498b2d844c 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 /**
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php b/core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php
index 3cde92c4c104a15f9bc11a7ed1ded81e60b36e83..61ff65322ffaa16e78f31c78fd12e12b0f04e016 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php
@@ -1,6 +1,6 @@
 <?php
 
-declare(strict_types = 1);
+declare(strict_types=1);
 
 namespace Drupal\Tests\block_content\Functional;
 
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php b/core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php
index 0cdddcefe90d5049275e39a18556b8e290f1f991..8b6732fe9b15d497653dcd279d1168f5e4f4a4d6 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php
@@ -1,6 +1,6 @@
 <?php
 
-declare(strict_types = 1);
+declare(strict_types=1);
 
 namespace Drupal\Tests\block_content\Functional;
 
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentRevisionVersionHistoryTest.php b/core/modules/block_content/tests/src/Functional/BlockContentRevisionVersionHistoryTest.php
index dd3fad4aac5d9966ac14690cf57bb203742c3de9..a3239c820026ba7206856e4cbe8e840e765b3e7a 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentRevisionVersionHistoryTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentRevisionVersionHistoryTest.php
@@ -1,6 +1,6 @@
 <?php
 
-declare(strict_types = 1);
+declare(strict_types=1);
 
 namespace Drupal\Tests\block_content\Functional;
 
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php b/core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php
index f0945995136d24540dbabead58e3670a05fe9c72..756ebbb8c2d098d34bad19064d6221c5aecbdf87 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php b/core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php
index da58ed46309effe57065516b5a0f364a55f50527..cedd793d81af4cbe12be2939648c1f67fba46a52 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentTestBase.php b/core/modules/block_content/tests/src/Functional/BlockContentTestBase.php
index 17e5a223472e0e6896bf291716fe3e74572a03ce..7fa522e2c32c76d3880b23af12791a32885537b2 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentTestBase.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php b/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
index 1b24d5c02e311f88b0960605b4b45d03d7beac7e..c023f4a541a1efba88496527d576ece8a81fd581 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php b/core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
index 741eadfe3ff5fea5fa00e5d7548120cde6d20aa7..1881608ea79b5a768f3602832d3b8d907d18a57f 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/block_content/tests/src/Functional/GenericTest.php b/core/modules/block_content/tests/src/Functional/GenericTest.php
index 29c93a1708ea5bd294a9d37e528a53c34256a998..b13ce02680569a4e882aace0acde70e6b050fde8 100644
--- a/core/modules/block_content/tests/src/Functional/GenericTest.php
+++ b/core/modules/block_content/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/block_content/tests/src/Functional/PageEditTest.php b/core/modules/block_content/tests/src/Functional/PageEditTest.php
index b45452b03dcf039c48ca1eb822b13c094b0191b6..6301ce26ca4adfc4b4e3b86056067c0cb48e347e 100644
--- a/core/modules/block_content/tests/src/Functional/PageEditTest.php
+++ b/core/modules/block_content/tests/src/Functional/PageEditTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonAnonTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonAnonTest.php
index 31a60f1f591dc7dba3ab14da61ec74c38f100c6e..d20f21de2e4a508ba3075f36b5367ab8f35375f2 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonAnonTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonBasicAuthTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonBasicAuthTest.php
index 95ef367a1e680a5086d7193c579306949e155c4b..d785404f3706a3ae64b477741a5f30f8b992b7fc 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonBasicAuthTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php
index c4eaf0742f781722a1bd11c8461e7a3696bc2360..ff5acfb7b3fdf3be7bb94a6af026ee28e7f5c779 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
index 659d0352062728f39efbf99d8062769cd5c67110..f3af50a1f58c12fbf29fd1e5f09c334e5c558391 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonAnonTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonAnonTest.php
index 244e43889acdab5abc168251fdf39501145f3f37..7b327977b8d9a3de0f26684daf4dde63e2474ee8 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonAnonTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonBasicAuthTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonBasicAuthTest.php
index 68598eb9ea5845429cd7c56d63d5ad1222a67931..3599fd6c60e29c3338e8a4309af011ad93cb9382 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonBasicAuthTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonCookieTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonCookieTest.php
index 7746171cd44e3905a2bb78297ca2cb9b736ee527..48e76bb20a40bbb7f7692e80eb8626f61d08ea58 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonCookieTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php
index 1122282c9339d664afbac96cc5c06b579bc7a76c..ef58304fe1f96e7dcda86fbcc544f6a1d736619c 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlAnonTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlAnonTest.php
index cade87714a0177e53d2a4e8abe3095233b8efc05..ef5687dbb89aaf58c167968f4c130ffa300b6aaa 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlAnonTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlBasicAuthTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlBasicAuthTest.php
index d66ea07eb834dbf197123d0981804305164c15e5..f44338354e003f0fba95086ed9a9997deb843cae 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlBasicAuthTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlCookieTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlCookieTest.php
index bee3ed83d4d5c9922e3e8fd61c36770972e263f3..a5acbaea75aa783baa1602b1e2a64fe9c0528610 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlCookieTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlAnonTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlAnonTest.php
index d32cb121786bc17aa6f4a10e9a91f20e630079fb..610f73b2685892e078d2e94f0aee84bcdb8a1cca 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlAnonTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlBasicAuthTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlBasicAuthTest.php
index a25108d59fbcefa0f36686a0f4d405d14ce118b5..6cb43d15fcb0e73c5ddf1eb588666ee008353e70 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlBasicAuthTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlCookieTest.php b/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlCookieTest.php
index ff39556b1163b769acf0f5aadf2b3639c2dddd63..2f738ea840c7f1a111d38501df1fb40fdf01adde 100644
--- a/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlCookieTest.php
+++ b/core/modules/block_content/tests/src/Functional/Rest/BlockContentXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php b/core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php
index 2438d0f1442eee60051f8962468f04549e39f9ae..9d7b50dea1413a6ba5d6e630c3133972b89894fd 100644
--- a/core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php
+++ b/core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php b/core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
index fd1d7f031d7c348a5dd95388861562da97be89fe..7a55e409ec5042aabfb969d21d7adca0b6611353 100644
--- a/core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
+++ b/core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php b/core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php
index 2f50e34a2b660d9d28016af3e44216066c5074c9..f97d07fe582dbc47d1a3882c12cd87050b3eefb2 100644
--- a/core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php
+++ b/core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Update;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php b/core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php
index 438df9675677ee192dad809a844cd8a04347d55e..4fa00b2f0f920f3b1cf02883edd7baecdaf343a6 100644
--- a/core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php
+++ b/core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Update;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/block_content/tests/src/Functional/Views/BlockContentFieldFilterTest.php b/core/modules/block_content/tests/src/Functional/Views/BlockContentFieldFilterTest.php
index 9cc7c988b777e9452f2e800781ff98e41932015d..de54116e1fc2e08b2f7caa21792dcc50e3408d74 100644
--- a/core/modules/block_content/tests/src/Functional/Views/BlockContentFieldFilterTest.php
+++ b/core/modules/block_content/tests/src/Functional/Views/BlockContentFieldFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Views;
 
 use Drupal\field\Entity\FieldStorageConfig;
diff --git a/core/modules/block_content/tests/src/Functional/Views/BlockContentIntegrationTest.php b/core/modules/block_content/tests/src/Functional/Views/BlockContentIntegrationTest.php
index f47660906dada4e756b3e7605224da4c2ee108bf..832e3ab65e670c178eda3d1955cf241d956a7948 100644
--- a/core/modules/block_content/tests/src/Functional/Views/BlockContentIntegrationTest.php
+++ b/core/modules/block_content/tests/src/Functional/Views/BlockContentIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Views;
 
 /**
diff --git a/core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php b/core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php
index 2cf1a5321ca73c117480dcc0e2c8aa73fdb13cc6..3708785da94201ca4e6f3cd12c5ecd3dc260ca76 100644
--- a/core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php
+++ b/core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Views;
 
 /**
diff --git a/core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php b/core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php
index 13b17ff4ef4c3bc5e3395e347cd8c5f3863cc8d4..7b078ee4f3232fb643a3bb1f9dfa33b35834586f 100644
--- a/core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php
+++ b/core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Views;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php b/core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php
index de68b2aeb291ebf73ac616d3a4005f57c63982e6..d3088b02f8a6b147757d203353af0451adba7fdd 100644
--- a/core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php
+++ b/core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\block_content\Functional\Views;
 
 use Drupal\Tests\block_content\Functional\BlockContentTestBase;
diff --git a/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php b/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
index a00acfa773bec7209cefe12013ffc3b434b9616c..8ef41fa2f49341a0e1783911065dd1894a8183e5 100644
--- a/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
+++ b/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/book/tests/src/Functional/BookContentModerationTest.php b/core/modules/book/tests/src/Functional/BookContentModerationTest.php
index 14898777d91ea52aa2630f6775a2251dc08b1530..d828646b246bc981c76d96d875c2eed4e3bcf97d 100644
--- a/core/modules/book/tests/src/Functional/BookContentModerationTest.php
+++ b/core/modules/book/tests/src/Functional/BookContentModerationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/book/tests/src/Functional/BookTest.php b/core/modules/book/tests/src/Functional/BookTest.php
index ffbc1ec1b41e33c62d95c5b6a6e67fdf0da7e046..804a5d3436a22e60d0f97fa78fffd57c306aa63e 100644
--- a/core/modules/book/tests/src/Functional/BookTest.php
+++ b/core/modules/book/tests/src/Functional/BookTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/book/tests/src/Functional/BookTestTrait.php b/core/modules/book/tests/src/Functional/BookTestTrait.php
index 4488476f8bde4ea81ee9d21feb64054dd8f23755..754f29bed9787f509c403b709f3901f588f644cc 100644
--- a/core/modules/book/tests/src/Functional/BookTestTrait.php
+++ b/core/modules/book/tests/src/Functional/BookTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/book/tests/src/Functional/Comment/CommentBookTest.php b/core/modules/book/tests/src/Functional/Comment/CommentBookTest.php
index 3ee6ff8ffdabf0301a1e479bdfbabb502eca9d84..f16b7ce27c6b26e1b2e7274fb50e97bdbfd3bcb7 100644
--- a/core/modules/book/tests/src/Functional/Comment/CommentBookTest.php
+++ b/core/modules/book/tests/src/Functional/Comment/CommentBookTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional\Comment;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/book/tests/src/Functional/GenericTest.php b/core/modules/book/tests/src/Functional/GenericTest.php
index 9d88fcb4a9acfc635dc4cf2d56ae83ac5af5c96f..ea31be5dd092d6b0dc0378b3d486c86ff23382f7 100644
--- a/core/modules/book/tests/src/Functional/GenericTest.php
+++ b/core/modules/book/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/book/tests/src/Functional/Migrate/d6/ReviewPageTest.php b/core/modules/book/tests/src/Functional/Migrate/d6/ReviewPageTest.php
index 496a1544616d2221a51f8e0381dc61334e1adda3..41598a9b4aa16978261a876c073845a72fc48d38 100644
--- a/core/modules/book/tests/src/Functional/Migrate/d6/ReviewPageTest.php
+++ b/core/modules/book/tests/src/Functional/Migrate/d6/ReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional\Migrate\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/book/tests/src/Functional/Migrate/d7/ReviewPageTest.php b/core/modules/book/tests/src/Functional/Migrate/d7/ReviewPageTest.php
index 31ed093c320919e4f9a557bafba0c83c0aefb9d6..674a616bcbd2af28309efcedfe6610cf9b4258a2 100644
--- a/core/modules/book/tests/src/Functional/Migrate/d7/ReviewPageTest.php
+++ b/core/modules/book/tests/src/Functional/Migrate/d7/ReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional\Migrate\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/book/tests/src/Functional/Views/BookRelationshipTest.php b/core/modules/book/tests/src/Functional/Views/BookRelationshipTest.php
index 1cae2531a6fa6a90976d0e52aaf9c5adc3503ea6..1120018faea9b0921e20b0c132bd52c36e522af1 100644
--- a/core/modules/book/tests/src/Functional/Views/BookRelationshipTest.php
+++ b/core/modules/book/tests/src/Functional/Views/BookRelationshipTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\book\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/breakpoint/tests/src/Functional/GenericTest.php b/core/modules/breakpoint/tests/src/Functional/GenericTest.php
index 355a09d550d5ddaa54f0017515d635e2edb035a3..2fb6889bcd86278011764b8da2f3ae6e6268e41b 100644
--- a/core/modules/breakpoint/tests/src/Functional/GenericTest.php
+++ b/core/modules/breakpoint/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\breakpoint\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php b/core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php
index 3ae291c2c2d52ffeedef3730d56dd2546b385429..10da3a628ff8feede2b8948d370615a0b98947b7 100644
--- a/core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional;
 
 use Drupal\ckeditor5\Plugin\Editor\CKEditor5;
diff --git a/core/modules/ckeditor5/tests/src/Functional/GenericTest.php b/core/modules/ckeditor5/tests/src/Functional/GenericTest.php
index 7e58cd064f3d2e074a308cb6643db505af888def..d7ccf5fccbde72a2a1a677d80c454799267546b0 100644
--- a/core/modules/ckeditor5/tests/src/Functional/GenericTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/ckeditor5/tests/src/Functional/ImageUploadAccessTest.php b/core/modules/ckeditor5/tests/src/Functional/ImageUploadAccessTest.php
index ba239cc17fa7340b133930bac2ddb4257fa49d07..de8bb0e6578f60f8d2863093d2d675583703cbc8 100644
--- a/core/modules/ckeditor5/tests/src/Functional/ImageUploadAccessTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/ImageUploadAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php b/core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php
index 63834751f3b1c2bbba0152a18ecd731abcdb6e74..44e55cc22765e9f38b3a16d86a2b4e48c2a0210d 100644
--- a/core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php b/core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
index 55477af0db211b22e85b61e6accac912d72ceec0..8df587a4373f2e54f6e0f54f13652330f59773e1 100644
--- a/core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional;
 
 use Drupal\ckeditor5\Plugin\Editor\CKEditor5;
diff --git a/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php b/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php
index 9bf6f3340399ec13366b52c9837448f58194c831..245bf5b5907affe29929db31065918211a44e852 100644
--- a/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional\Update;
 
 use Drupal\editor\Entity\Editor;
diff --git a/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateImageToolbarItemTest.php b/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateImageToolbarItemTest.php
index 5c950c0af964058299ed3431cae982edeffcbf84..483ebd6bf2bb1b99c4720e527aae7113aa961277 100644
--- a/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateImageToolbarItemTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateImageToolbarItemTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional\Update;
 
 use Drupal\ckeditor5\HTMLRestrictions;
diff --git a/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php b/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php
index cb851d61af1e3835d20782cced32938cf6a3c82f..1c0f91e177104956aaa02f2a53382df3fbe9e942 100644
--- a/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php
+++ b/core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\ckeditor5\Functional\Update;
 
 use Drupal\editor\Entity\Editor;
diff --git a/core/modules/comment/tests/src/Functional/CommentAccessTest.php b/core/modules/comment/tests/src/Functional/CommentAccessTest.php
index 004675479c81400fe10c229aa99b6ae4376b0f65..df6f41d9091fd2187b9c056163128f70f30cf930 100644
--- a/core/modules/comment/tests/src/Functional/CommentAccessTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/comment/tests/src/Functional/CommentAdminTest.php b/core/modules/comment/tests/src/Functional/CommentAdminTest.php
index fdfbdb507b5157d8ee49081263c42c29cef7b3d3..ce220b6d12017a15966a04f13a285fdc120a37cb 100644
--- a/core/modules/comment/tests/src/Functional/CommentAdminTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php b/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
index 615d0fcfa1bc112182281db2585d9a4972b6ad5a..529018cb4ff1278abc3a216d628c25e58b822b95 100644
--- a/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentBlockTest.php b/core/modules/comment/tests/src/Functional/CommentBlockTest.php
index 5a8dc9f9a8699675ec6f7a9963ddad7d45f681ac..c1565fdfe01e35d23bcb6a3f0c4e916887f00ec4 100644
--- a/core/modules/comment/tests/src/Functional/CommentBlockTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\user\RoleInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentCSSTest.php b/core/modules/comment/tests/src/Functional/CommentCSSTest.php
index 5ad9c93248be2fce55ec2814c39814361d6fd3e5..645e075b9c8543cbe2069f2a17df63d59f8da183 100644
--- a/core/modules/comment/tests/src/Functional/CommentCSSTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentCSSTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php b/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
index 6d5ecc9094aea0474b13bfa6262af315a16263b8..5298c194aec6511d14e5611d1e203cdd9167e090 100644
--- a/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php b/core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php
index 958a2d381d5fc53ce86f6b13b281c76619ac099e..c84c4d205333831aba7fc74ee0d668a8db052dba 100644
--- a/core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php b/core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php
index 6a796f83785fa359f63a0d2eae5749f33841c801..1b328e924aa42b34a8ebc5c0a625b4cbf4b0a51f 100644
--- a/core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/comment/tests/src/Functional/CommentEntityTest.php b/core/modules/comment/tests/src/Functional/CommentEntityTest.php
index 984f1fe454d37d37ed239f455bef4ed0bb187969..a783eee9a55c14eb7b9946c060a5d2eb4a8414f0 100644
--- a/core/modules/comment/tests/src/Functional/CommentEntityTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Entity\CommentType;
diff --git a/core/modules/comment/tests/src/Functional/CommentFieldsTest.php b/core/modules/comment/tests/src/Functional/CommentFieldsTest.php
index 23b9a5feafc026cd46c0ed15e558d38dab59e4fe..3e41b977774ea0adfdb94e8fe450624e7036ca57 100644
--- a/core/modules/comment/tests/src/Functional/CommentFieldsTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php b/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
index dfc8a21dc8fbebf674db117ed5d3da97a1878547..48477dffccfc731c75c6e733021701ef0410bdf8 100644
--- a/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/comment/tests/src/Functional/CommentLanguageTest.php b/core/modules/comment/tests/src/Functional/CommentLanguageTest.php
index 87d637e7707157dd516cdfccbf621e5e8ca0182d..e098ea3f340f638e110f66a64c0c3c4fb38031d6 100644
--- a/core/modules/comment/tests/src/Functional/CommentLanguageTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php b/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
index ba65e98dcca30add6000e0bc43c20030d254368a..aeb6c015863b18bca1da28ef1189108068161ce0 100644
--- a/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/CommentLinksTest.php b/core/modules/comment/tests/src/Functional/CommentLinksTest.php
index 97209f68189426b576ac2b0918f7f133f054883b..bb2b0c36b2481db7849539dd8f2e11aebbe5fd7d 100644
--- a/core/modules/comment/tests/src/Functional/CommentLinksTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php b/core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php
index a0e6e543ec5a060211ae3a66ebddbb1aea1094ee..88a91176ad9b90f8ba7f6a3f61aa362ef2533699 100644
--- a/core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php b/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
index 093f6cd06c90950a6da26c13aa88de6148f826bd..fa89d9bb86952970fcd8dcc3870d1498296309ac 100644
--- a/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentManagerInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php b/core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php
index 349d838d89d7b74fbdf50be593dc06355882fd62..bc76ae97a878cb6b49610a7bb3aac13995d9ef1d 100644
--- a/core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php b/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
index 58367b34190b4b305a4bf4500bc65598ffd9d44b..4b74458f8ee027e6722dbba7d82535ab16c33287 100644
--- a/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentPagerTest.php b/core/modules/comment/tests/src/Functional/CommentPagerTest.php
index 75521d6cb77ac14ac1ba153fd8bc2003faea8086..3d1b927cb458389dd4690eb7c193b4456b5cd6cf 100644
--- a/core/modules/comment/tests/src/Functional/CommentPagerTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentPagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentManagerInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentPreviewTest.php b/core/modules/comment/tests/src/Functional/CommentPreviewTest.php
index 8da3fe26664d3500b45e5c4f4579723e17ca86c4..287b7710bc47307760b8a6bb74be80b8083ca4ff 100644
--- a/core/modules/comment/tests/src/Functional/CommentPreviewTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentPreviewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentManagerInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentRssTest.php b/core/modules/comment/tests/src/Functional/CommentRssTest.php
index 3f2a244ac17848093ff9ea291b7325b6dd0845a0..d0f84215a30701b043643d5a31d2245bf303bc53 100644
--- a/core/modules/comment/tests/src/Functional/CommentRssTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentRssTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentStatisticsTest.php b/core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
index 5d7a3e6cb8d543b818aaae2822434952ca89e5ea..e124337219369a6244efa64bdae1142da7cbe8cd 100644
--- a/core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php b/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
index cddb174fed9eebd6f3fb4bbd2f6a07dbb8c5e01d..9a654e7316c4b8ec8e12c5b616daf2ea843522b4 100644
--- a/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/CommentTestBase.php b/core/modules/comment/tests/src/Functional/CommentTestBase.php
index b98cdc13639a45ebdaaaa62e9390ee20b72df964..8f47b6418e397cb82e864022c6591265ed587d1d 100644
--- a/core/modules/comment/tests/src/Functional/CommentTestBase.php
+++ b/core/modules/comment/tests/src/Functional/CommentTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/comment/tests/src/Functional/CommentThreadingTest.php b/core/modules/comment/tests/src/Functional/CommentThreadingTest.php
index 08ced21dc42fed61bf382e0e71e2df07c7723772..12eb2b149747a4fc28d8e24e4bc00a759faa8489 100644
--- a/core/modules/comment/tests/src/Functional/CommentThreadingTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentThreadingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\CommentManagerInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentTitleTest.php b/core/modules/comment/tests/src/Functional/CommentTitleTest.php
index 5f94a88e9a258f4c6374ca26bcfa3208192233e9..644aadb9641002c2425b3a6419075ffab6b0f082 100644
--- a/core/modules/comment/tests/src/Functional/CommentTitleTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentTitleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php b/core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
index 40a6484ebb7fbac9f672c29e4bfd2e3f2917a7e4..76a28ce954fba70c8e82542159849aec3f161a6e 100644
--- a/core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentTranslationUITest.php b/core/modules/comment/tests/src/Functional/CommentTranslationUITest.php
index 202fd64ace55e9b325556360e1a73531180265ea..7cfb47da61c00b2fdcb5e07e269c0ee9220e8ad9 100644
--- a/core/modules/comment/tests/src/Functional/CommentTranslationUITest.php
+++ b/core/modules/comment/tests/src/Functional/CommentTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/comment/tests/src/Functional/CommentTypeTest.php b/core/modules/comment/tests/src/Functional/CommentTypeTest.php
index f5a9b72f25717f31a659e8dbb5721aba21a7274d..1eb95ea4f58432a26ed9d1e69c239aa6c3cc7f3d 100644
--- a/core/modules/comment/tests/src/Functional/CommentTypeTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/comment/tests/src/Functional/GenericTest.php b/core/modules/comment/tests/src/Functional/GenericTest.php
index f6dc8a08545d271574db583a53bf2c2f2e452f62..d53b96476f26f1438d33496de1c729de9ce3201d 100644
--- a/core/modules/comment/tests/src/Functional/GenericTest.php
+++ b/core/modules/comment/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentJsonAnonTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentJsonAnonTest.php
index bacc9149c095ca982507dd4e433bae41442520d3..586ef41dda16c8679511b2d19eb28615a4e7281c 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentJsonAnonTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentJsonBasicAuthTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentJsonBasicAuthTest.php
index e83686afc7b1cb4dcf2c08cfd75ad14fced46afe..80b9606a680420c5f73c0bd1da371b6944eb8f74 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentJsonBasicAuthTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentJsonCookieTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentJsonCookieTest.php
index 5d40b6c6d1c45985f80ed98889b89a9b355f278e..27f40151ffbf350aca77852c6d4deeea59ba62da 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentJsonCookieTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php b/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
index f404d0e49e603fda5f83f9dff16f9ec8405dbbc5..5dd9abdd32dbb298b11a2a7315c52d6bd285a353 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonAnonTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonAnonTest.php
index fd7f14000d05eee0a537a352bace6634f18b6ed9..afb8f4162bbe8380f55e360dc4c588cce9b5f25c 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonAnonTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonBasicAuthTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonBasicAuthTest.php
index ba5485d696c94f11be7728b299531fb1d874f279..5d136ac5ffff31810d92350dc986b6c96b50878f 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonBasicAuthTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonCookieTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonCookieTest.php
index 4fe56f1d4fa1158ac98d24df2f41ae7327df0e0e..9c821e0c5eafb00b1c9644c389ea53087b27a0ef 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonCookieTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
index 7862f0cec0b1db048f43bc917b3d9570ebd15731..c1769a928c9ca7b8b3f6ff9d8105cae33c6a52e0 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\comment\Entity\CommentType;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlAnonTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlAnonTest.php
index fed57acaacbe150c1630f9e8e4e17275389615fd..0243bc3b6ff671823740392bde7df8f0e7f166f8 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlAnonTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlBasicAuthTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlBasicAuthTest.php
index 5b6462951450bd35d978fa9966ee15be4228803d..5dc7f77e5cb733f4ee382834aaff5254e6929542 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlBasicAuthTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlCookieTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlCookieTest.php
index fa16de1a45a47b93a442a6e78caea5ba426666c3..605ac3a6d201ddb36b8fd53f2494e6077bb84b20 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlCookieTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php
index 30027c55bef4c01077674f417673b21266c28d84..958364568173d05703d9ddfa671bae9b7ba17742 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php
index 7bd6a42a1e3b4e8dfcadcba7978df9a2830ddac0..cc62c590df4599a8c7657dd4139562403f9b553a 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentXmlCookieTest.php b/core/modules/comment/tests/src/Functional/Rest/CommentXmlCookieTest.php
index 7e3a6134e7d450c394991aecb58a7630a459efa8..44b6fc95030abc7b0b2e10a9c79ac5d4291d7e3c 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentXmlCookieTest.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php b/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
index 9a60790340f18d5a3fa1f837cee75885f2afea85..68124ab88023e60cf1b6212064bdcfbbff84fabb 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentApproveLinkTest.php b/core/modules/comment/tests/src/Functional/Views/CommentApproveLinkTest.php
index fe89d7598ab5f0abfd658c9f874837bdc1e2ecff..a5e7e65886a0cd0916511346bf070028b59ee14a 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentApproveLinkTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentApproveLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentEditTest.php b/core/modules/comment/tests/src/Functional/Views/CommentEditTest.php
index c19ff3514114f1bb02b10ea23ddc40e317fb0c70..b75da43e194aa220478175ceeafe2bf238b74410 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentEditTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentEditTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\Tests\comment\Functional\CommentTestBase as CommentBrowserTestBase;
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentFieldFilterTest.php b/core/modules/comment/tests/src/Functional/Views/CommentFieldFilterTest.php
index eb053087c603965726859106350e272e6c3eba05..63b84c45c57d4c7af811bbfad28b19822d8e0da6 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentFieldFilterTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentFieldFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php b/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php
index e357d2d368a78b5894656055a69c54beab5cc6a2..04a67d304a66c3e6b8893fe2fb4506c6c39c1940 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php b/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
index c3a9503dbe50d467763444905efb9c1ab3eb63e5..2011a8becb4936441ea099dbbf3569c24e659aa9 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentTestBase.php b/core/modules/comment/tests/src/Functional/Views/CommentTestBase.php
index 0a7ab1dfb6498f33670db8599c3e138efaee675e..4f9496bb96d2f995aaa97b6a437cb9e72b969092 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentTestBase.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Views/DefaultViewRecentCommentsTest.php b/core/modules/comment/tests/src/Functional/Views/DefaultViewRecentCommentsTest.php
index e55bd5e94212dd069f8b52a70e4966ce6e27fd90..fbf13cf3e6984cfcbf0bad9f961e74637ab6ddb7 100644
--- a/core/modules/comment/tests/src/Functional/Views/DefaultViewRecentCommentsTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/DefaultViewRecentCommentsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php b/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php
index 685fbf2203344bfcb1ed0eacd127b89bec71e924..56c80d658e89ab898a44432345b0ccb3791c13be 100644
--- a/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/Views/RowRssTest.php b/core/modules/comment/tests/src/Functional/Views/RowRssTest.php
index d21fc287b91721f5f140a90d72b00b732fc54cd4..a58f1cae5bfefd676d3791955aecdbf5012b3b5c 100644
--- a/core/modules/comment/tests/src/Functional/Views/RowRssTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/RowRssTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 /**
diff --git a/core/modules/comment/tests/src/Functional/Views/WizardTest.php b/core/modules/comment/tests/src/Functional/Views/WizardTest.php
index 5252f833050aabd66d3954223977b4b02702061e..12286a0a85b73965ecaf0edc707b99467f8a3b5c 100644
--- a/core/modules/comment/tests/src/Functional/Views/WizardTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/WizardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonAnonTest.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonAnonTest.php
index e284f9dad275e1cd9f02a20554bea5e53f60a026..a9ea77bf7fc64275ba8ead861cd5a6ca77a6e45a 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonAnonTest.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonBasicAuthTest.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonBasicAuthTest.php
index bd847b700eb951ba454a1321ea03c40bfd32560f..87bc11af2e54fa3bf812722b85307b54f98cabdb 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonBasicAuthTest.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonCookieTest.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonCookieTest.php
index 97efc5852a2259edc270b8eedab0c92b84120437..f17b186dd0fe6af8a8f68097b4055ce682291504 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonCookieTest.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
index 8f9751993383b38f636aec4415fb6c45f414acc8..542281cb7b7a26881a6085d5c01f78689c239437 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\config_test\Entity\ConfigTest;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlAnonTest.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlAnonTest.php
index 05c1341903fcb3c8b5c554397d07ad33d6ac9a23..86b077795ef02d70bb1d90b9921ba0487a0ed3f2 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlAnonTest.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlBasicAuthTest.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlBasicAuthTest.php
index 22019b9054d86ca04391697106e973003df477e3..6361a0c209c11693504ea32b699bb239ddc8bd34 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlBasicAuthTest.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlCookieTest.php b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlCookieTest.php
index 3be09e2e7843afb45aae8d1cbd8b13c7b2f65793..1f0dd61ccbf008db4e9c1b237c342f22276a00c6 100644
--- a/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlCookieTest.php
+++ b/core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php b/core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
index b2420f1e3836af4f70849e41f00ed025d9d803c3..3e1f74fe6b53b8ef6c52899d0a8b186da6ec9b92 100644
--- a/core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
+++ b/core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigDependencyWebTest.php b/core/modules/config/tests/src/Functional/ConfigDependencyWebTest.php
index 9007de192dfaf217b3f56ab2d7cb7d6b7a9e71a5..0be204b22b5f94a8ab4b1cdcc4dd71d3c73984b1 100644
--- a/core/modules/config/tests/src/Functional/ConfigDependencyWebTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigDependencyWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Config\Entity\ConfigEntityStorage;
diff --git a/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php b/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
index ef7bb084cfd44b5838ca50c1bcba2c08ad3ea889..50f1650c9dd53f0794a0c75c70fc277866b45459 100644
--- a/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityFormOverrideTest.php b/core/modules/config/tests/src/Functional/ConfigEntityFormOverrideTest.php
index bd2fcdece8f0a8b48e5b62b0e418eb98ec41e5f6..1cad82aaee0bda702dab2638e5686d8c6054ea6c 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityFormOverrideTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityFormOverrideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php b/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php
index a4419e08eb556356559e8ea870539a2c68f5a3cf..8c3cb03f2296707ef9c6b10ac66759f2a8685986 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityListTest.php b/core/modules/config/tests/src/Functional/ConfigEntityListTest.php
index 428eab6c7b1f366e309f9b167f5014ba492a0cce..8f618ba041a16a1504dc6e1bfdde1173442f000d 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityListTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityListTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityStatusUITest.php b/core/modules/config/tests/src/Functional/ConfigEntityStatusUITest.php
index b2bb975cce84eefbfb570575d73d6fe48fa71608..90f882199cd767c752552dfd0f0551cf2cd8e586 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityStatusUITest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityStatusUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityTest.php b/core/modules/config/tests/src/Functional/ConfigEntityTest.php
index 7f7c5e534f2a543e6b08a7ab72e9a2845402a04e..6a6057ac0d524c59ac1bba39d7971827ab6629d5 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/config/tests/src/Functional/ConfigExportImportUITest.php b/core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
index ee7ba633b644df89bebb06fbffd57406097c7595..a06d6256596b78cf6b6363d3b50fda849a644109 100644
--- a/core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
+++ b/core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Archiver\ArchiveTar;
diff --git a/core/modules/config/tests/src/Functional/ConfigExportUITest.php b/core/modules/config/tests/src/Functional/ConfigExportUITest.php
index 95d6ebdc0f32bc12ce957615bc1c40ee99c5bdc6..6a2cdc55bd723f72ff36e23c49f67c8634cfa92c 100644
--- a/core/modules/config/tests/src/Functional/ConfigExportUITest.php
+++ b/core/modules/config/tests/src/Functional/ConfigExportUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Archiver\Tar;
diff --git a/core/modules/config/tests/src/Functional/ConfigFormOverrideTest.php b/core/modules/config/tests/src/Functional/ConfigFormOverrideTest.php
index a7f71b6efa03df6272e087bb2c2ec34da63be050..273874c2c70475326be7922bb153aa87d630565e 100644
--- a/core/modules/config/tests/src/Functional/ConfigFormOverrideTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigFormOverrideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigImportAllTest.php b/core/modules/config/tests/src/Functional/ConfigImportAllTest.php
index 22ceebf89149f81311999ac18affcc7f8f779e47..581434e0e273a60a9274a661bc54640e07b25301 100644
--- a/core/modules/config/tests/src/Functional/ConfigImportAllTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigImportAllTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Config\StorageComparer;
diff --git a/core/modules/config/tests/src/Functional/ConfigImportInstallProfileTest.php b/core/modules/config/tests/src/Functional/ConfigImportInstallProfileTest.php
index 08115a4186cf381f57d35f7ea2bf63b8ed90a0d7..c3fac44ff29f1722afb7dbca772cae485752f9f6 100644
--- a/core/modules/config/tests/src/Functional/ConfigImportInstallProfileTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigImportInstallProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigImportUITest.php b/core/modules/config/tests/src/Functional/ConfigImportUITest.php
index d12ae23816f5f1ccf53d588ae0f4aa4b94016b3d..1215be7b4c9556c39a407c30a3642a4e3c8c5b82 100644
--- a/core/modules/config/tests/src/Functional/ConfigImportUITest.php
+++ b/core/modules/config/tests/src/Functional/ConfigImportUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Config\InstallStorage;
diff --git a/core/modules/config/tests/src/Functional/ConfigImportUploadTest.php b/core/modules/config/tests/src/Functional/ConfigImportUploadTest.php
index a7dca12e91dd58a62969208c6db7cd99bfbacf9e..81840bcdc9e6c2e7936921bac3f3b082267c5655 100644
--- a/core/modules/config/tests/src/Functional/ConfigImportUploadTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigImportUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Site\Settings;
diff --git a/core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php b/core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php
index 3e978b91dc6da1e6a881ad5601475666ebafbf50..bec8c297137c193939c421c3ba267487b972324b 100644
--- a/core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php b/core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
index dc5ace9423cc3833d74d9d37cc94ad4b8709de88..001cc527b212d6b5a1b4a93af8141aa236436570 100644
--- a/core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\FunctionalTests\Installer\InstallerTestBase;
diff --git a/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php b/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
index f38016541895a1be3ab5818dcdaeaecb7ab29afd..ec2b92ea0ffbf0acaf97faf8f2dba2898308de5f 100644
--- a/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\config_test\Entity\ConfigTest;
diff --git a/core/modules/config/tests/src/Functional/ConfigLanguageOverrideWebTest.php b/core/modules/config/tests/src/Functional/ConfigLanguageOverrideWebTest.php
index 48df2cdfb09c674bc041afb8575c044f191c45c5..eeff36568c789b4747c61a3c2c204d19e2216af4 100644
--- a/core/modules/config/tests/src/Functional/ConfigLanguageOverrideWebTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigLanguageOverrideWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php b/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php
index 215f5d24578bc8faeb3e25d7af1a14b93c715c65..621f48d7e635311a34c75377aebc41b8850c8fd0 100644
--- a/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/modules/config/tests/src/Functional/GenericTest.php b/core/modules/config/tests/src/Functional/GenericTest.php
index 97215c102339ec5032efd90cf028686546ba7f20..f679e272b923ae65ca1463519bcf5beb41bc3100 100644
--- a/core/modules/config/tests/src/Functional/GenericTest.php
+++ b/core/modules/config/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php b/core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php
index f38176999e0809188523080ba820b97f99a2e61d..305a6ba742466804c9b3814dddf657d8983299e2 100644
--- a/core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php
+++ b/core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php b/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php
index 4860f9e0a68ce13614b30e9227d062842c819d22..a8d8840d60820bb2b6b2282fde6311664fc8a078 100644
--- a/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php
+++ b/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Core\Config\Schema\SchemaIncompleteException;
diff --git a/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php b/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
index 392444b0a434cbe074f1cdc733ebf289ad83a7cf..cba8b6b429ed619fb162888a921848b50c5ee7ea 100644
--- a/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
+++ b/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php
index 440fa2f7f503a002b0002e6cacd32034e7f6d128..4c16afa7657fae7116abacaab61e808dea43f13a 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php
index 6e0dd4e3e30359dc1d578bf9d1addd7703bfea74..64ab57fe5d374a50bff48be3934294ee968168e2 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
index 0dfe8df79dd4c417f1f356fc725a75e80d7cfe77..23e9d1e6872b0af149f66a5fdd226a914e46ddad 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\FunctionalTests\Installer\InstallerTestBase;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
index f7d921ff4af902d4657cb7e0e6758345eed47d48..29d11d89fdf59706603c22f1240e66974cd4d0be 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php
index 223d34e8b621750b75f246e111e0318651a8c0cd..1854e19d562fd0f63d8ada9589140f04d236c9ca 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiModulesTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiModulesTest.php
index 6f5b25888a883ddd7031c11170cb0a67cace8ed6..a1b87b4673d195a7e477883b5ac8e5049f6da6de 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiModulesTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiModulesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiSiteInformationTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiSiteInformationTest.php
index 5dadb419f0bd4a2567b9c3e590cc980c91b2ec11..469bf3aab985d85ec66af9f839209c5ec8a1f8b9 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiSiteInformationTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiSiteInformationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 // cspell:ignore libellé
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
index 8873e09e18a8664d7e8acfac888e7f1632cd1984..936ecda1f1d9c59a84c8bad7c407ece9564eae01 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\Core\Language\Language;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php
index 4b25616a558d3220184a552a34c07dd33a05aa9b..fc1eaa3e422dab3667c17ee686192c290241927e 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\Core\Test\AssertMailTrait;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiThemeTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiThemeTest.php
index 0ebd70b7f4153594f24c69b38726d40fda4baa27..041954fb11b1fa3b2ef19719e534f2f090690182 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiThemeTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php
index 8483d8e883c72b3a10a16c73b4ce76f3f72f9aa7..35783204a072ee2c67bcdbbf464d67e2803949f1 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/config_translation/tests/src/Functional/GenericTest.php b/core/modules/config_translation/tests/src/Functional/GenericTest.php
index 9fbe71dcbe3b0d92c36365b38de74025891e58be..1104952efbdef36cc3964b03ab703cf639ac1c02 100644
--- a/core/modules/config_translation/tests/src/Functional/GenericTest.php
+++ b/core/modules/config_translation/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\config_translation\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/contact/tests/src/Functional/ContactLanguageTest.php b/core/modules/contact/tests/src/Functional/ContactLanguageTest.php
index fd8b7f22bdd62a4b55223cc4a183bc9edc03c0a5..54acd4eafcf776a9a474c37ba8dd74411ef3c797 100644
--- a/core/modules/contact/tests/src/Functional/ContactLanguageTest.php
+++ b/core/modules/contact/tests/src/Functional/ContactLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/contact/tests/src/Functional/ContactPersonalTest.php b/core/modules/contact/tests/src/Functional/ContactPersonalTest.php
index 4e85773341460766e265339482a886f6ebbf0030..658b016cef09be73bd75add0c2eecfa097f7607f 100644
--- a/core/modules/contact/tests/src/Functional/ContactPersonalTest.php
+++ b/core/modules/contact/tests/src/Functional/ContactPersonalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/contact/tests/src/Functional/ContactSitewideTest.php b/core/modules/contact/tests/src/Functional/ContactSitewideTest.php
index 93555b0bc09813e2637e803b9b3f5447fa9d0e8e..fa1c94abf216644bc2e5b7d44ffc2cff67500c49 100644
--- a/core/modules/contact/tests/src/Functional/ContactSitewideTest.php
+++ b/core/modules/contact/tests/src/Functional/ContactSitewideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/contact/tests/src/Functional/ContactStorageTest.php b/core/modules/contact/tests/src/Functional/ContactStorageTest.php
index a0937614cdaee3c89167f8065cdfd63f369c5b7f..bef5bfb9697f8ba24e852003402c364f288ec419 100644
--- a/core/modules/contact/tests/src/Functional/ContactStorageTest.php
+++ b/core/modules/contact/tests/src/Functional/ContactStorageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional;
 
 use Drupal\contact\Entity\Message;
diff --git a/core/modules/contact/tests/src/Functional/GenericTest.php b/core/modules/contact/tests/src/Functional/GenericTest.php
index 4e2be63a5255dbe1bc4c15dffbee7f159a04afc0..9963d3a11eed4538a84931eb8ada89ef206f44a1 100644
--- a/core/modules/contact/tests/src/Functional/GenericTest.php
+++ b/core/modules/contact/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonAnonTest.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonAnonTest.php
index 6f0eb31245907aaf5ec8144f27df6d89ffe60b19..0d107c2599963553c4929a72e132c4d80167117a 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonAnonTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonBasicAuthTest.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonBasicAuthTest.php
index af53106c09bfc4b38a977ca9c321a053c2e1a0d4..dbdff2e96a4c38bb73df0e668be3b44227593304 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonBasicAuthTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonCookieTest.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonCookieTest.php
index 076e370126a12043806ba75090275e1c6e839d9e..34645ff211379610e7774bb6c6d1a834a06f5c20 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonCookieTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php
index ea30b901251018f589f303252deb169de1797192..22eeb3631dfde5de71dc20072c9aeec46c7cd24e 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\contact\Entity\ContactForm;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
index f538af9192f26a06e253ce7cdff9d1dc7ceae80a..93a979169f38f24445805446438e0b82f9ff3475 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlBasicAuthTest.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlBasicAuthTest.php
index 2e17550a8f8883176623fb4743d6aa1b78014c1f..f7a69de6e2e593a4e811d902c160e8e8a5703c7f 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlBasicAuthTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlCookieTest.php b/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlCookieTest.php
index 3dde171d8188034112cd4bba196b2e7d3cda6e8e..2ca39ece2224ae810418f2b8c336617325dad2b5 100644
--- a/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlCookieTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/ContactFormXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageJsonAnonTest.php b/core/modules/contact/tests/src/Functional/Rest/MessageJsonAnonTest.php
index fbd0bee0916e8d02c12aca8e16d3da41c08bcbbc..f677e29418ce62f730d908470725bad01de3443b 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageJsonAnonTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageJsonBasicAuthTest.php b/core/modules/contact/tests/src/Functional/Rest/MessageJsonBasicAuthTest.php
index 53ec8bb7a58f725049eec6890aa7d6d651f39620..5836fa4d3c7196d0284f488ccc2253946ae2b5a2 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageJsonBasicAuthTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageJsonCookieTest.php b/core/modules/contact/tests/src/Functional/Rest/MessageJsonCookieTest.php
index e8fa8e8a312895cb4ae1a2e4932ba8e945a0b360..0e420f54db6cc5d584b534e039332244b6947d9e 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageJsonCookieTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php b/core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php
index 3e204cc4bdd5b6158623030f71c5bbdfc8222aaf..096f993db8f7b608f0a44f568f3760e3c226be5c 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\contact\Entity\ContactForm;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageXmlAnonTest.php b/core/modules/contact/tests/src/Functional/Rest/MessageXmlAnonTest.php
index 51b327fd628f8c22b81a7b8a97e31e0cf252e278..431a113f538133df8aba39165170bf00ee690a4c 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageXmlAnonTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageXmlBasicAuthTest.php b/core/modules/contact/tests/src/Functional/Rest/MessageXmlBasicAuthTest.php
index 41d417283ba406f4fbdd7effbeccde2f960802b8..6d2d0e46a85605d023b9678d6ced7412458ccaa3 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageXmlBasicAuthTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php b/core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php
index 6bc53fec53a4a8b65222847093100ae88c4dd32f..88a211aacf4cc0d299c5c82f872ac2faa74da973 100644
--- a/core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php
+++ b/core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php b/core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
index db814ba82268f55ce2de0326a2c802abaf1568c8..a08ff26bd1fc6980e138dc4222e8844c183b8f6a 100644
--- a/core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
+++ b/core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contact\Functional\Views;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/content_moderation/tests/src/Functional/ContentModerationAdminPathEntityConverterLanguageTest.php b/core/modules/content_moderation/tests/src/Functional/ContentModerationAdminPathEntityConverterLanguageTest.php
index 176fe93708ed4ab2be69399d6445c8e29e449f53..b9a4d68d412943129ef2389b93557aa88aeac564 100644
--- a/core/modules/content_moderation/tests/src/Functional/ContentModerationAdminPathEntityConverterLanguageTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ContentModerationAdminPathEntityConverterLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest;
diff --git a/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php b/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
index 0f0253404507542bf25d0d3aeddde66c85e31c66..198fbab8278528687ca84125c3fe753fff65eae9 100644
--- a/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php b/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
index b620f18aacf3dd5055eb35bfda57145cb8aaa20b..309526e7ec104e79bda48cd0b3927a13a9b13866 100644
--- a/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 /**
diff --git a/core/modules/content_moderation/tests/src/Functional/GenericTest.php b/core/modules/content_moderation/tests/src/Functional/GenericTest.php
index 25cf6df650e6b4176518cc86333af1d2cb36e9ad..77aa1dc22a8de55e09d4d899afd9d0cf244c588e 100644
--- a/core/modules/content_moderation/tests/src/Functional/GenericTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php b/core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php
index 35834e3bb35d535e613bcf4af6b3535eafc64c5c..075c9ac697eb39054c4239518c99d6303bac5b7f 100644
--- a/core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php b/core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php
index 7f1bd1acb5cb8b4ce4565e0799931e740faf5809..dfdb166f1b4f4b03019a899687abcd2b286f5505 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php b/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
index cf01a082a097cc751cebdf677f7f82106e0a2cdc..e829f0bb510c477905f8de480bb5af0657b8eb08 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
index 6efd560f2c885d5fb09168578de9971cd020e775..7cd22de0b518f723c302fb2947d0b8b2f26d1793 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php
index 24b150ece1b47543a993517726abaf2d762c4989..6f312c1dd689f78760feb5e6973e0c6dbf35838e 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
index c4b992ac196e245b8016284f652bd1d628fbca34..71dffde8e88b3286d321528c8d91fd1be5999cd2 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
index 8247c88be1117fea199d745a94c7de8279ae5066..e145c082fab20f268b6224a1bd702eff50db4b7f 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php
index 71a6925a43c79cecf283bc611463f818f8f08d22..b5d9026ef1d8cdc4751f554421aaa113a07adf14 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php
index 5651feddff1ac7b42decfc14f8c3a4a4edea05ae..0fe50084a508eac7ccfe387874153847e4bfc016 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php
index ea659e7fe751157932aa09679b0491ccf64cab01..f4d3bef5d2f57341e95888ec45a892c6169b76d9 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
index cdaeae93a4827a0c30a8821bc8cb3f7c6d27ba32..f5296310aad0304f55ddecedd509a6f60422ba1e 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
index 437242af15e3bf6cf8d8c0c2bf3f981c28fe8c87..4c12134eebf0e5db945845e8fd32fb4a2fa3c383 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 /**
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php
index 08b1ce971a660d75da058be17b38c3d56e3e18bd..f8221203c9629296af8c9f8bedeadbea106fec99 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Core\Session\AccountInterface;
diff --git a/core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php b/core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php
index fe4fe4bee68af885722ea42ff194d856306f5bf8..2cdb1144f3eda2eb9d51b1d74efc2a58951441a5 100644
--- a/core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\node\Entity\NodeType;
diff --git a/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php b/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
index 1f2e249efdb47c49630503afa3c97a5e6dab0a14..ab3948c61c29375008eaf19187a99820a7ee828a 100644
--- a/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\content_moderation\Traits\ContentModerationTestTrait;
diff --git a/core/modules/content_moderation/tests/src/Functional/WorkspaceContentModerationIntegrationTest.php b/core/modules/content_moderation/tests/src/Functional/WorkspaceContentModerationIntegrationTest.php
index 4a292e5f9c66e559548823aae82f673ecbb453b5..6e3be8786baccdc751a540dc5ef436c04fb7a027 100644
--- a/core/modules/content_moderation/tests/src/Functional/WorkspaceContentModerationIntegrationTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/WorkspaceContentModerationIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_moderation\Functional;
 
 use Drupal\Tests\workspaces\Functional\WorkspaceTestUtilities;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php b/core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php
index 520eca531f0194deb06c72f2e82a43e56ce56639..3e58a92211d5fd27303099a98db5dc629c63bf12 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 /**
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
index e0a3b339acb29d443a843bb6591959864827a479..b4c75b527433a3ac05953e529ef5f807a586e38f 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationDisableSettingTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationDisableSettingTest.php
index 33c45440af5916e8ee77f58e5b1ae0ea28f8a4b9..bafefceb99b24e3ff815cf6e49f5404c937b5fbc 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationDisableSettingTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationDisableSettingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationEnableTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationEnableTest.php
index 2990746f85d9c7d84a67b9cd0a4cfad1f9acfc92..e462a2a81b6823ad7b31a53fc6cd83a11bac1f4c 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationEnableTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationEnableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php
index 974f2d04a924d8f763920f2752df324749b39c3f..a41dc6fcaf99eab455247f1f2ef0874561b9ef58 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
index 386102b67561f64e3a4b211888ba1a7d167dd0ab..4cecee0dccb2f0c401e388dece0deee9b1086087 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\content_translation\Traits\ContentTranslationTestTrait;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
index 5e3a71768394b8e8165920343cabea409dbbda01..bd8f3466caa69a2a9f2beb59d0b7cfe38a5dc3d3 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
index f391918b7a4a782a166fb684b736637e4377ea1d..094f12de910337fd83501844beb6b0a1d26eef94 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 /**
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php
index fe41739bcdb5bdad45826e6c1214e2684d9335ae..7460f1fd8e165330087c237802b7a51332b48b72 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php
index 7d98da2dc28fdd226527baac2e40e60e8c968c12..95368d97d9906966134b43c71077f4a4e6a58d75 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\language\Traits\LanguageTestTrait;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php
index cb18d8e0bfd57384cd2dbeae86cbf489cae4000d..19bf67cdfb9d9e677cf4f7cc86f26cc79d709ff4 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php
index 947e4ed6dc460a482e18e6db95d39cfa83203514..cd31802a13f05fcc20d00885e28a7705277f99df 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Entity\ContentEntityInterface;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php
index 12a726c3db260028d28233c40c69317f5e7d8a80..c5ede536ef19b818408ad29f59f9fd2cc5b91a5c 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php
index 6adb974f77a043b9c3f71aa45a56b7b5b85dbb3e..dc00957e4b9ec92a7dd5d2820b0c6a2e07e906e4 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
index 189fe4aba6a62216f8f6331f4a289f01f5274cbd..ff580980abcdd26b23f9c4dc4d4229d6c66a49d6 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php
index 7f159bba81e76cbdc4725d335228d8a1f6c9ebfd..46fcba4d0fbde5009bcd9fcc61d560c9d38c6a02 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php
index 48e5f94efe09c9e64886d7a7d5534aaf10777ed6..920520f9b95e96aea2ce0c81954c584403b7158d 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Entity\ContentEntityInterface;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php
index c579c26525716e2b92e6fdb11e007f6d2530f36a..d9dd0100ec5047a7983ed1cbfecb3ecd236df9a4 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
index 570398aeca29d2e93d2d1eade6343cd8858959d3..335f7a05a0763aad12d8bb7ba54a2e25ebb44ea7 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php
index 014d78a6ddd97f2f129513f42ffdea69fe341aa1..68773886870feab7dbc32c49f0479716720fc38b 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
index d55e49e786aedd72a4e0dd2291ae744f7baf8d70..f46e5ef3a0bad108cfa3a0972a601a4c74d3a570 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/content_translation/tests/src/Functional/GenericTest.php b/core/modules/content_translation/tests/src/Functional/GenericTest.php
index 25efc14fa1a95a12e0d1bd511e146df941154acd..ee51248373d4a60680897598abcdeb6734527961 100644
--- a/core/modules/content_translation/tests/src/Functional/GenericTest.php
+++ b/core/modules/content_translation/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php b/core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php
index 200694eb1e081319e1432af3fd8c8f325b0dad2f..3a929c0ba57fd61c4b9cf384305b1e5af4fcf932 100644
--- a/core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php
+++ b/core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional\Views;
 
 use Drupal\Tests\views_ui\Functional\UITestBase;
diff --git a/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php b/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
index ff218d0e6c55f935d24aab891412b4142e1985e2..ce3c9c877f90eee260753096993c4d673ad8096a 100644
--- a/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
+++ b/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\content_translation\Functional\Views;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationTestBase;
diff --git a/core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php b/core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
index b1f048d7152482783c7af161be95b960cbab70e0..4e80c5795d8468c7307fdf2c2ae2137b293280d4 100644
--- a/core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
+++ b/core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contextual\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/contextual/tests/src/Functional/GenericTest.php b/core/modules/contextual/tests/src/Functional/GenericTest.php
index 0387c894d23b0df7292a9f4615d0c4700bb363b1..223bf0942e2f550322e7aae57bae72d9470806d8 100644
--- a/core/modules/contextual/tests/src/Functional/GenericTest.php
+++ b/core/modules/contextual/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\contextual\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/datetime/tests/src/Functional/DateFilterTest.php b/core/modules/datetime/tests/src/Functional/DateFilterTest.php
index 5fad417afbab6e74b02cb7a15b386d1348548a09..3bc64daa5229fff58dd29ea4dd05332453444fa5 100644
--- a/core/modules/datetime/tests/src/Functional/DateFilterTest.php
+++ b/core/modules/datetime/tests/src/Functional/DateFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional;
 
 use Drupal\datetime\Plugin\Field\FieldType\DateTimeItem;
diff --git a/core/modules/datetime/tests/src/Functional/DateTestBase.php b/core/modules/datetime/tests/src/Functional/DateTestBase.php
index ba935418fa703ba50309169791b9a949c7b01522..126fd6230b85229187c5e0b1da674029b6eb815b 100644
--- a/core/modules/datetime/tests/src/Functional/DateTestBase.php
+++ b/core/modules/datetime/tests/src/Functional/DateTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional;
 
 use Drupal\Component\Utility\Unicode;
diff --git a/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php b/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
index 1f670e65353b3659c093b15ce63910b3245f4df4..845c96560cce73f843eb9eaca764b1f3abc93993 100644
--- a/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
+++ b/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php b/core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
index a818c9f34493f75c85bc7a3eb514033d327c317d..94cafb4a09cb6aaa1f6082d7cce5dab099b32cb7 100644
--- a/core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
+++ b/core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php b/core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php
index 6ffc774140111c742526b482cbfb028f79942e41..05035906f71d7350a0bef454de101804a3d19f3b 100644
--- a/core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php
+++ b/core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php b/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
index 4994f1691d8cde3c5ba860ecf039a2c8e0560c06..108480084b3fee8b530326f9110310356d9aac1e 100644
--- a/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
+++ b/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional\EntityResource\EntityTest;
 
 use Drupal\Core\Url;
diff --git a/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php b/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php
index 34474958af81e8649ace269dde023a9340736c2a..34de581b4ba40a2d3c988eb258c0e45538854c90 100644
--- a/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php
+++ b/core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional\EntityResource\EntityTest;
 
 use Drupal\Core\Url;
diff --git a/core/modules/datetime/tests/src/Functional/GenericTest.php b/core/modules/datetime/tests/src/Functional/GenericTest.php
index 98d85e42f8aa9b4bf10a296f6d8be6ebc5c198cb..e71bab7931ea83bec0943b6641c179e7ae10e8e4 100644
--- a/core/modules/datetime/tests/src/Functional/GenericTest.php
+++ b/core/modules/datetime/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/datetime/tests/src/Functional/Views/FilterDateTest.php b/core/modules/datetime/tests/src/Functional/Views/FilterDateTest.php
index da75c930a8639dbcda2b7f15408b7d2ae9f86a78..95d27dc91b1784eb96a7c7adbe0075f4b24ce976 100644
--- a/core/modules/datetime/tests/src/Functional/Views/FilterDateTest.php
+++ b/core/modules/datetime/tests/src/Functional/Views/FilterDateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime\Functional\Views;
 
 use Drupal\Core\Datetime\DrupalDateTime;
diff --git a/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php b/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
index 4c45d94547388b0418b617cf6ff0c7ba8ee48322..efe74f344aa3e3b94fe2de9ec9d10b5c0c5f635b 100644
--- a/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
+++ b/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime_range\Functional;
 
 use Drupal\Core\Datetime\DrupalDateTime;
diff --git a/core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php b/core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php
index 9e5ee8264cce50bb302a6b5a86e3557757c3767a..49017993f94d433d93130e296313dd9028a35d95 100644
--- a/core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php
+++ b/core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime_range\Functional\EntityResource\EntityTest;
 
 use Drupal\Core\Url;
diff --git a/core/modules/datetime_range/tests/src/Functional/GenericTest.php b/core/modules/datetime_range/tests/src/Functional/GenericTest.php
index 0ecab43f5121e26456b5dcafeb4342afc2561246..0335c1ccd89c5c6a047a3842efb0ecae71ba04c4 100644
--- a/core/modules/datetime_range/tests/src/Functional/GenericTest.php
+++ b/core/modules/datetime_range/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\datetime_range\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php b/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php
index f7845bf60551ef79ea7ba30247ef1e67b2e5ecb6..efd97a84aa90f27a91a3eebd0b0225e7b36bcc75 100644
--- a/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php
+++ b/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dblog\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/dblog/tests/src/Functional/DbLogTest.php b/core/modules/dblog/tests/src/Functional/DbLogTest.php
index 9dc570befcbb383370a180f12f31690cd2e5a063..8be02b2515183ce3d276c8dc4364453aec1abdc8 100644
--- a/core/modules/dblog/tests/src/Functional/DbLogTest.php
+++ b/core/modules/dblog/tests/src/Functional/DbLogTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dblog\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php b/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
index 7d9be811aca5686eab046fee1460a53d5283039d..a8a39b2d799e3035e96d44376654a3ef25b25d41 100644
--- a/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
+++ b/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dblog\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/dblog/tests/src/Functional/FakeLogEntries.php b/core/modules/dblog/tests/src/Functional/FakeLogEntries.php
index 23127c41acd96c4a702a9dd832336eafd8f05e5c..66c8777d851a858025a892111acc3c3f83341ef8 100644
--- a/core/modules/dblog/tests/src/Functional/FakeLogEntries.php
+++ b/core/modules/dblog/tests/src/Functional/FakeLogEntries.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dblog\Functional;
 
 use Drupal\Core\Logger\RfcLogLevel;
diff --git a/core/modules/dblog/tests/src/Functional/GenericTest.php b/core/modules/dblog/tests/src/Functional/GenericTest.php
index 4a05f749ed1ad85aa23cb5293ac2baef8ce6280b..c6bfe5e6087c1666c31fc3f28d9bbfc94c3725c5 100644
--- a/core/modules/dblog/tests/src/Functional/GenericTest.php
+++ b/core/modules/dblog/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dblog\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/dblog/tests/src/Functional/UpdatePathTest.php b/core/modules/dblog/tests/src/Functional/UpdatePathTest.php
index fe4b3e42ae1fc225f3c0d27efebe3a8c119a6cdf..e6be5c9992667a876e4ecc3e529b1bab8aaeae09 100644
--- a/core/modules/dblog/tests/src/Functional/UpdatePathTest.php
+++ b/core/modules/dblog/tests/src/Functional/UpdatePathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dblog\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php b/core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php
index c11174e07a92304708ad4642501d16a5d66837e6..a41b01735fe443b65aa9ed9a605dccbd91679873 100644
--- a/core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php
+++ b/core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dynamic_page_cache\Functional;
 
 use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
diff --git a/core/modules/dynamic_page_cache/tests/src/Functional/GenericTest.php b/core/modules/dynamic_page_cache/tests/src/Functional/GenericTest.php
index e965f10d3e590379115b4f72106ab22b048fc205..7b7b1f0c985ccb8ddf7694f8baad09c34a759c8c 100644
--- a/core/modules/dynamic_page_cache/tests/src/Functional/GenericTest.php
+++ b/core/modules/dynamic_page_cache/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\dynamic_page_cache\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/editor/tests/src/Functional/EditorAdminTest.php b/core/modules/editor/tests/src/Functional/EditorAdminTest.php
index 985bc4a9be8131be1469657c042bf45087c48220..67a648876b241c8e281545223afc61d8a3d6bb54 100644
--- a/core/modules/editor/tests/src/Functional/EditorAdminTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php b/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
index dc8b8d7a6588a59f61072ec73c5340b5d0262d9a..7c0a689ae447c8e179304d6f46e906a6ce2a6fe3 100644
--- a/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/editor/tests/src/Functional/EditorLoadingTest.php b/core/modules/editor/tests/src/Functional/EditorLoadingTest.php
index fc2d6aa773c9108c7027ab955f75b9fe64135de2..055531e3ffb277773f68541520eecc9414f67d65 100644
--- a/core/modules/editor/tests/src/Functional/EditorLoadingTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorLoadingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\editor\Entity\Editor;
diff --git a/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php b/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
index 3b073288ef5da55da1fc595bc6abf5ba264d462d..5dcea7ee3f57a49efbd2b38a7d438135f506890f 100644
--- a/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/editor/tests/src/Functional/EditorSecurityTest.php b/core/modules/editor/tests/src/Functional/EditorSecurityTest.php
index 239a5584f97c51c96878285c671851b6005d5e2f..eb1760be70b4821d06202c26cbe2f8a587e5125a 100644
--- a/core/modules/editor/tests/src/Functional/EditorSecurityTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorSecurityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/editor/tests/src/Functional/EditorUploadImageScaleTest.php b/core/modules/editor/tests/src/Functional/EditorUploadImageScaleTest.php
index e983ea88fd48e44259217b75c34c1b56272b303a..1184bd96890f5ff9ecf6c673eb30a0cbdadebf9d 100644
--- a/core/modules/editor/tests/src/Functional/EditorUploadImageScaleTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorUploadImageScaleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\editor\Entity\Editor;
diff --git a/core/modules/editor/tests/src/Functional/GenericTest.php b/core/modules/editor/tests/src/Functional/GenericTest.php
index bdc6a1a3136a9ffdf6097c82495ceb94df93d4fe..a3c1934f631538768a7218b1c3878735587904e6 100644
--- a/core/modules/editor/tests/src/Functional/GenericTest.php
+++ b/core/modules/editor/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorJsonAnonTest.php b/core/modules/editor/tests/src/Functional/Rest/EditorJsonAnonTest.php
index 53bc36b8863f22507fb80d57fea8100997b02924..5fb5d94446fd1ef798ea27ebd78b4b615bdd89c7 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorJsonAnonTest.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorJsonBasicAuthTest.php b/core/modules/editor/tests/src/Functional/Rest/EditorJsonBasicAuthTest.php
index ff009855859341c4cb422f755900db651492f8b1..f2d98d3e7980f3fef5f906e99dfd1cb0e894c8cf 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorJsonBasicAuthTest.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorJsonCookieTest.php b/core/modules/editor/tests/src/Functional/Rest/EditorJsonCookieTest.php
index b840c7a1029d6c588839c224e1d449bc1f2ab596..ec427dc6095ba0c770a47e71214af8b0852fa271 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorJsonCookieTest.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php b/core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php
index 2612c7215ffbeec2e5734f4df590d18de24bc23b..7b07ec45d07ed8fb80d732a79b53a75e4fd01651 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\ckeditor5\Plugin\CKEditor5Plugin\Heading;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorXmlAnonTest.php b/core/modules/editor/tests/src/Functional/Rest/EditorXmlAnonTest.php
index 79129309c621335077fcde418a0580fea14292d6..bbffac471b70636e0f5dcb9a59c8963db6a0715d 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorXmlAnonTest.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorXmlBasicAuthTest.php b/core/modules/editor/tests/src/Functional/Rest/EditorXmlBasicAuthTest.php
index 17ebb9317efa28eb1c6192d45bd5bea643042e4c..e47dac4e5e7cd0853f5e46f5693a382f15d61426 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorXmlBasicAuthTest.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/editor/tests/src/Functional/Rest/EditorXmlCookieTest.php b/core/modules/editor/tests/src/Functional/Rest/EditorXmlCookieTest.php
index fdafcaa9a4cf466b49d9dbd57efff58292eb5564..b880f5a9fbd0ee971d2239cae1b2c5d657127692 100644
--- a/core/modules/editor/tests/src/Functional/Rest/EditorXmlCookieTest.php
+++ b/core/modules/editor/tests/src/Functional/Rest/EditorXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\editor\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php b/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
index e200b90b23047745301de493ab259d449c05c0b0..3d2145afc617ee68adb0f45c5f43a6fe185c598a 100644
--- a/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
+++ b/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Boolean;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php b/core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php
index 1834993ce60f9404700e4c3ccde30fddbdbc965c..bab7cd360513bb93ffa54e9e925418da69b137a0 100644
--- a/core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php
+++ b/core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Boolean;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/Email/EmailFieldTest.php b/core/modules/field/tests/src/Functional/Email/EmailFieldTest.php
index 1bcd8aa65c98e7d5a913b23d9385bd0ffa307dce..f9d04093c4295dd5edd102f05d28752765d28db5 100644
--- a/core/modules/field/tests/src/Functional/Email/EmailFieldTest.php
+++ b/core/modules/field/tests/src/Functional/Email/EmailFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Email;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
index 41abb9fdc99d973ff63a46c370d7dddc13533e2a..2301a68fdbefb40cef8fc6dad1fafc99ae220a62 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Behat\Mink\Element\NodeElement;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
index 27d063143add441ce4cf1829302718b2c65c34e2..b7305cb0c5c8f92bf2b18be8ce7a061712622961 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
index 8a94bc7ce395ba95432a89886cdf2b1fd11c2c1c..229306a44d8cdaaaaa4b4e889707de4219641b9a 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Drupal\Tests\SchemaCheckTestTrait;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
index d4f8a73bdfe824e97d16ef5c4c05cd440cdcad35..864223fd58299723d8684f66f5980c76d6cd2038 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
index 55c45819056ae7f5811743ec5055219d24f2ca12..74f9920d73b1c2f696199977c3b33767a1ea665c 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php
index 5d23896ac0e2eb6aef98b67e85ee8385eb2c8b78..302466b869175b0b0bd2bc06a9270ae570c797f9 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php
index 428db4b233bab3a7065dd076571d1ae87c9f4f3e..ab811e59c320bdea13c3656cf382cc419e33a2c0 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/field/tests/src/Functional/EntityReference/Views/SelectionTest.php b/core/modules/field/tests/src/Functional/EntityReference/Views/SelectionTest.php
index 928d4eb42557f81cf8dae920429df1e9e55cc064..ea0fa36604cb818450af070e558829249827a63e 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/Views/SelectionTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/Views/SelectionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\EntityReference\Views;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/field/tests/src/Functional/FieldAccessTest.php b/core/modules/field/tests/src/Functional/FieldAccessTest.php
index 315d8e8c03d342372c64aa245b670c776e363fa0..47b1ebc6091bbb0f23b0ec99aa13656125a89a6e 100644
--- a/core/modules/field/tests/src/Functional/FieldAccessTest.php
+++ b/core/modules/field/tests/src/Functional/FieldAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php b/core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
index 74f23b7b980db0706a5fca90cec2777c9f9e6cd5..489d4132705cac514c43427a48b35b6bb8195b55 100644
--- a/core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
+++ b/core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/FieldHelpTest.php b/core/modules/field/tests/src/Functional/FieldHelpTest.php
index cef7a8e97f806f313326d7b71a0c5433626a248a..40a2a07811de3c1499d7effadbd3f5bc9036c2a3 100644
--- a/core/modules/field/tests/src/Functional/FieldHelpTest.php
+++ b/core/modules/field/tests/src/Functional/FieldHelpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php b/core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php
index 0ab8be68cac6dd91b4f98d9cdbdbb75213d60a7a..fc927c478b0bf2c3ee73d1e91b2cc13b485ddf93 100644
--- a/core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php
+++ b/core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/field/tests/src/Functional/FieldTestBase.php b/core/modules/field/tests/src/Functional/FieldTestBase.php
index 5075cad79ae6db94f0c523f051510c5b6af670d4..c419578a73bfa0586c7ef044b6cab88f6cee2195 100644
--- a/core/modules/field/tests/src/Functional/FieldTestBase.php
+++ b/core/modules/field/tests/src/Functional/FieldTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/field/tests/src/Functional/FormTest.php b/core/modules/field/tests/src/Functional/FormTest.php
index 36f89f3b032174c75c12b7c9d2eb29b24b9abfa1..c637c728756ccc9ac6e9e1eda9d3f2b1a88a240c 100644
--- a/core/modules/field/tests/src/Functional/FormTest.php
+++ b/core/modules/field/tests/src/Functional/FormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php b/core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php
index ac025d78f66104f9cf3588f416ced70feab68215..2484584441f3dedd3c3b8bab4f7ba7317a2df983 100644
--- a/core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php
+++ b/core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\FunctionalString;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/field/tests/src/Functional/GenericTest.php b/core/modules/field/tests/src/Functional/GenericTest.php
index 2ab3881cc2d85d5c53e0f89751d92701c3029996..d7cc8bf819bb1595c965a7214f6a5bac9545563e 100644
--- a/core/modules/field/tests/src/Functional/GenericTest.php
+++ b/core/modules/field/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/field/tests/src/Functional/NestedFormTest.php b/core/modules/field/tests/src/Functional/NestedFormTest.php
index 89f60225837908f6c6779c89b357f2b4a79010e3..1d981dfc899147ef33db259321a1c80f8ef3b324 100644
--- a/core/modules/field/tests/src/Functional/NestedFormTest.php
+++ b/core/modules/field/tests/src/Functional/NestedFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php b/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
index 28e602741c4384e54bcc593ad0fc22a5de9a86f7..51ea7bdcf8abbd177af75d138bad8dea52acecec 100644
--- a/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
+++ b/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Number;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php b/core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
index d68039ce0725d7c40838b0faa6f6bac14ba75467..957c7c91b5c6b3bf9e9bd294fa6c3b3c97e3fead 100644
--- a/core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
+++ b/core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonAnonTest.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonAnonTest.php
index 7fa684d868d8a4acfe5a4aeb3e79175faa82aae5..a171332510689fbdc6039ed388b2ebee00109d14 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonAnonTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonBasicAuthTest.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonBasicAuthTest.php
index 18e4446f94a636e89b72edb910412e506b3e20bc..dfdc11d44165f76eb0fa6779f64f1fff2f8dbbfc 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonBasicAuthTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonCookieTest.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonCookieTest.php
index 413fa93fcefd190bb4d56ca3a36ddcfa828d1826..40cee800f200840fc1bbb01de5704c75bafdf3d0 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonCookieTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php
index f13eb9865dce56be0d30f75e2318b69be975e357..407cece36a5064d3d08784b55b8924a3f5d5ba72 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlAnonTest.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlAnonTest.php
index 306625ee7e0064c1eb11703a62c3daa02f2d2e00..f7686627884d84b3eb25fa2ac1dc4257f99dd9fe 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlAnonTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlBasicAuthTest.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlBasicAuthTest.php
index cded0f9616b73c0d2733e8449beb9b93ae7bd6db..7c5387307cdd9f2758a9aa27b3d8f2e2e5a35d89 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlBasicAuthTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlCookieTest.php b/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlCookieTest.php
index 77adb16fa582a50f06ccf956137245831c250c4f..8063ea5a53c75aa2ee91645b52042108cd62c66e 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlCookieTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldConfigXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonAnonTest.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonAnonTest.php
index 311dd45011ed52112b1cf6a3fbd57fde5cab812c..101c22b9bf5a8016f8fdf60f53a271085e9e2be7 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonAnonTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonBasicAuthTest.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonBasicAuthTest.php
index f11b8d8769a601c13b43fa106298aa19f271af0c..269a4fa50417ac4cffd975c499ebcbb33a623a36 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonBasicAuthTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonCookieTest.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonCookieTest.php
index c61d3eb2c5d0156d4d0e1320202ebd15cfca7d87..338094f5b623c25037682f5275afc097f24f7472 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonCookieTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php
index c623edb5a728747a61c4103884949ed2e79fd3e4..f7c8ffd66fb9ca537bb61d4b8a7987a2126b3b6a 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\field\Entity\FieldStorageConfig;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlAnonTest.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlAnonTest.php
index 66f3fb040da739483d45b742089e2762e73b59f3..221f9717df08f395c8c815d889c22aa20b22745e 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlAnonTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlBasicAuthTest.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlBasicAuthTest.php
index da7b133c6ae3b1ccd21cd98b30f14526683df646..5f739b431ea1e3bb770ac9d86c7703e0cdac3d91 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlBasicAuthTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlCookieTest.php b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlCookieTest.php
index 38730662ea8cd2ac3348768570f214871c09ff74..51ec19f0e44cc90b987808f672e7b35bb2af78d5 100644
--- a/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlCookieTest.php
+++ b/core/modules/field/tests/src/Functional/Rest/FieldStorageConfigXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/field/tests/src/Functional/TranslationWebTest.php b/core/modules/field/tests/src/Functional/TranslationWebTest.php
index 63b0b82056f188adaacf35e49a7d50629af7fa95..2593984dedb00bb01bd4bc9c169d59f87d1b4bc5 100644
--- a/core/modules/field/tests/src/Functional/TranslationWebTest.php
+++ b/core/modules/field/tests/src/Functional/TranslationWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional;
 
 use Drupal\field\Entity\FieldStorageConfig;
diff --git a/core/modules/field/tests/src/Functional/Views/FieldTestBase.php b/core/modules/field/tests/src/Functional/Views/FieldTestBase.php
index feac7d8e05cde310dcb1d574292696c0d36264ab..e7ff07e426e40dafeb13d58eb90e23a8225c4ede 100644
--- a/core/modules/field/tests/src/Functional/Views/FieldTestBase.php
+++ b/core/modules/field/tests/src/Functional/Views/FieldTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Views;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field/tests/src/Functional/Views/FieldUITest.php b/core/modules/field/tests/src/Functional/Views/FieldUITest.php
index 1e143a51c24dce906b2207beb9d5b01b86469d55..df2f79551fdb4e5fda3c707ed00656f611260aad 100644
--- a/core/modules/field/tests/src/Functional/Views/FieldUITest.php
+++ b/core/modules/field/tests/src/Functional/Views/FieldUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field\Functional\Views;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php b/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
index 9ada01447d9056b5e5a1bd439a5ac1cf599971f3..f1fbc3c8e7719159821b92893db2b342070589cc 100644
--- a/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
+++ b/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_layout\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/field_layout/tests/src/Functional/GenericTest.php b/core/modules/field_layout/tests/src/Functional/GenericTest.php
index 7e1abd414655076c9c9d9c1b0c5cabf5de9dfadc..b6eb080e6d01e4a431020b2768f4f8b414ec0f17 100644
--- a/core/modules/field_layout/tests/src/Functional/GenericTest.php
+++ b/core/modules/field_layout/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_layout\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/field_ui/tests/src/Functional/EntityDisplayFormBaseTest.php b/core/modules/field_ui/tests/src/Functional/EntityDisplayFormBaseTest.php
index e5e1a40fb057c2cbecea502a3407addd9e588867..bdf6000289f2dfb01362c88dd9682cb38059e639 100644
--- a/core/modules/field_ui/tests/src/Functional/EntityDisplayFormBaseTest.php
+++ b/core/modules/field_ui/tests/src/Functional/EntityDisplayFormBaseTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php b/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php
index cd5bbfad27d405d4170d9c70f788d55300d92cf6..896d9ff4b866bcaff0bed433a83e54b852a8ca53 100644
--- a/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php
+++ b/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormMode;
diff --git a/core/modules/field_ui/tests/src/Functional/EntityDisplayTest.php b/core/modules/field_ui/tests/src/Functional/EntityDisplayTest.php
index d02ba07de4d128d3bea924b99e3c35b5ff5f2c72..51c6e625595b7e73ab9823fcf29f459da06bca0e 100644
--- a/core/modules/field_ui/tests/src/Functional/EntityDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Functional/EntityDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/field_ui/tests/src/Functional/FieldTypeCategoriesIntegrationTest.php b/core/modules/field_ui/tests/src/Functional/FieldTypeCategoriesIntegrationTest.php
index 4e076548d238759c6837c93bcc1936f551aa4794..72d5e4c1438a0ecbc9ff8ad40523aa104d80bdec 100644
--- a/core/modules/field_ui/tests/src/Functional/FieldTypeCategoriesIntegrationTest.php
+++ b/core/modules/field_ui/tests/src/Functional/FieldTypeCategoriesIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/field_ui/tests/src/Functional/FieldUIDeleteTest.php b/core/modules/field_ui/tests/src/Functional/FieldUIDeleteTest.php
index 50398882b1add118f4db98952e441a40a7949f4d..834b4fd7e6548e5bf68d1d5002483d416eafa3a5 100644
--- a/core/modules/field_ui/tests/src/Functional/FieldUIDeleteTest.php
+++ b/core/modules/field_ui/tests/src/Functional/FieldUIDeleteTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/field_ui/tests/src/Functional/FieldUIIndentationTest.php b/core/modules/field_ui/tests/src/Functional/FieldUIIndentationTest.php
index f9a1756bffc9f9ff7177d3c9054a7833d16083e9..e7aa52a41cfd5f28759323c1c0c47674be7fa1e8 100644
--- a/core/modules/field_ui/tests/src/Functional/FieldUIIndentationTest.php
+++ b/core/modules/field_ui/tests/src/Functional/FieldUIIndentationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php b/core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php
index ea72a387a13b90b765e86e0be340e5b407d6ae87..e75e5714cc9103f13fc365c6e388aaf7c068364f 100644
--- a/core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php
+++ b/core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormMode;
diff --git a/core/modules/field_ui/tests/src/Functional/GenericTest.php b/core/modules/field_ui/tests/src/Functional/GenericTest.php
index 394f61226362328c04f412668f9a98883fd256e0..810bc6c0314f0f81981ba0795f15d7e5a667259e 100644
--- a/core/modules/field_ui/tests/src/Functional/GenericTest.php
+++ b/core/modules/field_ui/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php b/core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php
index d0f9b8a51fcc09a97e24fac727e24d5c90ada0e6..4cd47f408e124c0a2cde2a00fdebdf394bcc9e73 100644
--- a/core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Behat\Mink\Exception\ExpectationException;
diff --git a/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php b/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
index aed84bcc2859a310f7c78f80d78dbceb844424ff..fcf9fd50ded04ff77e1665e7a294c493e0bc6081 100644
--- a/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
+++ b/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Behat\Mink\Exception\ElementNotFoundException;
diff --git a/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTestBase.php b/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTestBase.php
index 5b0a9f05a5a10c47eccf4532a28e9cf0c5934ccd..b35812d1814ed2300b93da3a17f6cce70c9e3d69 100644
--- a/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTestBase.php
+++ b/core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php b/core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php
index d18854a18b382ac98fdb462fc559117914bea16a..79964e418217a04a4eed04e81b8de0397f0ced3c 100644
--- a/core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php
+++ b/core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/field_ui/tests/src/Functional/ManageFieldsMultipleTypesTest.php b/core/modules/field_ui/tests/src/Functional/ManageFieldsMultipleTypesTest.php
index 00b76df65fc4afca2d53e289dc11026350fe9da7..759bb05e4045a01ae65526da067194a3c0561a99 100644
--- a/core/modules/field_ui/tests/src/Functional/ManageFieldsMultipleTypesTest.php
+++ b/core/modules/field_ui/tests/src/Functional/ManageFieldsMultipleTypesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php b/core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php
index 649c2d7f6d72f8bfda68d8e2476a312bfc7fdd90..ac47b664f42abc73f1f2a798293f35fc45904319 100644
--- a/core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php
+++ b/core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\field_ui\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/file/tests/src/Functional/DownloadTest.php b/core/modules/file/tests/src/Functional/DownloadTest.php
index 1208bcb22cc84135824a38566262f7a4f20c7dfc..713b5a69402ea99caaa69e8511fd1f8ba12eb23d 100644
--- a/core/modules/file/tests/src/Functional/DownloadTest.php
+++ b/core/modules/file/tests/src/Functional/DownloadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php b/core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php
index 490e882af5bb8d6721c15e523dcd6bc639685d1d..ce959b2f15dd60ee2251c3df6f815bb044e62442 100644
--- a/core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php
+++ b/core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php b/core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
index b85af5f2c82d95326fc511a5b9edd072627bd5da..eb8fd62009770763fc3570fbf6a92bcd84d76336 100644
--- a/core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/file/tests/src/Functional/FileFieldCreationTrait.php b/core/modules/file/tests/src/Functional/FileFieldCreationTrait.php
index 7f31eba6d65837d99c4afae4fb1f16cba0e59d17..2267726653587994d4d907697c52d51ae067d8ab 100644
--- a/core/modules/file/tests/src/Functional/FileFieldCreationTrait.php
+++ b/core/modules/file/tests/src/Functional/FileFieldCreationTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\field\Entity\FieldStorageConfig;
diff --git a/core/modules/file/tests/src/Functional/FileFieldDisplayTest.php b/core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
index 52d46385b93eb29a38fb3c55582d0fb2c50b240c..6f0a4d6b8fe42af2b8ed6b4d0e5b36ee5e8ad3fc 100644
--- a/core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php b/core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
index 95deedc0355a45b47f7a2a03c4b680150a28f6c4..058e41f53f1f53dd8a6706de86ed25e8b2a2882a 100644
--- a/core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 /**
diff --git a/core/modules/file/tests/src/Functional/FileFieldPathTest.php b/core/modules/file/tests/src/Functional/FileFieldPathTest.php
index 6ea4e1341a3586786c3d205833580340961168bf..195cfe02064e3737b992399f7b0ea491597f6602 100644
--- a/core/modules/file/tests/src/Functional/FileFieldPathTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldPathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php b/core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php
index 5473fcac398ec788986ba7cc30f9429e7df7a466..6f4084822a8ab10bcde54faf486e3697473f39d7 100644
--- a/core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/FileFieldRevisionTest.php b/core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
index d2a68e9703eaa4ac9ee0d40914f2aaa6a08addb7..15183e118fcf3f29ddc14078f36329abede9d1b3 100644
--- a/core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/file/tests/src/Functional/FileFieldTestBase.php b/core/modules/file/tests/src/Functional/FileFieldTestBase.php
index 2fa0f534a4228cc4da785d6c7c57a0ac504e49c7..8d930fea9cab1478439615b4bb6673f2100cd911 100644
--- a/core/modules/file/tests/src/Functional/FileFieldTestBase.php
+++ b/core/modules/file/tests/src/Functional/FileFieldTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/file/tests/src/Functional/FileFieldValidateTest.php b/core/modules/file/tests/src/Functional/FileFieldValidateTest.php
index 27619cc93aa9749ef9c1a28042aaa4e97092047a..bd839ca08cbc3fe0865e7299a1f556dd58f7cd64 100644
--- a/core/modules/file/tests/src/Functional/FileFieldValidateTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldValidateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php b/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
index 4131560ee469683af7d3d391d931bcb62a431973..09b1c7a9c7c470975e62cd39f5d7716aeb1b1501 100644
--- a/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
+++ b/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/file/tests/src/Functional/FileListingTest.php b/core/modules/file/tests/src/Functional/FileListingTest.php
index 8268927600f6aabd03638eebf09837bee738d19d..532e6f0d6bede2d8db18dcda837e79ed50cc5934 100644
--- a/core/modules/file/tests/src/Functional/FileListingTest.php
+++ b/core/modules/file/tests/src/Functional/FileListingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/file/tests/src/Functional/FileManagedFileElementTest.php b/core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
index 3c509d000c24c592351cd1b6ee6569971cc855e1..29a354c681c2bacce776a2690346d7b0d6245542 100644
--- a/core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
+++ b/core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/FileManagedTestBase.php b/core/modules/file/tests/src/Functional/FileManagedTestBase.php
index aa34b29827611a7ba497676492bed4963ee5c47c..0d8b99c22df8d86a8583dfc4aac7a6bd1b526460 100644
--- a/core/modules/file/tests/src/Functional/FileManagedTestBase.php
+++ b/core/modules/file/tests/src/Functional/FileManagedTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php b/core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php
index a533a90ec68d3dce69b620f4d32a3a03b78e5f29..879004a63e316d72b92adbd7f6dbf5c65c3069de 100644
--- a/core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php
+++ b/core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/FilePrivateTest.php b/core/modules/file/tests/src/Functional/FilePrivateTest.php
index 05d1bba1c989e84f9b06a44c195b6c39c0389d2f..84e4b125962a571324bbe22d13310c8598ccc04b 100644
--- a/core/modules/file/tests/src/Functional/FilePrivateTest.php
+++ b/core/modules/file/tests/src/Functional/FilePrivateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/FileTokenReplaceTest.php b/core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
index bdd443fa45d851cdb3d29b1b18800d138159999b..761a37cf3275d52dd1aba6cec5b33c25bc57d7ef 100644
--- a/core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
+++ b/core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php b/core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php
index 333f1ede7dd4d7f0bd076b8856e45cb145f9f711..024952298a84f491fd6609d75f005d0b5a1178c9 100644
--- a/core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php
+++ b/core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php b/core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
index 733d517a0a834b43db90a7de95121ea8e823b286..38a5b61f6dd8eb8e62849be22cddcfb4ecd5f933 100644
--- a/core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
+++ b/core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php b/core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php
index 4ec5bc3447eda636a84d744a8a44db346599b111..4c17b2d86b85db95523d5b0299f4268feb3ad234 100644
--- a/core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php
+++ b/core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Formatter;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php b/core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
index af57e3d7c9a4ed5389eb39c7e8e3bd09648a3845..eec87de4063f1dc85573a00f4e2ddc931e143fcb 100644
--- a/core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
+++ b/core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Formatter;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php b/core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
index 4f4e27e1891cab14f5588d4710022244f03159ce..e7e2d36c42fbc7c38bc19f38bdb8d290a8c817c9 100644
--- a/core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
+++ b/core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Formatter;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/file/tests/src/Functional/GenericTest.php b/core/modules/file/tests/src/Functional/GenericTest.php
index a2e594d4663be99cc6522121d58b4d14fce4fca5..d8677d48324bf20a2dc2ddaf71bc866712a4af8e 100644
--- a/core/modules/file/tests/src/Functional/GenericTest.php
+++ b/core/modules/file/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/file/tests/src/Functional/MultipleFileUploadTest.php b/core/modules/file/tests/src/Functional/MultipleFileUploadTest.php
index ce0b36c2cab320c38db73dbb39b544e439e5056d..473ef4b3c7565181876a480ba2c09c2460205e49 100644
--- a/core/modules/file/tests/src/Functional/MultipleFileUploadTest.php
+++ b/core/modules/file/tests/src/Functional/MultipleFileUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php b/core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
index 2ebf180392b6376b64e9d5f6e340b3a18e48d01b..2ffa36180ea453014ef6b96d59c4bb258b3a457d 100644
--- a/core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
+++ b/core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php b/core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php
index 64f33adf805db1c2e89f9c8fc20689c406ae36e8..9143dbbda3fc3b00f4b6b67835bd3a3aaf2d3af2 100644
--- a/core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php
+++ b/core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 /**
diff --git a/core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php b/core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php
index 9df9bc8489d4f896303308d1152e7a98c4e3cc84..bc81d8eff662e9db5b5a57398d6ad151fd3fe177 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php b/core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php
index c57bf523a01ba1255ba1eab7cf1061cf35ad6fbd..c51197eed969f5850ea15b139a22363010a6a36e 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php b/core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php
index 8ca3fe1efa7d22872a02d64bcb34c97f596072a9..3355b25bf7fad504f9ecdcc1e60f3f9d0a14d610 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php b/core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
index cf952cf4cf1ed97bf84f29dc5736f59528d22541..1383673df3c06ce89976a8525a33af281ff0797e 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php b/core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php
index d14cc48670ac7d5a8a4c58e132af91aa44289e5c..6446a621ff46334a91e8be0b525b6dce4cff087a 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php b/core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php
index bde591e363c0a1d5d87aeadb3d3496db9db0f1ae..74ad4b947f90f2eb274d89f65b43f7f6ae69bc9c 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php b/core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php
index 308f0247f90e26d7e843b6f6195fdb91fe00e670..b3498b60b303001d73d1d7ba5510340b201a98a9 100644
--- a/core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php
+++ b/core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/file/tests/src/Functional/SaveUploadFormTest.php b/core/modules/file/tests/src/Functional/SaveUploadFormTest.php
index b3337e8a47bc79b1d0d10ff17db95f64cf51d1fd..d98f032bdb7fd818748fae04de8bf58159c7f29a 100644
--- a/core/modules/file/tests/src/Functional/SaveUploadFormTest.php
+++ b/core/modules/file/tests/src/Functional/SaveUploadFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Core\File\FileSystemInterface;
diff --git a/core/modules/file/tests/src/Functional/SaveUploadTest.php b/core/modules/file/tests/src/Functional/SaveUploadTest.php
index e1dd3c5e99238de89844938d78bda2a4ea76672f..002b6b17964c1a572750aae1ac1f3d53c56da1c9 100644
--- a/core/modules/file/tests/src/Functional/SaveUploadTest.php
+++ b/core/modules/file/tests/src/Functional/SaveUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\file\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/filter/tests/src/Functional/FilterAdminTest.php b/core/modules/filter/tests/src/Functional/FilterAdminTest.php
index ed2dc4cd2bd358e50a02c65340c6d4fec04cccb8..9029ee313c1c7ae3c6d56196995a06504e5bc55e 100644
--- a/core/modules/filter/tests/src/Functional/FilterAdminTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php b/core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php
index 97ef25a641e8f235b0b4f13d636c00ea4aae7704..cd8f3432e274667c79d7cbc1dcc7eb10c8c98d9c 100644
--- a/core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/filter/tests/src/Functional/FilterFormTest.php b/core/modules/filter/tests/src/Functional/FilterFormTest.php
index bfe9f2bb631dd20bd5feee343c8ceed55b9df90f..1ca8a35cf9a76d025181a7964a1726dd445effd9 100644
--- a/core/modules/filter/tests/src/Functional/FilterFormTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php b/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
index e96a7c806aa228595f0205995746c4469e3d6910..c1a3076066096a52808106eaf3b81afa2f8bb7d9 100644
--- a/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\Core\Access\AccessResult;
diff --git a/core/modules/filter/tests/src/Functional/FilterFormatConsolidateFilterConfigUpdateTest.php b/core/modules/filter/tests/src/Functional/FilterFormatConsolidateFilterConfigUpdateTest.php
index 23e279aa029e8ef9bfe9a6086516f08c5c9827bb..6063f6752c1478ae10a57b9d12163f7e8ffaf3c0 100644
--- a/core/modules/filter/tests/src/Functional/FilterFormatConsolidateFilterConfigUpdateTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterFormatConsolidateFilterConfigUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php b/core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php
index 5355b39b5e940fe67086293f4b69cb5e11c55c51..687557c7da64cb32a46a9dedbe7f8718894dfd0a 100644
--- a/core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/filter/tests/src/Functional/FilterHooksTest.php b/core/modules/filter/tests/src/Functional/FilterHooksTest.php
index e80141bc696f6768a41cf4eb0ba080e4e69217e4..7c64b13e7a16477b43e18de3ebf008e2818239ec 100644
--- a/core/modules/filter/tests/src/Functional/FilterHooksTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterHooksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php b/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php
index fd1713f1d7a5fcf9887a5dd5dd13dafd11b38def..75011a108ccf007ec8d42a832c5157677cfe2e32 100644
--- a/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/filter/tests/src/Functional/FilterSecurityTest.php b/core/modules/filter/tests/src/Functional/FilterSecurityTest.php
index ebe5a78774785592ba0222ced545cf0175a41ec2..6832912ade535efc82e7f502d12700a651ff5bf8 100644
--- a/core/modules/filter/tests/src/Functional/FilterSecurityTest.php
+++ b/core/modules/filter/tests/src/Functional/FilterSecurityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/filter/tests/src/Functional/GenericTest.php b/core/modules/filter/tests/src/Functional/GenericTest.php
index d8948a0aca69a86605822d1fa986fbe2aad2e2b4..4e2130ed827cd744897fc4360035ca5ddd169a80 100644
--- a/core/modules/filter/tests/src/Functional/GenericTest.php
+++ b/core/modules/filter/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonAnonTest.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonAnonTest.php
index f6aaad0bae130749214f289a09500947f1013ddd..79dfe23244a50b22b8296819c61ab604a6ae5b4a 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonAnonTest.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonBasicAuthTest.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonBasicAuthTest.php
index 64eb119081e97834cbafb042bf0d9673238f817d..5a84ac9ade1e3e2525ea342f8aae2af01052a78f 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonBasicAuthTest.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonCookieTest.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonCookieTest.php
index 5445fa3e72269d07c34fac67d7e23d3e4d8b0469..97bd876aa403402de7f2419a745841fa8c4ecdad 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonCookieTest.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php
index 95db23e65adce6f2627c65ee52afa4b4e3882c4d..5a7034d2b906736d222247afc91bbd519fe35916 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlAnonTest.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlAnonTest.php
index 3007fb5f42d573f84d9b87813b526af54445750b..1923da8828236a3dcab67276dca438b77d68859b 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlAnonTest.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlBasicAuthTest.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlBasicAuthTest.php
index ea388ee7dbe452daae66913bdfcc75c321968a60..c406b5a1148ce4b21ed2722b623d2f129bec571a 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlBasicAuthTest.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlCookieTest.php b/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlCookieTest.php
index e79011a551596e2b08abe5fca0699b9599ea5f7d..4b8aab811bfd1f32583d1b2d65f4f274cb68968e 100644
--- a/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlCookieTest.php
+++ b/core/modules/filter/tests/src/Functional/Rest/FilterFormatXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\filter\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/forum/tests/src/Functional/ForumBlockTest.php b/core/modules/forum/tests/src/Functional/ForumBlockTest.php
index 7ec29089daaa8bd37f1745322ce45c8d4dc78206..0edb187bb347069436cafdffc767d4652105aa04 100644
--- a/core/modules/forum/tests/src/Functional/ForumBlockTest.php
+++ b/core/modules/forum/tests/src/Functional/ForumBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/forum/tests/src/Functional/ForumIndexTest.php b/core/modules/forum/tests/src/Functional/ForumIndexTest.php
index 07ef0cca1e2b8feeaf99408611192ffb117ad254..1d501e8c318ee3b6f5b1901c2ee67fcdfeba8040 100644
--- a/core/modules/forum/tests/src/Functional/ForumIndexTest.php
+++ b/core/modules/forum/tests/src/Functional/ForumIndexTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/forum/tests/src/Functional/ForumNodeAccessTest.php b/core/modules/forum/tests/src/Functional/ForumNodeAccessTest.php
index bead0a0c515fc647a093c9893044ecc98f0b4f6e..05194101286981d79d971b1e425484c0ab4aa259 100644
--- a/core/modules/forum/tests/src/Functional/ForumNodeAccessTest.php
+++ b/core/modules/forum/tests/src/Functional/ForumNodeAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/forum/tests/src/Functional/ForumTermAccessTest.php b/core/modules/forum/tests/src/Functional/ForumTermAccessTest.php
index acbd0966665cfa86d7aba29691a5bf45e20c0923..8162cbd8000af27d564a5dffc6cac77c81639729 100644
--- a/core/modules/forum/tests/src/Functional/ForumTermAccessTest.php
+++ b/core/modules/forum/tests/src/Functional/ForumTermAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/forum/tests/src/Functional/ForumTest.php b/core/modules/forum/tests/src/Functional/ForumTest.php
index cb7702f1c7fad7c4eea3e53af62d8021e1f12cd7..70ca39d4cc6ffd3e6e6e4ce7591cd1f6c53825c0 100644
--- a/core/modules/forum/tests/src/Functional/ForumTest.php
+++ b/core/modules/forum/tests/src/Functional/ForumTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/forum/tests/src/Functional/ForumUninstallTest.php b/core/modules/forum/tests/src/Functional/ForumUninstallTest.php
index bb7c92281cbfb72c3db35c924046b48b534368eb..6abc9c909e1eaebc25003cef501b444f4ddb8c14 100644
--- a/core/modules/forum/tests/src/Functional/ForumUninstallTest.php
+++ b/core/modules/forum/tests/src/Functional/ForumUninstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/forum/tests/src/Functional/GenericTest.php b/core/modules/forum/tests/src/Functional/GenericTest.php
index a7ba33e1649f9064539b08e396eb88c1cfa89642..2f6551350f871c56eff5c9d750ab2bf4e9e8dbab 100644
--- a/core/modules/forum/tests/src/Functional/GenericTest.php
+++ b/core/modules/forum/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/forum/tests/src/Functional/Module/DependencyTest.php b/core/modules/forum/tests/src/Functional/Module/DependencyTest.php
index 36a3d71d59b1204684d3ade164a54b1ea8fe48f1..90fea31222ca902d7e37745a45adb2bd40826044 100644
--- a/core/modules/forum/tests/src/Functional/Module/DependencyTest.php
+++ b/core/modules/forum/tests/src/Functional/Module/DependencyTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional\Module;
 
 use Drupal\Tests\system\Functional\Module\ModuleTestBase;
diff --git a/core/modules/forum/tests/src/Functional/NodeAccessPagerTest.php b/core/modules/forum/tests/src/Functional/NodeAccessPagerTest.php
index 4d6c1ab38535358a14c516b61b692f7a7bc953e8..958d0393f68750dd5871b7b29f0ef2e0a13295d3 100644
--- a/core/modules/forum/tests/src/Functional/NodeAccessPagerTest.php
+++ b/core/modules/forum/tests/src/Functional/NodeAccessPagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php b/core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php
index 09c566bfb6681acd286c3b81144c8e631ea4b2f4..687c8b14d0ad49768e5fb7df6b347283b81cf3b1 100644
--- a/core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php
+++ b/core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/forum/tests/src/Functional/Views/ForumIntegrationTest.php b/core/modules/forum/tests/src/Functional/Views/ForumIntegrationTest.php
index 0b4b9624b55de10168ae1134a709479c2b939d10..0119282090c513fbed8327dd1320645fcd4bf70f 100644
--- a/core/modules/forum/tests/src/Functional/Views/ForumIntegrationTest.php
+++ b/core/modules/forum/tests/src/Functional/Views/ForumIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional\Views;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php b/core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
index 2f3d8b001584d7e039618943dcf69575494da9df..6b86a7a9a6827d2ec2657dd875dd0e81b9b8629c 100644
--- a/core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
+++ b/core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional\migrate_drupal\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php b/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
index 229b92fff7b5e8cf2157dc26f506b624f65e94bb..a8d90bdfe2d69e3b801c3d9bb07976b7095dcef1 100644
--- a/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
+++ b/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional\migrate_drupal\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php b/core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
index fced783ee1cabe2e1b010320287bd2b71e28e9fd..15d2e38ceef81ebe37c04e77e5562a07dff0ec66 100644
--- a/core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
+++ b/core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional\migrate_drupal\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php b/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php
index a6e0c3211ecc51501b2fd462c6efadeb4801f014..bb7660b367e1abce67d2aabc6f846a34d0c7a80b 100644
--- a/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php
+++ b/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\forum\Functional\migrate_drupal\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php b/core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php
index 39a1d3f0cb2742947a47f1d739221d62d85b1da7..736982dfac46e1de80b38bbc75315cd8b5ab6664 100644
--- a/core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php
+++ b/core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/help/tests/src/Functional/ExperimentalHelpTest.php b/core/modules/help/tests/src/Functional/ExperimentalHelpTest.php
index 2d4c2258b0079720cc7ed09af2e09af99fe8f3a7..40436b0915c861106186ccd20a6763848919317d 100644
--- a/core/modules/help/tests/src/Functional/ExperimentalHelpTest.php
+++ b/core/modules/help/tests/src/Functional/ExperimentalHelpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/help/tests/src/Functional/GenericTest.php b/core/modules/help/tests/src/Functional/GenericTest.php
index 0458e2e0c2b3dafd27d4d4ab800e22f23faeca46..2da8f85c365695f4cdbe10bd2573c89b2f8a86b1 100644
--- a/core/modules/help/tests/src/Functional/GenericTest.php
+++ b/core/modules/help/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/help/tests/src/Functional/HelpBlockTest.php b/core/modules/help/tests/src/Functional/HelpBlockTest.php
index 61f5f3f3351ec769a641e5e648c72df27ac4ef73..8ab495d1c048a496eb121d3f457add27ef91f5d0 100644
--- a/core/modules/help/tests/src/Functional/HelpBlockTest.php
+++ b/core/modules/help/tests/src/Functional/HelpBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/help/tests/src/Functional/HelpPageOrderTest.php b/core/modules/help/tests/src/Functional/HelpPageOrderTest.php
index 94c0d7bfc235e507c58c1944e192c79dfa2748f5..972428c2e3a328c949d6d3181f528fa2ac44ee6f 100644
--- a/core/modules/help/tests/src/Functional/HelpPageOrderTest.php
+++ b/core/modules/help/tests/src/Functional/HelpPageOrderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php b/core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php
index 7b4b91768272183cfadebabac89835728dd627a4..dad596a48e73f4bf3ceeff198823abe09907c28f 100644
--- a/core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php
+++ b/core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 /**
diff --git a/core/modules/help/tests/src/Functional/HelpTest.php b/core/modules/help/tests/src/Functional/HelpTest.php
index 265f5c4ea95f8b5b0cc1d348ef7b1ec5bb2328ca..57b99fe74e8fe7c3c2a99ab033ce6af9f28a673a 100644
--- a/core/modules/help/tests/src/Functional/HelpTest.php
+++ b/core/modules/help/tests/src/Functional/HelpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php b/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php
index 64cfb66fd3bdd7fb9f6fdc62dfa102d254677a4e..aff7001807acf6c75766f171bfdbbe18dd23ccb1 100644
--- a/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php
+++ b/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\Traits\Core\CronRunTrait;
diff --git a/core/modules/help/tests/src/Functional/HelpTopicTest.php b/core/modules/help/tests/src/Functional/HelpTopicTest.php
index 279743e8547e06f9a32783796f55491c6344590d..8f2e25baf9bf0524020b90231f813abd4edc08bc 100644
--- a/core/modules/help/tests/src/Functional/HelpTopicTest.php
+++ b/core/modules/help/tests/src/Functional/HelpTopicTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php b/core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
index 7885e6bd3850ec4e8e0713d8b98627126fe82811..55bec0e27bc4cdd66dcf33931fd718413dff979c 100644
--- a/core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
+++ b/core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php b/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
index 8756134d03f7cf27bd9adf29daedbe1cb04bd788..38c10e396f86f560de9c4e871188f994084de437 100644
--- a/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
+++ b/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 // cspell:ignore hilfetestmodul testen übersetzung
diff --git a/core/modules/help/tests/src/Functional/HelpTopicsSyntaxTest.php b/core/modules/help/tests/src/Functional/HelpTopicsSyntaxTest.php
index 06f361824096527e593df77bd4b4c210f8fa8270..a33496afb7bf566dc920bec48ba9824fc059ecd8 100644
--- a/core/modules/help/tests/src/Functional/HelpTopicsSyntaxTest.php
+++ b/core/modules/help/tests/src/Functional/HelpTopicsSyntaxTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Core\Extension\ExtensionLifecycle;
diff --git a/core/modules/help/tests/src/Functional/NoHelpTest.php b/core/modules/help/tests/src/Functional/NoHelpTest.php
index 91002be9c24863b02accc220a0b2421c4579c8d9..14999e29979a2fe3d3666417784dd849c32b95aa 100644
--- a/core/modules/help/tests/src/Functional/NoHelpTest.php
+++ b/core/modules/help/tests/src/Functional/NoHelpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/help/tests/src/Functional/Update/HelpTopicsMerge.php b/core/modules/help/tests/src/Functional/Update/HelpTopicsMerge.php
index 80dd75256c07d37d345fdb39cad20ca5baa1d0a0..59d9110bacf9af37affa8eb2740dafbde71a3619 100644
--- a/core/modules/help/tests/src/Functional/Update/HelpTopicsMerge.php
+++ b/core/modules/help/tests/src/Functional/Update/HelpTopicsMerge.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/help/tests/src/Functional/Update/HelpTopicsUninstall.php b/core/modules/help/tests/src/Functional/Update/HelpTopicsUninstall.php
index 96d3672e8d7fb08a5d794d67e6826d827444ca47..9a68b5ce604c71e1b563493a2e6faedc1e1c82bf 100644
--- a/core/modules/help/tests/src/Functional/Update/HelpTopicsUninstall.php
+++ b/core/modules/help/tests/src/Functional/Update/HelpTopicsUninstall.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\help\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/history/tests/src/Functional/GenericTest.php b/core/modules/history/tests/src/Functional/GenericTest.php
index a242d3113fc394c6df7fa0015cf70103a9c76bf9..667c1cea0b0e247b2ef5c5175fb9232a8a5783b5 100644
--- a/core/modules/history/tests/src/Functional/GenericTest.php
+++ b/core/modules/history/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\history\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/history/tests/src/Functional/HistoryTest.php b/core/modules/history/tests/src/Functional/HistoryTest.php
index 0a961908af612b8d894187ee0ca59be2fb24e05d..e5e7a5283ef7411246f897e5bf71d0d90b496ef0 100644
--- a/core/modules/history/tests/src/Functional/HistoryTest.php
+++ b/core/modules/history/tests/src/Functional/HistoryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\history\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/image/tests/src/Functional/GenericTest.php b/core/modules/image/tests/src/Functional/GenericTest.php
index bedf88874e5b10a1aedc6e93fa5cf1fea39d34c6..83edb459bf2f558c07b3757f86c9c018f43ae8d6 100644
--- a/core/modules/image/tests/src/Functional/GenericTest.php
+++ b/core/modules/image/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php b/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
index b0de9171e35a70d3c4cbda7d1c56f084ae9b1edd..790752cd725be8250a19e2fd37e0fce053f9f85b 100644
--- a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
+++ b/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/image/tests/src/Functional/ImageDimensionsTest.php b/core/modules/image/tests/src/Functional/ImageDimensionsTest.php
index fcfa3b8d7b7a80735dec621215eb05098832a021..f6319e2d394d631f1487540b7d926e92ba490251 100644
--- a/core/modules/image/tests/src/Functional/ImageDimensionsTest.php
+++ b/core/modules/image/tests/src/Functional/ImageDimensionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\File\FileSystemInterface;
diff --git a/core/modules/image/tests/src/Functional/ImageEffect/ConvertTest.php b/core/modules/image/tests/src/Functional/ImageEffect/ConvertTest.php
index e726b6a6d4988e7899606556eeabf3f405ca7ffc..8c1523fad0044bd53e0552470fba54ca93966c8d 100644
--- a/core/modules/image/tests/src/Functional/ImageEffect/ConvertTest.php
+++ b/core/modules/image/tests/src/Functional/ImageEffect/ConvertTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\ImageEffect;
 
 use Drupal\Core\File\FileSystemInterface;
diff --git a/core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php b/core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php
index 372b998352100191517691e893eaed09f6547ba8..eae514d95fd0feb7ded6b8626105c23d6139ec3f 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php b/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
index 14ccf54cc92d8424243cd825692b8a1027b6a7ad..62ced9b20be899193d5ece99210affb3ac725cd9 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/image/tests/src/Functional/ImageFieldTestBase.php b/core/modules/image/tests/src/Functional/ImageFieldTestBase.php
index 01ea732280b85211f28599e4ad995812f57c42af..68f0ddccadac2253632b304e762d045d3d5eee76 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldTestBase.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Tests\image\Kernel\ImageFieldCreationTrait;
diff --git a/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php b/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
index 1b882bd98d320612ebb7b02d14fb89a2803d21c3..3ea7732693c8f9c970c705c61a52fb92d4ad91ed 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php b/core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php
index 6d90777c4347966405a755f2ab30082bf36988dc..24b308b628a11901f0d7b40fe3d285bc76d7d327 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php b/core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php
index bd364ec86b54c170d59a77bb378616b60d7294ff..931d36e18f1e797487862c6124c9f9a68c226f94 100644
--- a/core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php
+++ b/core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\file\Entity\File;
diff --git a/core/modules/image/tests/src/Functional/ImageStyleDeleteTest.php b/core/modules/image/tests/src/Functional/ImageStyleDeleteTest.php
index fbdeb95879a9d64f47fb87884b6b2b199d2e359d..b60d2b7da1268f313f3a378bf4bf9cba5ae9e8c1 100644
--- a/core/modules/image/tests/src/Functional/ImageStyleDeleteTest.php
+++ b/core/modules/image/tests/src/Functional/ImageStyleDeleteTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php b/core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php
index c66313dcd3b48fab5abd480d2ac54591f56c14f0..430a16c605166b47789f9fd8ec3be454b2b12e2f 100644
--- a/core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php
+++ b/core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\StreamWrapper\PublicStream;
diff --git a/core/modules/image/tests/src/Functional/ImageStyleFlushTest.php b/core/modules/image/tests/src/Functional/ImageStyleFlushTest.php
index 4a5d0bdb406ad31bf5a31158b860c93e29ebd7f1..9d8af312145ff420d2a2f829ba392dfebeb4d4a6 100644
--- a/core/modules/image/tests/src/Functional/ImageStyleFlushTest.php
+++ b/core/modules/image/tests/src/Functional/ImageStyleFlushTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\image\Entity\ImageStyle;
diff --git a/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php b/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
index b54f7732424e5c3df945166dacc4eec67b039b8f..f297d010ab9a8c628797c208e55329b946382f4e 100644
--- a/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
+++ b/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional;
 
 use Drupal\Core\File\FileSystemInterface;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonAnonTest.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonAnonTest.php
index a6b62aa34682aaec15fec3d36c6c1a7f7b8c9c3e..e736ba243d5e723c6d3fd7052d7da38e24319e46 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonAnonTest.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonBasicAuthTest.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonBasicAuthTest.php
index 93bd8f896a8155d25b3a9c539cef772af33fd447..8e4c40a46922155f5dc4d23502eb3cdea9a3993b 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonBasicAuthTest.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonCookieTest.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonCookieTest.php
index 0d0bb88e897b417c61b3c2b962fbcfa5ea7534e3..7190f840280e646e2fd3fc2f2ef2c5dfd79cbad1 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonCookieTest.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php
index fdad4a2e9b6cd0b23f574e8382003f498159a877..262ceea3a78777dab6eef11f13226ba7d4cb48e2 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\image\Entity\ImageStyle;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlAnonTest.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlAnonTest.php
index 8f976f308e8cd01da07e6149390bc07030a4926a..a508fc7a2b2af41ba228e2e4143515e2ec476ce2 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlAnonTest.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlBasicAuthTest.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlBasicAuthTest.php
index fa07a2875ec23ef574fa2b7598ecfb91c4ce2d9a..f0bfdbf8dbf7ee5f55ee099aed3686894324646a 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlBasicAuthTest.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlCookieTest.php b/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlCookieTest.php
index 75554393e31c52e37588ed3dbb5730ff22ab100d..b802543f66a7812095476210a7196c3bdcd1e26f 100644
--- a/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlCookieTest.php
+++ b/core/modules/image/tests/src/Functional/Rest/ImageStyleXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php b/core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
index b09ab25f2585332f080f68d3ea0e9674a8372208..bcb1bf981cbf996ffc781fe32a537beeb0b50090 100644
--- a/core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
+++ b/core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\inline_form_errors\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/inline_form_errors/tests/src/Functional/GenericTest.php b/core/modules/inline_form_errors/tests/src/Functional/GenericTest.php
index 8d6f294ec86b3fe5c68fb62a30855951ae0b5150..d31f0a72b584afc4728400f57f48e3ca18bdc73a 100644
--- a/core/modules/inline_form_errors/tests/src/Functional/GenericTest.php
+++ b/core/modules/inline_form_errors/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\inline_form_errors\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/jsonapi/tests/src/Functional/BaseFieldOverrideTest.php b/core/modules/jsonapi/tests/src/Functional/BaseFieldOverrideTest.php
index 9bd4a18994d8a5dc3b551f154c76b89a83962010..5ec1d014bfbea1983b3411c92896cda8e25901a4 100644
--- a/core/modules/jsonapi/tests/src/Functional/BaseFieldOverrideTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/BaseFieldOverrideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Field\Entity\BaseFieldOverride;
diff --git a/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php b/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php
index 901bf7e1055a03ac7b214532f79095b25eb9f160..4a870fdea63caac660b31c9bf14383b12eeb65f2 100644
--- a/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/jsonapi/tests/src/Functional/BlockContentTypeTest.php b/core/modules/jsonapi/tests/src/Functional/BlockContentTypeTest.php
index 5aba0234f5c1a32b5bb684b8a5373f90aecb8d4c..1f2055701c9d6990561c1479349758d0f464c46e 100644
--- a/core/modules/jsonapi/tests/src/Functional/BlockContentTypeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/BlockContentTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/jsonapi/tests/src/Functional/BlockTest.php b/core/modules/jsonapi/tests/src/Functional/BlockTest.php
index 0341af865cb7430785232222d013c4ddd082b205..e2cd21992bf40bb800755c422fae91acddbb4eb4 100644
--- a/core/modules/jsonapi/tests/src/Functional/BlockTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/BlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/jsonapi/tests/src/Functional/CommentTest.php b/core/modules/jsonapi/tests/src/Functional/CommentTest.php
index 3f03791ae7159b51e7967ccf77516c1777fbbac0..9a0e0eff57f1a3663f7151a8e76e6ec2fb7e3b97 100644
--- a/core/modules/jsonapi/tests/src/Functional/CommentTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/CommentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/jsonapi/tests/src/Functional/CommentTypeTest.php b/core/modules/jsonapi/tests/src/Functional/CommentTypeTest.php
index 08638cf7d442c74b30dc212d311c00409fd5532f..caf2a741757582ffa9fdfa097b6f19f8a6bf7175 100644
--- a/core/modules/jsonapi/tests/src/Functional/CommentTypeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/CommentTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\comment\Entity\CommentType;
diff --git a/core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php b/core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php
index f1bad7ce3400f788547d761def4e1029ca5d35a5..6b04e6e1c6a90946409b9f619b996286e08cbb24 100644
--- a/core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php
+++ b/core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 /**
diff --git a/core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php b/core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php
index abd6b548363d6e9875b26b400fd7964856def378..4e57cadc587b8bf702a84e0052d3748026f39f00 100644
--- a/core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\config_test\Entity\ConfigTest;
diff --git a/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php b/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
index 777235cee4746a89671bb7e68b2e4dfbcdef2a1c..d9b1dedee074e0969419f8b3547b9d260eedc906 100644
--- a/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/ContactFormTest.php b/core/modules/jsonapi/tests/src/Functional/ContactFormTest.php
index 4887025075d2af2f2608b73fc950986b31cb879e..3ea342b1e4123bfc7fa708bf2564b3a88415cd62 100644
--- a/core/modules/jsonapi/tests/src/Functional/ContactFormTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ContactFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\contact\Entity\ContactForm;
diff --git a/core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php b/core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
index 44ca329196131c46c0bc2b1bc23198b4737ad3aa..f3cca979fe91af70480320fcc501dcc29afdbfb5 100644
--- a/core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/jsonapi/tests/src/Functional/DateFormatTest.php b/core/modules/jsonapi/tests/src/Functional/DateFormatTest.php
index e6ba774650a1457a0e2ac248e045886ebdf036be..fd8f297ff59777c0bf48f49549e3a03dd5b55412 100644
--- a/core/modules/jsonapi/tests/src/Functional/DateFormatTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/DateFormatTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Datetime\Entity\DateFormat;
diff --git a/core/modules/jsonapi/tests/src/Functional/EditorTest.php b/core/modules/jsonapi/tests/src/Functional/EditorTest.php
index c381709192c539e3fcd53319cf51d355185bb681..d04bbd6267d5b270d7ef301f008f6c56e979b48b 100644
--- a/core/modules/jsonapi/tests/src/Functional/EditorTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EditorTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\ckeditor5\Plugin\CKEditor5Plugin\Heading;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityFormDisplayTest.php b/core/modules/jsonapi/tests/src/Functional/EntityFormDisplayTest.php
index afaf28eaf94b3e7c7caf42670b898f128d6d6a93..863b9599b99ce5b7bf38fc267732491ae7c5087f 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityFormDisplayTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityFormDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityFormModeTest.php b/core/modules/jsonapi/tests/src/Functional/EntityFormModeTest.php
index 9ab5e05fe85426ca7195feb81951a1193c90171a..3dc6af948846f80ad440d338ec153f94968fcefd 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityFormModeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityFormModeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormMode;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php b/core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
index 33c855c8a97ce21519889db0331d9ffcda03c962..f57eb69ce238214e619982f54df85f1a42f2d20d 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php b/core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php
index 39fe99a21c3b4526407725d23dbf3469d2a09e61..2a19ee33aed5b047290118163ce249749e89ba8a 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityTestTest.php b/core/modules/jsonapi/tests/src/Functional/EntityTestTest.php
index c63866c2372eeb35446b4e860e1e1b9f3b2a0ece..0d7efcfe8ba35e0af9f06eca9b27cee0701d4c2f 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityTestTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityTestTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Field\BaseFieldDefinition;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityViewDisplayTest.php b/core/modules/jsonapi/tests/src/Functional/EntityViewDisplayTest.php
index 6a96388a8f139ca2465a60ec29474e2a63585603..6504f72d1d2fb862f821a3c18386a0bd4cf3a162 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityViewDisplayTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityViewDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php b/core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php
index 10def2c5c3e2e5c54ab6f738806b9e0b39a8b720..e99978408ca9b00aba039d184a7a8945bc4e19e6 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewMode;
diff --git a/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php b/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
index 22f5da27cc5efe28ca04108347c4ed4583e88602..1e8360234cd57dfa9f70f9959d25cd0bf684abf7 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php b/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
index 924bd6dab38a4f4907da9becaaf6427f68f4eb40..3efaea6791f15e45a1945e78ddfbecdb61f1c1e8 100644
--- a/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/FieldConfigTest.php b/core/modules/jsonapi/tests/src/Functional/FieldConfigTest.php
index c5d94575104d16c29ecd76768545ec83f53c2c7b..85f7e3063ef609f019412f405272dd5a028cfdba 100644
--- a/core/modules/jsonapi/tests/src/Functional/FieldConfigTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/FieldConfigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/jsonapi/tests/src/Functional/FieldStorageConfigTest.php b/core/modules/jsonapi/tests/src/Functional/FieldStorageConfigTest.php
index 8e5659351990d71b8d2b9269d008c9859f6b3eb8..aab7213e45cbb30768917f27aca2bd9769d8290b 100644
--- a/core/modules/jsonapi/tests/src/Functional/FieldStorageConfigTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/FieldStorageConfigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/FileTest.php b/core/modules/jsonapi/tests/src/Functional/FileTest.php
index 5b7ff9154dd5836fcbaf64f80b4b26c2a76c3a5f..b24dbc73f069aef04223c75f5c8ca251af74dc5c 100644
--- a/core/modules/jsonapi/tests/src/Functional/FileTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/FileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php b/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
index a2044f12d1ace2151f0d7fed9b18197ccdde8d67..77a53c0c2ec07cf2325b260e4f17b37521afbf42 100644
--- a/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Render\PlainTextOutput;
diff --git a/core/modules/jsonapi/tests/src/Functional/FilterFormatTest.php b/core/modules/jsonapi/tests/src/Functional/FilterFormatTest.php
index 1fe8b3e116fad97e9396216f5ef9c5f8dab7730f..6e99f69a874ae2a16846f70caef5dda2cd6ad392 100644
--- a/core/modules/jsonapi/tests/src/Functional/FilterFormatTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/FilterFormatTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/GenericTest.php b/core/modules/jsonapi/tests/src/Functional/GenericTest.php
index 583ebb7b56022ce17aaf8dd7429b2df28e2d78d2..47e8cc1047a331ec1d21e6bfa603613f4f34aa49 100644
--- a/core/modules/jsonapi/tests/src/Functional/GenericTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/jsonapi/tests/src/Functional/ImageStyleTest.php b/core/modules/jsonapi/tests/src/Functional/ImageStyleTest.php
index 10aeabac0aad138bb2fbbd317feb685983dfc6bc..49e74c0ed6402d538709333e2c867d3b3b9ea5e8 100644
--- a/core/modules/jsonapi/tests/src/Functional/ImageStyleTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ImageStyleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php b/core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
index 20e9986a42023575b47d4b73d0e526d3d97c8fda..09b9a18d6d53a9c0ba3df2fd064f729b5e40e4ce 100644
--- a/core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
index d825682e2ef60634c71199fe64e7cb81268764fd..442a43b6fb011affb4aebe77cf673850c62be7af 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalDateFieldTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalDateFieldTest.php
index b38fa6c64f9e463d99422f909a50d23e23a5bc2a..8301d8a9fbdf8bd5ae15acc5372acebf9d4eac18 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalDateFieldTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalDateFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
index abe0a73d6969a7607e636ebc3bd59f4812e2304d..b98159370f279a9ad4fe67915557ddc273322c1b 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
index 85488c5c809b85226fb5cdec0b7ae912d3b59d21..f724b96eb5892712b3b13e9a468c1b94f1c8a210 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php
index 2c9515b6285de468145c06616d24a01529ecf35f..23dcf573d034023b61ed5cd06dd0da3c7f60a82a 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
index 4d6e4f2e8cf429925af1fecf6b4ca0bde4f9de91..36943a45b1520825d43928ea53e50ca05e53283f 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
index bcba84cbc7a8851136feaf7a717cf19b11bceb0e..c6b4259ea6574dccc4e451cd1f3864fefbfd8e89 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\comment\Entity\Comment;
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php b/core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
index 571513e8100fe47c362f92cf56656832e06da6d0..3d71aa6cb8c8fd1e656301dce2c73c792acf63a7 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Tests\ApiRequestTrait;
diff --git a/core/modules/jsonapi/tests/src/Functional/MediaTest.php b/core/modules/jsonapi/tests/src/Functional/MediaTest.php
index 8bd69aff1363a5f7670b2318dc0065ed4f2566ec..55c009905b20f50ba41554dea5bf43ea380f5179 100644
--- a/core/modules/jsonapi/tests/src/Functional/MediaTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/MediaTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/jsonapi/tests/src/Functional/MediaTypeTest.php b/core/modules/jsonapi/tests/src/Functional/MediaTypeTest.php
index f8dbc1528b53e42eacb7ea94179c32d91987cd3b..8f8e65ea91435da0fa3b00502d019b624d9be789 100644
--- a/core/modules/jsonapi/tests/src/Functional/MediaTypeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/MediaTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php b/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
index 36b90c8f94b1c8c9ad698adafbed805ce02681be..779a4ca786596a58962f3e69bd60835017b432b1 100644
--- a/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/MenuTest.php b/core/modules/jsonapi/tests/src/Functional/MenuTest.php
index e2e82c88da7364c03fd5086df566b78343577462..334549cb45f14ec892c6fc73a3fb6ed951008227 100644
--- a/core/modules/jsonapi/tests/src/Functional/MenuTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/MenuTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/MessageTest.php b/core/modules/jsonapi/tests/src/Functional/MessageTest.php
index 025433589d52c92522d5447f051e9f77eea5d857..d1ab23e2043c18346a2e0e4fca4346b01a0cfe96 100644
--- a/core/modules/jsonapi/tests/src/Functional/MessageTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/MessageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Utility\NestedArray;
diff --git a/core/modules/jsonapi/tests/src/Functional/NodeTest.php b/core/modules/jsonapi/tests/src/Functional/NodeTest.php
index baf6b8e91483cdee289369b4dc2bc09686af75cf..9330809ec7237197491827fe56807ab3cf251c89 100644
--- a/core/modules/jsonapi/tests/src/Functional/NodeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/NodeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/NodeTypeTest.php b/core/modules/jsonapi/tests/src/Functional/NodeTypeTest.php
index 525a29bf55fdf02efb489dcf7fcab40c052ab931..858ed98d65f9ad959c842c382834b4d529d0f95f 100644
--- a/core/modules/jsonapi/tests/src/Functional/NodeTypeTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/NodeTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/PathAliasTest.php b/core/modules/jsonapi/tests/src/Functional/PathAliasTest.php
index 2ad07816d222124afb2a4bbdeab93cfc136307a6..a2f8cad98569dd9f838e120439dfb9b57df9e081 100644
--- a/core/modules/jsonapi/tests/src/Functional/PathAliasTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/PathAliasTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\path_alias\Entity\PathAlias;
diff --git a/core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php b/core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
index 993ff5b57b6a7a57c7b28b33b279efa162a4fd4f..361d4fe43feeb235dccce4caa04ff591821449ca 100644
--- a/core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
+++ b/core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php b/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
index cebb6f2c731fd63cee9e5ae9209c983bbd8584dd..6227961eeb76c849d64f7d9f8573e47a8e4f73b0 100644
--- a/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
+++ b/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/ResponsiveImageStyleTest.php b/core/modules/jsonapi/tests/src/Functional/ResponsiveImageStyleTest.php
index a54e7dbde6f9e7bd9220abbb11764597ff581783..67a29cd3dcfe32b06a6deb2976d5cb77f6ec83e1 100644
--- a/core/modules/jsonapi/tests/src/Functional/ResponsiveImageStyleTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ResponsiveImageStyleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/RestExportJsonApiUnsupported.php b/core/modules/jsonapi/tests/src/Functional/RestExportJsonApiUnsupported.php
index 6eed86f81eefe7bfe6d303c40439c64a0e350ed0..35b2d039affc75c2985b53ff58d7c1606fc5a720 100644
--- a/core/modules/jsonapi/tests/src/Functional/RestExportJsonApiUnsupported.php
+++ b/core/modules/jsonapi/tests/src/Functional/RestExportJsonApiUnsupported.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php b/core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php
index 84b8b91fb8e49938f753bfac50916a98da2b4b96..22f5ff77b4f7ea2e19f8f046fc22ba45d13bc052 100644
--- a/core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php
+++ b/core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Cache\CacheableMetadata;
diff --git a/core/modules/jsonapi/tests/src/Functional/RestResourceConfigTest.php b/core/modules/jsonapi/tests/src/Functional/RestResourceConfigTest.php
index 8e0d03e9271bf8a274b8f39a7128b9a1b0d02a4c..8d314e0aaed84bd7cbdb2c81a6ae7929e272690b 100644
--- a/core/modules/jsonapi/tests/src/Functional/RestResourceConfigTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/RestResourceConfigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/RoleTest.php b/core/modules/jsonapi/tests/src/Functional/RoleTest.php
index 0880da627194bad0f66bd795ede2ff8c1ccefbd5..edbc8eaf5ca6faac38958ae509686907acf472e4 100644
--- a/core/modules/jsonapi/tests/src/Functional/RoleTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/RoleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/SearchPageTest.php b/core/modules/jsonapi/tests/src/Functional/SearchPageTest.php
index 80915415ebe120a1dfd495a9bbd52eae17e2b93f..781c27076ffc28175267e76fd1ee51e850786419 100644
--- a/core/modules/jsonapi/tests/src/Functional/SearchPageTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/SearchPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php b/core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php
index d9912630ddc825e54525f47cd43f372e8b4782b0..589808c297d768a962722ffae7613bf8b3eccb66 100644
--- a/core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/jsonapi/tests/src/Functional/ShortcutSetTest.php b/core/modules/jsonapi/tests/src/Functional/ShortcutSetTest.php
index d1efcc2652b832e4d1781b820074b316b178350d..b9a07aa5ad3e6e3f0f8d997f421694539bde5835 100644
--- a/core/modules/jsonapi/tests/src/Functional/ShortcutSetTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ShortcutSetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/ShortcutTest.php b/core/modules/jsonapi/tests/src/Functional/ShortcutTest.php
index 5ea7e3aeab908c4560c6f8d590c83d098aafc85f..fdb64885ee60719763b558e54ce1ccb37a6b6037 100644
--- a/core/modules/jsonapi/tests/src/Functional/ShortcutTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ShortcutTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/TermTest.php b/core/modules/jsonapi/tests/src/Functional/TermTest.php
index bebe37dda40cb82d46ff8dc25f9f7a76aeab7bdf..8e7bf041c55dd4c195b6965b116459238fcff266 100644
--- a/core/modules/jsonapi/tests/src/Functional/TermTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/TermTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/UserTest.php b/core/modules/jsonapi/tests/src/Functional/UserTest.php
index e1672cb748d766bed2440f1b08eefddb38466ba0..49eca5f48b476eff6a72de59d8f4cfea304b7935 100644
--- a/core/modules/jsonapi/tests/src/Functional/UserTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/UserTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/jsonapi/tests/src/Functional/ViewTest.php b/core/modules/jsonapi/tests/src/Functional/ViewTest.php
index e546d9496f22aff237c509340394ec5f6954bbd2..f1754d6201ac435d6076fd9388f72411d87acf0e 100644
--- a/core/modules/jsonapi/tests/src/Functional/ViewTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/VocabularyTest.php b/core/modules/jsonapi/tests/src/Functional/VocabularyTest.php
index 1ee5dc65b085bdc366e0a92087961a16e3fa59e2..538905b6e69b59460cd01f89a5039f63f514a883 100644
--- a/core/modules/jsonapi/tests/src/Functional/VocabularyTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/VocabularyTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php b/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php
index c5d476372f9efb74564a6cd585f33dbda85afd5c..1fdedc9bb33b0da264ebd10ddf79a41bac5abdee 100644
--- a/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\jsonapi\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php b/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php
index a4917e5ca01c700cbf97b0180b487ef9b42ee66a..f188628d044330a330d4096152af727633c4c587 100644
--- a/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php
+++ b/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php b/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
index b3e12c586bd12b3dffac8c71796e2065d931122f..487fbdb87805d8ed2e3d01a6b7b7b3f281fb6426 100644
--- a/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
+++ b/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php b/core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php
index 20ae56c4b501850d16a22d6ca06a6be2dbc302f2..b02fe739da2194db64312db65d34e2c899e416e4 100644
--- a/core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php
+++ b/core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/GenericTest.php b/core/modules/language/tests/src/Functional/GenericTest.php
index f0ee4822ab7d44ab55e9ea92cb58d1c5106c3816..558c886100d8aecbf5a23463b972f568ea8fbad4 100644
--- a/core/modules/language/tests/src/Functional/GenericTest.php
+++ b/core/modules/language/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php b/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
index 41e1bc1f5d697e43b74237d3c4510fb1b621d5f7..4617e684e66faeddd88a75f503d1b67c5f169258 100644
--- a/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php b/core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php
index 9c91eea834e39e60d382ea12486b46c785977426..4723c99d3b806f5ed699f4bc10fb81d806662463 100644
--- a/core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php b/core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
index 160f417bf31c60ae3633cb8b84e72bce3c114582..31ec8ac47fd85e4a95775d0f3e454db256caf656 100644
--- a/core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php b/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php
index e2f173d019046c118aa1983d3b6c955585b6292c..ec0331471b9a6618b646f5e3d2540b0629dfbadb 100644
--- a/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/language/tests/src/Functional/LanguageConfigInstallOverrideExistingTest.php b/core/modules/language/tests/src/Functional/LanguageConfigInstallOverrideExistingTest.php
index 74a8bd9352c72352fdfe4237d0ea8daaf178eb60..dda12c90f2962cd2612df35941e32efdc108d14d 100644
--- a/core/modules/language/tests/src/Functional/LanguageConfigInstallOverrideExistingTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageConfigInstallOverrideExistingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php b/core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php
index 5657cf7eb35252a7fc451e2bf471ebccc987b4aa..78debfa7320f85585e8eff5a1fad54a29107bbdb 100644
--- a/core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Config\ConfigCollectionEvents;
diff --git a/core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php b/core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php
index 7145d7c30c804c20db690629e45085265023c7cc..fa09ec5592e3e8418ae46cdac9803ee4104b9b01 100644
--- a/core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\SchemaCheckTestTrait;
diff --git a/core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php b/core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
index 1b025afd6dda23812e7ad944071bc69e5c4c8156..78d7d9213872288721956542f09a52d43a7a834b 100644
--- a/core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/language/tests/src/Functional/LanguageConfigurationTest.php b/core/modules/language/tests/src/Functional/LanguageConfigurationTest.php
index 8ea06a2eb9fe3ac48ec05cef91fb14a7347eeb00..c7d1cf7232cb0b86d89ca51a3539393c039c9a4c 100644
--- a/core/modules/language/tests/src/Functional/LanguageConfigurationTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageConfigurationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/language/tests/src/Functional/LanguageCustomLanguageConfigurationTest.php b/core/modules/language/tests/src/Functional/LanguageCustomLanguageConfigurationTest.php
index 9e06ecef665a3c71c6cd55116d067ab79b5ce26d..ad051dcf2cc933f362413c66504be08d1b302a58 100644
--- a/core/modules/language/tests/src/Functional/LanguageCustomLanguageConfigurationTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageCustomLanguageConfigurationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php b/core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php
index 09c3728678bf6238548511d71aefdba9dacbb1da..63d026ef6106bfd2754a5da2b2fcfafcb232eca7 100644
--- a/core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php b/core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php
index 2b3fcf49e3ab0a1f02bd76bc72639b747ed8bcf6..c66e11715b5c873f0fba67febfddc5d854d1d3a4 100644
--- a/core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageListTest.php b/core/modules/language/tests/src/Functional/LanguageListTest.php
index 9def1a41d33d72b587dd709d2bca61f273964dcc..7e1f6b38d78c5e6acdf877485dceb03233e20c5e 100644
--- a/core/modules/language/tests/src/Functional/LanguageListTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageListTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/language/tests/src/Functional/LanguageLocaleListTest.php b/core/modules/language/tests/src/Functional/LanguageLocaleListTest.php
index ffd081e5bf1d77ad7d848583dbb1cdefc2f46b30..7da3df26067d88c05ecb1bfe01a8a4e334ce34df 100644
--- a/core/modules/language/tests/src/Functional/LanguageLocaleListTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageLocaleListTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php b/core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php
index d74a1def3940d8c50563c10bc44a0ef8f06239a3..13288b2e3c15fdf9db5ccf42e499e8c277a18bac 100644
--- a/core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php b/core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php
index 45d2e73e32e0e671e9c6af25bd25c5e5c9e33099..555add6adcf5fd399c6122a734c20d6db222cb50 100644
--- a/core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php b/core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php
index 83906d2ee9ddc60c8c29c801d1eea2ad5e367009..2ead53a516ebff74b78c6705e3fc5a5132952f64 100644
--- a/core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php
index 35365bac6e3d057fdc657675cbe6e48216c9eb8f..163e7125bdb49e964276946312ce413807cbe3a7 100644
--- a/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php b/core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php
index a6e7bc6ee070c306fec475faa46ee0f6e6b5fe64..aab8dbf7f00f084ca35a01bacafeb707f5059dc4 100644
--- a/core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php
+++ b/core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php b/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
index 8902edd205cb55db669053fc014896f40bb42419..792052ff38b2b0e506da723762fb4a21394dd196 100644
--- a/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php b/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
index e3760e1d2d9a8f668567bbe73c4d1f990582c075..b0fb5d0ef4bda9567a20a43342dcfdb90ac230f0 100644
--- a/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php b/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
index f44dd6ade8e2669bff667be22156a5e3b8e2135b..c1885b47d0da20858ed7ac5999bc7c819aef722a 100644
--- a/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php b/core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php
index 5067447301a0b3e5bc214e74cc585a5b9e6dcaf3..fc7828d95411927b6ce419d70b955f66e1539b1c 100644
--- a/core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional;
 
 use Drupal\Core\Language\Language;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonAnonTest.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonAnonTest.php
index 572f2a9512cf06e2892d30d47637d14a7b415208..5d11f6638bdc1ee29d19ff2cfbff356cd8314ca9 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonAnonTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonBasicAuthTest.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonBasicAuthTest.php
index a1ab65cee1223f50c452e3b2d48e3ee292cc0ba1..b0e597ebe5d0941ae5cd992700c7341483c6d402 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonBasicAuthTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonCookieTest.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonCookieTest.php
index a1b348b4413abd61b11d5b3b50729cbe7331636d..6aa5e03501e0281cf9f8840aca10740949d1dc35 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonCookieTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
index 02a976c7406acf8d4b781f228b260ca8de068f23..ff4f5feef7908eaec5d75109931a09ee06c7c380 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlAnonTest.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlAnonTest.php
index c787cd343c7bb7565794e9fd6970d74aa6ee58c6..5b5bdbe520063e1bb5449735b6d55cb9e6f9be8d 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlAnonTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlBasicAuthTest.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlBasicAuthTest.php
index be564187f2426eda7710b328ddad5c7af53c58cd..5eb8867ba3556f908d4d18d8df34b532df35480f 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlBasicAuthTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlCookieTest.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlCookieTest.php
index 0d874619359fe3eb573c4ac386adc48b32d45b34..1bdc788d88ea279079acd001b793ef689a2f28ac 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlCookieTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonAnonTest.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonAnonTest.php
index 74de3ea30d118967a7518f1738d13b43399b1650..343893864707172ba38c5570790553e581a2667a 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonAnonTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonBasicAuthTest.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonBasicAuthTest.php
index a95ec1c4e931facc8114c21f73d30c7db7c8052e..903b1afa1d55d35900205c290baba84e3e8e3d04 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonBasicAuthTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonCookieTest.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonCookieTest.php
index 9d38614cacf8008925b0fd7b8483141171d95d20..2f3bd0a96a536bb304051131e891e487e9fc8dfd 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonCookieTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
index 30683f0a14a635f632e70d4acac428c250ab216c..4c356b5ba6f93972a8ed582cefe2e91495310aad 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\language\Entity\ContentLanguageSettings;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlAnonTest.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlAnonTest.php
index 102e85df52c300d5705e3fad2f6922a3f6cd45a3..2f179762c7dfbef418e36e48dc78496f2602f0dc 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlAnonTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlBasicAuthTest.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlBasicAuthTest.php
index e44f60bf41bbf916c140e8c5d5dad0616051d52b..519d13a361a581e9595e9587cb3a0e08b2decb2e 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlBasicAuthTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlCookieTest.php b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlCookieTest.php
index 1c7ede1bf9f5b09b67f6766dce95e9cd236ee424..1e2109a57792857b03e82aa092cec0cfbca32757 100644
--- a/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlCookieTest.php
+++ b/core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\language\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/GenericTest.php b/core/modules/layout_builder/tests/src/Functional/GenericTest.php
index 9fffe5b5d66ee5722c0e2480756cba86ee566d96..8c3d7bbdc63993f733164cdafbfd071ca3df001b 100644
--- a/core/modules/layout_builder/tests/src/Functional/GenericTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/layout_builder/tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php b/core/modules/layout_builder/tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php
index e5f91a4aca8fed02c76fc876cee8e7303a09f8d5..f4d013797ba43c9a168e91ddb8aa81617be8c60f 100644
--- a/core/modules/layout_builder/tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Jsonapi;
 
 use Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php
index bb81323437436e8776dd0202e4714cb7cdacb85c..6acfda1cb8bd706a3c9460450ffb1e5ace6b61ab 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php
index 356fd196bc9b0ebd0624b0a80ef932de3c6e5664..1c150d3ea9906effb3bd162622332764c278c2e6 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php
index d65fb822179cd40bb5c51144c338391fd7a9ab0e..b95ed63e87d705aca23cf6d2b651d569dd2ae210 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Core\Entity\FieldableEntityInterface;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php
index 3f7cc36365200985918cb5972d351478cdb307e0..1bb93b2793a6c9cfceab12d0045388f886087d3e 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFormModeTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFormModeTest.php
index d92d55781e79e6615b0731a2822db3ca4751db3b..246b7c5b65b921f9285f6edd370ca2bdcecaa3d5 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFormModeTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderFormModeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderLocalTaskTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderLocalTaskTest.php
index 1e485554ec675316c7517447d94002435fe5a776..546c602ac99b6bbd412d371270cd6ad0d8162cea 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderLocalTaskTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderLocalTaskTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderOverridesTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderOverridesTest.php
index 8b2f1534a972f2e8cad69698d110ef39d504fcaf..39303f61d55e5fd46fc3c4093d50467b69da643d 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderOverridesTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderOverridesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderPrepareLayoutTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderPrepareLayoutTest.php
index 903ebfcff46cb0b130e0f368a1e9e52d162613f4..2974304ae9edacfd2825299d4b679d855552c0b8 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderPrepareLayoutTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderPrepareLayoutTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php
index a30d65dcf819d13387553b81350bf3bd817c2136..954fe2a5639928cd98a733631fc6588f19df983e 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
index c05f28b50ae7f1b3254c605384bba9601cab6bef..71c6674e287516a1d5d23df57dcd07723fb49009 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Section;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTestBase.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTestBase.php
index 5ffe10fce9ffbaee101e9e614901fb492c3cca6e..94cb2455b5a4bb5859e3818fcb85b1a30afd552f 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTestBase.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php
index bf22848f313a3210a788b0b82cce70cb9549700a..3662f6dbdfec201224859e441b0bd454123e314e 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php
index c52bc8cb347fca046e3fff6172445937d117f242..2b93ef08df6965efb10b73a6f883d1519a5409b0 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationTestBase;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderViewModeTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderViewModeTest.php
index bfc1f345e4f6ba28d18d7032efeddec231ab504a..8d468f704052be810d23af41fb0652c68c38cfeb 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderViewModeTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderViewModeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 /**
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutDisplayTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutDisplayTest.php
index 305872ba8be7f956988321e4ff32f04cc8d35944..053011a75af560e44852597a80feab38c5f122c2 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutDisplayTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php
index f575bc85b72857f0f513f39185966effd9cf742f..bb32a834388eab25fdf2035705559818e7d339c1 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional;
 
 use Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonAnonTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonAnonTest.php
index 316c1f89161598b2e45df64125f5867e6755a04b..a6a8c7ff5ea2ff71c34f92fa9306a9653e720ad9 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonAnonTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonBasicAuthTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonBasicAuthTest.php
index 099e31ace021d41f4efa0425c3ad6f4f084fcf51..f9dac1ac355635699b546d2ec24407f6f5418653 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonBasicAuthTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonCookieTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonCookieTest.php
index de311a73257e3f2b494cca84c391018589c65c60..d2d3e6a7c6eaa91d4beec50f4abf5684f07bd4e2 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonCookieTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php
index 7d28bda9638874d7157a6da53e3c3989d99401c4..3e536d649ac7bdb11bfa6c63d5f6a317b3b4c01d 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\FunctionalTests\Rest\EntityViewDisplayResourceTestBase;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlAnonTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlAnonTest.php
index 63d3ba06634d5f35649bab01e38f8da6e3517ee7..db0bb7b31ca39f68ee2c2c9bf83a4c36be4eae47 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlAnonTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlBasicAuthTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlBasicAuthTest.php
index 751e8ad3c5b74980cd6e604d82b017b56009fee5..e4b7d6ae7a093f017db0f8a01822bab9d096efe6 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlBasicAuthTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlCookieTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlCookieTest.php
index fef266ca49a2d8e6eecc37a04bde134c5a6a6a25..49ba6a8831d3cb20d419cc2a4ee7db0eeb9e14a8 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlCookieTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php
index 9b659573f68cc24672bd5a19bbdd5b6a5d57595e..c80f35ca753480204fc4965a76e3c8ae95eaaa21 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Component\Utility\NestedArray;
diff --git a/core/modules/layout_builder/tests/src/Functional/Rest/OverrideSectionsTest.php b/core/modules/layout_builder/tests/src/Functional/Rest/OverrideSectionsTest.php
index 9f7f75d39fa3cf53618ef861544b38a51582aa41..79df58753b86f5fe7206141c6e113943c55fbeac 100644
--- a/core/modules/layout_builder/tests/src/Functional/Rest/OverrideSectionsTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/Rest/OverrideSectionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_builder\Functional\Rest;
 
 use Drupal\Core\Url;
diff --git a/core/modules/layout_discovery/tests/src/Functional/GenericTest.php b/core/modules/layout_discovery/tests/src/Functional/GenericTest.php
index d93515892af6de609a9360e9307966f0f135adb7..ea03d2844295416c9db6f872d968c421c13a2aad 100644
--- a/core/modules/layout_discovery/tests/src/Functional/GenericTest.php
+++ b/core/modules/layout_discovery/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\layout_discovery\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/link/tests/src/Functional/GenericTest.php b/core/modules/link/tests/src/Functional/GenericTest.php
index 099d55b064c2e8c752e67211181f9e9b80f67c30..387b82b829873452a4caefdff51925f2947c6db5 100644
--- a/core/modules/link/tests/src/Functional/GenericTest.php
+++ b/core/modules/link/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\link\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/link/tests/src/Functional/LinkFieldTest.php b/core/modules/link/tests/src/Functional/LinkFieldTest.php
index 185ea6f833d02782bd3e99af99249e268a92eff0..c9028836c7ccd7ab945372efa29dae5a698ea27e 100644
--- a/core/modules/link/tests/src/Functional/LinkFieldTest.php
+++ b/core/modules/link/tests/src/Functional/LinkFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\link\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/link/tests/src/Functional/LinkFieldUITest.php b/core/modules/link/tests/src/Functional/LinkFieldUITest.php
index 2c40adac32ca8544105dea4b0bbf3fbf25516026..dd4fe7370a0bbf53c5bd7688e87c4736d5e43b84 100644
--- a/core/modules/link/tests/src/Functional/LinkFieldUITest.php
+++ b/core/modules/link/tests/src/Functional/LinkFieldUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\link\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php b/core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
index 96e00da72942eff20dfe056d0674fcae09a22c13..01dcc01953f33dfbd749038172ec0c8c35823a59 100644
--- a/core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
+++ b/core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\link\Functional\Views;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/locale/tests/src/Functional/GenericTest.php b/core/modules/locale/tests/src/Functional/GenericTest.php
index 1105d94d8a8bcc9f45b89fbd5d7d609dab6d7d76..32c3586f4c94a09e0273c692519111f3b5523968 100644
--- a/core/modules/locale/tests/src/Functional/GenericTest.php
+++ b/core/modules/locale/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
index 4b6421a57a105fe58484980cd89ef068126116a0..02991c6076ae72314491cd077f610c7ddbfa9bf1 100644
--- a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\locale\Locale;
diff --git a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
index deb81a41b9f325a0c1f3d49c531ba50a05118f75..419037ea276b29cf40a03e1078afc1ec80be24d5 100644
--- a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocaleContentTest.php b/core/modules/locale/tests/src/Functional/LocaleContentTest.php
index 4689d3460f411d71b1fe29141fedf49e8117fc41..1f4d1a27e0099e36d2b28497ca05e887e53d0fd3 100644
--- a/core/modules/locale/tests/src/Functional/LocaleContentTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleContentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocaleExportTest.php b/core/modules/locale/tests/src/Functional/LocaleExportTest.php
index e126e51c34978f06f72639f3c666521b98ebe3a4..c187b4e49c50c5f64580a30a4cfc515961012567 100644
--- a/core/modules/locale/tests/src/Functional/LocaleExportTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleExportTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\File\FileSystemInterface;
diff --git a/core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php b/core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
index e8304c23235e595b30f907c01355855e083618cc..e1e3b6318be7c89677a5644e9fba0406232e3158 100644
--- a/core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
index 7795fd108d1fa6b1f8f16b4092908dba05365263..07dff777606353b02a839a88319841f52c20f533 100644
--- a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/locale/tests/src/Functional/LocaleInstallTest.php b/core/modules/locale/tests/src/Functional/LocaleInstallTest.php
index 776509cbc3a2daf21de7fbe46e70bb89881b51a2..fc81fdb19b52a4419bd4585cb17931072959a663 100644
--- a/core/modules/locale/tests/src/Functional/LocaleInstallTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleInstallTest.php
@@ -1,6 +1,7 @@
 <?php
 
 declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php b/core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
index c39fc2e9d96168d908cac2c8afb8a4a0526d01e5..7a3879a6aef06a31fb477747e9a1e43ce5412f3d 100644
--- a/core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Component\Gettext\PoItem;
diff --git a/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php b/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
index 7df92f83b31a4401a8336b3f895ac6452554fe9b..80a8d383107a2d4eada59bba1f5d41c684a769cc 100644
--- a/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Component\Gettext\PoItem;
diff --git a/core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php b/core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
index 6798f5a9aa19a6e0f336a201b20fe30aa48c6bcd..328122afaf2b75df7ce2cd5b1e7fc4b00dd158fa 100644
--- a/core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 /**
diff --git a/core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php b/core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php
index ec29fc9a3ea45dd0281b4ae41d0663e433470cc4..dd63cbf3f43aabd62f0069af150c523b217b8b5b 100644
--- a/core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocalePathTest.php b/core/modules/locale/tests/src/Functional/LocalePathTest.php
index 6e31b5c6f6b78be6f613b4e7de9cf28528060241..1b390d92f78191d0a455e4d6f1653eab0b1e3911 100644
--- a/core/modules/locale/tests/src/Functional/LocalePathTest.php
+++ b/core/modules/locale/tests/src/Functional/LocalePathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php b/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
index 6cfc2b344dd04ab82e54f1e645c2bd392a967a18..a5f3fc73f137416c7d9190395de220262a7aff4a 100644
--- a/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
+++ b/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Component\Gettext\PoItem;
diff --git a/core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php b/core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php
index 445ea672d2da3bee17574d9f08047eac2694fd0a..5d6d41cb92ed45fa1857ad70f309c2a4a3e746c7 100644
--- a/core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php b/core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
index 46bbb1246ec03ec63c108ce11c472e0a196d7c7c..1e2101347886fc52a9fb05f5681902c7de20f7db 100644
--- a/core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\StreamWrapper\PublicStream;
diff --git a/core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php b/core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php
index 355e204e7a50e8e8a0d3b90e5c49bdd38c42b1bb..598026a11fc2345c6006ff4ec843362df42895f1 100644
--- a/core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\StreamWrapper\PublicStream;
diff --git a/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php b/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
index f8369eef726541eac798ff566bb4fb09e351988f..77d0d57d2b0323fbe415264b7425edd409873dfd 100644
--- a/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Site\Settings;
diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php b/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
index f2277a81ebee8b8e299834f5a105002e237d7645..f8d0642fd655a1d5fa3f85a0e25554e99fba753a 100644
--- a/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
+++ b/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php
index e98cd149649a46faaa3d7cea5753d4ad113585b2..7c0b88f606e4ff9968d35dca24743af168a3d54f 100644
--- a/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php
index d2838f5cf7d2725706ad8e4f9cb36b7c1fc84b70..d87706236a511f872edb462bd901ca87eaeeefc2 100644
--- a/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateInterfaceTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateInterfaceTest.php
index fabd5d904050e003a007717cb6d87070a41f1eff..e80287c7c74d182ed72f3001ef6f3583d4b3eec5 100644
--- a/core/modules/locale/tests/src/Functional/LocaleUpdateInterfaceTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleUpdateInterfaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
index 4ea0400f8c49cafc28546f45db3702464489a842..547dd061c5fc98a62bb0b8e570454cc58feefa72 100644
--- a/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\locale\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php b/core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
index 5a107846c3b859e7349eeceb3b80f7d8dbd9440f..6fcebc7422f0d6220435e843790296b441a823f4 100644
--- a/core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
+++ b/core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\FieldFormatter;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php b/core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
index ee70fb8f5794938c36a28ea050a0ba8c2883a008..bfcefc95b725e5ac5e89f661f587ed1ba925e474 100644
--- a/core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
+++ b/core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\FieldFormatter;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php b/core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php
index 83652523a58724506eb4b7bee20dc7c279660a62..dfbc5a2fcc4bac9063fe3c8d191f5f9b07f12416 100644
--- a/core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php
+++ b/core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\FieldFormatter;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php b/core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php
index 5d1caf11ae77667cdc728910d894ba5ec1597714..417c4652ffdf8859b15c5fa768799653c7022ddb 100644
--- a/core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php
+++ b/core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\FieldWidget;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/media/tests/src/Functional/GenericTest.php b/core/modules/media/tests/src/Functional/GenericTest.php
index afff4719ab0c2ce882f1622286c1f1604c3d194c..10f410cc25a123e006b0cc7c2eef45d236df8637 100644
--- a/core/modules/media/tests/src/Functional/GenericTest.php
+++ b/core/modules/media/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/media/tests/src/Functional/MediaAccessTest.php b/core/modules/media/tests/src/Functional/MediaAccessTest.php
index 93186afae7dc84905430036c6303ad65a128abe7..bd6469590cfcda92c30210af8ff69dd72d930e59 100644
--- a/core/modules/media/tests/src/Functional/MediaAccessTest.php
+++ b/core/modules/media/tests/src/Functional/MediaAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/media/tests/src/Functional/MediaBulkFormTest.php b/core/modules/media/tests/src/Functional/MediaBulkFormTest.php
index d65f34e2b014cff54c6436f0779e319e1754ce5e..3b2c9193ab8e71475e5cb62fadddd0b33740f071 100644
--- a/core/modules/media/tests/src/Functional/MediaBulkFormTest.php
+++ b/core/modules/media/tests/src/Functional/MediaBulkFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\Entity\Media;
diff --git a/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php b/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
index 5cd6f9087283442ec50d4267bdb8bee7f5a644b3..a771a909683750b02219fe0af5e091f641c5c582 100644
--- a/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
+++ b/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/media/tests/src/Functional/MediaContextualLinksTest.php b/core/modules/media/tests/src/Functional/MediaContextualLinksTest.php
index f5cf9a81bca0b9b1c8862cba64f8255977ede206..a556126c05c222a4a4d6958e2dd86f49fb602258 100644
--- a/core/modules/media/tests/src/Functional/MediaContextualLinksTest.php
+++ b/core/modules/media/tests/src/Functional/MediaContextualLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\Entity\Media;
diff --git a/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php b/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
index 2465695ff35baeaa873aa4b723dc59773cf5c6e2..08c76786905a736dd9a882dc583ed360b9883d4b 100644
--- a/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
+++ b/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php b/core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php
index 702518dac35a537533180b468ab0dba4ee2ede9e..1fc18b8dfc329b9b869a6de3c1eb542eef743a86 100644
--- a/core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php
+++ b/core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 /**
diff --git a/core/modules/media/tests/src/Functional/MediaInstallTest.php b/core/modules/media/tests/src/Functional/MediaInstallTest.php
index 5fa3658ca45549bf30679d3ee591760d368c7059..9af1cf25bf85df9da0e6cbc3c7cf7305474eeee9 100644
--- a/core/modules/media/tests/src/Functional/MediaInstallTest.php
+++ b/core/modules/media/tests/src/Functional/MediaInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php b/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
index ac2bb016fa6a1940d84cfe230c778f4b3503ba4c..a0fcb6c726b97bc6cc4ce3c246331bdacbf512d9 100644
--- a/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
+++ b/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\Entity\Media;
diff --git a/core/modules/media/tests/src/Functional/MediaRequirementsTest.php b/core/modules/media/tests/src/Functional/MediaRequirementsTest.php
index db12de615073f0cf1d1960c3822bfaf8b48a23cb..94838fff7da589f53d5fb19365f3d5d5e7869a4e 100644
--- a/core/modules/media/tests/src/Functional/MediaRequirementsTest.php
+++ b/core/modules/media/tests/src/Functional/MediaRequirementsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 /**
diff --git a/core/modules/media/tests/src/Functional/MediaRevisionTest.php b/core/modules/media/tests/src/Functional/MediaRevisionTest.php
index fbeeff35d1a42be7bec719f445e4e8268a093f82..2125945a92533f88de420dac10de049aa5808a85 100644
--- a/core/modules/media/tests/src/Functional/MediaRevisionTest.php
+++ b/core/modules/media/tests/src/Functional/MediaRevisionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/media/tests/src/Functional/MediaSettingsTest.php b/core/modules/media/tests/src/Functional/MediaSettingsTest.php
index 06df4a9f9ab70879336eea9e17f8a6247b87a40f..9dd0eae02fa413a0b6fc3c2cf69e09b170e96050 100644
--- a/core/modules/media/tests/src/Functional/MediaSettingsTest.php
+++ b/core/modules/media/tests/src/Functional/MediaSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/media/tests/src/Functional/MediaSourceFileTest.php b/core/modules/media/tests/src/Functional/MediaSourceFileTest.php
index 09fb9f4168619a7a475fe38fe40bd06512ca5995..0fd7ee1619db728276f5871d3b277c8fc9ae0115 100644
--- a/core/modules/media/tests/src/Functional/MediaSourceFileTest.php
+++ b/core/modules/media/tests/src/Functional/MediaSourceFileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/media/tests/src/Functional/MediaSourceImageTest.php b/core/modules/media/tests/src/Functional/MediaSourceImageTest.php
index fabde4bfb22f60ab2831f7f2c61a27f074fa92f5..9c42f342bb7bae9aa47d6311b5d3cf287701c493 100644
--- a/core/modules/media/tests/src/Functional/MediaSourceImageTest.php
+++ b/core/modules/media/tests/src/Functional/MediaSourceImageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php b/core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php
index 099d1f4d3734d5dace28757dd7f989df8a1d66ca..3bd0e15485f520f67d3d8bf089a773c579e1519e 100644
--- a/core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php
+++ b/core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\Entity\Media;
diff --git a/core/modules/media/tests/src/Functional/MediaTranslationUITest.php b/core/modules/media/tests/src/Functional/MediaTranslationUITest.php
index 9e8538b9fe786fd69c916d27bff6797ab5d1adbe..84be60ba6273ef7604bf898991859762c4140944 100644
--- a/core/modules/media/tests/src/Functional/MediaTranslationUITest.php
+++ b/core/modules/media/tests/src/Functional/MediaTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase;
diff --git a/core/modules/media/tests/src/Functional/MediaTypeCreationTest.php b/core/modules/media/tests/src/Functional/MediaTypeCreationTest.php
index 7f245032154ebb494425123810db567609f6a1d4..c9162e07caefc387e6ccbc8cf16c5c8daabb66e8 100644
--- a/core/modules/media/tests/src/Functional/MediaTypeCreationTest.php
+++ b/core/modules/media/tests/src/Functional/MediaTypeCreationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\Entity\MediaType;
diff --git a/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php b/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
index 40b9ea46db08eb858ca1f059c609fd091ffdcc28..d308711405a2e102a212ed5663e1c9c5fa08e9b6 100644
--- a/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
+++ b/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Tests\field_ui\Traits\FieldUiTestTrait;
diff --git a/core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php b/core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php
index 4a4f395ff47fb90b6b9dc94d69d54c1126165640..189049615cb7b3cb74e4d6345c6955ec584ccf49 100644
--- a/core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php
+++ b/core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Behat\Mink\Element\NodeElement;
diff --git a/core/modules/media/tests/src/Functional/ProviderRepositoryTest.php b/core/modules/media/tests/src/Functional/ProviderRepositoryTest.php
index 6c812dae765d78d6692d5e44cd9715a80fcae4aa..1e7001bd75ca6dfced7d1aa68775b5dbcb6afcec 100644
--- a/core/modules/media/tests/src/Functional/ProviderRepositoryTest.php
+++ b/core/modules/media/tests/src/Functional/ProviderRepositoryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\OEmbed\ProviderException;
diff --git a/core/modules/media/tests/src/Functional/ResourceFetcherTest.php b/core/modules/media/tests/src/Functional/ResourceFetcherTest.php
index 699e07ad19b8dbd6f43ab3d2c91154d0968f2c90..33f0c2c79ae95bbec70790d9cafbc5c11833a69e 100644
--- a/core/modules/media/tests/src/Functional/ResourceFetcherTest.php
+++ b/core/modules/media/tests/src/Functional/ResourceFetcherTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\media\OEmbed\Resource;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaJsonAnonTest.php b/core/modules/media/tests/src/Functional/Rest/MediaJsonAnonTest.php
index 2576c5551d5747acecbfd75e7df530217df928fb..fd191cad5c483bdb1409ced8de4626757d7ca6e6 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaJsonAnonTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaJsonBasicAuthTest.php b/core/modules/media/tests/src/Functional/Rest/MediaJsonBasicAuthTest.php
index 600b952558bcf8c3c8d5dc726d9ddec7120e4136..e2b5df269bcf83e08aad64767d65ba3c3400d2df 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaJsonBasicAuthTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaJsonCookieTest.php b/core/modules/media/tests/src/Functional/Rest/MediaJsonCookieTest.php
index 09dd245027b41f8dfede52dc9f29f10da2bd25c6..06bc24456f091a0bad32f763984ed13570db0be7 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaJsonCookieTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php b/core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
index b0d5c2087753c1783f122345b3414c90b9367bb3..619856bfad904c17f7488c53f5150fddb700e7ca 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Component\Utility\NestedArray;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonAnonTest.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonAnonTest.php
index 0f5066898143d525fee6fa3b425b940328f1c718..b15fa57cc4c6919797980fada1873fe511e191a4 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonAnonTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonBasicAuthTest.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonBasicAuthTest.php
index 9f0af1db3cbc93d1c441432d19735ff522485b0b..b7d8b1edaa8180d19ade2e6805c90ea67408aaed 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonBasicAuthTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonCookieTest.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonCookieTest.php
index 9a3d459dec27d92a32cd016351e3ef6a550fc1d0..348b33e4c7494b14f8430aa2a48e3a966ea48d57 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonCookieTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php
index 94d0def4b984f00198c139ba783c25a418ce255e..c0d5867ec4cb331388ed827811321f8222aae1b2 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\media\Entity\MediaType;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlAnonTest.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlAnonTest.php
index cd6bc82c45beab14ab7a618be4eb5126eb42e66a..caa0a09095a287ee6efe5a77ddd858e24f32fb21 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlAnonTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlBasicAuthTest.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlBasicAuthTest.php
index 70d86c9135fbcfe40c39af64c87c24011a3c32c4..4b604c8f51b5c0cd56cdce8e4f158c6bbf4c94c0 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlBasicAuthTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlCookieTest.php b/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlCookieTest.php
index c28c72311a527aeef70421e08a8c8120cb37f4ec..4e1d9a76a541bbe63b704c1be5aa6147942f496b 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlCookieTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaTypeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaXmlAnonTest.php b/core/modules/media/tests/src/Functional/Rest/MediaXmlAnonTest.php
index baafbcb3d26280b687a2d9e67d309b8d9f4c5ee2..27cdc2ed17743b24b9864d00e76ec541b19ded61 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaXmlAnonTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaXmlBasicAuthTest.php b/core/modules/media/tests/src/Functional/Rest/MediaXmlBasicAuthTest.php
index 2eeaec38f190445124a63f590df982d4fd7df6c0..fee7e2349c3e085d011729f7155c61a236f98400 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaXmlBasicAuthTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Rest/MediaXmlCookieTest.php b/core/modules/media/tests/src/Functional/Rest/MediaXmlCookieTest.php
index 16a36458a9426703e4e33d13763e7c052a17263d..67c9ae308060a55f6eb831a156313249762da4e7 100644
--- a/core/modules/media/tests/src/Functional/Rest/MediaXmlCookieTest.php
+++ b/core/modules/media/tests/src/Functional/Rest/MediaXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php b/core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php
index d3367016a5d89c98234e4abd4de82f1d46925ad7..97982a5e3a9cab7e39df3d1eae2c9e81352e146b 100644
--- a/core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php
+++ b/core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/media/tests/src/Functional/UrlResolverTest.php b/core/modules/media/tests/src/Functional/UrlResolverTest.php
index 2af6722a86303a9c773e74955844522902c78316..9f8b7396a0508138fda0ffbec6299fd5212e02d7 100644
--- a/core/modules/media/tests/src/Functional/UrlResolverTest.php
+++ b/core/modules/media/tests/src/Functional/UrlResolverTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media\Functional;
 
 use Drupal\Tests\media\Traits\OEmbedTestTrait;
diff --git a/core/modules/media_library/tests/src/Functional/GenericTest.php b/core/modules/media_library/tests/src/Functional/GenericTest.php
index e42b2a8be0811dccbd72badae11611939aac0f36..d2440031772dbeb01ce13d8cbccfd1084b7cae22 100644
--- a/core/modules/media_library/tests/src/Functional/GenericTest.php
+++ b/core/modules/media_library/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media_library\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php b/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php
index 8c1d0249609dc0ad3819dfc33b4cd3fd7d467c12..53fb0b9996c58e2e5ef240ba047529dc1ecf88fa 100644
--- a/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php
+++ b/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media_library\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/media_library/tests/src/Functional/MediaLibraryImageStyleAccessTest.php b/core/modules/media_library/tests/src/Functional/MediaLibraryImageStyleAccessTest.php
index fd68430b63f2c3c93fdd9300c1f9ee02fb579be7..fefd21968741952805926f972c2ca6f4bfd9f0aa 100644
--- a/core/modules/media_library/tests/src/Functional/MediaLibraryImageStyleAccessTest.php
+++ b/core/modules/media_library/tests/src/Functional/MediaLibraryImageStyleAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media_library\Functional;
 
 use Drupal\image\Entity\ImageStyle;
diff --git a/core/modules/media_library/tests/src/Functional/SettingsFormTest.php b/core/modules/media_library/tests/src/Functional/SettingsFormTest.php
index 4d802a868551d2bab3cfafe6c1b38ebb4484011c..52a5af04f41d4ccbf2d523367103fa10a57a3024 100644
--- a/core/modules/media_library/tests/src/Functional/SettingsFormTest.php
+++ b/core/modules/media_library/tests/src/Functional/SettingsFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\media_library\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/menu_link_content/tests/src/Functional/GenericTest.php b/core/modules/menu_link_content/tests/src/Functional/GenericTest.php
index 6ec3b0d9a7d5af46a3a51942083578c0a31acf31..bd23f061b0bbe165a628379bde2a4e23ecd1e346 100644
--- a/core/modules/menu_link_content/tests/src/Functional/GenericTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php b/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php
index cd7b6aaaeb5f3dd5c92fdcd0773c12850e9ae9b7..b490b8d3f9f6be1cc904b0bb44f6dd2ff71b59e5 100644
--- a/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php b/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php
index fa4d8cc11a19c077716fb2b3e718e124000dab26..412f40d8b94eca049fe34fa6292b79e966f634f5 100644
--- a/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php b/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php
index c711b8668b02e4694677e9aa99d4adac64c25937..91313eed2751eb0f0b762cd9b0f8e7bcd835ed6e 100644
--- a/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonAnonTest.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonAnonTest.php
index 27ee2909cf710ab815293ac5b4772ae3c20b4a71..a09ebaa753f0412165a5f606fcd4bd8350b768d1 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonAnonTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonBasicAuthTest.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonBasicAuthTest.php
index ba3afdd7bbe8898724a8b8471c5d8cd6e5e1dacb..7a0052737ee997a55a5c8fb4a56e6b06d613c5c8 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonBasicAuthTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonCookieTest.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonCookieTest.php
index 85deeeb6aeec211d531932fad52012e7cd9bf0c9..e2f0f3bd20fb18578599177dcef9a9e189c5df58 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonCookieTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php
index d801f12c99836b9c2c956538334bf2a863cd7137..f959e31160718a79f5b3147bc3140b26e4221b18 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlAnonTest.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlAnonTest.php
index a1c1ed25a1e868f6988f932b59d8db62b89b553b..99b866597a2aa7f7c94ea702d8c362a3e4358178 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlAnonTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlBasicAuthTest.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlBasicAuthTest.php
index 53738c49189e7c988030ca6a3d11add95ca20217..9022741a4d12d0d9c3b015268a99d507f39140b7 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlBasicAuthTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlCookieTest.php b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlCookieTest.php
index 310e27c18b033ff368ec74d63bba8dd3fa47a1b0..897bd29ce910e9c02f2adf8c36da2f356a2f0b85 100644
--- a/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlCookieTest.php
+++ b/core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_link_content\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/menu_ui/tests/src/Functional/GenericTest.php b/core/modules/menu_ui/tests/src/Functional/GenericTest.php
index 4961f6b6e23afbc801587ffc4fb6c9e0d77802fb..05574ef6da44f73a82193639e882bebabd335610 100644
--- a/core/modules/menu_ui/tests/src/Functional/GenericTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php b/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php
index 8974b9ef9face12553645676f3216a02105698e3..c20df4062d10b67782edc6bb67eb43437de2a1e1 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php b/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php
index 81f480d71657d5cbb9742eb614f388e14d1f42c8..6dbfea266455f7105833440602f29eb52faba237 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php
index 2aa25de7819356163dd89acbb753fc12c5ec4a55..cc80401f27c70f34140b34a04952204630ce24de 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php
index 4aa35b2d2de7d5d7fc21a30910e5336bc311d13c..b280f8c0e134e871eeb3d2c69adb77fa84861162 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiLanguageTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiLanguageTest.php
index b82c66567501fea72fb0845edb947845545e1497..626ea46215d8f7b58acbf8b92946981f78dd6e1b 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiLanguageTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
index 6cdfc690011794789f439a2aee8cc75f13944f5a..f7b03b3422e177bf8e0c740da9f736e8d35e59bd 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
index c7f653098abfc4ec538c448be052ffd998b9a4d3..d301b372911485182c5457fccbd9df282b42f084 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUninstallTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUninstallTest.php
index ccaad86d2910985ab9730d734616360f8c8418f2..2e37dd7c78b2abdf9047cb59b4d6c4ea360d8e82 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUninstallTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUninstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\menu_ui\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/migrate/tests/src/Functional/GenericTest.php b/core/modules/migrate/tests/src/Functional/GenericTest.php
index 0663750c3fda62bf605f6c162f2428bd6f1ce32e..b4cf87e2b8897950e84f708daafc48c51adb8a89 100644
--- a/core/modules/migrate/tests/src/Functional/GenericTest.php
+++ b/core/modules/migrate/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/migrate/tests/src/Functional/MigrateMessageControllerTest.php b/core/modules/migrate/tests/src/Functional/MigrateMessageControllerTest.php
index 16474bc32cbfddd9958d77f1c62f76d4c5cd8a4e..dcd68c748844fd16458cb61e7c676e210ead352a 100644
--- a/core/modules/migrate/tests/src/Functional/MigrateMessageControllerTest.php
+++ b/core/modules/migrate/tests/src/Functional/MigrateMessageControllerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate\Functional;
 
 /**
diff --git a/core/modules/migrate/tests/src/Functional/MigrateMessageFormTest.php b/core/modules/migrate/tests/src/Functional/MigrateMessageFormTest.php
index 8cead155e1d4ee4724ede019e610462fb7537bd4..cfbcdf5b4df9713db491c16ab596ab82212c392a 100644
--- a/core/modules/migrate/tests/src/Functional/MigrateMessageFormTest.php
+++ b/core/modules/migrate/tests/src/Functional/MigrateMessageFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate\Functional;
 
 use Drupal\migrate\Plugin\MigrationInterface;
diff --git a/core/modules/migrate/tests/src/Functional/MigrateMessageTestBase.php b/core/modules/migrate/tests/src/Functional/MigrateMessageTestBase.php
index 9840eb73213111be088a68ee7bec53089a2194b4..e41ecf722ac375c5598f02dafef7d1c36accf9a3 100644
--- a/core/modules/migrate/tests/src/Functional/MigrateMessageTestBase.php
+++ b/core/modules/migrate/tests/src/Functional/MigrateMessageTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php b/core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php
index 4843c0da829e8b730b1b2b5dd39f650b14ad8840..5c725d4f607d877484352d881e8b6084ac7b9336 100644
--- a/core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php
+++ b/core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/migrate/tests/src/Functional/process/DownloadFunctionalTest.php b/core/modules/migrate/tests/src/Functional/process/DownloadFunctionalTest.php
index 51371ff69c839614dd647618700e46549e619cb1..fd805e9a4448d3f3d080eabc395b1ae840cfba38 100644
--- a/core/modules/migrate/tests/src/Functional/process/DownloadFunctionalTest.php
+++ b/core/modules/migrate/tests/src/Functional/process/DownloadFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate\Functional\process;
 
 use Drupal\migrate\MigrateExecutable;
diff --git a/core/modules/migrate_drupal/tests/src/Functional/GenericTest.php b/core/modules/migrate_drupal/tests/src/Functional/GenericTest.php
index bedb2d9d3d5e541d026dceed937dcb7ada4d7cba..e8775cc1f644dad4fb230046df0e88762cb237dd 100644
--- a/core/modules/migrate_drupal/tests/src/Functional/GenericTest.php
+++ b/core/modules/migrate_drupal/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php
index 2f76cef37410dcc6a065908dcd7169125dcbd4e9..4bf0a162fee8ba8872bf142fa5fdf63787053c4c 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/GenericTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/GenericTest.php
index 18f4f4ac85f23df6c4d305ae6056ff9075d2e922..c8faa33a020064d526af27bed006e6ec7a5c7ba7 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/GenericTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateAccessTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateAccessTest.php
index 25be88e921e5e96b4da5f3ab4c2effac873bdda1..555643666a8cd85056068f333035f80b3ec24d0e 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateAccessTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php
index 3746115583123221fc1ce2ae7fecece76c39eb3d..2ca1bfef0b2a2a0874a7945883dce85bf5e71a18 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\views\Entity\View;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php
index eac14ff857470d8e0e43db0c8f443494c09b29c0..ca45d72878e06b457f32f0135c0f701fa864ac2e 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php
index ab2f30b5449018718afb93b637a25f91720576b4..3f767e48a73aa4cdb86f8c4e2408f5cbb65f13c9 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Core\Entity\ContentEntityStorageInterface;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
index f25d28e11d8f712e921147f9417c9dc31c234861..06605bc5a0d5ac9a9dac952478d3784bf3c0b2bc 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\migrate_drupal\MigrationConfigurationTrait;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
index f11e78c6d9005921ae6487f5f7bb3575e75b3c90..e0483053e79d6be66a6e9189d7296b334b33d55a 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
index a1bb9dc089dc99619855a6f648e756bacd5ea335..8d8df57c015e742e3eb20a487f7de369aa4d0c8e 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 use Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
index 05b15189cda5c0c58871e0f73ca14fd6e1789d7d..cc8339e7d59705ba86f876f3861644b35a741361 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 /**
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
index ae4ecc186e3a1da2d9e8df50f4b21cab3f616951..8027de8972065a1d9cbd15a5f59c1c0a0bfcf3ae 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional;
 
 /**
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
index 0f77363d6a1a89cbffe88eaff43eaaaab5cfba7e..020531ac2366296ef64cae4c714503cdc80db577 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
index 4dd0971747fb89985d755705821002cea79220e8..c359d2479a66a8bf957b1e6617e6d5ab2c7b02db 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
index c8173cd4ca08c794cee28625a22ae5acb4175bff..5b605a69fc57572c6e6962c34c7e4f8dfec09a82 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
index 13070038f0ae047a22599c15624ec7666a97eb03..d81318589d9367cc62c87f56ad12c8240f352ce3 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
 
 use Drupal\migrate_drupal\NodeMigrateType;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
index e2475c3237afea5e13262d75d632a4f548658bee..2daba096b76c03b16f3211a39f36d7c33f606b8f 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php
index c5a0b73d3101f25c6a6768983f9c5828ab831f56..6e0d9018218c72e5fe4bc4cda610a881e3d5bb6d 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
 
 use Drupal\workflows\Entity\Workflow;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php
index b0813c9dd1c69a5137fa279c8e16294642cac825..92e20e00f2c0d77a5b1a8f5a20a81a6f6d0922aa 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php
index 4df342f58a648a47bfa3e0ce9a6e1754d4669c78..5ad0a0ffb04b3102f6c958dd930d6b9de61cb7c3 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
index 1f3bbdbf43b2cf9b89c5f0e29d7f1481350a3212..0975977ff7e51122a47a8e1f193006d5a235775c 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
index f90a85dbce3e747bb801d516db5ce4e0c9630c7f..1dd88c53e29ce621b1676321776de313f1671d75 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php
index 0ced826edb2ac9973a2eede8cb040beebd1fdf51..e8039f45ebeba8780f64c374856a979393af6d49 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
index 31fcb066aa1b6210a53d67f585b17f7f6aa68934..bf3cff61ad192176a7af4a9016450988c6a83335 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7TestWithContentModeration.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7TestWithContentModeration.php
index dfb416524885837aa9e261df0cbb49a2054ea532..4b626ac476a02390e8774e0a4a46c3bcb5177291 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7TestWithContentModeration.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7TestWithContentModeration.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
 
 use Drupal\workflows\Entity\Workflow;
diff --git a/core/modules/mysql/tests/src/Functional/GenericTest.php b/core/modules/mysql/tests/src/Functional/GenericTest.php
index 6b086fd5dc9a5c64d5aa80e8804c9236d42be2dc..2e59cd5450a4c67648eea0a84e8c141a5a4375e1 100644
--- a/core/modules/mysql/tests/src/Functional/GenericTest.php
+++ b/core/modules/mysql/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\mysql\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelExistingSettingsTest.php b/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelExistingSettingsTest.php
index ace161dc5b1a9d57ebe7b980a5db7ebfb5722bf8..598449dc3e0473e227103fe5f4f59f27d9e594a4 100644
--- a/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelExistingSettingsTest.php
+++ b/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelExistingSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\mysql\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelNoDatabaseSettingsTest.php b/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelNoDatabaseSettingsTest.php
index f54dca05954c2cf36c03843272510dbaf4c67da5..712cac68e7bd5e59240e6cfb1c88c912b51e0250 100644
--- a/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelNoDatabaseSettingsTest.php
+++ b/core/modules/mysql/tests/src/Functional/InstallerIsolationLevelNoDatabaseSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\mysql\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php b/core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php
index 210f859c0f385a0664071dbfe201491ef88d206c..ca5955414eca1fc63582c645e1c5cd1efbcc57df 100644
--- a/core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php
+++ b/core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\mysql\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/mysql/tests/src/Functional/RequirementsTest.php b/core/modules/mysql/tests/src/Functional/RequirementsTest.php
index ce8f94e93ef267fd8ece53a6e2b5bca258b606ba..a1a07d785cae681f3197c04e90d1ba53d3f70e74 100644
--- a/core/modules/mysql/tests/src/Functional/RequirementsTest.php
+++ b/core/modules/mysql/tests/src/Functional/RequirementsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\mysql\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/GenericTest.php b/core/modules/node/tests/src/Functional/GenericTest.php
index 100f1d26ee4031bae903163a973e2bf8df9c17ef..ea529a50ba51911286dc1c7f2adf6562ac40ee5e 100644
--- a/core/modules/node/tests/src/Functional/GenericTest.php
+++ b/core/modules/node/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php b/core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
index ed685ab49061b27b1f96df1c2c2f409a74cd0c8f..7191ec33fd98658ec65187a39c8a78b0bad3cc13 100644
--- a/core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
+++ b/core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php b/core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
index 6a8be2951ee20b47da6601955b1a81c50969130d..7b0542c1c269a22e36abd35ec306cf7b8560e4ad 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php b/core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php
index 0967123080911296e6816d41037e34f085dfa314..c9b16994a4d8aa4c32c17b1af6b437af549563c6 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessCacheabilityWithNodeGrants.php b/core/modules/node/tests/src/Functional/NodeAccessCacheabilityWithNodeGrants.php
index 3cd0ecf727b3f9ec88e94f6fcb88e6744eadb8ca..0e07f770f57a7de9e26a67782986c0994f0ef786 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessCacheabilityWithNodeGrants.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessCacheabilityWithNodeGrants.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessFieldTest.php b/core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
index 22154a24d8b28be35d89c60e7010034cc8591d26..464cd0fafe13318f52477753274a84cf183a9a62 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php b/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
index 476de6689033604153564216480f5b60a6bca981..8e3303f1d419d0c7bf67c442c9553d05847b724b 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessJoinTest.php b/core/modules/node/tests/src/Functional/NodeAccessJoinTest.php
index 06ec97007bb0b7fda88fcd58300c7802cca80e0d..fe6a8ed12f0911ec4d22c51b2b312391f471c66a 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessJoinTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessJoinTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php b/core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
index 111b556f92251d8a71a129d8d1c61464a212ae6a..c419b95772e43b649f28bc9c20bf2e2d5f44b80b 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php b/core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php
index 7650968e966228d5e94aa68176ba16559333af79..8fc6ab0ebd33d1e8bd7fcfc9316f763e8dbdf4d4 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\user\RoleInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessPagerTest.php b/core/modules/node/tests/src/Functional/NodeAccessPagerTest.php
index 71107642efd7191c6369d2294177d4807b71c7cb..c151eeff5a91df36adb1f7cc764847c787a1a429 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessPagerTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessPagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php b/core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php
index 49c6c2cac36af2f77c9ceddc70d02df107b099eb..110476ec20dc02843a640aef03499e922512f2b3 100644
--- a/core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\Entity\NodeType;
diff --git a/core/modules/node/tests/src/Functional/NodeAdminTest.php b/core/modules/node/tests/src/Functional/NodeAdminTest.php
index 7ce10cd348eb2298511b75b08797db98e2e8a478..fddd7fa3ff32556fd1ec7ed25fe4aef3f2405e84 100644
--- a/core/modules/node/tests/src/Functional/NodeAdminTest.php
+++ b/core/modules/node/tests/src/Functional/NodeAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php b/core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
index ea2bcd9fc29fbe04a275df8513a597e695008716..05912e35cc1226baecd9bd0dc93d5733a8e5c7ed 100644
--- a/core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
+++ b/core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php b/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php
index cadf25444871d7b3c9e0926d9c83471a2124dcca..3dc7dc12bb5fb5aedb0948c7a230361bc9c6d6c8 100644
--- a/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php
+++ b/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeContextualLinksTest.php b/core/modules/node/tests/src/Functional/NodeContextualLinksTest.php
index 0159ae8e9f8fe9d03986ded1b8c72bb175ff0479..201f88c4242a0f19213965045e2cf2418fe1bdf8 100644
--- a/core/modules/node/tests/src/Functional/NodeContextualLinksTest.php
+++ b/core/modules/node/tests/src/Functional/NodeContextualLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/node/tests/src/Functional/NodeCreationTest.php b/core/modules/node/tests/src/Functional/NodeCreationTest.php
index 60e4e1433352049d5adadcc8946268552e3fb216..332c25488efb0c13128e56e5934cbbf4db6076f9 100644
--- a/core/modules/node/tests/src/Functional/NodeCreationTest.php
+++ b/core/modules/node/tests/src/Functional/NodeCreationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/NodeEditFormTest.php b/core/modules/node/tests/src/Functional/NodeEditFormTest.php
index 186d75f2072e2c22c6331d6f48c52714210c0062..5da249583dee5ea2341fb486f6ff732c6b55f995 100644
--- a/core/modules/node/tests/src/Functional/NodeEditFormTest.php
+++ b/core/modules/node/tests/src/Functional/NodeEditFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php b/core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
index 25a2758717b2ed4de1f5a784a55bd4d88bd7822c..e7da9b66118c48e952565728c1c5fed5a5f90242 100644
--- a/core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
+++ b/core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/node/tests/src/Functional/NodeFieldMultilingualTest.php b/core/modules/node/tests/src/Functional/NodeFieldMultilingualTest.php
index 1048a4ee372ae38f4c7e7aa83c89b39bbe212a8f..bd909ddf96e448594d2f489bcc51287859fc5d05 100644
--- a/core/modules/node/tests/src/Functional/NodeFieldMultilingualTest.php
+++ b/core/modules/node/tests/src/Functional/NodeFieldMultilingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\field\Entity\FieldStorageConfig;
diff --git a/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php b/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
index 2ab4901bd4d3b05e4a3237ffd4b88b3404609b7c..86cbea3be513c9a55a7b8afe509cd31ec99f1008 100644
--- a/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
+++ b/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/node/tests/src/Functional/NodeHelpTest.php b/core/modules/node/tests/src/Functional/NodeHelpTest.php
index cf464c606bf0998232fdb59f3cc50f90db46acbf..7062c663955d9f234c7449169c3d338229cca7c0 100644
--- a/core/modules/node/tests/src/Functional/NodeHelpTest.php
+++ b/core/modules/node/tests/src/Functional/NodeHelpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/node/tests/src/Functional/NodeLinksTest.php b/core/modules/node/tests/src/Functional/NodeLinksTest.php
index d8f2acf0cb228b13e407c90b9f3bbd23d854404e..28458361f2437e36f6da415b2b2c88aa8039a2a0 100644
--- a/core/modules/node/tests/src/Functional/NodeLinksTest.php
+++ b/core/modules/node/tests/src/Functional/NodeLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/node/tests/src/Functional/NodePostSettingsTest.php b/core/modules/node/tests/src/Functional/NodePostSettingsTest.php
index 8c1934957f44bc5007aadf636312ef08e3a42135..abc1c244b656321902b792feead171f7b59b58fb 100644
--- a/core/modules/node/tests/src/Functional/NodePostSettingsTest.php
+++ b/core/modules/node/tests/src/Functional/NodePostSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 /**
diff --git a/core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php b/core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php
index 5e7e58a87ab0bab496182d5a97d3871c746f1379..8899d4c93957d9722998ff12ba8ab4d33f5d4911 100644
--- a/core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php
+++ b/core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Session\AccountInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeQueryAlterTest.php b/core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
index caf40fb31275fb9f09aab7ff2e3dc9fa83594f76..350c7da2b86452b4823a1c446eca91f5612b8c26 100644
--- a/core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
+++ b/core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/NodeRSSContentTest.php b/core/modules/node/tests/src/Functional/NodeRSSContentTest.php
index d02c769adfd7ce18a5f6f1700425c16ca15eafe8..f4eed6763251e132aaf62fd5675fc28a38c9f7b1 100644
--- a/core/modules/node/tests/src/Functional/NodeRSSContentTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRSSContentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php b/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
index ffad17c78fa6386da6255cb94a0ee543c1fbaff2..a6d80e1460368caa12b02b01215d767d261f5680 100644
--- a/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/NodeRevisionsTest.php b/core/modules/node/tests/src/Functional/NodeRevisionsTest.php
index d0327c516fd331c603e11e37a13e1b6996ce8ec4..2cf8a475def47ce8e4e124de996fac009a09ef64 100644
--- a/core/modules/node/tests/src/Functional/NodeRevisionsTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRevisionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php b/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php
index 3bb0f08f63eb70db62aab467ccfd8d4e2906e4bf..d88e780ed6700ea140744cc92ccdabf89920952b 100644
--- a/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\Entity\NodeType;
diff --git a/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php b/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
index 1f7c1d73d60c72845c4f361e86ef8fe79a220486..72dddd4be493cf823493c5460cb3f9380f669bb9 100644
--- a/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Link;
diff --git a/core/modules/node/tests/src/Functional/NodeRssCacheTest.php b/core/modules/node/tests/src/Functional/NodeRssCacheTest.php
index 326be9c37da4666e7f4d6c42edbc76875ad90468..b56cb362d37f0a979b03fce366b72ee86b5352f7 100644
--- a/core/modules/node/tests/src/Functional/NodeRssCacheTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRssCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\filter\Entity\FilterFormat;
diff --git a/core/modules/node/tests/src/Functional/NodeSaveTest.php b/core/modules/node/tests/src/Functional/NodeSaveTest.php
index 5c209e8e8397663a53448debba57593288135781..e851907608a5ecc8a5a6b7ced9f0d5c95581b4a0 100644
--- a/core/modules/node/tests/src/Functional/NodeSaveTest.php
+++ b/core/modules/node/tests/src/Functional/NodeSaveTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php b/core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
index e2fc7a2131fee7baae3238e85922412633699735..bcf143b57bebb6ed1b806652f26969299ea8af09 100644
--- a/core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
+++ b/core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 /**
diff --git a/core/modules/node/tests/src/Functional/NodeTestBase.php b/core/modules/node/tests/src/Functional/NodeTestBase.php
index 4f33341115920bcc947cde12c4170ffe58a8401f..31a2c1d6bb67d79e794d4fc3ff3d50cb85eea3bf 100644
--- a/core/modules/node/tests/src/Functional/NodeTestBase.php
+++ b/core/modules/node/tests/src/Functional/NodeTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/node/tests/src/Functional/NodeTitleTest.php b/core/modules/node/tests/src/Functional/NodeTitleTest.php
index fe3213902de10508596eb25e964890a07583aafd..6f3890c6858a60debd5b305295dd4d7ae357d93f 100644
--- a/core/modules/node/tests/src/Functional/NodeTitleTest.php
+++ b/core/modules/node/tests/src/Functional/NodeTitleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/node/tests/src/Functional/NodeTitleXSSTest.php b/core/modules/node/tests/src/Functional/NodeTitleXSSTest.php
index 87d36e2c490f2b1f143767e26339a68eb777532a..8d8772c81b26c8d7668a44d6288395ddfa2e73f9 100644
--- a/core/modules/node/tests/src/Functional/NodeTitleXSSTest.php
+++ b/core/modules/node/tests/src/Functional/NodeTitleXSSTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/node/tests/src/Functional/NodeTranslationUITest.php b/core/modules/node/tests/src/Functional/NodeTranslationUITest.php
index 8e832e0bbc68fde3360500a7c0670c03626ebf30..33fd1e33f9aea9cd3976238a6e476a0e888aa767 100644
--- a/core/modules/node/tests/src/Functional/NodeTranslationUITest.php
+++ b/core/modules/node/tests/src/Functional/NodeTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php b/core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php
index fb36c996cd484bca83fd7f7fc60f32bd7f74bf1a..0461876c81d4ef01b4fd97dfb7462b5d515892ca 100644
--- a/core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php
+++ b/core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/node/tests/src/Functional/NodeTypeTest.php b/core/modules/node/tests/src/Functional/NodeTypeTest.php
index e258d89c9c0dc3463ed5f93a71d224631e3b88e9..a33a18f7ca46b3ccb5d7e864a1fb5aaf90ef4b09 100644
--- a/core/modules/node/tests/src/Functional/NodeTypeTest.php
+++ b/core/modules/node/tests/src/Functional/NodeTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php b/core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php
index 0f6a7149cc26d4b65528a3a601e87e3e24f828f3..0066864056c06492786ebfdf847fa8fd02827468 100644
--- a/core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php
+++ b/core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/node/tests/src/Functional/NodeViewLanguageTest.php b/core/modules/node/tests/src/Functional/NodeViewLanguageTest.php
index 33af4fe801eab216ad4b30315dd5b8aad01a5464..68e0ec6ca5fd025ace26ccd12f865313ee4b61c7 100644
--- a/core/modules/node/tests/src/Functional/NodeViewLanguageTest.php
+++ b/core/modules/node/tests/src/Functional/NodeViewLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/node/tests/src/Functional/NodeViewTest.php b/core/modules/node/tests/src/Functional/NodeViewTest.php
index 72f0c3afccedaf8c20eb9c201bf185eae974f89c..2b6b85f07a64a5677359fdc20fa1f104b184b833 100644
--- a/core/modules/node/tests/src/Functional/NodeViewTest.php
+++ b/core/modules/node/tests/src/Functional/NodeViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 /**
diff --git a/core/modules/node/tests/src/Functional/PagePreviewTest.php b/core/modules/node/tests/src/Functional/PagePreviewTest.php
index 4e9ba9dee4d162bcc854558b51b35496857b207b..9f86a2d3fff20abf1c8912230f5ce04747120ce9 100644
--- a/core/modules/node/tests/src/Functional/PagePreviewTest.php
+++ b/core/modules/node/tests/src/Functional/PagePreviewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/node/tests/src/Functional/PageViewTest.php b/core/modules/node/tests/src/Functional/PageViewTest.php
index e316460975e795783f5768a3e23f6b318efa2390..c395bf1ece40c4be0b6e6e0161cd47693d382cdf 100644
--- a/core/modules/node/tests/src/Functional/PageViewTest.php
+++ b/core/modules/node/tests/src/Functional/PageViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeJsonAnonTest.php b/core/modules/node/tests/src/Functional/Rest/NodeJsonAnonTest.php
index f434b3b87cf003c8e0230e808c9950967aba5015..d0b4167360a70a3439a6404b04f4ae80575c1919 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeJsonAnonTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php b/core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php
index 565df46213ee28e94f7eb95252f2d6848687153b..be857bbb86deb6de233a0c989eb2ca86af7a18af 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php b/core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php
index 3cb12de77652a71eddb6395fbf611fd1198d902e..aa447b939923fc6047c17109ddcceb7d73b11d12 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php b/core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php
index 8f780ed07b439626f023deec663a9ee4137f8b15..3820281dc60f6df265f82a2cd898672b5e72f7bd 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonAnonTest.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonAnonTest.php
index 1b8970820ec3e9e5b6dfb9407fb7527c4cc75260..29cce16a093a136f93d9a5d4c99b7845500d936b 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonAnonTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonBasicAuthTest.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonBasicAuthTest.php
index edc3ff8e09d5029cb8511f7b8b93d040e6ca56ec..3954fe1f945e3ea73e75218d4e2efa0f55435409 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonBasicAuthTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonCookieTest.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonCookieTest.php
index a280615a5850f2de75959d502f143e642adff704..2cbcb4ddfbee7083e50a013a94a06446d407bb21 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonCookieTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeResourceTestBase.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeResourceTestBase.php
index 9b3e21cc86281b90c87139076feb55f4467f9526..f3df9ee07b0aab8ba8da59c5a2e0ea8d14692e43 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeResourceTestBase.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\node\Entity\NodeType;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlAnonTest.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlAnonTest.php
index 24b2f66e9933e8315f5f9107219def75d2b69b39..6f95026b611e690e6e8ffbe2a14070e285a8be9c 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlAnonTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlBasicAuthTest.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlBasicAuthTest.php
index 0f6af1b8cb0d3fdb3cc6c87b7af35c0b176673bb..102f8faf0b23ea78266b3dc1b5ff78dea2fe6804 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlBasicAuthTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlCookieTest.php b/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlCookieTest.php
index 61b21bb98707c4aea0ea5526ea905f469b71f1c5..a72e14ad849b4d990a9f9919d3ea6a6e0930aea7 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlCookieTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeTypeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeXmlAnonTest.php b/core/modules/node/tests/src/Functional/Rest/NodeXmlAnonTest.php
index 5e7716436b9fec3a40eb359ff59020f7e0710a3b..cfc875e052effbd00f0f8eab0c41daf4039ee5e2 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeXmlAnonTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php b/core/modules/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php
index 486b9a68ab31ca781d4dd85ce9b7d289cb0fae74..550d3e9a7467f4386b9f988ca4ec26ee0690e8c3 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Rest/NodeXmlCookieTest.php b/core/modules/node/tests/src/Functional/Rest/NodeXmlCookieTest.php
index dc479c932d1153a194d49e130ec70739a3adb982..568e6cb621da7ec3301ddc4eaf5b479551df310a 100644
--- a/core/modules/node/tests/src/Functional/Rest/NodeXmlCookieTest.php
+++ b/core/modules/node/tests/src/Functional/Rest/NodeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/node/tests/src/Functional/Update/NullHelpAndDescriptionTest.php b/core/modules/node/tests/src/Functional/Update/NullHelpAndDescriptionTest.php
index 92811bc136cb5e9021e78524c69c4764f72724af..bbd4ba718dbcb13811de3f0b4a6fb555ff818d36 100644
--- a/core/modules/node/tests/src/Functional/Update/NullHelpAndDescriptionTest.php
+++ b/core/modules/node/tests/src/Functional/Update/NullHelpAndDescriptionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php b/core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php
index 8d1d7b8087f35263e28a29685553b57408ca500f..abbd2bda064538403cc03fe22f1ea207dc63fa26 100644
--- a/core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php
+++ b/core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/node/tests/src/Functional/Views/BulkFormTest.php b/core/modules/node/tests/src/Functional/Views/BulkFormTest.php
index bcd15ccc37390e5bf67844ac69b6ad0a74c52fb7..ca6445ade1f30d2c75b4e1482e13f5feb96b7f26 100644
--- a/core/modules/node/tests/src/Functional/Views/BulkFormTest.php
+++ b/core/modules/node/tests/src/Functional/Views/BulkFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php b/core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php
index a3a5f704a34927cda0cb6d2ca7ab07ef43330583..5b7c04534feffaa25c799145338a3a8698fa7554 100644
--- a/core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php
+++ b/core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\node\Entity\NodeType;
diff --git a/core/modules/node/tests/src/Functional/Views/FrontPageTest.php b/core/modules/node/tests/src/Functional/Views/FrontPageTest.php
index 79d8b1ced5160df930511329e38e0753a5acacd8..70acac958a15303ed3dbb3acfa53f36c622b67d6 100644
--- a/core/modules/node/tests/src/Functional/Views/FrontPageTest.php
+++ b/core/modules/node/tests/src/Functional/Views/FrontPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php b/core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php
index ee09a931e0479160db02edbbd4a9e849364db72a..19fe5b932bc64c4c352e1dfeeaf5ef6e1b5ba216 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\user\Entity\User;
diff --git a/core/modules/node/tests/src/Functional/Views/NodeFieldFilterTest.php b/core/modules/node/tests/src/Functional/Views/NodeFieldFilterTest.php
index cc31f1976e25cafccd5ea187dcc94db682fd821d..18ab3b14ccde994db154bb57425fe2772814ea9b 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeFieldFilterTest.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeFieldFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php b/core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php
index ed15e5326d588847a22a05dbfabdbbd80795325b..0340c1fe7faacd30c9379bd510547eebd8db2c69 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/node/tests/src/Functional/Views/NodeIntegrationTest.php b/core/modules/node/tests/src/Functional/Views/NodeIntegrationTest.php
index e87399404d1b88d715f9001baa195b0267303bca..0868dfa8aca6c378a56883472c75905a15e9dbb7 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeIntegrationTest.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 /**
diff --git a/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php b/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
index 9a6c9183e13e477934a5f1a616b996afffbac53d..5863710fc93a7d2f8d016178d8726a6405a90859 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/node/tests/src/Functional/Views/NodeTestBase.php b/core/modules/node/tests/src/Functional/Views/NodeTestBase.php
index 03d81554ba74626672c2ed8fea2f41cafe9f20a9..2e44f5b47cda1be5981ebd5eb7dc2de662c46ccf 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeTestBase.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/node/tests/src/Functional/Views/NodeViewsAnalyzeTest.php b/core/modules/node/tests/src/Functional/Views/NodeViewsAnalyzeTest.php
index 057d70cbfcaf5abf9e0f4f91d2ed8f47c6b39a72..bf44158b123c0450a1943bb40f42bd93d072b40e 100644
--- a/core/modules/node/tests/src/Functional/Views/NodeViewsAnalyzeTest.php
+++ b/core/modules/node/tests/src/Functional/Views/NodeViewsAnalyzeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 /**
diff --git a/core/modules/node/tests/src/Functional/Views/RevisionLinkTest.php b/core/modules/node/tests/src/Functional/Views/RevisionLinkTest.php
index b28a791a93a5b2b0588822e7c24bb94c84c897a6..82bdc32bef10f4a8880e449714a59f13ffe0ff3b 100644
--- a/core/modules/node/tests/src/Functional/Views/RevisionLinkTest.php
+++ b/core/modules/node/tests/src/Functional/Views/RevisionLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 /**
diff --git a/core/modules/node/tests/src/Functional/Views/StatusExtraTest.php b/core/modules/node/tests/src/Functional/Views/StatusExtraTest.php
index 6580dd42a87717449a085388e55484eca79b459c..e3ba3b26efc6b8c74c7611d6a8e87c1a363c56f6 100644
--- a/core/modules/node/tests/src/Functional/Views/StatusExtraTest.php
+++ b/core/modules/node/tests/src/Functional/Views/StatusExtraTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php b/core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php
index 4949b7c9af5cde00c8759e5a0dd9734a47873ba4..0ad26d615081b8d473f86700e4355b4a48eccc37 100644
--- a/core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php
+++ b/core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views\Wizard;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php b/core/modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php
index 3b4a2cc711176d442f0d3edb51c813d25c2a3c04..1fc7e3a287f934a0b15babce72e41153906716eb 100644
--- a/core/modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php
+++ b/core/modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\node\Functional\Views\Wizard;
 
 use Drupal\Tests\views\Functional\Wizard\WizardTestBase;
diff --git a/core/modules/options/tests/src/Functional/GenericTest.php b/core/modules/options/tests/src/Functional/GenericTest.php
index 61f5954d8a11a2522663b12c4d6c70a4e2000c53..e986b7fca363b29f5463e92c4a0200c5e3be7684 100644
--- a/core/modules/options/tests/src/Functional/GenericTest.php
+++ b/core/modules/options/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\options\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php b/core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
index 08d9bfbd6f5aac3ab94d47933269a6c633ca46c7..3250eb6fc4992aa5df4b3075f23fa30a33e14f17 100644
--- a/core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
+++ b/core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\options\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/options/tests/src/Functional/OptionsFieldUITest.php b/core/modules/options/tests/src/Functional/OptionsFieldUITest.php
index d0514eb7ac00576d9676833902f41e2b03241cf7..d4c3c834c40f0d62558b5e1d62e1a796610f3e40 100644
--- a/core/modules/options/tests/src/Functional/OptionsFieldUITest.php
+++ b/core/modules/options/tests/src/Functional/OptionsFieldUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\options\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php b/core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php
index 18cb151f5426809b20aa822f4f2a06e637c87c23..d4485b3670f0d6fe0758bef2aa57c81f046d5acf 100644
--- a/core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php
+++ b/core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\options\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php b/core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php
index b715130a6dbf1d4d4387c39fa22be5fd3b0f1cc7..93c35c7734204c64eadfbba4a8bdb679700a3d32 100644
--- a/core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php
+++ b/core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\options\Functional;
 
 /**
diff --git a/core/modules/options/tests/src/Functional/OptionsWidgetsTest.php b/core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
index 769f2f260bf5e76c272aa9b0137d2f3c540f7e76..32caa069a3cc2460058864e896822059f18f1297 100644
--- a/core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
+++ b/core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\options\Functional;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/page_cache/tests/src/Functional/GenericTest.php b/core/modules/page_cache/tests/src/Functional/GenericTest.php
index 20bc76fd0586a12b72bfbe1ca90a67e2189a6058..43de56ada5f1d0e4c93e10eddf8ba41b01898b5d 100644
--- a/core/modules/page_cache/tests/src/Functional/GenericTest.php
+++ b/core/modules/page_cache/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\page_cache\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php b/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
index 59f619e022d8b835732545c87914e5e4339fc143..58dc8f75dc32dae3eef6794cc92d45d61ac54e02 100644
--- a/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
+++ b/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\page_cache\Functional;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/page_cache/tests/src/Functional/PageCacheTest.php b/core/modules/page_cache/tests/src/Functional/PageCacheTest.php
index 6d3f618a5d979202b0079c1df6cabfed260bc694..93a0b59356f7e827446d98b0a11bdcb5b0328688 100644
--- a/core/modules/page_cache/tests/src/Functional/PageCacheTest.php
+++ b/core/modules/page_cache/tests/src/Functional/PageCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\page_cache\Functional;
 
 use Drupal\Component\Datetime\DateTimePlus;
diff --git a/core/modules/path/tests/src/Functional/GenericTest.php b/core/modules/path/tests/src/Functional/GenericTest.php
index 83bdc7a1f472838ebe233403597f26331b9b4c0e..7a259c5c6b16fd1af1d85b778285afab04373a14 100644
--- a/core/modules/path/tests/src/Functional/GenericTest.php
+++ b/core/modules/path/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/path/tests/src/Functional/PathAdminTest.php b/core/modules/path/tests/src/Functional/PathAdminTest.php
index 81dec8c1d0b26c8a52136c1e4a246e5f4dcc508d..dc2305fc1b95e22cf990015f3b768825f25a1db2 100644
--- a/core/modules/path/tests/src/Functional/PathAdminTest.php
+++ b/core/modules/path/tests/src/Functional/PathAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 /**
diff --git a/core/modules/path/tests/src/Functional/PathAliasTest.php b/core/modules/path/tests/src/Functional/PathAliasTest.php
index 335dfe98773371837601a1b88255784eb2e48734..393b6ea5dd301e284d5467a17e5d351c30d176fe 100644
--- a/core/modules/path/tests/src/Functional/PathAliasTest.php
+++ b/core/modules/path/tests/src/Functional/PathAliasTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/path/tests/src/Functional/PathContentModerationTest.php b/core/modules/path/tests/src/Functional/PathContentModerationTest.php
index 33075e2593b346940bfd1f807ae6c71d4bd2b9f7..68f973b512f2fc26df7cd25e564a480c3b699a45 100644
--- a/core/modules/path/tests/src/Functional/PathContentModerationTest.php
+++ b/core/modules/path/tests/src/Functional/PathContentModerationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/path/tests/src/Functional/PathLanguageTest.php b/core/modules/path/tests/src/Functional/PathLanguageTest.php
index f2a28b2b81cd7591422bd96594e1e5f83bf32753..259f14b0f2eba7a03d9608e964280a25dfa37faa 100644
--- a/core/modules/path/tests/src/Functional/PathLanguageTest.php
+++ b/core/modules/path/tests/src/Functional/PathLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Tests\content_translation\Traits\ContentTranslationTestTrait;
diff --git a/core/modules/path/tests/src/Functional/PathLanguageUiTest.php b/core/modules/path/tests/src/Functional/PathLanguageUiTest.php
index 104a7f37f84567fa1d6ce2f068a2fae0b82d5530..9a2d8040aa23063710334810770edb5d7a477b74 100644
--- a/core/modules/path/tests/src/Functional/PathLanguageUiTest.php
+++ b/core/modules/path/tests/src/Functional/PathLanguageUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/path/tests/src/Functional/PathMediaFormTest.php b/core/modules/path/tests/src/Functional/PathMediaFormTest.php
index 3f66691f84150edd90642ed94b6cb88c4806d883..f19700c769d6c39097f2b730cb09ea2a5dfc3c12 100644
--- a/core/modules/path/tests/src/Functional/PathMediaFormTest.php
+++ b/core/modules/path/tests/src/Functional/PathMediaFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\media\Entity\MediaType;
diff --git a/core/modules/path/tests/src/Functional/PathNodeFormTest.php b/core/modules/path/tests/src/Functional/PathNodeFormTest.php
index cca9e55f6eb7625f8e35bc34fa44c9729b1a29fb..6436a31daa40cd1e2c0a14290aac526157662ea3 100644
--- a/core/modules/path/tests/src/Functional/PathNodeFormTest.php
+++ b/core/modules/path/tests/src/Functional/PathNodeFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 /**
diff --git a/core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php b/core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
index f49d702de06ffbd2148741b2764ff9e5195de7eb..1b902b37829abf3f33240ce0a2e4b8b6ca292657 100644
--- a/core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
+++ b/core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\taxonomy\Entity\Vocabulary;
diff --git a/core/modules/path/tests/src/Functional/PathTestBase.php b/core/modules/path/tests/src/Functional/PathTestBase.php
index 8cee5cc1cde46c43662c490892f4479b8be8a27a..441be3450adcb41dab2728e6df61a26dd958f774 100644
--- a/core/modules/path/tests/src/Functional/PathTestBase.php
+++ b/core/modules/path/tests/src/Functional/PathTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/path/tests/src/Functional/PathWithNodeAccessGrantsTest.php b/core/modules/path/tests/src/Functional/PathWithNodeAccessGrantsTest.php
index 54e9ff1d4c81497a59ca38995b3c068ae414704b..fdfd8fdac629b9263fc8e0b6fda7063646eaac66 100644
--- a/core/modules/path/tests/src/Functional/PathWithNodeAccessGrantsTest.php
+++ b/core/modules/path/tests/src/Functional/PathWithNodeAccessGrantsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path\Functional;
 
 use Drupal\Tests\content_moderation\Traits\ContentModerationTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/GenericTest.php b/core/modules/path_alias/tests/src/Functional/GenericTest.php
index 39e0a389005a1d597d57c10d07677d5d4d6d4f49..f94829359e52345576415968c8ee2b7ce64f2374 100644
--- a/core/modules/path_alias/tests/src/Functional/GenericTest.php
+++ b/core/modules/path_alias/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php
index 1e1b4aa214011b58f13f5501b9b1ee1de9d5dbcc..8b965a86e81c3ec4a89e87590e48eead9d7a3954 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonBasicAuthTest.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonBasicAuthTest.php
index cb09b37055581d6dce99cdd195c47e98cdc74258..0d3b596f95b81da1814964854369545d0e6e4e82 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonBasicAuthTest.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonCookieTest.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonCookieTest.php
index f620781ed0ad0fc2789534ca4198f3130e82c632..f60d75b68bf577ce1a165ac61f132bdabceb346e 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonCookieTest.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php
index 86ce7afe27b08b0a8b7c91a2debc488f730f2e06..898be2250f7fbe8f3bb8209c0df351f1fbb9b5af 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlAnonTest.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlAnonTest.php
index a987e0dba61d8e35809d5802017447e5f4f24efe..0f440fda075f21322943a35751821acea67c2d59 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlAnonTest.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlBasicAuthTest.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlBasicAuthTest.php
index c1700ed265c94adb117f23190f5cdf7a85da6152..771a0206167c297fbf1889258b8da537efb4937c 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlBasicAuthTest.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlCookieTest.php b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlCookieTest.php
index e3695cef3221d938b567ac438e507943018e126b..20f95ea6d2966622b9cffd9437530c7efdb55651 100644
--- a/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlCookieTest.php
+++ b/core/modules/path_alias/tests/src/Functional/Rest/PathAliasXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php b/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
index 419dd7ba29054d22fe2906f091b91c5c3e444159..d929616598e7a961dccdf9282dc928c06485520d 100644
--- a/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
+++ b/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\path_alias\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/pgsql/tests/src/Functional/Database/PostgreSqlSequenceUpdateTest.php b/core/modules/pgsql/tests/src/Functional/Database/PostgreSqlSequenceUpdateTest.php
index 681b1d3b2937c63af350ef8c0c314121c59f6a2a..bb3a2a79cb9b0589236bb0a4ae02f5da23ad536e 100644
--- a/core/modules/pgsql/tests/src/Functional/Database/PostgreSqlSequenceUpdateTest.php
+++ b/core/modules/pgsql/tests/src/Functional/Database/PostgreSqlSequenceUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\pgsql\Functional\Database;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/pgsql/tests/src/Functional/GenericTest.php b/core/modules/pgsql/tests/src/Functional/GenericTest.php
index eba843d03df2dce12862542c2a5fed823f9bd172..895f6420caefc42492da451316b3156ed000b398 100644
--- a/core/modules/pgsql/tests/src/Functional/GenericTest.php
+++ b/core/modules/pgsql/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\pgsql\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/phpass/tests/src/Functional/GenericTest.php b/core/modules/phpass/tests/src/Functional/GenericTest.php
index 7036462f024ca6fe6dd92611641f99e68dce08cb..1fab5f4f7026f2a9b3c1f8b6bb1cdd1a00e03d59 100644
--- a/core/modules/phpass/tests/src/Functional/GenericTest.php
+++ b/core/modules/phpass/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\phpass\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/responsive_image/tests/src/Functional/GenericTest.php b/core/modules/responsive_image/tests/src/Functional/GenericTest.php
index 83385caf8e87ee82391b2554f20fbff491147c3f..99b04e7399249a052efff9f59c96ad55daecb65d 100644
--- a/core/modules/responsive_image/tests/src/Functional/GenericTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
index 974c5c6c5613070997c4b5364105ba069006f2a3..760279f9a49555bdc509ee8d02a56c8fe050ad34 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional;
 
 use Drupal\responsive_image\ResponsiveImageStyleInterface;
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
index ef7a064fbffab69a0ba6f6025c37484d7528a605..b34c8fb2d3ef7a42253652a41a3306c9b4e9b17e 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional;
 
 use Drupal\image\Entity\ImageStyle;
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageLazyLoadUpdateTest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageLazyLoadUpdateTest.php
index b16a9747b3617d6731c5ca9a99739a0c2b38f72e..d9a8e763347ba7541c33ba383dc0b6a25b20e958 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageLazyLoadUpdateTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageLazyLoadUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageOrderMultipliersNumericallyUpdateTest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageOrderMultipliersNumericallyUpdateTest.php
index 0a7b63b44779512a8c9aeb8aec2cc19fff33d362..3d3508353ef61ecac670ce76db056dcaf587c0f2 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageOrderMultipliersNumericallyUpdateTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageOrderMultipliersNumericallyUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonAnonTest.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonAnonTest.php
index 2b35fd2b5704e11b05e30edac9e2916aaad04b0c..38027e318cfd1c2f83e4be16ef354e993157a1b8 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonAnonTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonBasicAuthTest.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonBasicAuthTest.php
index a4d745c794187efbb83d0a8b9060696e2ee867c8..c0b03d2d6e671767e06a99d0b5acf75c6165e6d9 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonBasicAuthTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonCookieTest.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonCookieTest.php
index 4e78c8aa31f85530db35dc56084a7336d8b588ef..583e190d4e0f7097839224ae943d708d669d7b79 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonCookieTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php
index 7b0c7f0752a0e061316218dfb04e1e1d4b6d626d..3a27796d9fde7bc015492cac60a6dc9529a6ff38 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\responsive_image\Entity\ResponsiveImageStyle;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlAnonTest.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlAnonTest.php
index b07b2b06b5d775e110d33c211ddee63d11b3aedc..bff89332aeb008227e2eedfa442d514bf44520fb 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlAnonTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlBasicAuthTest.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlBasicAuthTest.php
index 2e3241bd25a161a6ae642592245a902ac841754c..9d487379a9bf8ef63c80108669e7a8a3685ee32e 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlBasicAuthTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlCookieTest.php b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlCookieTest.php
index f71632b757d130d507f32870cdb2a99b3acd0477..a6dc58fdd0d678a6ebd86aee7b93632a588250f1 100644
--- a/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlCookieTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/responsive_image/tests/src/Functional/ViewsIntegrationTest.php b/core/modules/responsive_image/tests/src/Functional/ViewsIntegrationTest.php
index 463ed601724dac61809d554452588b41e645b9e8..71c3f192149f33b77db0dbb8d3eca9f65ade1d2c 100644
--- a/core/modules/responsive_image/tests/src/Functional/ViewsIntegrationTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ViewsIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\responsive_image\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php b/core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php
index 2011aa427d8551d71492b3bbb544eb10da465501..0605c6aaa82999466400abbb177ba9fa50a4bee6 100644
--- a/core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php
+++ b/core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/rest/tests/src/Functional/BasicAuthResourceTestTrait.php b/core/modules/rest/tests/src/Functional/BasicAuthResourceTestTrait.php
index 4a58254db1d51f998563fd606d5fae67aa477a1c..73d9841079179b02c74627c933702db40f8d95a6 100644
--- a/core/modules/rest/tests/src/Functional/BasicAuthResourceTestTrait.php
+++ b/core/modules/rest/tests/src/Functional/BasicAuthResourceTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php b/core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
index b2d076dedb9e50da57e1df0169235734879ec3cf..d96adf0df5bd7e993669b975b54e74881b7d6a84 100644
--- a/core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
+++ b/core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php
index 05609db738d420f955f09205fd8b169e6e8aaf2d..38648d29d0300a5b3dbd5c3be25d08f31c2e575f 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource;
 
 /**
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
index dc14cc47ccd9790d2d137646c1e2455445d49a0b..72e29ef1a42b7e7f191871c619e2357c07d89151 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource;
 
 use Drupal\Component\Assertion\Inspector;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php
index c5b18daa94b1cacee0b6258ef953b7c68bf4b8fe..a2b8d931491a611096c16e57cc3bb4fa1bbbbac9 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonBasicAuthTest.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonBasicAuthTest.php
index 934ff556190eaba7a6da05e67fbe5d4c373e663b..b11767fec396698acfa4da987864429880f86777 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonBasicAuthTest.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonCookieTest.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonCookieTest.php
index ffcb5e0947673b4a65047d287f264a5f5d37c85e..b83ef4f86432761daa2aeaa9a0dd65983ae7436c 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonCookieTest.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php
index 63003c4185dd556c330177e49512e01bf89ec425..b8e6f180ef4756e56f406f4a7b52118148dd73c4 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlAnonTest.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlAnonTest.php
index 3cc3853df1be3535d82d0b032c25bb377d6d9be8..7c13ad60aa04f81523ced9b7b6085015c19bd028 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlAnonTest.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php
index dea3be04be36760731ab91ab45bbddf9113004bd..90700a076d1b086c3417de37bbc55556aefddb1d 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlCookieTest.php b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlCookieTest.php
index 8a2193fb90dbdd3fd714a73c40b3578021c42940..821fe065b781922fda05f7a7d445fe4feb810ccd 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlCookieTest.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php b/core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
index 243b01bc88968cf5507d678e752dbee592d91b4a..5769d7a5e7451478714f923334ef76167e31933e 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\EntityResource;
 
 use Drupal\Core\Entity\FieldableEntityInterface;
diff --git a/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php b/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
index 712250ed82d5b7cc11e3bbc6ce371f77c9ecaf7f..5dba42b4d0861c7f49e41a7574fd690a3bd7bb4f 100644
--- a/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Drupal\Component\Render\PlainTextOutput;
diff --git a/core/modules/rest/tests/src/Functional/GenericTest.php b/core/modules/rest/tests/src/Functional/GenericTest.php
index 74eeceb9c24973f6652fd9c5ed892fb4c96643ec..536a0b41788e587e541abcfaabd52d15228dedba 100644
--- a/core/modules/rest/tests/src/Functional/GenericTest.php
+++ b/core/modules/rest/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/rest/tests/src/Functional/ResourceTest.php b/core/modules/rest/tests/src/Functional/ResourceTest.php
index 64ec7ed09bdf431514ce26c1ba6f63456d1c3318..0d48efc6325a00f61057f531d3078b3b68779f37 100644
--- a/core/modules/rest/tests/src/Functional/ResourceTest.php
+++ b/core/modules/rest/tests/src/Functional/ResourceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Drupal\Core\Session\AccountInterface;
diff --git a/core/modules/rest/tests/src/Functional/ResourceTestBase.php b/core/modules/rest/tests/src/Functional/ResourceTestBase.php
index 3b5fe5ec7d7fce0e057db133642721a0625da404..dd10480d17f7cb2ad47e8d56af25a9cb48c730d2 100644
--- a/core/modules/rest/tests/src/Functional/ResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/ResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 use Behat\Mink\Driver\BrowserKitDriver;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonAnonTest.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonAnonTest.php
index 0caad8c819229bd4b3859e64d177526ab9a1a63e..9b8d6249850d62e43a9121e8c8589ea06a5ed796 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonAnonTest.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonBasicAuthTest.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonBasicAuthTest.php
index 731ee931d6b18122b2abf233ef6ebf96952dca48..1e1091511f7d0c597fc3143f4ccede557ba22e26 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonBasicAuthTest.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonCookieTest.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonCookieTest.php
index 0fee7a1c4f69a6449e16a264744275faa64a33a4..f13049e0972f6d1f4f2e232eb0d64f012de01bfa 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonCookieTest.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php
index f63cd257da207f9217afb5d2e2c57b871fed5133..8a9ec866f8dd9710c99a5d5f4cb5f4342a9019ac 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlAnonTest.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlAnonTest.php
index 5c0c24e47a7d979255863f9ff9a21cfc903b7b9f..bbd219416ee6e69894d830a5a726f5859da37c21 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlAnonTest.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlBasicAuthTest.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlBasicAuthTest.php
index e0467df64d69bb173ed7e8c4151266367f88d697..b603641f36bb2ce16e63611ccc7d799918395003 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlBasicAuthTest.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlCookieTest.php b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlCookieTest.php
index 796d5424f848abc2b8edc0ef5bbb583130e5cbcd..da0848afcb391f8b850594cdd5fcc908af188aed 100644
--- a/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlCookieTest.php
+++ b/core/modules/rest/tests/src/Functional/Rest/RestResourceConfigXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php b/core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php
index 36f085c1206746d3c6358959ae7e3121f60f4fc0..36e214544f3a8b1d94adb7a328938a26bb745a6d 100644
--- a/core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php
+++ b/core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Views;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php b/core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
index 173dd13bb8547088670516847d19172ba052b66b..b27171ff04d3f5d7aa66a5dac26ff9f07cf73071 100644
--- a/core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
+++ b/core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Views;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php b/core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php
index 72a09a15052f00a42131bbb8ccaa81547f7a9ec7..17ce69c425b550e3aeebb4a43abeb7e7b1c79eb2 100644
--- a/core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php
+++ b/core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php b/core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php
index b32d19037cfb7d995e02011a911b11ecad0c1695..8013d9c004082b0e152334ca4c4a4d7a88d17e58 100644
--- a/core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php
+++ b/core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Views;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php b/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
index da87e89cd05fc70799d9f9285469160055e97898..4fdbce90d98dd143c89e0cfa7824c7ada2033ea3 100644
--- a/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
+++ b/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional\Views;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php b/core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php
index b28f0fc0b26c32d87d024ffda790087214702357..c1a7c68a2cd821d2f37794fb88436e7bddf3d281 100644
--- a/core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php
+++ b/core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\rest\Functional;
 
 /**
diff --git a/core/modules/sdc/tests/src/Functional/ComponentRenderTest.php b/core/modules/sdc/tests/src/Functional/ComponentRenderTest.php
index 4d4f96449917bdfcafc9c6388b21975a88e56d1e..2c80bfbacf211ed5a595ad8163696c26f71839d8 100644
--- a/core/modules/sdc/tests/src/Functional/ComponentRenderTest.php
+++ b/core/modules/sdc/tests/src/Functional/ComponentRenderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\sdc\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/sdc/tests/src/Functional/GenericTest.php b/core/modules/sdc/tests/src/Functional/GenericTest.php
index f302913ca0d245f810ab383d12432ed78a165084..c5740f9f0379d450fa86343d85c75ae10bbcf812 100644
--- a/core/modules/sdc/tests/src/Functional/GenericTest.php
+++ b/core/modules/sdc/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\sdc\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/search/tests/src/Functional/GenericTest.php b/core/modules/search/tests/src/Functional/GenericTest.php
index e9dfa22686189867b8ae1690afccd6e5ae9aa224..0d8e3b738106708f5c77c6d2d96685cbe0e47bec 100644
--- a/core/modules/search/tests/src/Functional/GenericTest.php
+++ b/core/modules/search/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageJsonAnonTest.php b/core/modules/search/tests/src/Functional/Rest/SearchPageJsonAnonTest.php
index b58490208f0da7128e46ff3ee9601034527f4a33..02c4e7c5b9955b1667b57b257ecbe00ed472b37d 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageJsonAnonTest.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageJsonBasicAuthTest.php b/core/modules/search/tests/src/Functional/Rest/SearchPageJsonBasicAuthTest.php
index d6c8278b5b7fd61453beb70212e88d72331cb041..9e1eeae996bd816e40671acb316fc1fe0a862d97 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageJsonBasicAuthTest.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageJsonCookieTest.php b/core/modules/search/tests/src/Functional/Rest/SearchPageJsonCookieTest.php
index ca6c6a3862428099990ba3bfe60ca1b75e6cddb8..fc6332a88b86cef99be34b7048fd125280985517 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageJsonCookieTest.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php b/core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php
index 5555e0211d049cfa8baecca3d0d924002a1a0532..d1e602b2a9b2fd8f5db7a721ad287fa28e945702 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\search\Entity\SearchPage;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageXmlAnonTest.php b/core/modules/search/tests/src/Functional/Rest/SearchPageXmlAnonTest.php
index 3ed7990aa546b14d6a736cc9994d3a974f3d718b..7e62e4bb3d3a1c7a2f75713add2cf6c50ebdd451 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageXmlAnonTest.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageXmlBasicAuthTest.php b/core/modules/search/tests/src/Functional/Rest/SearchPageXmlBasicAuthTest.php
index 0d559135f46f35b367ff52ccfd6c1aa8f82c88cc..2d0bf72e8786e761f66469a33ae9118d30cfb7a4 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageXmlBasicAuthTest.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/search/tests/src/Functional/Rest/SearchPageXmlCookieTest.php b/core/modules/search/tests/src/Functional/Rest/SearchPageXmlCookieTest.php
index 860981f09f66788bbc74722972d3c88e2c205cb0..b54b2b69745d1393f8a9023c3ed462c09ee85e60 100644
--- a/core/modules/search/tests/src/Functional/Rest/SearchPageXmlCookieTest.php
+++ b/core/modules/search/tests/src/Functional/Rest/SearchPageXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/search/tests/src/Functional/SearchAdminThemeTest.php b/core/modules/search/tests/src/Functional/SearchAdminThemeTest.php
index 6e3ad66ff4a4f9e0cbc3d5ea7cea8c6ccfc4346d..177d1ecae32dbd73c3e320e926c43cb3314dc6c1 100644
--- a/core/modules/search/tests/src/Functional/SearchAdminThemeTest.php
+++ b/core/modules/search/tests/src/Functional/SearchAdminThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchAdvancedSearchFormTest.php b/core/modules/search/tests/src/Functional/SearchAdvancedSearchFormTest.php
index e1b330cb5f1a02961a407608a223c20cb2287ce8..d8d1cd7fd1f598efdb5265ef5bd8560dad8ea0f4 100644
--- a/core/modules/search/tests/src/Functional/SearchAdvancedSearchFormTest.php
+++ b/core/modules/search/tests/src/Functional/SearchAdvancedSearchFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchBlockTest.php b/core/modules/search/tests/src/Functional/SearchBlockTest.php
index ff0e53e516ed436f7fdcb508ab9af1a7a95efae2..1fbda4bb7eebaa3b8befb91b056763279c6374a8 100644
--- a/core/modules/search/tests/src/Functional/SearchBlockTest.php
+++ b/core/modules/search/tests/src/Functional/SearchBlockTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php b/core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php
index 27c537d60d00b35a995488eeea73b55c468c0f18..2312b33edee220f55ac6b44dc202c6688c46121a 100644
--- a/core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php
+++ b/core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/search/tests/src/Functional/SearchCommentTest.php b/core/modules/search/tests/src/Functional/SearchCommentTest.php
index b605f5465edc35ee6251f8277df49b1eb2fc4312..89928169ed58c8cd6e90d8efc96b7d71786f0fb7 100644
--- a/core/modules/search/tests/src/Functional/SearchCommentTest.php
+++ b/core/modules/search/tests/src/Functional/SearchCommentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Behat\Mink\Exception\ResponseTextException;
diff --git a/core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php b/core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
index b5e97d4468a60a286a0ec30c16a98c2810d38cfc..76d15dd12b79ff75890b6cc4d96a7c984a074e15 100644
--- a/core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
+++ b/core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Link;
diff --git a/core/modules/search/tests/src/Functional/SearchDateIntervalTest.php b/core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
index e7ecdf8e43b936ebbaecab6cd5a7ef9063869178..8d0b7fb294419fa82ec65acb7b9451c42405572f 100644
--- a/core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
+++ b/core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/search/tests/src/Functional/SearchEmbedFormTest.php b/core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
index ddba079a2a5066e1aafec58acc2385a976ef0b46..ed39c4281431d1422f40a8932038fe6973def709 100644
--- a/core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
+++ b/core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchExactTest.php b/core/modules/search/tests/src/Functional/SearchExactTest.php
index 8ae6cc1d3787ef120ccb8483d56018ef33fff615..32eda7ae1aa69e4102d94c99f42f2340ed3da489 100644
--- a/core/modules/search/tests/src/Functional/SearchExactTest.php
+++ b/core/modules/search/tests/src/Functional/SearchExactTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php b/core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
index 07ab8fcc7a61283fee7b9e37ab818e62e5948c88..be371c5ac7bc90eea74076a106c5d4d0aa3b75ec 100644
--- a/core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
+++ b/core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/search/tests/src/Functional/SearchLanguageTest.php b/core/modules/search/tests/src/Functional/SearchLanguageTest.php
index e66a2f5d191032bfd67983e366f60db71a713f4e..448a2d2257c08624de67cb766056fe0d92658d87 100644
--- a/core/modules/search/tests/src/Functional/SearchLanguageTest.php
+++ b/core/modules/search/tests/src/Functional/SearchLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php b/core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
index 89f1ef0fde0eb0d6bfe10fa1fe774b53f883743d..f71212c1f9ae6284a09ec3a680fa90080710e275 100644
--- a/core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
+++ b/core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/search/tests/src/Functional/SearchNodeDiacriticsTest.php b/core/modules/search/tests/src/Functional/SearchNodeDiacriticsTest.php
index b3830a6d83368015f2b326a55d578f6ced23cce7..1712d43962bad49c0a123028f6165760fdd63288 100644
--- a/core/modules/search/tests/src/Functional/SearchNodeDiacriticsTest.php
+++ b/core/modules/search/tests/src/Functional/SearchNodeDiacriticsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchNodePunctuationTest.php b/core/modules/search/tests/src/Functional/SearchNodePunctuationTest.php
index 6320cb193faba11cef1511157c3dc7c1faebef79..0b0848c612ae002876dfeeec62d6c99935e20094 100644
--- a/core/modules/search/tests/src/Functional/SearchNodePunctuationTest.php
+++ b/core/modules/search/tests/src/Functional/SearchNodePunctuationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php b/core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php
index c01a42f34c922ffb3ec7535001c849485daacff6..dec5ba93860079a550cb56a2ba8c984b37a453a5 100644
--- a/core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php
+++ b/core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php b/core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php
index f6f0acf0bc65b0ee630bbb294957f3db4b0f388e..8fc92c53777bbafa6acbc4a049ea59344f954777 100644
--- a/core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php
+++ b/core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/search/tests/src/Functional/SearchNumbersTest.php b/core/modules/search/tests/src/Functional/SearchNumbersTest.php
index 1e10e21c08fb5180e1bb2bb8f77a0e3c6165c858..12882a98deb09c424c639db0f4e64cedf521715a 100644
--- a/core/modules/search/tests/src/Functional/SearchNumbersTest.php
+++ b/core/modules/search/tests/src/Functional/SearchNumbersTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/search/tests/src/Functional/SearchPageCacheTagsTest.php b/core/modules/search/tests/src/Functional/SearchPageCacheTagsTest.php
index 1d8c15306f3fd558aeb04af3fc8602f5a3ff5476..a127c8a435e29826856be57e3d1e49f31fea7f07 100644
--- a/core/modules/search/tests/src/Functional/SearchPageCacheTagsTest.php
+++ b/core/modules/search/tests/src/Functional/SearchPageCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/search/tests/src/Functional/SearchPageOverrideTest.php b/core/modules/search/tests/src/Functional/SearchPageOverrideTest.php
index d1dc9cc023322d71550de682f48f2060c62486a6..238020fccd59fd684bbe2878d3265460c820b48f 100644
--- a/core/modules/search/tests/src/Functional/SearchPageOverrideTest.php
+++ b/core/modules/search/tests/src/Functional/SearchPageOverrideTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchPageTextTest.php b/core/modules/search/tests/src/Functional/SearchPageTextTest.php
index 8ed49d73200ba88d654c569a04a298bb0af856ce..66c41620732ea1c96ecc555ddc3ff3c32d011a6f 100644
--- a/core/modules/search/tests/src/Functional/SearchPageTextTest.php
+++ b/core/modules/search/tests/src/Functional/SearchPageTextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Component\Utility\Unicode;
diff --git a/core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php b/core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
index 2f57b6a44a9e1fde08fe27942e12d2320beb18a5..1eedced627223e133bd1714ab27fb42385a3379e 100644
--- a/core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
+++ b/core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchQueryAlterTest.php b/core/modules/search/tests/src/Functional/SearchQueryAlterTest.php
index 3ae77f1969688caa43adabc90053e9f3c1ee9a1c..c27624fbccbed0180ea5c5093c1cd9888f69774b 100644
--- a/core/modules/search/tests/src/Functional/SearchQueryAlterTest.php
+++ b/core/modules/search/tests/src/Functional/SearchQueryAlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/search/tests/src/Functional/SearchRankingTest.php b/core/modules/search/tests/src/Functional/SearchRankingTest.php
index ff12e2b068e55212a99caea948e0ec7274027c64..c7f34dc7355a0d0e2ac6c468fc5d142ec30ff2c3 100644
--- a/core/modules/search/tests/src/Functional/SearchRankingTest.php
+++ b/core/modules/search/tests/src/Functional/SearchRankingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\search\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/serialization/tests/src/Functional/GenericTest.php b/core/modules/serialization/tests/src/Functional/GenericTest.php
index cc9a29cf00c82c1c4debeaa6ea6c063e489e20c4..a7e69a7d6be08907af6a8625a80ab02ea8de9044 100644
--- a/core/modules/serialization/tests/src/Functional/GenericTest.php
+++ b/core/modules/serialization/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\serialization\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/settings_tray/tests/src/Functional/GenericTest.php b/core/modules/settings_tray/tests/src/Functional/GenericTest.php
index f46af7c0000c095d269c1b1ecc7c2e553e110d24..7218d2b345c552022d6b20df9241c28e93a40d76 100644
--- a/core/modules/settings_tray/tests/src/Functional/GenericTest.php
+++ b/core/modules/settings_tray/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\settings_tray\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/settings_tray/tests/src/Functional/SettingsTrayTest.php b/core/modules/settings_tray/tests/src/Functional/SettingsTrayTest.php
index 885bbc6fbf4b88bc3beb31ee9839bb7ed8ee4e71..510afa6ff1b4a8e50fabfd2fa5a3418ac501d259 100644
--- a/core/modules/settings_tray/tests/src/Functional/SettingsTrayTest.php
+++ b/core/modules/settings_tray/tests/src/Functional/SettingsTrayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\settings_tray\Functional;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/shortcut/tests/src/Functional/GenericTest.php b/core/modules/shortcut/tests/src/Functional/GenericTest.php
index 399acc621b48909054b3d816d76648605ef2a94e..4dd3fa2de28ceca131017eeee3ec4a165de0d472 100644
--- a/core/modules/shortcut/tests/src/Functional/GenericTest.php
+++ b/core/modules/shortcut/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php
index 114dc60d1d0263b61993033edd7d2d62b8afb0a9..1fe04bc2cf10bb1ef16a9121e2a840c35b9a583f 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php
index 2d233dd94276d1208be76446509606cdf762b915..3701c13eddbd4981b2671be725b6c7134101638d 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonCookieTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonCookieTest.php
index fed029af8aa7f8a80f2221ea91743aac93b7fd7b..4181bd677556ad0dddb8a3879fe32053adecf53f 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonCookieTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php
index c64293bd4d18e869a9eabeea2295517edc18c202..df94f82824cd666d7d45d5effe35230efed7b613 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\shortcut\Entity\Shortcut;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonAnonTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonAnonTest.php
index ce5f270a21c53beef2afd71d9c949f514084e028..8a1f9e09f41b1cc75436adfee5aa7bb051471a18 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonAnonTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonBasicAuthTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonBasicAuthTest.php
index d1f4dea530c5f35f9a297cc92c481b55349c3add..afda4bbe3d6e41c9aea3b485e98f4451f6d33599 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonBasicAuthTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonCookieTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonCookieTest.php
index 11676fe190a6a568e0612f9d44e977a878a53687..6b880c3f45aee2d0b62acbb603ee22a3287b6bfe 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonCookieTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php
index b36dd9e9dffdecfc80317aa0a9cef31e5aee116d..d4c8207656047064cdd3609ad6606cc8fd7b6910 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\shortcut\Entity\ShortcutSet;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlAnonTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlAnonTest.php
index 5dc659538fdf3f616605ac36afbee2df7499b5b0..444f2625922caf02f33f65c5c201095a1ad08662 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlAnonTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlBasicAuthTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlBasicAuthTest.php
index f3d09e2d4a91a31cef1c17db204342109576ebcf..bb05d1e74b6f288f936dfc0d7921113943550fa3 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlBasicAuthTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlCookieTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlCookieTest.php
index 969fefbaa6dbb2db68a387fdef78003a226c893a..60aab001fc95ec2a37a3de3466daf7b425942542 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlCookieTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlAnonTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlAnonTest.php
index ca58e8bfad971602b42816ac237e6b53880ce423..443980e866ad3d6a20c58c728a4ecbac5981e3df 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlAnonTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php
index 8e5c64f1d842e81955ca9c4d489544b54083889f..e8556416404a5e7b3ee58c475a5831422f2ce41d 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlCookieTest.php b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlCookieTest.php
index d2c4af2021107356966db04cc771cd1f078a5bff..2f35d8b160cc5ecabdeb4ef9de84e693309418e7 100644
--- a/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlCookieTest.php
+++ b/core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php b/core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php
index a6626677ae6d3e20f9aee6a11f191767819b39c6..4cfc9e8b04fe457ac4f7694a571cc3ba6534df60 100644
--- a/core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php
+++ b/core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional;
 
 use Drupal\Core\Cache\CacheableMetadata;
diff --git a/core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php b/core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
index 7f652abc880891017feaf87199cf61a03ebcf2bb..0687111d2d7b6d1229c93dc611ce09c5ea3f6eb9 100644
--- a/core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
+++ b/core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional;
 
 use Drupal\block_content\Entity\BlockContentType;
diff --git a/core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php b/core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
index 2ceefe417e28d28ff97cd94fc86ff1e432bccd9c..1d01bca0d23716c8af54a3c2191ad6e48a3b7eee 100644
--- a/core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
+++ b/core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional;
 
 use Drupal\shortcut\Entity\ShortcutSet;
diff --git a/core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php b/core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php
index 95c0b30de73c4f4072fe839dc11efcebf577b22d..1b9feb555b534e43740af79ed1554c90ea042cd3 100644
--- a/core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php
+++ b/core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional;
 
 use Drupal\shortcut\Entity\Shortcut;
diff --git a/core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php b/core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php
index c1271e499b3dc543369c0cd6e8d221478600666a..01f5a3d80135d10f5ad975081683a4f800858a3d 100644
--- a/core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php
+++ b/core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\shortcut\Functional;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase;
diff --git a/core/modules/sqlite/tests/src/Functional/GenericTest.php b/core/modules/sqlite/tests/src/Functional/GenericTest.php
index 6857183372fe401f80d61d860ac947bf457212fd..9d0b489d79212f5c3101e7c0f813bf4b2cdfc81a 100644
--- a/core/modules/sqlite/tests/src/Functional/GenericTest.php
+++ b/core/modules/sqlite/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\sqlite\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/GenericTest.php b/core/modules/statistics/tests/src/Functional/GenericTest.php
index 281fc907ec8c7f080d956e31f0abaace03ffd13f..2f92e0458911ff17d5523127b6d1db0d75c3e99c 100644
--- a/core/modules/statistics/tests/src/Functional/GenericTest.php
+++ b/core/modules/statistics/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php b/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
index 2df822a19040c1957d337cb3f01a00da50fa9bc6..7ef11c87c5e77168d5cb673b5bf5f38af538de2e 100644
--- a/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
+++ b/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php b/core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php
index af98752abaee3a048624a57107e13c0c352604fa..154f23ce1a3cccd40e3e7a8e513afaf5f09fd400 100644
--- a/core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php
+++ b/core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php b/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php
index 4afe764bd937471735cea4518827f0c4ad0e8db4..26aaaaa47598566145fef2c5c12763f00e7aeef8 100644
--- a/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php
+++ b/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php b/core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
index 352943df22a6d78a87cb98c8a3f9ff2683e905e6..52bea8d4cb5a54b5ded508b8dcb6c1393811f3a1 100644
--- a/core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
+++ b/core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/statistics/tests/src/Functional/StatisticsTestBase.php b/core/modules/statistics/tests/src/Functional/StatisticsTestBase.php
index 64188b11719836428dec36a77703570e6188f565..3ecec8ecbf9959036f66cb337c640a700267324b 100644
--- a/core/modules/statistics/tests/src/Functional/StatisticsTestBase.php
+++ b/core/modules/statistics/tests/src/Functional/StatisticsTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php b/core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
index f5d4fe209af024955154e3a57447423d1574bb97..962f663388358dee4ff43b5c74eaf5ce11529e58 100644
--- a/core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
+++ b/core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional;
 
 /**
diff --git a/core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php b/core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php
index 6c7891155b8fb07586f2a81f3e6d277040157db4..26e899745eeca5dafb0bc3bc1dc5b107b0b194a8 100644
--- a/core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php
+++ b/core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php b/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
index 3bc0739ff652711b021dd519de28a9265634996e..36ddf3a4266decbbd9a51c4b28ed2d5b5f4cdcc1 100644
--- a/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
+++ b/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional\migrate_drupal\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php b/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php
index abda29330dc8e929397f4611b8b78ebfb7038f46..8b77e47b3af9528f12a779a1fb91fa8a40835719 100644
--- a/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php
+++ b/core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional\migrate_drupal\d6;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php b/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
index 499c1894e46acb96bb3ba147975465fc5a657f32..7cd1794d92b7f7a72097bcc74c25625a34198248 100644
--- a/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
+++ b/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional\migrate_drupal\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/UpgradeTest.php b/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/UpgradeTest.php
index df7d6248652c6d94a02430c282a01b1ae6c5c1ba..539ca6fe57098cb4493d792c21f3c18c9855a670 100644
--- a/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/UpgradeTest.php
+++ b/core/modules/statistics/tests/src/Functional/migrate_drupal/d7/UpgradeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional\migrate_drupal\d7;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
diff --git a/core/modules/statistics/tests/src/Functional/search/SearchRankingTest.php b/core/modules/statistics/tests/src/Functional/search/SearchRankingTest.php
index 1cc3b4a30e8f2719be13574357502378dcc34c0a..ad8c0ab366fc3352dea04b7eab075b8d6b266e81 100644
--- a/core/modules/statistics/tests/src/Functional/search/SearchRankingTest.php
+++ b/core/modules/statistics/tests/src/Functional/search/SearchRankingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\statistics\Functional\search;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/syslog/tests/src/Functional/GenericTest.php b/core/modules/syslog/tests/src/Functional/GenericTest.php
index ab4a970d5dd1b86dfd2a749efe9b90f255c98bf8..ca011063a38df51017c2b8e8599319ad649e6388 100644
--- a/core/modules/syslog/tests/src/Functional/GenericTest.php
+++ b/core/modules/syslog/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\syslog\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/syslog/tests/src/Functional/SyslogTest.php b/core/modules/syslog/tests/src/Functional/SyslogTest.php
index e622f681e409515b795d71d00eaa15735135216f..4ae5e4d4ed129719f571ee8c1a0b5b689b7c0e46 100644
--- a/core/modules/syslog/tests/src/Functional/SyslogTest.php
+++ b/core/modules/syslog/tests/src/Functional/SyslogTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\syslog\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonAnonTest.php
index c1abebd0b3429b9d300b89efcdd894982f60b583..da4c5140140a154f73e79fb575f97bdd6aacb104 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php
index d1e2189a3c502e64f28951c1a729f67a55b81287..e7513e46b40f0f6242fa1c81ba5523f2729306b9 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonCookieTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonCookieTest.php
index b239f41efc82276881bcc8b5ef9c6d0e57986e26..40dcc3dbfb787e0dd75a3b7035371978a32bd23c 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonCookieTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
index 87ff2589940df7aa8e335cbce93240d822a10e65..45b1a5661ceb58e0349c18afe73893f0a4063b44 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\entity_test\Entity\EntityTestBundle;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php
index 8c2d234da2d7b32e7c8dd56597cb995bc4c74da8..3aa8d89c0b55e2f1c08beada92e5c035845e9722 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlBasicAuthTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlBasicAuthTest.php
index 4f9fcbbe8b5801e88448c71b048fd4d2a2aa03e3..38ecd1122f7d46c169b668a8e9cfb191d838c136 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlBasicAuthTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlCookieTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlCookieTest.php
index 5252b3f351218cce3ff058fea89e6d714015367a..9773f36ef9af7ac176d79dd176bb93a880b0fe62 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlCookieTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
index 2090db49aa60b40b0ac424c4363b5e24cf98ab62..bfc2d25386d35d271ca81516251d42faa7b7d742 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonAnonTest.php
index ad91a5a5d434d64fddaeb8da3e8dd408c20fe058..9c4f5116855cfb9faaf30bba8c1ea60ccec918f6 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonBasicAuthTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonBasicAuthTest.php
index 891171fcafe712a5802a068a49ea138e65ec0964..da123af0eb308cf3424b6e994a5d305367c79aff 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonBasicAuthTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonCookieTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonCookieTest.php
index 9ddb7a700072809c040d296be7ccf17450bb7750..95ef5d414b528097316f2311928c4a91750a7001 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonCookieTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php
index ec7868ec47c781500adfa1eeac93109ccc2bae19..fa4131d49c1eadf9e7bcdd4b00a32fb8363a20d1 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonAnonTest.php
index a122830c99f86f506a4eb808feafc6244cf5b399..6cfe2eb5fa08d4e3475ee83dc02ce70d0997a09b 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonBasicAuthTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonBasicAuthTest.php
index b508a6dbd9aff92f69a5f48e27a0c459e960cf4d..cd7f705862b2c2b5b32f284252b9783daf68f39d 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonBasicAuthTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonCookieTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonCookieTest.php
index 5a6153f45c67fe5ce7a6819cf2a35a3a9b13359a..4258c981a708e5991dc108a5c9a0cf96d469a379 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonCookieTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
index ef5ff119f269cea28618497333bda237c9a92e97..9d897e0aba81fe70826e538522f21c573d27ff17 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\entity_test\Entity\EntityTestLabel;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlAnonTest.php
index dc66976988607a4cf1cd78b917b97bc34a1b25c8..ff8793439a39eea4d9d2a0f908f47a9d12ff0233 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlBasicAuthTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlBasicAuthTest.php
index 0b89dff93568ac71b2299dfbbf56510f7f2a40b6..1063242132b8d6173be61e383ba5e7858ab68314 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlBasicAuthTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlCookieTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlCookieTest.php
index 5aef8f7466efedd4eab3a57a41a94de31d1faf00..6d24e3c2cad42c43941a525660bdaa95719814fc 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlCookieTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldJsonAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldJsonAnonTest.php
index 5751c63f54d282230ccb2c1fd324c71af8fdfa85..4d893e3ed4168ec1417aed183accd8b164bee7ce 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldJsonAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
index 4d236ebebc2afa7cb3e2045552a04fe309d5dddc..b66adc67e91b8bdeba179a3bce26c922f82bb256 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\entity_test\Entity\EntityTestMapField;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php
index e6a1c6a10191a7447d5041385e756eb56b11ad46..8a30d6bf6869af64638ad68934465b5e7feb456b 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
index cb646e0b55c743a32f72fb833bc4e1d5f8ebd988..130649f0321765cd2ebde80aab69d22e0e1a08f0 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlAnonTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlAnonTest.php
index 9cd6d2de5484f543f84b1a45a0ff38736fd8990b..3999bce38df1c6c929bdf5a13a95468960222ba9 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlAnonTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php
index f08fae7925cd2a6cda3a5911df9a0df69d21caaa..826e70a6ed728d66af4af5c3554600fc74c12e5d 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlCookieTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlCookieTest.php
index 2fe9035233e060cd8b47f68b1207efb48fb16720..5252113b10e9689039112925fc072aba40da56ee 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlCookieTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\entity_test\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Ajax/FrameworkTest.php b/core/modules/system/tests/src/Functional/Ajax/FrameworkTest.php
index afa6f8df54d0fda862d6a45cc57e6c241274b1f8..c8d68ad0ef1a76c316d4dec981fadd31881cbfe6 100644
--- a/core/modules/system/tests/src/Functional/Ajax/FrameworkTest.php
+++ b/core/modules/system/tests/src/Functional/Ajax/FrameworkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Ajax;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php b/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
index 15a64505b05294cfa0203eed641e402be379df02..7002e8066371f1f5e4580c1507df66e5cb6c8efe 100644
--- a/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
+++ b/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Ajax;
 
 use Drupal\ajax_test\Controller\AjaxTestController;
diff --git a/core/modules/system/tests/src/Functional/Batch/PageTest.php b/core/modules/system/tests/src/Functional/Batch/PageTest.php
index 5261d15aefdc31df92c3d45ebf8054d3399640ba..052b2cd124d3e1dc8680b5f64bdc6accca0484a8 100644
--- a/core/modules/system/tests/src/Functional/Batch/PageTest.php
+++ b/core/modules/system/tests/src/Functional/Batch/PageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Batch;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php b/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
index a341cf121f1f9bb23a77f21124d0257f67d1e1b0..d510548d34b71adc1563170f8dc159fc840a8874 100644
--- a/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
+++ b/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Batch;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php b/core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
index 320912f6a90265c2969c7827807e9b6ef1138b64..d83d719ffed4db7a1f65fd1b45f2c41065a7476d 100644
--- a/core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
+++ b/core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Bootstrap;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php b/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
index 36925395091d3c339ea954d2e324eecf5456759a..1cef49d9820005d2dfb69e252814f5db23967877 100644
--- a/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
+++ b/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Cache;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/src/Functional/Cache/CacheTestBase.php b/core/modules/system/tests/src/Functional/Cache/CacheTestBase.php
index 007ae8736a44ca24b7b51ee6c51174cc06c95d95..4b8033e9c44f82b9fe2f24238c836c4561c93ee0 100644
--- a/core/modules/system/tests/src/Functional/Cache/CacheTestBase.php
+++ b/core/modules/system/tests/src/Functional/Cache/CacheTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Cache;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Cache/ClearTest.php b/core/modules/system/tests/src/Functional/Cache/ClearTest.php
index 7851d209e8a3f1cd01e2eff9b858507a17dbb126..3746f9a426f5ac2df2732d3848522bdc1de37dfd 100644
--- a/core/modules/system/tests/src/Functional/Cache/ClearTest.php
+++ b/core/modules/system/tests/src/Functional/Cache/ClearTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Cache;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php b/core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
index 8823e45b9976aac07aef0590119a5ceb4887017d..61bf45426e304e9fc293d6a6590d0bd35a76b79d 100644
--- a/core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
+++ b/core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Cache;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php b/core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
index a9a0cf93ab384b467215979b1eab8ae1805dfe93..a762788fded5206c5e98606863079fd1ec86a695 100644
--- a/core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
+++ b/core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Cache;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Common/EarlyRenderingControllerTest.php b/core/modules/system/tests/src/Functional/Common/EarlyRenderingControllerTest.php
index 504aa35159fa2a9f9a7d22e1599603b1160e59fe..8a647548e0bcfc2d6027811eb56c989a358e94b0 100644
--- a/core/modules/system/tests/src/Functional/Common/EarlyRenderingControllerTest.php
+++ b/core/modules/system/tests/src/Functional/Common/EarlyRenderingControllerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Common;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Common/FormatDateTest.php b/core/modules/system/tests/src/Functional/Common/FormatDateTest.php
index b98a3b4af93b893b2c48866fc2748b6d1e5e881d..1664a8822c0f80260a634517c7d03a82e0d13ebd 100644
--- a/core/modules/system/tests/src/Functional/Common/FormatDateTest.php
+++ b/core/modules/system/tests/src/Functional/Common/FormatDateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Common;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Common/RenderWebTest.php b/core/modules/system/tests/src/Functional/Common/RenderWebTest.php
index fce229cfbd184044c798ef945398ad0ab4cd0da8..7abc2132806144695585e00c6e1621035798f773 100644
--- a/core/modules/system/tests/src/Functional/Common/RenderWebTest.php
+++ b/core/modules/system/tests/src/Functional/Common/RenderWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Common;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Common/UrlTest.php b/core/modules/system/tests/src/Functional/Common/UrlTest.php
index e79dfe45eb776da63363ae64307f85e2c270301f..506236bf85b6619b448585ec448da71bbb41e00d 100644
--- a/core/modules/system/tests/src/Functional/Common/UrlTest.php
+++ b/core/modules/system/tests/src/Functional/Common/UrlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Common;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php b/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php
index 4be4c5baffe80bcf48380fcd9d93816c7b1e06c3..b4e1e229ee68bac674a0170a4c0baaed09870609 100644
--- a/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php
+++ b/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Condition;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php b/core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php
index 82c14c16709b59431676be7df31f7bcd0edc5186..9947b556ac6672d23b16039ca3e8ab2608e4a3d7 100644
--- a/core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php
+++ b/core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php b/core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php
index f75aa3956390fe60abf7f7c23919b771a44fb469..2e3f1624baf59e2fdb003a33bacdf026f13b7cbd 100644
--- a/core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php
+++ b/core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Database;
 
 use Drupal\Core\Database\Connection;
diff --git a/core/modules/system/tests/src/Functional/Database/FakeRecord.php b/core/modules/system/tests/src/Functional/Database/FakeRecord.php
index b9db4dcb73ee6379f42479e22bebde4954568888..12912e7f6fa964b6dd1ca99504214b34f79a1bc8 100644
--- a/core/modules/system/tests/src/Functional/Database/FakeRecord.php
+++ b/core/modules/system/tests/src/Functional/Database/FakeRecord.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Database;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php b/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php
index 2b20acf16bbfeed43a971cea45bfe8dd2d7ab8b4..d229200e76df6b3937ab65e89e96e0363f6bef66 100644
--- a/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php
+++ b/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Database;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php b/core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php
index 9916295b4ba4068f760b007d30a3d320ed398e42..edf2a0734fed2dde47f5df7d95abddff4a253c82 100644
--- a/core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php
+++ b/core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Database;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php b/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
index a319b2131f399eab1c9858e23e0da7e183c05c64..87349b74fe121b467593ab1522d314a20bf96adf 100644
--- a/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
+++ b/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Datetime;
 
 use Drupal\Core\Datetime\DrupalDateTime;
diff --git a/core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php b/core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php
index 732ffd004c6e5ddc26640d03b1cc42bb57edbe8a..01e25e33f0390d26de6c112e9da9a1d55dac00e1 100644
--- a/core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php
+++ b/core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Datetime;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php b/core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php
index 55c55eb5082177ebaabc63f2b80ed5c953282a2b..52786de6afb2320b1d146c287e9315b1681cf32e 100644
--- a/core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php
+++ b/core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\DrupalKernel;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php b/core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php
index f500f78b533b67f8a0df8d25b060fc74d1c020a4..8212a02623e3877894c718a59bd91e17dc55d849 100644
--- a/core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php
+++ b/core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\DrupalKernel;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityAddUITest.php b/core/modules/system/tests/src/Functional/Entity/EntityAddUITest.php
index 44a8bf2bc6f02cc3235c5c0035648b7e6a0c604b..eb880a492080f9ee525fad53d74c58f6af819344 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityAddUITest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityAddUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\entity_test\Entity\EntityTestBundle;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php b/core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
index 20c6c9238464ba60207219e00730550519ba8906..b53cd81aa23354e2ce4db1d01536b188c56c1a86 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php b/core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php
index 56e939986f7f33b26bc5916d1b388466267dbc3c..ec2b1cb516c351a9f526b7898bd6fe208bd0ee53 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Core\Cache\Cache;
@@ -53,21 +55,21 @@ public function testFormatterComputedFieldCacheableMetadata() {
     $this->state->set('entity_test_computed_integer_value', 2024);
     $this->drupalGet($entity->toUrl('canonical')->toString());
     $field_item_selector = '.field--name-computed-test-cacheable-integer-field .field__item';
-    $this->assertSession()->elementTextEquals('css', $field_item_selector, 2024);
+    $this->assertSession()->elementTextEquals('css', $field_item_selector, '2024');
     $this->assertSession()->responseHeaderContains('X-Drupal-Cache-Contexts', 'url.query_args:computed_test_cacheable_integer_field');
     $this->assertSession()->responseHeaderContains('X-Drupal-Cache-Tags', 'field:computed_test_cacheable_integer_field');
     $this->assertSession()->responseHeaderEquals('X-Drupal-Cache-Max-Age', "31536000");
 
     $this->state->set('entity_test_computed_integer_value', 2025);
     $this->drupalGet($entity->toUrl('canonical')->toString());
-    $this->assertSession()->elementTextEquals('css', $field_item_selector, 2024);
+    $this->assertSession()->elementTextEquals('css', $field_item_selector, '2024');
     $this->assertSession()->responseHeaderContains('X-Drupal-Cache-Contexts', 'url.query_args:computed_test_cacheable_integer_field');
     $this->assertSession()->responseHeaderContains('X-Drupal-Cache-Tags', 'field:computed_test_cacheable_integer_field');
     $this->assertSession()->responseHeaderEquals('X-Drupal-Cache-Max-Age', "31536000");
 
     Cache::invalidateTags(['field:computed_test_cacheable_integer_field']);
     $this->drupalGet($entity->toUrl('canonical')->toString());
-    $this->assertSession()->elementTextEquals('css', $field_item_selector, 2025);
+    $this->assertSession()->elementTextEquals('css', $field_item_selector, '2025');
     $this->assertSession()->responseHeaderContains('X-Drupal-Cache-Contexts', 'url.query_args:computed_test_cacheable_integer_field');
     $this->assertSession()->responseHeaderContains('X-Drupal-Cache-Tags', 'field:computed_test_cacheable_integer_field');
     $this->assertSession()->responseHeaderEquals('X-Drupal-Cache-Max-Age', "31536000");
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityFormTest.php b/core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
index cd4f3e4789dd652db1a17a2572cbe8cd7341261a..d29cf446ae055f5e6c0713bc9db26a05e1362aaf 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php b/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
index 5c9c8963e816dd16cf94225f1accbcfbf54c360f..f63b7f8f57199d5e31724a58e8221c35f1453512 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php b/core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
index dd4652db3d4b291eb00a2222ebf04355c0e39b05..39edb19b87f27d55e61af39a2fd07f6cbb147ab2 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php b/core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php
index e75a02c0375dc959d24c7a9bd226f3deec42aaa4..b4d4639ef3f1c7b42ebc038abeaeda28208b2b16 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php b/core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php
index 539e7cefb161625de123ab89e3014785dbf36f56..4f4c18b46c34e018b7deabe7f098e160d1030aa5 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\entity_test\Entity\EntityTestMulRev;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php b/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
index 6314022be52a782b5708620ad1bbd73ea4b920a0..cb595f2d26252d351af28fa1757ee4c36d54b3a8 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php b/core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php
index 3ce683ec9287d02c2be1d4a9c33f89ac3c5b7b56..82a51f35ea1a6dec496a5557da54ca0859c5cf85 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php b/core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php
index 4a04b7a764da7b902040bc750946f564295af4ef..39d87dc889edca5b968f09026955efb81d2de9a3 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php b/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
index fb8912f07e2f7a542beba6a565d2a999d274c802..e130b89bf3273a4bd1170753eab29a9a5132ea84 100644
--- a/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
+++ b/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Entity\Traits;
 
 use Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface;
diff --git a/core/modules/system/tests/src/Functional/File/ConfigTest.php b/core/modules/system/tests/src/Functional/File/ConfigTest.php
index b63f89d5362f104306a3a8f5f6df2e9b1e7cb477..ab086c31d4f86be2413b6cd7473b5f02615108a6 100644
--- a/core/modules/system/tests/src/Functional/File/ConfigTest.php
+++ b/core/modules/system/tests/src/Functional/File/ConfigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\File;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php b/core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php
index 43ebc7f9bfcf562da6708e184a002deeaef53120..726ba84b947ecf6439cb7030549ba478ec030385 100644
--- a/core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php
+++ b/core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\File;
 
 use Drupal\Component\FileSecurity\FileSecurity;
diff --git a/core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php b/core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
index 5f0ee86072e9be557a1a707c2b8026c05792dfb6..a1315a0fea3c2f87e06be5be7922bd8937a41ba6 100644
--- a/core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
+++ b/core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\FileTransfer;
 
 use Drupal\Core\FileTransfer\FileTransferException;
diff --git a/core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php b/core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
index 029e72c95ad8afb92dc8c9797495467ae4a92320..5de24c61fc17ba9ccd95cf17106656d03e81cc94 100644
--- a/core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
+++ b/core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\FileTransfer;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php b/core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
index 33bf01c253d912185c0b28296036c6911bcdf6d1..0bbf538983e4580cc7913b42773f98fb0b9734ef 100644
--- a/core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
+++ b/core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\FileTransfer;
 
 use Drupal\Core\FileTransfer\FileTransfer;
diff --git a/core/modules/system/tests/src/Functional/Form/AlterTest.php b/core/modules/system/tests/src/Functional/Form/AlterTest.php
index c2489ea508e21d6ac524a6de20eee0bd04c57828..4233d3633f98e0ef515eee4409f9febbf3119418 100644
--- a/core/modules/system/tests/src/Functional/Form/AlterTest.php
+++ b/core/modules/system/tests/src/Functional/Form/AlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Utility\Xss;
diff --git a/core/modules/system/tests/src/Functional/Form/ArbitraryRebuildTest.php b/core/modules/system/tests/src/Functional/Form/ArbitraryRebuildTest.php
index cd3fa57e36ae46be69853cf5bd1cd90bc3dc1176..20a28a25d5e4cf016778bb84323942f4170e4a76 100644
--- a/core/modules/system/tests/src/Functional/Form/ArbitraryRebuildTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ArbitraryRebuildTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/system/tests/src/Functional/Form/CheckboxTest.php b/core/modules/system/tests/src/Functional/Form/CheckboxTest.php
index 4bd82849b0378fb53e9b9bd5becc239d9f53d2fc..aaaba68ba982caf21b6682f71a065bbd2974f8e1 100644
--- a/core/modules/system/tests/src/Functional/Form/CheckboxTest.php
+++ b/core/modules/system/tests/src/Functional/Form/CheckboxTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php b/core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php
index e12a286676edad43aacd38f0cd6b089e9180f0a1..a4bf46ff398799664dc2d144745c450edeb88986 100644
--- a/core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php b/core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php
index e6d33b41c2a694d48b936530ffed6227bfb39c5c..65cb8c3ce7db6784f3b672544d42de0d7b7cfaf8 100644
--- a/core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Form/ElementTest.php b/core/modules/system/tests/src/Functional/Form/ElementTest.php
index 17e48370509e0ad793b16b0edac3f5826bc5a8c7..cbeb84b3e370ff522ede712132912a006ad37d6c 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php b/core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php
index 3eac1b6cd539425c90105e2375c638cd15826f1e..2103ba80afc0cd60db54aaf31f86204e4f4b2fc5 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php b/core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php
index b19499a586b0e4546ec74630b1c1b9fd0f677114..7d26b78aa56f02684749a403d4b0355889fdb817 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php b/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
index fd462b423affb97a118a4b8f64a0bce1a0c68b60..f93bbd54b0c3da6b2d7ae6f538fcf7c713dab06a 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\form_test\Form\FormTestLabelForm;
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php b/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
index 1d1bf1aedfb42d06a0d4d6923454a8677d13113f..f021029450ed88ab61e0534a8270b023d89db6b0 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Core\Form\FormState;
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php b/core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php
index 68fde7d58aed7a6d5b49875ef06d2135a56ac38d..7ab935952af31981d93c38857d207b88d41a7f40 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/EmailTest.php b/core/modules/system/tests/src/Functional/Form/EmailTest.php
index 422b0dcdc92864159ae1b129f846af85cd23f73a..169abf4320328ac63c759e54199a975273333767 100644
--- a/core/modules/system/tests/src/Functional/Form/EmailTest.php
+++ b/core/modules/system/tests/src/Functional/Form/EmailTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/FormObjectTest.php b/core/modules/system/tests/src/Functional/Form/FormObjectTest.php
index d96d8aaf83e31b3027dd92633f50207b8bf41ce4..3b8a2e343d816fd534bf7710237fc1fd298ef219 100644
--- a/core/modules/system/tests/src/Functional/Form/FormObjectTest.php
+++ b/core/modules/system/tests/src/Functional/Form/FormObjectTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php b/core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php
index 629dbec687792cf0752a54b475e981cdf51e93c0..708f1aed884eb8a300308258130dd00a445a7715 100644
--- a/core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php
+++ b/core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/FormTest.php b/core/modules/system/tests/src/Functional/Form/FormTest.php
index 864d07f00c190c2def5188bb65c5f054a80ac450..89834a28a52ccb4c9e496ed5e528eefcd4f5a46e 100644
--- a/core/modules/system/tests/src/Functional/Form/FormTest.php
+++ b/core/modules/system/tests/src/Functional/Form/FormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php b/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php
index 26fe1df96ad947109da7095f575ad365e1b91cbe..df04caac9c97b810829c62dbef310dedec9111e3 100644
--- a/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php
+++ b/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php b/core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php
index 743fe1ffe51a0c93bc57ca237cb7d30a63c41aa5..38ed79c37eba5c29c2ef3aae2ef7a4794c95f04a 100644
--- a/core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php
+++ b/core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php b/core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php
index eec9b277fc2d2f732eba8b9963acd3a8f9aaccae..e99db5e3ab60c7db8b1c6ffa286c8c8613b098b0 100644
--- a/core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/RebuildTest.php b/core/modules/system/tests/src/Functional/Form/RebuildTest.php
index e98ec55d0885adfbfe48841795bf83a8475c448e..fcf71093679f29c69b3fa1b5d7fc8a3cd2412b63 100644
--- a/core/modules/system/tests/src/Functional/Form/RebuildTest.php
+++ b/core/modules/system/tests/src/Functional/Form/RebuildTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/RedirectTest.php b/core/modules/system/tests/src/Functional/Form/RedirectTest.php
index 4dd2490514c9411ee56c56b1ea4093f4d94876dc..5ad762ede0e71772938e4b95f8dd900feb20b66b 100644
--- a/core/modules/system/tests/src/Functional/Form/RedirectTest.php
+++ b/core/modules/system/tests/src/Functional/Form/RedirectTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Form/ResponseTest.php b/core/modules/system/tests/src/Functional/Form/ResponseTest.php
index 4fa529713cba0e28f7b5d7ba315444b8088b3a0b..6546b24543634cb8103008736ce2746e980a9c20 100644
--- a/core/modules/system/tests/src/Functional/Form/ResponseTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ResponseTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php b/core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php
index 90e24029f2efff6bd96fea2f471688c2e3ae0989..4f1cad0c1eaf8b1aa59b1f171d9b08be4b7362b4 100644
--- a/core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php
+++ b/core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php b/core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php
index 39292dbe5a795cc6187d9ae296e37a3a0fed1d74..85dc104ee9ac251c5b38347bca157d931b4432d0 100644
--- a/core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php
+++ b/core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/StorageTest.php b/core/modules/system/tests/src/Functional/Form/StorageTest.php
index 57f3e286447f9f453d8c0977174cd9a1dceb7ada..d023aa9c1f09d5986a81f1295fa4ae2a4905c035 100644
--- a/core/modules/system/tests/src/Functional/Form/StorageTest.php
+++ b/core/modules/system/tests/src/Functional/Form/StorageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/Form/StubForm.php b/core/modules/system/tests/src/Functional/Form/StubForm.php
index 4c30673d825f87caa513154114c8892fe8b1d069..5c8201d349b9944faaa8720e551319cd63284c07 100644
--- a/core/modules/system/tests/src/Functional/Form/StubForm.php
+++ b/core/modules/system/tests/src/Functional/Form/StubForm.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Core\Form\FormBase;
diff --git a/core/modules/system/tests/src/Functional/Form/SystemConfigFormTest.php b/core/modules/system/tests/src/Functional/Form/SystemConfigFormTest.php
index 90ab6c7148ef06e24d03e23555006e377830acbd..7c8707e19a640143fc73c5829bcb4ba81ccd0956 100644
--- a/core/modules/system/tests/src/Functional/Form/SystemConfigFormTest.php
+++ b/core/modules/system/tests/src/Functional/Form/SystemConfigFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Form/UrlTest.php b/core/modules/system/tests/src/Functional/Form/UrlTest.php
index 26ff068528ee94bb21e15bc955e3be3cab718a07..dae96f16c992d6b87379c1ac86bd411207af7c1a 100644
--- a/core/modules/system/tests/src/Functional/Form/UrlTest.php
+++ b/core/modules/system/tests/src/Functional/Form/UrlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Form/ValidationTest.php b/core/modules/system/tests/src/Functional/Form/ValidationTest.php
index 4d28dd997e4b6b08516ae189a3d5a7bbb749623c..6f959f05206cc7c1ca5e1b6f2793065a8b4037db 100644
--- a/core/modules/system/tests/src/Functional/Form/ValidationTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ValidationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Form;
 
 use Drupal\Core\Render\Element;
diff --git a/core/modules/system/tests/src/Functional/GenericTest.php b/core/modules/system/tests/src/Functional/GenericTest.php
index 5311043d9f5e858e3c4d9903c6fecf49c3d1df34..03240850956381e633a5f91ea8175d1bbf3f3ada 100644
--- a/core/modules/system/tests/src/Functional/GenericTest.php
+++ b/core/modules/system/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php b/core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
index 6e067bf8c7b43b52e3aecc2d4573c4acc2312a97..2277421e43968ff76dd963a1d869b478fb18545a 100644
--- a/core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
+++ b/core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Lock;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php b/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
index bd4ae66efd0a398b9559a6a179734e5e21207ee2..9616864d3767799e853a6f934d32b00825c86082 100644
--- a/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
+++ b/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php b/core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php
index 2ce7f8bc5ec97a0d78b1a2172af6414d80849330..36ea039641856968a75e7796abebb3361ec9d034 100644
--- a/core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php
+++ b/core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php b/core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php
index 51c9835ad5a7ec08755f7006e818701f8a848c17..0ec184f2a614abad4735151b3081d5f3506cff67 100644
--- a/core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php b/core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
index c1ef9322c1bf509c9765a961805668a8ed061233..9eee2022ecba4b7f78c7903e7d61413e16880d4c 100644
--- a/core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/system/tests/src/Functional/Menu/LocalActionTest.php b/core/modules/system/tests/src/Functional/Menu/LocalActionTest.php
index f4ca2ab86ef8457fd09025f0298409fb378a9a2e..5ab8a2964337b17126a8a74b7cc703c1c71271ce 100644
--- a/core/modules/system/tests/src/Functional/Menu/LocalActionTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/LocalActionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php b/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
index c29438b2fc79eb964155351feefc22e454f6e064..243c523f4743af85a48b16d8b5b03c2610fe2077 100644
--- a/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php b/core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
index b1a83af3cb7c2ce4a2f9d62a57a2107075733f91..0f58bb6a2ae8e0248355ce58a1bf18f6478e4631 100644
--- a/core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Core\Session\AccountInterface;
diff --git a/core/modules/system/tests/src/Functional/Menu/MenuLinkSecurityTest.php b/core/modules/system/tests/src/Functional/Menu/MenuLinkSecurityTest.php
index bb674dd7cae2ab730fbcbb43ede517c02c5ecabd..76b2e4c0482f5c13ae2db3372fdadec10c6821d8 100644
--- a/core/modules/system/tests/src/Functional/Menu/MenuLinkSecurityTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/MenuLinkSecurityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php b/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
index 06980db0efd1cc9e20900a06639e63dbeb39d7ba..cf43941e07999d0536fd29bbf5f0d94de6b01e40 100644
--- a/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Menu;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php b/core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
index adbb9901a825e2f0cba92232a820298d6a0dccd9..cb861c9b71b0ed2fdb997b7b571dbd0d6bbad60e 100644
--- a/core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
+++ b/core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\module_autoload_test\SomeClass;
diff --git a/core/modules/system/tests/src/Functional/Module/DependencyTest.php b/core/modules/system/tests/src/Functional/Module/DependencyTest.php
index 157af73c523fa04c2ce24b15c5c50f92b5b0423d..b9e4315f175a460398ead85478a73956be3db3b3 100644
--- a/core/modules/system/tests/src/Functional/Module/DependencyTest.php
+++ b/core/modules/system/tests/src/Functional/Module/DependencyTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\Component\Serialization\Yaml;
diff --git a/core/modules/system/tests/src/Functional/Module/DeprecatedTemplateTest.php b/core/modules/system/tests/src/Functional/Module/DeprecatedTemplateTest.php
index 24dff44e28162f85797a8185be54fb5a4766331d..f162b95e4a9911eb2b01ab6b6b19dc2855b9743b 100644
--- a/core/modules/system/tests/src/Functional/Module/DeprecatedTemplateTest.php
+++ b/core/modules/system/tests/src/Functional/Module/DeprecatedTemplateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php b/core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php
index aa3d81e7a4f5707f0200ce9fa2e400ef1e1f4751..0b48f7aa83cb5fb84a90580df1e4801605108099 100644
--- a/core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php
+++ b/core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/Module/GenericTest.php b/core/modules/system/tests/src/Functional/Module/GenericTest.php
index b3457048cd67cef67c8dc325a00f75242e47ef6e..be21662faa20f22b885afc60fc04947e768bb9d9 100644
--- a/core/modules/system/tests/src/Functional/Module/GenericTest.php
+++ b/core/modules/system/tests/src/Functional/Module/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php b/core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php
index 0a8d29cd665a7dd5620fc09cded4b3810665683e..9738698f8002152614ac8f3a9f32aada4de347ba 100644
--- a/core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php
+++ b/core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/Module/ModuleTestBase.php b/core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
index 7c6918f87141c7a1294d6b44886e050cd42bb60e..865f420951afe2f6d5ceb897423118376405e55f 100644
--- a/core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
+++ b/core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\Core\Config\InstallStorage;
diff --git a/core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php b/core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php
index 6b0bde73e7f6af9e3e02417cc86d59571823bc23..36d2d7228fc72012c22c219d56229dbfe3307487 100644
--- a/core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php
+++ b/core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php b/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php
index 8d6bbe7ad61f9a1b07aeaf9a73dedfc9f5737fd9..82f2f9c81924ec8de4b61b1d00ef1cf00c963453 100644
--- a/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php
+++ b/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\node\Entity\NodeType;
diff --git a/core/modules/system/tests/src/Functional/Module/UninstallTest.php b/core/modules/system/tests/src/Functional/Module/UninstallTest.php
index aca843acfbc6619b6cdc32a3d54bf609b1b379ff..f7a126a2ad0c3f842ac22a4fdb9fd637d160d053 100644
--- a/core/modules/system/tests/src/Functional/Module/UninstallTest.php
+++ b/core/modules/system/tests/src/Functional/Module/UninstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/src/Functional/Module/VersionTest.php b/core/modules/system/tests/src/Functional/Module/VersionTest.php
index cf340febfa63d8eb51c4e2b0043bef0a10df6a2c..ea0da8362471185c192c6700f0582ec9881518f5 100644
--- a/core/modules/system/tests/src/Functional/Module/VersionTest.php
+++ b/core/modules/system/tests/src/Functional/Module/VersionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Module;
 
 /**
diff --git a/core/modules/system/tests/src/Functional/Page/DefaultMetatagsTest.php b/core/modules/system/tests/src/Functional/Page/DefaultMetatagsTest.php
index b9506d48839815d39e4870975cb8c699a2d3666d..c23b28872c2cb7d8e7d91e2c10664be702bb2cb8 100644
--- a/core/modules/system/tests/src/Functional/Page/DefaultMetatagsTest.php
+++ b/core/modules/system/tests/src/Functional/Page/DefaultMetatagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Page;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Pager/PagerTest.php b/core/modules/system/tests/src/Functional/Pager/PagerTest.php
index 9686d44dbb68e1bb54f1c218d1887b504365ecfd..d8e8ce09ce29aed1cab5dc024f7fae7cd9b7aea6 100644
--- a/core/modules/system/tests/src/Functional/Pager/PagerTest.php
+++ b/core/modules/system/tests/src/Functional/Pager/PagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Pager;
 
 use Behat\Mink\Element\NodeElement;
diff --git a/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php b/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php
index 34dd478d27560cf5ac08ac287ef6f9e7bd8edb2d..b9242b936e4a734e2f17e36402ba53913ccf9984 100644
--- a/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php
+++ b/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\ParamConverter;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php b/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
index bc11ae2b85388e7168030ae9cf9cc101593c8d20..5a6624acf6aef9a098145bc4955d9254ee0057b7 100644
--- a/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
+++ b/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Render;
 
 use Drupal\Component\Utility\UrlHelper;
diff --git a/core/modules/system/tests/src/Functional/Render/DisplayVariantTest.php b/core/modules/system/tests/src/Functional/Render/DisplayVariantTest.php
index c437115c6d32465f2cf0d7c6924639f15a4064cb..2cda418cea0475ac1503a500e87007fca8b3a77d 100644
--- a/core/modules/system/tests/src/Functional/Render/DisplayVariantTest.php
+++ b/core/modules/system/tests/src/Functional/Render/DisplayVariantTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Render;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php b/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
index 8b46404bba4c50d03b500a235278f53ee64b782a..002cc507a55da048eadc714687f75842bb654f5b 100644
--- a/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
+++ b/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Render;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php b/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
index 68fd9543b0025172dc1275ef5ca9be6bc6b30d11..7debcc26d726061a6662dc16ef7a5874cff9368e 100644
--- a/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
+++ b/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Render;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php b/core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php
index 997d7838ea6e317c541db90ea0daef2e7813aaa6..58238ef3aef61bb21b14b0c4d49539dabd0f9304 100644
--- a/core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php
+++ b/core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Render;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php b/core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php
index 6d792472ff1959b3fac11b5884db023599b816d3..a33fb8f72ac54f7bf91a91eeac359c58969de2db 100644
--- a/core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php
+++ b/core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Render;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuJsonAnonTest.php b/core/modules/system/tests/src/Functional/Rest/MenuJsonAnonTest.php
index fbd61d7e83e787935d89a59fd47781829e0ec2dc..e37c2d80833be44544735e52fff8573461919954 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuJsonAnonTest.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuJsonBasicAuthTest.php b/core/modules/system/tests/src/Functional/Rest/MenuJsonBasicAuthTest.php
index 6430b859e6d969a3c4d70d41abf3ece6a33e7f20..16c134e9c3938a8707938b7802e990661bcad28b 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuJsonBasicAuthTest.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuJsonCookieTest.php b/core/modules/system/tests/src/Functional/Rest/MenuJsonCookieTest.php
index 85c880028e2c80413525dfda3a5c003bd192f402..c35948d5581e22575f39cb826d412bdcddcafb76 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuJsonCookieTest.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php b/core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php
index a30f442648d01ffd536f5142be6dbe18622f17a6..8423dc47cf6e8b623467cda3ea8e86173633efd5 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\system\Entity\Menu;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuXmlAnonTest.php b/core/modules/system/tests/src/Functional/Rest/MenuXmlAnonTest.php
index cf9d2101f7347cbeac85d0016ea404003f804fc2..6c36b93f6f573ef5ff11becaf1cc09a04d8e715f 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuXmlAnonTest.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuXmlBasicAuthTest.php b/core/modules/system/tests/src/Functional/Rest/MenuXmlBasicAuthTest.php
index c44c172bf4c7e80edd74d1a02ea0aff1d6440004..9085d60a101601effb2a9bf67b9deb5215464e3a 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuXmlBasicAuthTest.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Rest/MenuXmlCookieTest.php b/core/modules/system/tests/src/Functional/Rest/MenuXmlCookieTest.php
index 45f6a79699ee930be5644c999cd7018d82cbe6d3..320fc308c211fbc47ba37306522aba62d659f48d 100644
--- a/core/modules/system/tests/src/Functional/Rest/MenuXmlCookieTest.php
+++ b/core/modules/system/tests/src/Functional/Rest/MenuXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Routing/DestinationTest.php b/core/modules/system/tests/src/Functional/Routing/DestinationTest.php
index dee8a4eb02074b0904d3c63b9f667472168d5a8e..bb76ed9d9e261d2af748aa6bf3c65afe0addc564 100644
--- a/core/modules/system/tests/src/Functional/Routing/DestinationTest.php
+++ b/core/modules/system/tests/src/Functional/Routing/DestinationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Routing;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Routing/MockMatcher.php b/core/modules/system/tests/src/Functional/Routing/MockMatcher.php
index 155d3541a12142f549e01dbac6afdea895b1e3fc..010d0c85825bc5ae4a107de2dd6744fe5c356cd9 100644
--- a/core/modules/system/tests/src/Functional/Routing/MockMatcher.php
+++ b/core/modules/system/tests/src/Functional/Routing/MockMatcher.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Routing;
 
 use Symfony\Component\HttpFoundation\Request;
diff --git a/core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php b/core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php
index 016f9e46caa93d331f59e56db2e5eca013ce02ff..55b13d1a7818b8b0d9a3ebd59a62e9694aee5458 100644
--- a/core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php
+++ b/core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Routing;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Routing/RouterTest.php b/core/modules/system/tests/src/Functional/Routing/RouterTest.php
index f780ee2d19bbd7b8b272b916e4db690d35651dff..87f22b971e448686af110f5811e9d48eb7f9a4ab 100644
--- a/core/modules/system/tests/src/Functional/Routing/RouterTest.php
+++ b/core/modules/system/tests/src/Functional/Routing/RouterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Routing;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php b/core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
index aeb9c507c83ef5ee51494247435aeb4288bd110f..1233fd2454260ed9a53721300575991689cf6666 100644
--- a/core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
+++ b/core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\SecurityAdvisories;
 
 use Drupal\advisory_feed_test\AdvisoryTestClientMiddleware;
diff --git a/core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php b/core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php
index 0b2c721a869d4583043052402a4f50c91fb8ea6d..007e26926629f954499c79f9bf012e4799020ed0 100644
--- a/core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php
+++ b/core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\ServiceProvider;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php b/core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
index 5b7c31c92f87abbdbf5d328cdd7ac4bf8225cb61..6d2a8f4a6fb2bdcdb199a2a9b110bab5739f9ab6 100644
--- a/core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
+++ b/core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Session;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php b/core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
index 819a3fda94ece52ca8fa9d2eb9a8c797f5585d33..976a6dd3f581a7a625dbe87ac957b0e365c2adef 100644
--- a/core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
+++ b/core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Session;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/modules/system/tests/src/Functional/Session/SessionTest.php b/core/modules/system/tests/src/Functional/Session/SessionTest.php
index 7f8cc2c2ca150aaa9cd6124f17d6a2d8d37b0788..27e36f770d4174e401e24c08d8b9bb4f0afd7c00 100644
--- a/core/modules/system/tests/src/Functional/Session/SessionTest.php
+++ b/core/modules/system/tests/src/Functional/Session/SessionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Session;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php b/core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php
index 729beef3b6e6a3ae9029c3fb7487777556887c33..eafdd89dc746c1cff703048a4d4c505d5b56bdf6 100644
--- a/core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php
+++ b/core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Session;
 
 use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
diff --git a/core/modules/system/tests/src/Functional/System/AccessDeniedTest.php b/core/modules/system/tests/src/Functional/System/AccessDeniedTest.php
index 2a2a730e8dcb1fdb4a58363e28200610e3440886..77e6b9d1109dcb91c312e11a076be8d901456ca2 100644
--- a/core/modules/system/tests/src/Functional/System/AccessDeniedTest.php
+++ b/core/modules/system/tests/src/Functional/System/AccessDeniedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php b/core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php
index bcce6148bf90f31eaadebe188d95f0e84ddb001b..e96dd0f774d0b7ea6537a7a39d0945b1dd145b02 100644
--- a/core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php
+++ b/core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/AdminTest.php b/core/modules/system/tests/src/Functional/System/AdminTest.php
index cf65b1ac2731c517346836fd60cff4f4b9c87988..f30384a3b6119ae18484ea82032f43a0267cdf72 100644
--- a/core/modules/system/tests/src/Functional/System/AdminTest.php
+++ b/core/modules/system/tests/src/Functional/System/AdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Menu\MenuTreeParameters;
diff --git a/core/modules/system/tests/src/Functional/System/CronRunTest.php b/core/modules/system/tests/src/Functional/System/CronRunTest.php
index 7d42b8336174db21d25f6d57904c8053230d7b35..edec54e0f8907f1e751c4c858f10dde0ac8ae510 100644
--- a/core/modules/system/tests/src/Functional/System/CronRunTest.php
+++ b/core/modules/system/tests/src/Functional/System/CronRunTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php b/core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
index c44eaac853169580e083cb9b7305043afd04f89e..3c39819d6646e6bd07196d2b14ee9ab972fc07da 100644
--- a/core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
+++ b/core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php b/core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php
index 7158254ddf1a8b532fbb9fac6994677940220399..89da3f0b4f6f6bca9eb9a222c3128cfce6f39f3c 100644
--- a/core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php
+++ b/core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php b/core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php
index c9488fb99b994a2e7048289ccec50935abc14284..da925b9f1a73024fed127b52b6b1150a2d8cfecb 100644
--- a/core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php
+++ b/core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/DateTimeTest.php b/core/modules/system/tests/src/Functional/System/DateTimeTest.php
index c3eaf3ecca14d11c335f62dd2c1b230a310172b2..96107ceee27befba4fd6582e762bd6a9d1f1bb8e 100644
--- a/core/modules/system/tests/src/Functional/System/DateTimeTest.php
+++ b/core/modules/system/tests/src/Functional/System/DateTimeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Datetime\Entity\DateFormat;
diff --git a/core/modules/system/tests/src/Functional/System/DefaultMobileMetaTagsTest.php b/core/modules/system/tests/src/Functional/System/DefaultMobileMetaTagsTest.php
index 5fb7ca245332f490d8789f0439eef1d312d2a74a..4c1482bdcd180b81f3d79f780396623b08028730 100644
--- a/core/modules/system/tests/src/Functional/System/DefaultMobileMetaTagsTest.php
+++ b/core/modules/system/tests/src/Functional/System/DefaultMobileMetaTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php b/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
index e9007b51d51f8548a3d64ac5b659b1a9f7f7c322..ee51a944f4c99eddb7efa048da97ad4b7b5640e8 100644
--- a/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
+++ b/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/system/tests/src/Functional/System/FrontPageTest.php b/core/modules/system/tests/src/Functional/System/FrontPageTest.php
index 32de72dd08bc2c6d93ba01c0eab496eb049a37f7..abb645a54510ed3c214bfbf4874e20d8ddfc3018 100644
--- a/core/modules/system/tests/src/Functional/System/FrontPageTest.php
+++ b/core/modules/system/tests/src/Functional/System/FrontPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/HtaccessTest.php b/core/modules/system/tests/src/Functional/System/HtaccessTest.php
index 09046c446fc9b5a4bb71b5d49b6a53e2bc730ca2..5fa34680862092e22cfa1831f461366d38fbd566 100644
--- a/core/modules/system/tests/src/Functional/System/HtaccessTest.php
+++ b/core/modules/system/tests/src/Functional/System/HtaccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/IndexPhpTest.php b/core/modules/system/tests/src/Functional/System/IndexPhpTest.php
index bd42c3a4353ff396be0b74a2ac7861a05aca81eb..470f7fe1f25b0195ace31ba27bf729dac00523fc 100644
--- a/core/modules/system/tests/src/Functional/System/IndexPhpTest.php
+++ b/core/modules/system/tests/src/Functional/System/IndexPhpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php b/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
index 8be703fc08e2b6b98c56d2611131fc78ad89e652..c1331ad0a8d5d283fd3009029be34ac2a713ee67 100644
--- a/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
+++ b/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/PageNotFoundTest.php b/core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
index 6e7027f30cd72496f9446defb43908a378431300..ed34bf7333f582dac0ff7312a842394282fa2163 100644
--- a/core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
+++ b/core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/PageTitleTest.php b/core/modules/system/tests/src/Functional/System/PageTitleTest.php
index ce91f030bddb2b1cb85ccedef311d1c0050d54da..b0b71e3735341891571a85edc5925f09cf81628e 100644
--- a/core/modules/system/tests/src/Functional/System/PageTitleTest.php
+++ b/core/modules/system/tests/src/Functional/System/PageTitleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/system/tests/src/Functional/System/PhpRequirementTest.php b/core/modules/system/tests/src/Functional/System/PhpRequirementTest.php
index a8010ecf2cfa8046dc97419850b284ed71171cfe..1cd07dd7e73a4a3f62198f36b54855751fa1478b 100644
--- a/core/modules/system/tests/src/Functional/System/PhpRequirementTest.php
+++ b/core/modules/system/tests/src/Functional/System/PhpRequirementTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Utility\PhpRequirements;
diff --git a/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php b/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
index 130e7c64b7a6f408d1f9449af82ac2a055356845..128586c89948bc82239c1314ec52e00491d2ee0a 100644
--- a/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
+++ b/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\rest\Entity\RestResourceConfig;
diff --git a/core/modules/system/tests/src/Functional/System/RetrieveFileTest.php b/core/modules/system/tests/src/Functional/System/RetrieveFileTest.php
index 9cb689ce40468783623ccb082026289ea374a527..1620e88cd95d858a1163ff515ddf3bfbcc592883 100644
--- a/core/modules/system/tests/src/Functional/System/RetrieveFileTest.php
+++ b/core/modules/system/tests/src/Functional/System/RetrieveFileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php b/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
index 7c36abd3816010f1579485f5422eaabfa6989af7..d9bd9c980bdb4b528980087eba2c3a431e559d3e 100644
--- a/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
+++ b/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php b/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
index 8de91e27dbd9b3b2f8273762c2df0a1a78d62587..46c6aaba135df39ecb4b9c2ea1cb5efa88132954 100644
--- a/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
+++ b/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Test\AssertMailTrait;
diff --git a/core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php b/core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
index 4bed0be43cc06bec2f5c0fc917d59490343e8f02..26a193eac6fadf00c88589d6aed0fe64b0bc4a8d 100644
--- a/core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
+++ b/core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Site\Settings;
diff --git a/core/modules/system/tests/src/Functional/System/StatusTest.php b/core/modules/system/tests/src/Functional/System/StatusTest.php
index ca2217b3c26324bfd310c23782b078e68537b785..25d76723f8d0fb7302f8730b02d184b3d3f38726 100644
--- a/core/modules/system/tests/src/Functional/System/StatusTest.php
+++ b/core/modules/system/tests/src/Functional/System/StatusTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php b/core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php
index a43c52017765a31e2c06824b4b75a098e962ba66..9a44b78fbb4cf3091aab8329369cf4cf2b7dcfdc 100644
--- a/core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php
+++ b/core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/System/ThemeTest.php b/core/modules/system/tests/src/Functional/System/ThemeTest.php
index 69d56c38d56be24cb26889631b35126e9dd51932..0a88272bb183e1861bf33b79dbb8116d459fd2cf 100644
--- a/core/modules/system/tests/src/Functional/System/ThemeTest.php
+++ b/core/modules/system/tests/src/Functional/System/ThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\StreamWrapper\PublicStream;
diff --git a/core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php b/core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
index 557556d90f8297a83d6454fa7a07dca53aaf82ee..45f7a3f0649a8c6d55dc240d05dfc7a048c4dffd 100644
--- a/core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
+++ b/core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
diff --git a/core/modules/system/tests/src/Functional/System/TrustedHostsTest.php b/core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
index f0b7c570ae32b192bc687a9ae7d35ed1c6ed0315..c714925754f45fd6b52895de6606f96df4bc0f75 100644
--- a/core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
+++ b/core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\System;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php b/core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php
index d6b165242a9bd26626ef4a6e0bf15a4f347c9f4d..aa107b63cfcfc7ba9573fed3af9f098c16977450 100644
--- a/core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php b/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php
index a0c16db8ae6a0e5264d264603f5cc4d7269f4c2a..4db8ecd517b7b51be8e7fea354c36cb3104f50a1 100644
--- a/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Core\Render\Markup;
diff --git a/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php b/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php
index 0e84329a54012aaf2849555403fcb8a88e18bc13..3245ee042a7b522cd8df8bb7b1cf19a5450a1bf6 100644
--- a/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php b/core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php
index a0c66b6316a18d0a9b9e508e6aedad311666c98e..6d1b0d8a931f5499124342b1291aba16ca145d79 100644
--- a/core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/FastTest.php b/core/modules/system/tests/src/Functional/Theme/FastTest.php
index 8e11a5ebaa811813225c608e28a95b5a416f4a8a..e14be894952d6af5ad52832822ee75232f009cdb 100644
--- a/core/modules/system/tests/src/Functional/Theme/FastTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/FastTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php b/core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php
index 39dff899a5a607d3222fdd3e75586380cd11d8ad..dd0c67f7717eb49ca179a5dae7aebc3911e0bc24 100644
--- a/core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php b/core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php
index 13587024e7e09affd11f18cc9b056a7bf4ac4af6..9c3ee42a1070406915bc604eb0974477f51ab95e 100644
--- a/core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php b/core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php
index d41d05d4d6fe80efba94e579c239083cd432b89a..731fac2d4ebdceefd29d9c412e974b3127a7ddb5 100644
--- a/core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
index 4dab6c2ded1b5e7154ddb1095f86578eae03d987..83498774d45834d5c4ebe5834f1bc18ba597ac43 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
index 833602c7f78c6070fdf4b4628686f75e3f687e3f..c9174975e5fbdb7f39914f628922333d85718f51 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php
index 40f070ac0235350d642dd27d80a8517245bc9cac..fce7b042d1acf0a482165ceab72b2d4445f0ad1d 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Component\Utility\Xss;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeTest.php
index aa517b52cae7daa620f21673fcdf463de57e45f9..396c253ed3d89d8e08bfc6a4aea9dca23a656292 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php
index fc924a6f7f507bce51ce30265797b195cddd1957..1fc4cb150874c8b38cf9f73c44ef2ab96c42ecba 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
index 741487b9653b50b9dea1effeed184e95c170c147..b5bc6e3fa7f977e66b689cd28889cb4132d7d02c 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php
index 38e70b8e3a3d2713104c9b2bf7978426bf705981..c38aa4cc937c87dd6d60160c274d4cff6f19e0f8 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/ToolbarClaroOverridesTest.php b/core/modules/system/tests/src/Functional/Theme/ToolbarClaroOverridesTest.php
index dafeb07129967e281f7be810413f0e48588aa276..4b25f92cfbce981734567cc741a46fefbff75a70 100644
--- a/core/modules/system/tests/src/Functional/Theme/ToolbarClaroOverridesTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ToolbarClaroOverridesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Core\Theme\ThemeManagerInterface;
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php b/core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
index 9e9dfd62aa7a839b12d6373d4a7f4202a8870082..b28a83fc0db4a4be97a070c8d22a8051fd1bf24d 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php b/core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php
index 1043148fd4722dd60d7e63a1c84c3c3b0f8a590d..352e288c27c7608605f0624239e79af5d80cd934 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php b/core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php
index 8b5d16a6fad3153f7022d6571fd0c9ceb0c082cb..43c4318ea73606964eb831d798711a0197e1c880 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php b/core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php
index 3399be42aad63d2f0ddc208b3111b6fd6179ad63..b1da0d133459a8b27ed7c3a073a2b9f7c2c65a1e 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php b/core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
index 03c3089270d05dc19404f22d8e0c2e138a00955e..7ed4fc351747b18884e79d260e9003b72bde27cc 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php b/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
index a5516a94912d2141c9e6224f13da9ee0d67dea44..b4c49301c7137a8ef2700fcdf30d6d6c410cf297 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Theme;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php b/core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php
index 0e5f4d3c2283f4b7332f5a946156ff6efcc442f8..b1d2f34e2e7278be3ddaf7bc88745f0573c5fdd8 100644
--- a/core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\Core\Database\IntegrityConstraintViolationException;
diff --git a/core/modules/system/tests/src/Functional/Update/ConfigSyncReadmeUpdateTest.php b/core/modules/system/tests/src/Functional/Update/ConfigSyncReadmeUpdateTest.php
index 1ceb8b1bb43db8881b4229c299c917025c92f66b..3fcc214cc1b419a49f5be5c003fa15850eb8d3dd 100644
--- a/core/modules/system/tests/src/Functional/Update/ConfigSyncReadmeUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/ConfigSyncReadmeUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\Core\Site\Settings;
diff --git a/core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php b/core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php
index dfbf3ba33c7309a0798252c402726c73b0528751..11b7dc7010404bb258a07a5e58ace49de5f9cf7b 100644
--- a/core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/Update/GlobalThemeSettingsDefaultLogoUrlUpdateTest.php b/core/modules/system/tests/src/Functional/Update/GlobalThemeSettingsDefaultLogoUrlUpdateTest.php
index d111156387ced8c4e52636d132f40a3c81bc19fd..752e1265c228f97eb6b440058ccb0ac56e7d03a0 100644
--- a/core/modules/system/tests/src/Functional/Update/GlobalThemeSettingsDefaultLogoUrlUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/GlobalThemeSettingsDefaultLogoUrlUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php b/core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php
index 3e3dfd19bab7fa9783a90be0f1c146b98e7356eb..b2469a17c8a40144432c7f5334ae198bfdb22d1c 100644
--- a/core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/Update/MenuLinksetSettingsUpdateTest.php b/core/modules/system/tests/src/Functional/Update/MenuLinksetSettingsUpdateTest.php
index 0808fdd55014be9d4771e5b1fc2a2aac3c9ddf29..f495ffb5bcc80d54f57c370e474e89b219ea39eb 100644
--- a/core/modules/system/tests/src/Functional/Update/MenuLinksetSettingsUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/MenuLinksetSettingsUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/Update/PasswordCompatibilityUpdateTest.php b/core/modules/system/tests/src/Functional/Update/PasswordCompatibilityUpdateTest.php
index c7b220b380aad77c56a93ebd0ae2df760690a79e..d845157bbfe4f8b5f8cff7137c8997b49caf5d30 100644
--- a/core/modules/system/tests/src/Functional/Update/PasswordCompatibilityUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/PasswordCompatibilityUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php b/core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php
index 087178c5fcf5af238566396f0c644cf497aa53b8..fdac04a854c2aadbe1426d65f84d36b768b8e532 100644
--- a/core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php
+++ b/core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php b/core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php
index b81fd706e26e69d6097d3ab85fa6b61af355a6d4..9b85c14867ea0fb85dd699005250a57dd62bf7da 100644
--- a/core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/Update/UpdateDescriptionConfigurationPostUpdate.php b/core/modules/system/tests/src/Functional/Update/UpdateDescriptionConfigurationPostUpdate.php
index efd5c74a0b91e4d07eb8904e8d6cf9e2e7a0571e..03a9b9b78a4a2f5143e3b62725ffae1904f7981f 100644
--- a/core/modules/system/tests/src/Functional/Update/UpdateDescriptionConfigurationPostUpdate.php
+++ b/core/modules/system/tests/src/Functional/Update/UpdateDescriptionConfigurationPostUpdate.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\Core\Entity\Entity\EntityViewMode;
diff --git a/core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php b/core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php
index d81f8ff8fcfffafa28e4419f6053d8fca611c21a..2eb78f8a8a4c5c8fb1bd339d60de6add879dd798 100644
--- a/core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php
index a7bf1ac20d341414a8b422336906867de2fd4e09..746dfd4e9596ffa6bcf15b2aa9540c30a0e8f1d1 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php
index 561ff795af2b535a3b40f0ddc12e6a7ea6168670..0fe869a11b62977b3484191db275311a0b559e53 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php
index a2eaa8c39ca1ed36d13b1a28f8be5643e8e1a686..e9fe9d5254d100ec75d103b90188c6707dae0c3f 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php
index 3e47c9e880e0bd51745cdc9b1a75ec146da133b3..a1e22be743c647093376a795950a5fd16fc0c29a 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
index d8da8f1f97333b7e794cb91884147b7fdde5d3c4..f66645ba553e7c2f983c7067df1bd072fea49533 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
index 0d79aa906d9b442d9cf3713931bf6780b97249e7..003fe1458a6d000d416f6fd0e47e328d7ad7955c 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
index d36fc941d5dd354ff4476fbff11624958467d7b1..4e2cd254d1c9376ad01a14b45d03bde357d7f677 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
index 442476c1ef0f98948e7af91f137bfaa693054ec3..8d8a541e84a490d5883fc6ec2499604a4816d049 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php
index 6bdbbb091783555d32559701e158a94f9c8e3e43..e1f5f728294a39e760a30d7769f838b98a64d43a 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php
index 18bba9009f463031fa26cfffcb40539ea353d0fd..fc8b1ff9fc699b2cbb1d4592bd8f94b779f7580b 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
index 8a2233c8063b22de20935e83f11c645a7c72073c..6c9505050afa89b32fab6a52c6e56af1d0de5467 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
index b35d3574edf968ea1a4018a9be8c2befd9c9581d..e761a272b1e4b654d0338799cdc4c1e7afbbc3c7 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
index 657ce60be0ddb03d5c4f19e3dfcb2b786bd6e748..0b561800ea60dcb2522b61aca1bee92b5c934cd3 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php
index 61271818a9a4682b1475e605f9ef1fd30d4dd8f8..fa82541d5d23ced47a2fe43eb932124690f293c0 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Url;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php
index 7248c91a58057f4092b0fa20423f36765a436115..4102243c6be44ee234bf5ba6e755638d055a7e12 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php
index d5b678dc160d73833d55c49f1daa939004c91279..8c0dc5fd8dde5a0d82ff0bbe6488af20ed5b7c5d 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php
index cb45f3de98fd1b9707a0dded847cfb19a036011b..70a353f0bbdea9b6e9fcb24851885942d0a93c6f 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php
index 8f72d770c472d3e662542cf01138036e8ae44ff1..d4b35181d686e52ddcadf7fe67ff73c0775d283d 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
index 9cbee7c163eeb3221439432fd825653f1a6c0dfd..74ecc99e8b05dd78dec7412e97ae4a4719c36200 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
index 89340c0ca21e205f1d2e069231b307512a2ce5cc..e5e2da9a3cd1c556a06e8cf96aef776d1da6f224 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Component\Serialization\Yaml;
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php
index 2364e99bdd863fabe7a3dc72e7fab11101ea6a15..0f740b078bf632efd7bbf9845bd0e8a156bfc9b0 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\system\Functional\UpdateSystem;
 
 use Drupal\Core\Url;
diff --git a/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php b/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
index 17a7d992ca8fb656f7665ce5504f0fea018cfe31..42e04e2ce8f8498deac19ba661016ccec754168b 100644
--- a/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Core\Datetime\DrupalDateTime;
diff --git a/core/modules/taxonomy/tests/src/Functional/GenericTest.php b/core/modules/taxonomy/tests/src/Functional/GenericTest.php
index 8d522ec8bb5b6619a077fc0b53b1607ac8a1734f..5e6b091f150db9e2babdb4e927cf23f7f2b19da2 100644
--- a/core/modules/taxonomy/tests/src/Functional/GenericTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonAnonTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonAnonTest.php
index 194a8da8fd17bf61dd9ad46592d4a47fe4d9db1b..35295f18f7f16c93e59cbb930e7b5015035df026 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonAnonTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php
index ab4e5175d9f0c104b6ee7135593c73825c9c8dd9..b264efd0a372f1457723241e6dc6cf411f282832 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonCookieTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonCookieTest.php
index fac344783c0404673f63d03176a9f2bc8043bfc5..681e9e2c5aa79fc29035a9cd3a4a18875287f6b4 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonCookieTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
index 614ddc5513d7858b89ae1cc53b8547ae403d4c34..416038f98408fa08fcb3d31f8bb7a0306b99119b 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlAnonTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlAnonTest.php
index 47db951445b2e166fb6217da2f91029c568b1b64..2c3691b3f0e25434a7e5987d3a19152f41ea156f 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlAnonTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlBasicAuthTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlBasicAuthTest.php
index 5bd7f5ba46ecf04af81a3768d56fc3c19e3617e8..efce9ab17eb770d386a4a3328e01d95e8d992436 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlBasicAuthTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlCookieTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlCookieTest.php
index 9ffc975514222b81f3832d3ed00acf250b9b2c63..1979dffab643a04ec0aaf338acac69fb21168fe5 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlCookieTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php
index 8aa3afb9a9d6f72afcbde27bc1c842044b200f99..e24d651c445439c37f068420ea3be80f9596b4cf 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonBasicAuthTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonBasicAuthTest.php
index 0ca19c730dfd989bc9d47f5efb8bd6b034a8684b..796166f4995566884419a21bcbc2c902259562d7 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonBasicAuthTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonCookieTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonCookieTest.php
index 63c2f37719686dfd7fc8eeb0adefb87cb38387ff..b630d249f109086998250010ba2a473d64b59574 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonCookieTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php
index ebd4bba71dd0c0e426be57d791224dcf4648a04a..a1fd764e7f90478831400188414aa7ace8261e3c 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\taxonomy\Entity\Vocabulary;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlAnonTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlAnonTest.php
index 64ab45b93606b96420ef215ef15b5f9ed460ee40..58f98ca84d92e279fa71b00377a5b275edb161ba 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlAnonTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlBasicAuthTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlBasicAuthTest.php
index d591ce24cae7743f664e3c5fcf2f6c5a63e8075d..841fa08e40756da05f9fdb314cebea0368db942c 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlBasicAuthTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlCookieTest.php b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlCookieTest.php
index 1b87db1b906fc7abb6b2b93a3fe595aca9488554..3f0865a335b231b8a98dd2f11511563e53aef53e 100644
--- a/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlCookieTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Rest/VocabularyXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/RssTest.php b/core/modules/taxonomy/tests/src/Functional/RssTest.php
index 9b434d12928ac54b5039ffc2ac68699281da93dd..b24eaabcec8846e438fe271c5ea8ec8b7d115164 100644
--- a/core/modules/taxonomy/tests/src/Functional/RssTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/RssTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.php
index 3afc39a17c2040d41fd39e530683dcb1dfa167d0..db99089d4093737eb33469e002e1feb4762b0a47 100644
--- a/core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Tests\TestFileCreationTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php
index 79ccce9eda6f28cd13607632549e61e083fe55e7..c6f797c2378234c75fa1a7e1beecdc1c3a9ebd0e 100644
--- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php
index e46dc8ceff6881cbfd1cc64bb5845297bd723d10..5a4aff0ab5ef76328389a5968d6462a257575553 100644
--- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php
index 1a809063c09eedd70ec40744f3b9a3fb8add01d8..b8b6ad8f9ac1b5455aad8d2de4308e8da4d13d63 100644
--- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php
+++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php
index f39ba5055c5f2baf2b5d96e3bc8c587b1c1db7db..69e9023e1701a9afd541f713c3226589e5659251 100644
--- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php
+++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php b/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
index a07f0bd69c600581167dbd8f79b7df2ff8a189d8..3e9a985b387161c6c75690db5a058a8e7b5a9ab7 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\taxonomy\Entity\Term;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php b/core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php
index 38b55075ab584ed9c43464fdf65ee36fb0f59206..d4f413a4a04a90c9bb39bf80e054ca76a2e32fe4 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php b/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php
index f93b380005c3913651350e7a0cce32d32044bab3..d0ca5aa76e39ccdd67b5928d68f289f0d27e6a28 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\taxonomy\Entity\Vocabulary;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php b/core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
index acaf372c69f41e3e858e0df5477eceaacc4d1876..718e5537290699970d591edc6632c8f4c783d641 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/TermIndexTest.php b/core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
index a28e013e90ef5e38a217b96ce11f95a0d57bb385..79fd6e86d2345da2b788201709a09168c9edb97e 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Core\Link;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php b/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
index 974f14877dad4fdbd6af1e1362f94ef02f88be2f..e1fd3fdb179417e04181f298fb2ebf3bca8c2905 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermParentsTest.php b/core/modules/taxonomy/tests/src/Functional/TermParentsTest.php
index 5a45977b754c10a91f0991e6e5f99aa696da47a2..1a4d7a4760eab72afe7b2bae7960dd4b44f4357e 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermParentsTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermParentsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\taxonomy\Entity\Vocabulary;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermTest.php b/core/modules/taxonomy/tests/src/Functional/TermTest.php
index c01b6e7425072c89b90a335be2b5f09fdc8b34de..01e7e0056dfd1b82dbc596858ea41a31deff048c 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Component\Utility\Tags;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php b/core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
index 00ad913fa6f721b27f1e43750c49083d3be4f01b..208036c2d90b929c308e476e056d3ae219b4719b 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php b/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
index 19acc128a171e61ced611adc84c252d683caa91e..e1bbcfd363e85601d9488ca8b23fd72fed95957f 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php b/core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
index 35ff9301e09921582a0a4d95295d772466f8d028..c41eef8aacf2ee59495ac2b84157b6826d305395 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase;
diff --git a/core/modules/taxonomy/tests/src/Functional/ThemeTest.php b/core/modules/taxonomy/tests/src/Functional/ThemeTest.php
index b1f5abfa8d81634b3de8bd25ac674073ff01d063..917dc0f569d7819af23acba7b012f16d72abd462 100644
--- a/core/modules/taxonomy/tests/src/Functional/ThemeTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/ThemeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyDefaultArgumentTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyDefaultArgumentTest.php
index 85bad880e08ae6fe4bdd749368bb198d83d75184..bdbe0920c26c095dbb789bc9998ac84fdf99cc8b 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyDefaultArgumentTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyDefaultArgumentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldAllTermsTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldAllTermsTest.php
index f3de53a3a0917ed71d87a0f030d14f4482340ba0..7d1921563099e50addf0e73c8c80185e8f0e2514 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldAllTermsTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldAllTermsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\views\Views;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldFilterTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldFilterTest.php
index 14462824c2c26a2318451ffcfb910dcb3c828af0..2c9c866e44b5c02de6382878b544afb9fd663bbd 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldFilterTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldFilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php
index 7e49395d42a5e0053e1a9aea5bcf60f86ce1f090..a6f00a60b4abf97f23a50e04eeaec7c7fd9de899 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php
index 09b30e8e349d3ff7ad96f4a3ccea66fa49610485..83f045a0825ef90189fc81f2a48194f1f39974ef 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\Tests\views_ui\Functional\UITestBase;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyRelationshipTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyRelationshipTest.php
index 3466e7aa82c192d5fa3c1bd087b4a768ced32531..f0a7bc4386b1c10ef776d7fbd722aec669f00538 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyRelationshipTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyRelationshipTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php
index 9f7cc5187393ebca859283b6b52c01fb1efbe992..400f8c4fbcb87acb56dc590e68d5e0dff2c3f9fb 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php
index ae953f1dd22cf7899fa77a9f9465ef738e254d3e..b4ab6a7e9d2ec1dcabee2ecd8c31d8941bc6fbc0 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php
index 5ad6b42c75a896a7b7b9a366d8b407340c9cebb5..2ef9e74044b238f8c2cf734653a93c7a62b7d0f3 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php
index b29f95b900074bf45f98d9ac6413665b21057897..49d15eabdc8767911d908872915227d7a059046e 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\taxonomy\Entity\Vocabulary;
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TermDisplayConfigurableTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TermDisplayConfigurableTest.php
index 28d8742bc70eab76c525a409de634f79f65468fa..e18a3dc2e26c3f65d9c5bb602dcb340b02d9a921 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TermDisplayConfigurableTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TermDisplayConfigurableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 /**
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TermNameFieldTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TermNameFieldTest.php
index f49493cca8cc0b80dd6e2a4092b1c404dc9f2ba9..213d67715c136a5ba197a6d806161117c14930d1 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TermNameFieldTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TermNameFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional\Views;
 
 use Drupal\Core\Link;
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
index 87dea7fa9ff160a2df640bc9af08a054a68b9005..09ea651c711cd30291a6b31036f3201a6363ec3d 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
index 43a4ef6ca77434cbf4ce661e39ed8ebfae4a8820..e699e9e4e5d74bf04cdf57f4970fa77fd351fcbd 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Component\Utility\Unicode;
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php
index c969f1f8c739e894e51f7a0a7de8a73724ffaa44..3eb05c7f5c31a0e3b081ade04f9d14ed83724c87 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\taxonomy\Entity\Vocabulary;
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php
index 0503216cf6e668982ec35c9adc8f70c13055d0be..60c9d42e51d84d216d6d1d4188d1edefbf128b0b 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
index 412ceccde0f99ec405c2b950c3f2b9aec75fb08b..a5cd0a922e6a8963f7d2c9000c1d99af6b3ff155 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/telephone/tests/src/Functional/GenericTest.php b/core/modules/telephone/tests/src/Functional/GenericTest.php
index f46b44c8880f5b686b3027afff17fb129940d5c0..69bd27351a140a9f75ce8c548f96d8694f84e332 100644
--- a/core/modules/telephone/tests/src/Functional/GenericTest.php
+++ b/core/modules/telephone/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\telephone\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php b/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
index b68eed6b56e224c9a9d458919704b5e99f9fa6e6..ed72f844b675c3efb41e3dffe998d071ea7fe327 100644
--- a/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
+++ b/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\telephone\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/text/tests/src/Functional/GenericTest.php b/core/modules/text/tests/src/Functional/GenericTest.php
index 53c7aa05670a1b12e52d677bc00986867ba18a0b..973bb41c4de39d10925b69b2e96c70e528b3657b 100644
--- a/core/modules/text/tests/src/Functional/GenericTest.php
+++ b/core/modules/text/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\text\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/text/tests/src/Functional/TextFieldTest.php b/core/modules/text/tests/src/Functional/TextFieldTest.php
index 68d29bf2a76793a8e01ee415a33dd8770b72e8c3..8bfce08a22baf26b55c739d47e5574c36e4a645a 100644
--- a/core/modules/text/tests/src/Functional/TextFieldTest.php
+++ b/core/modules/text/tests/src/Functional/TextFieldTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\text\Functional;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/toolbar/tests/src/Functional/GenericTest.php b/core/modules/toolbar/tests/src/Functional/GenericTest.php
index e0bdc71d8a2f8a63f048f41ec51d2d29571e0fa8..37e4c4731fce8904ca55cdd44c637771ddf2d720 100644
--- a/core/modules/toolbar/tests/src/Functional/GenericTest.php
+++ b/core/modules/toolbar/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\toolbar\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php b/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
index 135e2887d19b245da0860957a705e3a77b3e9e00..f73ac06402ed75c5f64941f3b5cc15d553daa1d1 100644
--- a/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
+++ b/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\toolbar\Functional;
 
 use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
diff --git a/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php b/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
index 07bf42a27d9e880805c5b00f0a7aa92e402ffef5..656fa45077fd10019abfb873052532d2dd2d3f84 100644
--- a/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
+++ b/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\toolbar\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php b/core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php
index 3600efb191122580bb268a4ea3e3b864f02be09f..575e56a66e01d2371ac1e01dcae767872fc7b8f2 100644
--- a/core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php
+++ b/core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\toolbar\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/toolbar/tests/src/Functional/ToolbarMenuTranslationTest.php b/core/modules/toolbar/tests/src/Functional/ToolbarMenuTranslationTest.php
index be99b93902c48ccb0e2fd6d7acd16f297a3be521..2eef9be6ecc3c7c01fcb233767161bd50cbee14e 100644
--- a/core/modules/toolbar/tests/src/Functional/ToolbarMenuTranslationTest.php
+++ b/core/modules/toolbar/tests/src/Functional/ToolbarMenuTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\toolbar\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/tour/tests/src/Functional/Block/BlockLayoutTourTest.php b/core/modules/tour/tests/src/Functional/Block/BlockLayoutTourTest.php
index b2de1f0504905dab05b9df52d1f127b27a8df902..6b7cc2fa4bb0c441f913e6647a9f32c8b5012002 100644
--- a/core/modules/tour/tests/src/Functional/Block/BlockLayoutTourTest.php
+++ b/core/modules/tour/tests/src/Functional/Block/BlockLayoutTourTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Block;
 
 use Drupal\Tests\tour\Functional\TourTestBase;
diff --git a/core/modules/tour/tests/src/Functional/GenericTest.php b/core/modules/tour/tests/src/Functional/GenericTest.php
index 74712541deb569848259f5263418bc862582a60d..ee621552d181349b8b33c6c5cbd0177e2077de02 100644
--- a/core/modules/tour/tests/src/Functional/GenericTest.php
+++ b/core/modules/tour/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/tour/tests/src/Functional/Jsonapi/TourTest.php b/core/modules/tour/tests/src/Functional/Jsonapi/TourTest.php
index 0a7067e82bb7192dee4097653ec7af139cb05ddc..ca0f810741d70b6397aae0d8b1b26e82fa9e9eab 100644
--- a/core/modules/tour/tests/src/Functional/Jsonapi/TourTest.php
+++ b/core/modules/tour/tests/src/Functional/Jsonapi/TourTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Jsonapi;
 
 use Drupal\Core\Url;
diff --git a/core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php b/core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php
index 37c7885beadaf58a706047d41f4da3963c038076..7de1c814584d1434645173446ade14c9d1813017 100644
--- a/core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php
+++ b/core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Language;
 
 use Drupal\Tests\tour\Functional\TourTestBase;
diff --git a/core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php b/core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php
index b3a45f6f23075be138ea554fd75458223b4d3143..cb3d3f6d1fe2d2029174dc4562e33fafd928f769 100644
--- a/core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php
+++ b/core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Locale;
 
 use Drupal\Tests\tour\Functional\TourTestBase;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourJsonAnonTest.php b/core/modules/tour/tests/src/Functional/Rest/TourJsonAnonTest.php
index 8d747b3102d99bb9e04921db1d3735c52ae5a4d4..3e3b5545d3c99cd04cf0e18bd3f7dcf887c09f8b 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourJsonAnonTest.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php b/core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php
index 7f62aa2d2ffff7e66da6acbaac7020fd962491c6..3a1bbe71ebb9f7c9e49dbdfc7c64e3d564da97e8 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourJsonCookieTest.php b/core/modules/tour/tests/src/Functional/Rest/TourJsonCookieTest.php
index 559b6edc289a540173e166278421f0054529b124..5ac3487138322fe290ba48c99b03ba84538f3ec6 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourJsonCookieTest.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php b/core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php
index 813505a304ed5983d034a90868ff2ac2a038429f..b15d40a2dee023b75b03645eb0bddb4d1ddf8488 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourXmlAnonTest.php b/core/modules/tour/tests/src/Functional/Rest/TourXmlAnonTest.php
index 5a0d25fe53003f504e3a24234a85ef28fa9810df..621679deb201f96af43a5560f95d1902dc034710 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourXmlAnonTest.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourXmlBasicAuthTest.php b/core/modules/tour/tests/src/Functional/Rest/TourXmlBasicAuthTest.php
index f635a4ea222078f7c800d4f154d906a99581fc3b..d71501e0a8b0a755a68af072bd7ced98f8e366be 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourXmlBasicAuthTest.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/tour/tests/src/Functional/Rest/TourXmlCookieTest.php b/core/modules/tour/tests/src/Functional/Rest/TourXmlCookieTest.php
index e847131bc432d5d304aaef2431043a246285a440..2fe2656f80d5cecb66ded0a1c397a622e2ffb8a3 100644
--- a/core/modules/tour/tests/src/Functional/Rest/TourXmlCookieTest.php
+++ b/core/modules/tour/tests/src/Functional/Rest/TourXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php b/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php
index f146fd4e5a8ccec9008868428783a7787da676bb..7bb039acef553aed4bc53ba3938ce60f05c4c564 100644
--- a/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php
+++ b/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/tour/tests/src/Functional/TourHelpPageTest.php b/core/modules/tour/tests/src/Functional/TourHelpPageTest.php
index 1adec1d497b9710187dab075e64c833a88f5ba75..13ccab55b1f8fe5ef9ab5865225005c03c32d51a 100644
--- a/core/modules/tour/tests/src/Functional/TourHelpPageTest.php
+++ b/core/modules/tour/tests/src/Functional/TourHelpPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/tour/tests/src/Functional/TourTest.php b/core/modules/tour/tests/src/Functional/TourTest.php
index c19633a86992ff30c3f701be5950aa6a9a585130..27ad8985498541f69f502c409ba0227fd910ec44 100644
--- a/core/modules/tour/tests/src/Functional/TourTest.php
+++ b/core/modules/tour/tests/src/Functional/TourTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/tour/tests/src/Functional/TourTestBase.php b/core/modules/tour/tests/src/Functional/TourTestBase.php
index fd65676afc9cd05487c15d9159f3b1077c4fbc08..0a01fa2de18d5452be4de27d06c5690ba1fddfb2 100644
--- a/core/modules/tour/tests/src/Functional/TourTestBase.php
+++ b/core/modules/tour/tests/src/Functional/TourTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/tour/tests/src/Functional/TourTestBasic.php b/core/modules/tour/tests/src/Functional/TourTestBasic.php
index 7a878ee1d6fcddd4906f2a8f4364ce5d662970cc..de9e0793feffa8a372b7de34df4b474c80a0d4ce 100644
--- a/core/modules/tour/tests/src/Functional/TourTestBasic.php
+++ b/core/modules/tour/tests/src/Functional/TourTestBasic.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional;
 
 /**
diff --git a/core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php b/core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php
index 50c1567d645b3da83a492e9a68398aa2e6b062a1..6834a5631db4c315d51517a3580175a807b38462 100644
--- a/core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php
+++ b/core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tour\Functional\ViewsUi;
 
 use Drupal\Tests\tour\Functional\TourTestBase;
diff --git a/core/modules/tracker/tests/src/Functional/GenericTest.php b/core/modules/tracker/tests/src/Functional/GenericTest.php
index 5305d4664e72e33adba09801cb9cb27aca1e1257..231546717c03d9d081bab38514954d5c7971ba36 100644
--- a/core/modules/tracker/tests/src/Functional/GenericTest.php
+++ b/core/modules/tracker/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tracker\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php b/core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php
index f05ba409a8aa271a5354f51defa3d920cb046beb..fab5c897d3e257c1635c9d8d315bae3d33d58a35 100644
--- a/core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php
+++ b/core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tracker\Functional\Migrate;
 
 use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
diff --git a/core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php b/core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php
index 58dbd266908923ef2f957c4e0917f74565aed98e..46e04f9944d75086d0e1cf24653e9cf1d3d01d1f 100644
--- a/core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php
+++ b/core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tracker\Functional;
 
 use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
diff --git a/core/modules/tracker/tests/src/Functional/TrackerRecentContentLinkTest.php b/core/modules/tracker/tests/src/Functional/TrackerRecentContentLinkTest.php
index 25edbbc46879e143fc0488776c5bdd74548ae624..1e9dc7656c2ecb34c5779f4f64f32e863f9c379a 100644
--- a/core/modules/tracker/tests/src/Functional/TrackerRecentContentLinkTest.php
+++ b/core/modules/tracker/tests/src/Functional/TrackerRecentContentLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tracker\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/tracker/tests/src/Functional/TrackerTest.php b/core/modules/tracker/tests/src/Functional/TrackerTest.php
index 106c09f746f0b86a5e4de8fd46e249674d7ea9c1..c2aa1b30ae1c75ca8f62cebdb3c9e3237b869934 100644
--- a/core/modules/tracker/tests/src/Functional/TrackerTest.php
+++ b/core/modules/tracker/tests/src/Functional/TrackerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\tracker\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php b/core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php
index 88ce412ea8d2a7b63ab3ec5a04423d0b79570269..693d261c6118c1658690a6d18314c282456efb77 100644
--- a/core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php
+++ b/core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/GenericTest.php b/core/modules/update/tests/src/Functional/GenericTest.php
index 382db2bf779c19efe0aa5e6b4b4a4eef044fe83e..9824c9324c0eb0f1325d015f6a4dfd53b2d735d3 100644
--- a/core/modules/update/tests/src/Functional/GenericTest.php
+++ b/core/modules/update/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php b/core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php
index cc1880451c55453a6e1b5f56c5851646968659d5..4ab8e457e4be6ce1e52754ef5e5d05725071c6ae 100644
--- a/core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php
+++ b/core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional\Update;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/update/tests/src/Functional/UpdateContribTest.php b/core/modules/update/tests/src/Functional/UpdateContribTest.php
index 49eac1ca6ae4dfe632b1efad75c1ba24c01c6c12..a45c102cb926003edc3ad21a3f02714abbca6cdb 100644
--- a/core/modules/update/tests/src/Functional/UpdateContribTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateContribTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Core\Utility\ProjectInfo;
diff --git a/core/modules/update/tests/src/Functional/UpdateManagerUpdateTest.php b/core/modules/update/tests/src/Functional/UpdateManagerUpdateTest.php
index fdaf78f85f7a5d0d2215bc029e81df126a497f9a..b80e13f1e8a43b3a071a375d25c1987ed45f2bb7 100644
--- a/core/modules/update/tests/src/Functional/UpdateManagerUpdateTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateManagerUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php b/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php
index cf0e48c5344d69435153b6cc2ad3aef9cf5e5bbd..a68f634859e0db0f515576eaea9b3c3479eb74e2 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php b/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php
index 821004fceb87d87451dc4d31b336e372f14da09d..205a117755f6ece104a74f71e2e0014d81c224d0 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php b/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php
index 555cdec58fae03724f2a9809d650e94c7fe4952c..2b8b257543ddca733ed22843d3dcb64432147c60 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php
index 9362198fed48c9384b6edd53678432270d4ae7c7..4d0d249c06c7f2de17306e1d9c6ad7f226d7f7e1 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php
index 26eac5d1efd6a48c5ef55bc26b5c580752a55a90..2ebf763f48f73fe0e0df4526d041986100530de2 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityCoverageTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityCoverageTest.php
index 70530d56feff21c33bc59d365d79b711a8dbe6ef..c6d82b67618c4f9c6e97a5de12aa81792191c8c2 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityCoverageTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityCoverageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
index 29d5280a15e7e876819737c7df96349c989295c2..1c4349c9c957054b5672402bde131fe75fd40afc 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php
index 32afae2bcc40d08628286eaa392b265a2afad9a4..1f89a658fdab5c7cb352a3dc6993f6c7bbe6378c 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php b/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php
index 666c7d897748fba31f7129735acbfd9727f7764b..a9ae44b77cbf16cbf906974b4a5868640fcc00b2 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Tests\Traits\Core\CronRunTrait;
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php b/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php
index ef2a965c4b146af198fc6cb30d30650f4316036a..722df46bd9e92701d1a229915ef68a435513fead 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Core\Link;
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php b/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php
index 3925847b7b8c1607064a13dfcf8ea1837449d384..2e4c8d1e3f130cf6db363be7081c2ebad83d6a81 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateTestBase.php b/core/modules/update/tests/src/Functional/UpdateTestBase.php
index 44d3f7d84cdab1e00c25f157e4fdf4dd3f2c7321..0e99f5329788580db73bfbfba4c8a88fbff9403b 100644
--- a/core/modules/update/tests/src/Functional/UpdateTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/update/tests/src/Functional/UpdateTestTrait.php b/core/modules/update/tests/src/Functional/UpdateTestTrait.php
index f92b03c2180ac7e4913836192f6741e322e15dc1..cc2e53b21351fd2643586f14199ce9ee08432424 100644
--- a/core/modules/update/tests/src/Functional/UpdateTestTrait.php
+++ b/core/modules/update/tests/src/Functional/UpdateTestTrait.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 /**
diff --git a/core/modules/update/tests/src/Functional/UpdateUploadTest.php b/core/modules/update/tests/src/Functional/UpdateUploadTest.php
index cfa7b844a12dcb1b917b3e7576a5b7df103dc32d..c3afd3127d61faedeef9023fc8889cee4e693133 100644
--- a/core/modules/update/tests/src/Functional/UpdateUploadTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateUploadTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Core\Extension\InfoParserDynamic;
diff --git a/core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php b/core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php
index 9da2406f66a009f9f7c2d0d5e9a37b68df984348..07a84934c15dd98131bf831e92a3e3492f81b963 100644
--- a/core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\update\Functional;
 
 use Drupal\Core\DrupalKernel;
diff --git a/core/modules/user/tests/src/Functional/AccessRoleUITest.php b/core/modules/user/tests/src/Functional/AccessRoleUITest.php
index 1a89de78527677a6bb7cf0e1f76450c89fde3cd1..910b6f93b91ed39e98232a9636ed3cb8ede8ae98 100644
--- a/core/modules/user/tests/src/Functional/AccessRoleUITest.php
+++ b/core/modules/user/tests/src/Functional/AccessRoleUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\views_ui\Functional\UITestBase;
diff --git a/core/modules/user/tests/src/Functional/GenericTest.php b/core/modules/user/tests/src/Functional/GenericTest.php
index 46d76972c495370585ddd03549bfb7eed04d613c..e8ca53687fee026b0a436d3159a826ffae649151 100644
--- a/core/modules/user/tests/src/Functional/GenericTest.php
+++ b/core/modules/user/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php b/core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php
index 7cf62c707b64d55917bbb73745deb73e40d4e815..4141bfae3a0962640ff714868fb4194625d80061 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php b/core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php
index 7a9080408c1a91b05f090c2254e130cd361be800..015e46ce45cf9b4d5bb0babe408e785fdcecc792 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php b/core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php
index 03f517fa4c182054479e6b3ef4584137d78f15be..3957cc6ae98eb39af673c0662ab266ac4ede0d1d 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php b/core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
index 0c12f123ce555c961907134e2a3834c49db23f12..ceefa646749f061e048d1cc39e8a47c05faa0056 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleXmlAnonTest.php b/core/modules/user/tests/src/Functional/Rest/RoleXmlAnonTest.php
index a3e2e0a5b5f019ac5677931827a4cc0ad1266453..5a77a41dd5143ed2a243af5b27e10b3bd421b9f7 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleXmlAnonTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php b/core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php
index dc81a656db556b5f3c21e0e497d3ef392a02d3d2..2b85a1b976cafc708fb623f718f6ad9c0f473e2b 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/RoleXmlCookieTest.php b/core/modules/user/tests/src/Functional/Rest/RoleXmlCookieTest.php
index 8767934394a5237039f40d5e73c1009d60242880..dd312a86cf88886628377b2be6bf805c5a482eb6 100644
--- a/core/modules/user/tests/src/Functional/Rest/RoleXmlCookieTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/RoleXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php b/core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php
index accbd7065a430bc9ffd08f332c149f584265095e..c34d05083ce6b47ebb3168138742b5ce42d1c58b 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php b/core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php
index 353cd71863a6886c377d8e8034ea91aef233eb86..b3405909e5c6e9ede6b8712bed98ebdfdf72c855 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php b/core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php
index 741d33cfad52d58ddff487f64e980db3d21b9457..1cc860c1d665b15bfe9793cde743885bf9b117a9 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php b/core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
index a15a65227c747dffcd2708d877d5b47d4a85be6d..868b8de2e2a3d420803ea9cfeec64fb0e5252997 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Core\Url;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserXmlAnonTest.php b/core/modules/user/tests/src/Functional/Rest/UserXmlAnonTest.php
index cfaded78ec9607b0f857bc7fb0e4354d3f2f5f3c..7f80ee915e2a94d2397855b880c78cb31bb40989 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserXmlAnonTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserXmlBasicAuthTest.php b/core/modules/user/tests/src/Functional/Rest/UserXmlBasicAuthTest.php
index 486c7a5d86e3292a30ba7cf3fa77e0aa1dca7e33..7935fdc115ad96c7f121841e09b68ff057fc741b 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserXmlBasicAuthTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Rest/UserXmlCookieTest.php b/core/modules/user/tests/src/Functional/Rest/UserXmlCookieTest.php
index 517e8fb9b128eb87eadac0880bfe93a179cbc4e4..6524f2a53fe764b1f0e40fc128b11cc9285f8a95 100644
--- a/core/modules/user/tests/src/Functional/Rest/UserXmlCookieTest.php
+++ b/core/modules/user/tests/src/Functional/Rest/UserXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/user/tests/src/Functional/Update/UserUpdateRoleMigrateTest.php b/core/modules/user/tests/src/Functional/Update/UserUpdateRoleMigrateTest.php
index ab7d2c9a2ae28ac5fce9951cb27fe22d2ddc35b6..2540bf1641e6815d2bc490813a6f0adcd0ed6009 100644
--- a/core/modules/user/tests/src/Functional/Update/UserUpdateRoleMigrateTest.php
+++ b/core/modules/user/tests/src/Functional/Update/UserUpdateRoleMigrateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserAccountLinksTest.php b/core/modules/user/tests/src/Functional/UserAccountLinksTest.php
index 4c1fa0512406c4cd97304466627bb976f4003f53..2579ea39e93760668c9feda58a090036fe412a87 100644
--- a/core/modules/user/tests/src/Functional/UserAccountLinksTest.php
+++ b/core/modules/user/tests/src/Functional/UserAccountLinksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserAdminLanguageTest.php b/core/modules/user/tests/src/Functional/UserAdminLanguageTest.php
index 1a19144c982790c035f078fc8a33233a008306e3..e12257285aed45be937982faff02b53852c25c87 100644
--- a/core/modules/user/tests/src/Functional/UserAdminLanguageTest.php
+++ b/core/modules/user/tests/src/Functional/UserAdminLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/user/tests/src/Functional/UserAdminListingTest.php b/core/modules/user/tests/src/Functional/UserAdminListingTest.php
index e5d92a6f589d7947d12a1ceac0236f367eaae152..0d73c3876fb8937bf18b40a83e617627ce620c7d 100644
--- a/core/modules/user/tests/src/Functional/UserAdminListingTest.php
+++ b/core/modules/user/tests/src/Functional/UserAdminListingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserAdminTest.php b/core/modules/user/tests/src/Functional/UserAdminTest.php
index 57cabd3d2feeed86c76b59bab83303ca2538eeb1..20ce9feed16028e77c740766e838a1dd8594b7c2 100644
--- a/core/modules/user/tests/src/Functional/UserAdminTest.php
+++ b/core/modules/user/tests/src/Functional/UserAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Test\AssertMailTrait;
diff --git a/core/modules/user/tests/src/Functional/UserBlocksTest.php b/core/modules/user/tests/src/Functional/UserBlocksTest.php
index be0d9cb440e794a983fc5e740b4b8b6afeb7865d..0232c79915fbec1bc7d560874a99b148129a7edf 100644
--- a/core/modules/user/tests/src/Functional/UserBlocksTest.php
+++ b/core/modules/user/tests/src/Functional/UserBlocksTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/user/tests/src/Functional/UserCacheTagsTest.php b/core/modules/user/tests/src/Functional/UserCacheTagsTest.php
index ecfabc075be56235a2abc28db05252c85b722003..32a7b99e657a8e772f4bc52aacdd5d8fa9707415 100644
--- a/core/modules/user/tests/src/Functional/UserCacheTagsTest.php
+++ b/core/modules/user/tests/src/Functional/UserCacheTagsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\system\Functional\Entity\EntityWithUriCacheTagsTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserCancelTest.php b/core/modules/user/tests/src/Functional/UserCancelTest.php
index 995576f1c7f3853a802407e8451bacbb59213b20..c1750c979fb10cbfb808332cb501da1fbbac1e47 100644
--- a/core/modules/user/tests/src/Functional/UserCancelTest.php
+++ b/core/modules/user/tests/src/Functional/UserCancelTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/user/tests/src/Functional/UserCreateFailMailTest.php b/core/modules/user/tests/src/Functional/UserCreateFailMailTest.php
index a3b0e90323406bb9e504044fa0aa09b335a952c1..646decbe535f4f522f16491dfb55058fb9049a73 100644
--- a/core/modules/user/tests/src/Functional/UserCreateFailMailTest.php
+++ b/core/modules/user/tests/src/Functional/UserCreateFailMailTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserCreateTest.php b/core/modules/user/tests/src/Functional/UserCreateTest.php
index 61e408cb6033c27bf332cbfc09f8e2e7e93b6902..04d4b29803f9d5a194f3aecc48a173c669ee1b30 100644
--- a/core/modules/user/tests/src/Functional/UserCreateTest.php
+++ b/core/modules/user/tests/src/Functional/UserCreateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Test\AssertMailTrait;
diff --git a/core/modules/user/tests/src/Functional/UserEditTest.php b/core/modules/user/tests/src/Functional/UserEditTest.php
index 88a2982d38d9dcb839cac4dec8d2ae0f7a7883fc..3c872d3e60e48bd833873c694c1c442ddf2fd068 100644
--- a/core/modules/user/tests/src/Functional/UserEditTest.php
+++ b/core/modules/user/tests/src/Functional/UserEditTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/user/tests/src/Functional/UserEditedOwnAccountTest.php b/core/modules/user/tests/src/Functional/UserEditedOwnAccountTest.php
index 6f9c5d15cc6b49bd88501b8c17efc2f468fbd9c6..6ee3d5d5782e2ea66d05c5ea66848c62338003f4 100644
--- a/core/modules/user/tests/src/Functional/UserEditedOwnAccountTest.php
+++ b/core/modules/user/tests/src/Functional/UserEditedOwnAccountTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserLanguageCreationTest.php b/core/modules/user/tests/src/Functional/UserLanguageCreationTest.php
index 4f3478542ae97681f805e9fea866de7152b1fb3b..e52f99d9d090b5997c80454203c868f349a9e299 100644
--- a/core/modules/user/tests/src/Functional/UserLanguageCreationTest.php
+++ b/core/modules/user/tests/src/Functional/UserLanguageCreationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/user/tests/src/Functional/UserLanguageTest.php b/core/modules/user/tests/src/Functional/UserLanguageTest.php
index 015c5982cbbdf42af9d40307e6713fb410aac6fa..ca907eb19298b8042a7049c953edc7ecdf3c7992 100644
--- a/core/modules/user/tests/src/Functional/UserLanguageTest.php
+++ b/core/modules/user/tests/src/Functional/UserLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/user/tests/src/Functional/UserLoginHttpTest.php b/core/modules/user/tests/src/Functional/UserLoginHttpTest.php
index 1ca3f408959386a27f1a129c42c49ae7d471c1c1..3cf3eeebd2fc1c1705e76897cb7aaa730a016f66 100644
--- a/core/modules/user/tests/src/Functional/UserLoginHttpTest.php
+++ b/core/modules/user/tests/src/Functional/UserLoginHttpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Flood\DatabaseBackend;
diff --git a/core/modules/user/tests/src/Functional/UserLoginTest.php b/core/modules/user/tests/src/Functional/UserLoginTest.php
index fe339e896ce5fa645802f587aabb345feeb9bf3c..2d50e7ebdacdb12611fc6f05e82163ecadce4ea3 100644
--- a/core/modules/user/tests/src/Functional/UserLoginTest.php
+++ b/core/modules/user/tests/src/Functional/UserLoginTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Test\AssertMailTrait;
diff --git a/core/modules/user/tests/src/Functional/UserPasswordResetTest.php b/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
index c0a5d4844a63b1953be9304d38a02f2cdad95bb4..5ecf3b53f48236359f944a0fcd3bdef7a01f6530 100644
--- a/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
+++ b/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php b/core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php
index b7c10f73fd15ac5f4b005e8464bcf1a848ad5467..7321e44d23cba0d92726930686527aa52d9d81c9 100644
--- a/core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php
+++ b/core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserPermissionsTest.php b/core/modules/user/tests/src/Functional/UserPermissionsTest.php
index c79c470d8c8c06b1d00be3373ea2b14fe9a3b41b..5dbee10410b85a0b31037bc9239702b848a784aa 100644
--- a/core/modules/user/tests/src/Functional/UserPermissionsTest.php
+++ b/core/modules/user/tests/src/Functional/UserPermissionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserPictureTest.php b/core/modules/user/tests/src/Functional/UserPictureTest.php
index 2ef3e92f690f4e6e9ea69567fa694e658af883c0..3d1f05d7769e46fb4705da8d8d0fb99edce60950 100644
--- a/core/modules/user/tests/src/Functional/UserPictureTest.php
+++ b/core/modules/user/tests/src/Functional/UserPictureTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/user/tests/src/Functional/UserRegistrationRestTest.php b/core/modules/user/tests/src/Functional/UserRegistrationRestTest.php
index 0cb3f734448713dabd528274432e7f0da082316f..94ce514a569120befe760744aa85a3b3280abc50 100644
--- a/core/modules/user/tests/src/Functional/UserRegistrationRestTest.php
+++ b/core/modules/user/tests/src/Functional/UserRegistrationRestTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Cache\CacheableMetadata;
diff --git a/core/modules/user/tests/src/Functional/UserRegistrationTest.php b/core/modules/user/tests/src/Functional/UserRegistrationTest.php
index 6d1c38df0f12f09fc7d149ea4ebd74489d70ef3e..a6b95713baa7a414001e02dd2e73be30aa77616c 100644
--- a/core/modules/user/tests/src/Functional/UserRegistrationTest.php
+++ b/core/modules/user/tests/src/Functional/UserRegistrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/modules/user/tests/src/Functional/UserRoleAdminTest.php b/core/modules/user/tests/src/Functional/UserRoleAdminTest.php
index 13a4b306d7b2a8b1d09cdf93ec4688fd09d0ad39..7cc87835eecf4c65e9fd8c2ff84bc470be985873 100644
--- a/core/modules/user/tests/src/Functional/UserRoleAdminTest.php
+++ b/core/modules/user/tests/src/Functional/UserRoleAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php b/core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
index 87986ef3e9a020e80579f3b17e41f75a9c988234..c6115a7854a9ed75989284e0048fa4260861f73f 100644
--- a/core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
+++ b/core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserSearchTest.php b/core/modules/user/tests/src/Functional/UserSearchTest.php
index 5c013cdbfd11c675b0c4ce40be4f4af24cb0a4ae..57c75a908f7cdddfb427cd364264f63310e611b9 100644
--- a/core/modules/user/tests/src/Functional/UserSearchTest.php
+++ b/core/modules/user/tests/src/Functional/UserSearchTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserSubAdminTest.php b/core/modules/user/tests/src/Functional/UserSubAdminTest.php
index b69ffadc1405fad08922be8562394278e67e4e10..5034ed9b61a8996cdbdbe0c903af669127bd5693 100644
--- a/core/modules/user/tests/src/Functional/UserSubAdminTest.php
+++ b/core/modules/user/tests/src/Functional/UserSubAdminTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/user/tests/src/Functional/UserTimeZoneTest.php b/core/modules/user/tests/src/Functional/UserTimeZoneTest.php
index 548501b289e72d105998ecd167d0e7dfc875672f..1a630754a11375cabb2da9a08375a27987992955 100644
--- a/core/modules/user/tests/src/Functional/UserTimeZoneTest.php
+++ b/core/modules/user/tests/src/Functional/UserTimeZoneTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Datetime\Entity\DateFormat;
diff --git a/core/modules/user/tests/src/Functional/UserTokenReplaceTest.php b/core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
index 2857268a2533958e901765e373cab806a1683a72..881010cf8bb2e39010fb1dd13a86af58f520d6a8 100644
--- a/core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
+++ b/core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/user/tests/src/Functional/UserTranslationUITest.php b/core/modules/user/tests/src/Functional/UserTranslationUITest.php
index 34dfc2ddae35b0ae0dbb72cd87be0d94b451a264..1af1453eaae6ba3b56ffdb246919e994266e778a 100644
--- a/core/modules/user/tests/src/Functional/UserTranslationUITest.php
+++ b/core/modules/user/tests/src/Functional/UserTranslationUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional;
 
 use Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase;
diff --git a/core/modules/user/tests/src/Functional/Views/AccessRoleTest.php b/core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
index e3a7b7e441460e6731a1e1ddb80bb71d24710f1e..088affc6f43385f1fad651c13aab69d1f74c91ad 100644
--- a/core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
+++ b/core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/user/tests/src/Functional/Views/AccessTestBase.php b/core/modules/user/tests/src/Functional/Views/AccessTestBase.php
index d565bb099b57bb7aba79f2af92ba322887cccaaf..27041a1638280414ea2f356076f96e6978667b78 100644
--- a/core/modules/user/tests/src/Functional/Views/AccessTestBase.php
+++ b/core/modules/user/tests/src/Functional/Views/AccessTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 /**
diff --git a/core/modules/user/tests/src/Functional/Views/BulkFormAccessTest.php b/core/modules/user/tests/src/Functional/Views/BulkFormAccessTest.php
index 1fb869f545f3f7d546ad51011f10ec3b7b63d985..14c6bdf879ff406d311e08d759806381618bc585 100644
--- a/core/modules/user/tests/src/Functional/Views/BulkFormAccessTest.php
+++ b/core/modules/user/tests/src/Functional/Views/BulkFormAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\user\Entity\User;
diff --git a/core/modules/user/tests/src/Functional/Views/BulkFormTest.php b/core/modules/user/tests/src/Functional/Views/BulkFormTest.php
index c7a72a40478065daa5c24b75ee4542d37ed8b9f4..19e378c88060e637c3baa1d242333f06ff539ae4 100644
--- a/core/modules/user/tests/src/Functional/Views/BulkFormTest.php
+++ b/core/modules/user/tests/src/Functional/Views/BulkFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\user\Entity\Role;
diff --git a/core/modules/user/tests/src/Functional/Views/FilterPermissionUiTest.php b/core/modules/user/tests/src/Functional/Views/FilterPermissionUiTest.php
index fd689809876db3d8e5c024172f434cc3e3ab7393..5ee903b272d3537512cb673757e1779514fed98b 100644
--- a/core/modules/user/tests/src/Functional/Views/FilterPermissionUiTest.php
+++ b/core/modules/user/tests/src/Functional/Views/FilterPermissionUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php b/core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php
index 465420f8ea862631ef9481cff7846e69ed902e5f..df642919cdb49324f78f0a09030e4c3995aacb5b 100644
--- a/core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php
+++ b/core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php b/core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
index ff330bd5346041adb4c8e33d36ff5fc67bbd0143..97852c7271bbfe72bb49e08d2483ce9333744ef9 100644
--- a/core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
+++ b/core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\Core\Render\RenderContext;
diff --git a/core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php b/core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php
index 5fddb8a9063cc957359f067a425319212dcc9268..6021c2de9fa509e84f2b76ff0fb5b28a7b635516 100644
--- a/core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php
+++ b/core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\views\Views;
diff --git a/core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php b/core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php
index 1f295042dc67bfa693e5cc9b379d028f0c4aaad6..b76007ef5ec5ff40c987ca8c7f8578271c6092c2 100644
--- a/core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php
+++ b/core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 /**
diff --git a/core/modules/user/tests/src/Functional/Views/UserChangedTest.php b/core/modules/user/tests/src/Functional/Views/UserChangedTest.php
index 976f8d41961800f2ad6fb6a73b83c15f94af946c..11d2878d0f9e7eeb7a684537ede1261eec6ee53c 100644
--- a/core/modules/user/tests/src/Functional/Views/UserChangedTest.php
+++ b/core/modules/user/tests/src/Functional/Views/UserChangedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php b/core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php
index 24ac5553bcf50c03e3f6a31bafa0ff5f41341e44..4f6a0e67b2999400bef774a26f7639b8ce273b15 100644
--- a/core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php
+++ b/core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 /**
diff --git a/core/modules/user/tests/src/Functional/Views/UserTestBase.php b/core/modules/user/tests/src/Functional/Views/UserTestBase.php
index 4cacda4bf448a74ca7cddbbb9a2d77e5935e5c4a..133e4f9281901032d49ccf57ab1d4144289b9c69 100644
--- a/core/modules/user/tests/src/Functional/Views/UserTestBase.php
+++ b/core/modules/user/tests/src/Functional/Views/UserTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\user\Functional\Views;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/BulkFormTest.php b/core/modules/views/tests/src/Functional/BulkFormTest.php
index 0d14f51fee5615ac0bb7a612a1319660088543db..075a493aa03ce70ac3d1d653bf15ba75d0fa5e22 100644
--- a/core/modules/views/tests/src/Functional/BulkFormTest.php
+++ b/core/modules/views/tests/src/Functional/BulkFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/views/tests/src/Functional/DefaultViewsTest.php b/core/modules/views/tests/src/Functional/DefaultViewsTest.php
index b39946a35b88984f26b11edb17865ee03f87dbd5..debae77fe906cd059228d55c386f7f9c48cc1298 100644
--- a/core/modules/views/tests/src/Functional/DefaultViewsTest.php
+++ b/core/modules/views/tests/src/Functional/DefaultViewsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\comment\CommentInterface;
diff --git a/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php b/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
index fcebefd0a6dedbff99148d537b78be6035e77c62..9febcbe6ef81b584a0bcc54422782b638b7c71d8 100644
--- a/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Entity;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php b/core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
index 1298796f5b34fac1eeba545cd1e00e2bab691bf2..a8c60c0fa1fe664a6af9c57abc50f786b0c741d4 100644
--- a/core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Entity;
 
 use Drupal\block_content\Entity\BlockContent;
diff --git a/core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php b/core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
index 1489884840a32236a6e25d1ab0af2b0654c0f0eb..9183520f3d9656d6c37773b792ff0a385f286216 100644
--- a/core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Entity;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Entity/FieldEntityTranslationTest.php b/core/modules/views/tests/src/Functional/Entity/FieldEntityTranslationTest.php
index 4423dffe0e4b644431eacaf653d09ea733f31275..2eb24283dc5d46eb8e0f91e41c1eceeacd16b060 100644
--- a/core/modules/views/tests/src/Functional/Entity/FieldEntityTranslationTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/FieldEntityTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Entity;
 
 use Drupal\Core\Language\Language;
diff --git a/core/modules/views/tests/src/Functional/Entity/FieldRenderedEntityTranslationTest.php b/core/modules/views/tests/src/Functional/Entity/FieldRenderedEntityTranslationTest.php
index cb2d85c0e7bc9ed62192e1d75cbeea2273a02f68..0c8510705661d4718b107ff1ab3f5663b109a950 100644
--- a/core/modules/views/tests/src/Functional/Entity/FieldRenderedEntityTranslationTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/FieldRenderedEntityTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Entity;
 
 use Drupal\Core\Language\Language;
diff --git a/core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php b/core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php
index 18fbb054cf5f868e7836943bf5df486e60e79507..6cf0dbdc4ea2d7a8154091d77deffb650464b305 100644
--- a/core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Entity;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/views/tests/src/Functional/GenericTest.php b/core/modules/views/tests/src/Functional/GenericTest.php
index 7a2d8575e930e969a34a173f495a90ceab54e4f5..1181be9800ef0c34b76db7e26669b0dd5210a989 100644
--- a/core/modules/views/tests/src/Functional/GenericTest.php
+++ b/core/modules/views/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/views/tests/src/Functional/GlossaryTest.php b/core/modules/views/tests/src/Functional/GlossaryTest.php
index 3b896632532c4eca7baadd13794973f42bf39f92..2010d849124f253ef2817fdc5cf0267d0da42c6f 100644
--- a/core/modules/views/tests/src/Functional/GlossaryTest.php
+++ b/core/modules/views/tests/src/Functional/GlossaryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Core\Language\LanguageInterface;
diff --git a/core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php b/core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php
index d6180ca838fae8539e09a5c5f780303324fe28c4..34fc31b1e4014752563b5d020e45f53b1a374cb7 100644
--- a/core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Handler/AreaTest.php b/core/modules/views/tests/src/Functional/Handler/AreaTest.php
index 9c4f6c2ffe4bea8668945cf77d97d99a4ffcfed2..f1935a19b00b5d3554eacf21925d59eca36d10c0 100644
--- a/core/modules/views/tests/src/Functional/Handler/AreaTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/AreaTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Handler/AreaTitleWebTest.php b/core/modules/views/tests/src/Functional/Handler/AreaTitleWebTest.php
index 8f00844a47d7be9a282dea27f80aadabe22a9fe9..67551be45f07054cbb3d5193052a954bcd193f5f 100644
--- a/core/modules/views/tests/src/Functional/Handler/AreaTitleWebTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/AreaTitleWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Handler/FieldDropButtonTest.php b/core/modules/views/tests/src/Functional/Handler/FieldDropButtonTest.php
index f7987ff19599b494c45cd0e235bc1581e850da72..0ecd5f05b272c57cfd0a60a3e710515e22a5d06e 100644
--- a/core/modules/views/tests/src/Functional/Handler/FieldDropButtonTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FieldDropButtonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php b/core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php
index 433f4aee6fd68ec1b2dbe73bacd2e351b5fa2fd5..9de00d72ab1fc57d5f3f1017e48a34936e282bb8 100644
--- a/core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php b/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
index 3d3ba8c500f572b3e46760b10932d0a6e9e9ec20..ab0f1d1318ac03b6e9639fe74405b15864bca9bd 100644
--- a/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views/tests/src/Functional/Handler/FieldGroupRowsWebTest.php b/core/modules/views/tests/src/Functional/Handler/FieldGroupRowsWebTest.php
index f57957953fca1ff6182d65af47f1ae94822a24c9..e08b5c16df75d2c05095636324e64ac49b1d33d6 100644
--- a/core/modules/views/tests/src/Functional/Handler/FieldGroupRowsWebTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FieldGroupRowsWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/views/tests/src/Functional/Handler/FieldWebTest.php b/core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
index d55853dbc81360ca6b86a4642e328f6a99cb3796..d24cf1a6afb87607940eb3dc6404e343b4863824 100644
--- a/core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php b/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
index 5e2614d616411ccb311f9ff589468b364d071070..3814ed641e38444c206cd8a92c50fb1ff090b9e3 100644
--- a/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php b/core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php
index 84a371be349ad72c78dd0916df5459d5d9d3471a..01ec573cfd8920d79faf57b7bf19f5f14501f4cc 100644
--- a/core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Handler/HandlerTest.php b/core/modules/views/tests/src/Functional/Handler/HandlerTest.php
index b06a7f447592ba658024cd1dd7036eb7cc88f8ae..258b79b79693a748e6a56b2f117827e2ee6e694c 100644
--- a/core/modules/views/tests/src/Functional/Handler/HandlerTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/HandlerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Handler;
 
 use Drupal\comment\Tests\CommentTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Plugin/AccessTest.php b/core/modules/views/tests/src/Functional/Plugin/AccessTest.php
index b42ca4e12407728d53b4eb54bf51c3fb733f0fed..450f6cb914eb60ce89f863bb22441fbe88c420ed 100644
--- a/core/modules/views/tests/src/Functional/Plugin/AccessTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/AccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php b/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
index d4d8e6e1a6bd1072a14b41a150c5fb0e9f4d3b1d..9e23a52bae2833acf4cea6141cc91ddfc49cd6e9 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php b/core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php
index 290fd59ddef565ac6e5ae9b37a7cea37532dd148..3e5b14fa8628bd708ed182f1315dac8d1f6aa661 100644
--- a/core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Cache\Cache;
diff --git a/core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php b/core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php
index 5022a7aaaae27bf520b84ac7e100b0591a814889..2d6c6a4812cb6a4185a3be20f951de1ac285022e 100644
--- a/core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\system\Functional\Cache\AssertPageCacheContextsAndTagsTrait;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php b/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php
index b28fb70164498aad330b1e857463765b83fef87b..26383ae6e052fedd6c891f825c7520097f5750b1 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Plugin\Context\ContextDefinitionInterface;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php b/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php
index dee51741892e511be66e5f6125d1e04f2c9d77f9..301dbb05ccc5c072bdcc280c7a02936af15bd543 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisabledDisplayTest.php b/core/modules/views/tests/src/Functional/Plugin/DisabledDisplayTest.php
index 54548cb95625c99db5129a7425d98c159d82174b..2a749deeaa841ef9b9dbb8eef8934cc69cb2f5eb 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisabledDisplayTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisabledDisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayAttachmentTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayAttachmentTest.php
index 38f1541722989380c3158c6153789aa0970dc5cc..8f2fc15994b6dc4c37ab9be4002b7901291840b9 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayAttachmentTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayAttachmentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayEntityReferenceTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayEntityReferenceTest.php
index 758e9b36e3cd06c575b6028816394062e29a5fe6..bace798cddaed3bb6b4b88e0939e7e036d784a06 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayEntityReferenceTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayEntityReferenceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTest.php
index 6b6dd74019f2bdbe13a5f6b8a63e585b139d8048..e940bdf1ebeee66fe12c712c8e2e947b723e0add 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php
index 2ba0d49965f0d75761d14e591157aa68a68abd29..964235a142a71271b6f052e31b587f9f7519a217 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php
index e68cf66b7596618243afed639f51a6ba4642b592..755461b99d5ee32319743cc1d743bbb5dd3854b9 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\system\Functional\Cache\AssertPageCacheContextsAndTagsTrait;
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
index 70bfc4335d180f693d92190f751a8bef37716875..204c7717969864f4ab17559c2211ed5ec7d19946 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ExposedFormCheckboxesTest.php b/core/modules/views/tests/src/Functional/Plugin/ExposedFormCheckboxesTest.php
index 997e9b207a270155388e14e42ff85ce73245ca01..72c9b1ead676bd797514d7963beb88e41533eb94 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ExposedFormCheckboxesTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ExposedFormCheckboxesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php b/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
index 6c9d518dabfd8d6e47d228d0cc1cd3b4cdc9035b..918dcda51ae46e0ff0523ff20a27ce9ab3297506 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Component\Utility\Html;
diff --git a/core/modules/views/tests/src/Functional/Plugin/FilterTest.php b/core/modules/views/tests/src/Functional/Plugin/FilterTest.php
index a817161e95c88d9c04541b7a31f848e8f8b8e363..5710582b114120ac4d9f9b8df598783de6e7d585 100644
--- a/core/modules/views/tests/src/Functional/Plugin/FilterTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/FilterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php b/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
index 4396b88f5bde760989aadf06b6091799d32dc663..502637790d85f1b139cece8a3b13d14cc2536c3d 100644
--- a/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/views/tests/src/Functional/Plugin/MiniPagerTest.php b/core/modules/views/tests/src/Functional/Plugin/MiniPagerTest.php
index a4351afb3125281fb1eca92ab0bae4f14201a512..910fb649de98cbe6188ff25986ac833090a45d6f 100644
--- a/core/modules/views/tests/src/Functional/Plugin/MiniPagerTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/MiniPagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/MonthDatePluginTest.php b/core/modules/views/tests/src/Functional/Plugin/MonthDatePluginTest.php
index b9281a829e037600c964405a345877655af69361..b638cd76cbb3c546828872f1dab83751b22607a5 100644
--- a/core/modules/views/tests/src/Functional/Plugin/MonthDatePluginTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/MonthDatePluginTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php b/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
index 3f0624977749579270d1992bd42762e406184ed2..203f72bfd6fdb5eeecd656abfe7f529267e9f285 100644
--- a/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Component\Gettext\PoHeader;
diff --git a/core/modules/views/tests/src/Functional/Plugin/PagerTest.php b/core/modules/views/tests/src/Functional/Plugin/PagerTest.php
index c28795bfdcd52ae856fd82fd2550b973fa039b0b..253eae61500d6184fe253aa64c9fb2794f0ab536 100644
--- a/core/modules/views/tests/src/Functional/Plugin/PagerTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/PagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\system\Functional\Cache\AssertPageCacheContextsAndTagsTrait;
diff --git a/core/modules/views/tests/src/Functional/Plugin/QueryOptionsTest.php b/core/modules/views/tests/src/Functional/Plugin/QueryOptionsTest.php
index cb027c06e12c5f2e5bbb1aaaabc38be33b9bdb45..6a143afaf94e38a7ff59593666bc63b6292b3796 100644
--- a/core/modules/views/tests/src/Functional/Plugin/QueryOptionsTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/QueryOptionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/StyleSummaryTest.php b/core/modules/views/tests/src/Functional/Plugin/StyleSummaryTest.php
index c7f326c4685ea52914f0ff88fe3fbccfdb6ee6dc..78efcb727cb15a6cd7c0d70c581956c9f5ff26e9 100644
--- a/core/modules/views/tests/src/Functional/Plugin/StyleSummaryTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/StyleSummaryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
index c3e157ac41484eb56bff6e92a741e02ed8a9de41..c7a2cf39068760fe4a375c92dcb1ddaf4f8f92f9 100644
--- a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php b/core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php
index 899d47bf21e81973a5521b61c8947ed8a7ad00e7..a63d91cfc5603bac9846e78127ca8362f041cdd2 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/Plugin/ViewsFormTest.php b/core/modules/views/tests/src/Functional/Plugin/ViewsFormTest.php
index 0d2d34167b3878fb57f4ba8f25009ce5cb9ab0d6..dd9d3734ae62160b88ff088676fd6b30ea88ce9e 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ViewsFormTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ViewsFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Plugin;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views/tests/src/Functional/RenderCacheWebTest.php b/core/modules/views/tests/src/Functional/RenderCacheWebTest.php
index 9ea9069c5fdad11a0442ca2eba1601301ade2a24..0f50ad489f8c87ddc8e9930e9dda8edc52409abd 100644
--- a/core/modules/views/tests/src/Functional/RenderCacheWebTest.php
+++ b/core/modules/views/tests/src/Functional/RenderCacheWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\node\Entity\Node;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewJsonAnonTest.php b/core/modules/views/tests/src/Functional/Rest/ViewJsonAnonTest.php
index e7e7f76f6fdfba9f596a111969195cf241a5442e..118d8e352f09dbe08c3d1996abc14d1e686251b1 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewJsonAnonTest.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php b/core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php
index 80822b08548a2aedb43fcc09497a85c232742b28..2c43d43fbff320681c7c146877cca92b26b9a5b6 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewJsonCookieTest.php b/core/modules/views/tests/src/Functional/Rest/ViewJsonCookieTest.php
index e772c4bbcb50f9f6e9a0ad999f9591bde6066e72..6d55aee96159a7ec616629de22acc0d9dc5f28c9 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewJsonCookieTest.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php b/core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
index 27ae6226901842f9e4a78bd9e7ee13f315f07723..8be676de801435a6bbfb7a4f77de836d3788a217 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewXmlAnonTest.php b/core/modules/views/tests/src/Functional/Rest/ViewXmlAnonTest.php
index ad94fec6d9baae8dafc2cbfa8600fcd2f3d38c97..7af8b5b8e77f25f8609c48fd338a0dc5018984bb 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewXmlAnonTest.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewXmlBasicAuthTest.php b/core/modules/views/tests/src/Functional/Rest/ViewXmlBasicAuthTest.php
index ffa68653825d6701dd4a84edca5523d7b87a2589..7707b8ef778c509c60708946df36f37ddefb07fe 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewXmlBasicAuthTest.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/views/tests/src/Functional/Rest/ViewXmlCookieTest.php b/core/modules/views/tests/src/Functional/Rest/ViewXmlCookieTest.php
index 4f5e9169b31ce680d2811fd035b05f9b229cc918..7b72d4c2b599dc80e4517cc2073919553f97cf79 100644
--- a/core/modules/views/tests/src/Functional/Rest/ViewXmlCookieTest.php
+++ b/core/modules/views/tests/src/Functional/Rest/ViewXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/views/tests/src/Functional/SearchIntegrationTest.php b/core/modules/views/tests/src/Functional/SearchIntegrationTest.php
index 569c9ef11b233312fba34c4f79c36dd7966b1f9d..a9910a2216aff526bb551501a28de379e98d170e 100644
--- a/core/modules/views/tests/src/Functional/SearchIntegrationTest.php
+++ b/core/modules/views/tests/src/Functional/SearchIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Tests\Traits\Core\CronRunTrait;
diff --git a/core/modules/views/tests/src/Functional/SearchMultilingualTest.php b/core/modules/views/tests/src/Functional/SearchMultilingualTest.php
index a1241fe417752057896b8f0871b603149894ef70..d0dab7eb92c1ad1f92bb4ceab4f80e5f6c76a666 100644
--- a/core/modules/views/tests/src/Functional/SearchMultilingualTest.php
+++ b/core/modules/views/tests/src/Functional/SearchMultilingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\node\NodeInterface;
diff --git a/core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php b/core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php
index 9113ba80de3fa4310895c43c92598609a357b9a7..d1570775275d84256ef4d370150e121d13ba1569 100644
--- a/core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php
+++ b/core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views/tests/src/Functional/Update/ViewsAddDefaultPaginationHeaderTest.php b/core/modules/views/tests/src/Functional/Update/ViewsAddDefaultPaginationHeaderTest.php
index 593187cbf0a7c19f72e1d3bf91eef2b8536c5aba..0c534430363364e0cf7ea68a25eeb3b170466d71 100644
--- a/core/modules/views/tests/src/Functional/Update/ViewsAddDefaultPaginationHeaderTest.php
+++ b/core/modules/views/tests/src/Functional/Update/ViewsAddDefaultPaginationHeaderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/views/tests/src/Functional/Update/ViewsAddMissingLabelsUpdateTest.php b/core/modules/views/tests/src/Functional/Update/ViewsAddMissingLabelsUpdateTest.php
index aa4f7de3f72c6508ef58dc229a7f129981448105..b1fd8d8950ea1812938814e6548d774f47a83977 100644
--- a/core/modules/views/tests/src/Functional/Update/ViewsAddMissingLabelsUpdateTest.php
+++ b/core/modules/views/tests/src/Functional/Update/ViewsAddMissingLabelsUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/views/tests/src/Functional/Update/ViewsFixRevisionIdUpdateTest.php b/core/modules/views/tests/src/Functional/Update/ViewsFixRevisionIdUpdateTest.php
index a65f0d35b2dcf1b216282b97fd81daa4525a307e..a2df8c30400ab85aa87f430fa8bd615051974721 100644
--- a/core/modules/views/tests/src/Functional/Update/ViewsFixRevisionIdUpdateTest.php
+++ b/core/modules/views/tests/src/Functional/Update/ViewsFixRevisionIdUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/views/tests/src/Functional/Update/ViewsRemoveDefaultArgumentSkipUrlTest.php b/core/modules/views/tests/src/Functional/Update/ViewsRemoveDefaultArgumentSkipUrlTest.php
index 1d5707d236db956758f61ddbc943b06ded33cfa1..e48c63e29af32bfceec92f7c207b0e50dad93aac 100644
--- a/core/modules/views/tests/src/Functional/Update/ViewsRemoveDefaultArgumentSkipUrlTest.php
+++ b/core/modules/views/tests/src/Functional/Update/ViewsRemoveDefaultArgumentSkipUrlTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
diff --git a/core/modules/views/tests/src/Functional/UserBatchActionTest.php b/core/modules/views/tests/src/Functional/UserBatchActionTest.php
index d8a1870d4adee03b55ac78b6f34cf2fd538093e0..22313fcb3fac44a806287a17b76971ec359a7e31 100644
--- a/core/modules/views/tests/src/Functional/UserBatchActionTest.php
+++ b/core/modules/views/tests/src/Functional/UserBatchActionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/views/tests/src/Functional/UserPathTest.php b/core/modules/views/tests/src/Functional/UserPathTest.php
index d422527d4df5f7f274551867fd687736f6e48085..b63c50f12bd454c14076af7ef4a2134166dfadf5 100644
--- a/core/modules/views/tests/src/Functional/UserPathTest.php
+++ b/core/modules/views/tests/src/Functional/UserPathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/ViewAjaxTest.php b/core/modules/views/tests/src/Functional/ViewAjaxTest.php
index 1ea37e1fea7c7805c6559fa16b38cac2e0c33db2..4decb6f007b8ac29ff0b74d43591e2efbd922537 100644
--- a/core/modules/views/tests/src/Functional/ViewAjaxTest.php
+++ b/core/modules/views/tests/src/Functional/ViewAjaxTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
diff --git a/core/modules/views/tests/src/Functional/ViewElementTest.php b/core/modules/views/tests/src/Functional/ViewElementTest.php
index b068a4bbd914ded82cb1b899f78200c8c262be97..77f97a06cda93275d8025cf5773ecd347792ab9d 100644
--- a/core/modules/views/tests/src/Functional/ViewElementTest.php
+++ b/core/modules/views/tests/src/Functional/ViewElementTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views/tests/src/Functional/ViewTestBase.php b/core/modules/views/tests/src/Functional/ViewTestBase.php
index de7eeb084f8be43d1625f3bd8ece812027166f9e..d63ebe3d881c0674fd4a991400e78e95aef1bd82 100644
--- a/core/modules/views/tests/src/Functional/ViewTestBase.php
+++ b/core/modules/views/tests/src/Functional/ViewTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Behat\Mink\Exception\ElementNotFoundException;
diff --git a/core/modules/views/tests/src/Functional/ViewTranslationTest.php b/core/modules/views/tests/src/Functional/ViewTranslationTest.php
index 97e67e08c55a0ab38778bbb209902839e9b2f55c..c9212bf50f0544cde1497295f30fbfa64e6dae7c 100644
--- a/core/modules/views/tests/src/Functional/ViewTranslationTest.php
+++ b/core/modules/views/tests/src/Functional/ViewTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 use Drupal\Component\Utility\Xss;
diff --git a/core/modules/views/tests/src/Functional/ViewsEscapingTest.php b/core/modules/views/tests/src/Functional/ViewsEscapingTest.php
index a016723d7d94e354d1d61acb4b3926a75fad6331..c7e695af17aee4ade91de3fe45b1e21c958db240 100644
--- a/core/modules/views/tests/src/Functional/ViewsEscapingTest.php
+++ b/core/modules/views/tests/src/Functional/ViewsEscapingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/ViewsFormAlterTest.php b/core/modules/views/tests/src/Functional/ViewsFormAlterTest.php
index 91177d6941c87bee34937fe4ad4310c81dde179c..2f475cafebf258027ef3f730c3f09d96212419c5 100644
--- a/core/modules/views/tests/src/Functional/ViewsFormAlterTest.php
+++ b/core/modules/views/tests/src/Functional/ViewsFormAlterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php b/core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php
index 1c8c9e81ce3295827904e7b1f854ab0e1a519633..eec9827d08f7c09058549c45c27503e8599159b2 100644
--- a/core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php
+++ b/core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/ViewsNoResultsBehaviorTest.php b/core/modules/views/tests/src/Functional/ViewsNoResultsBehaviorTest.php
index 479cdb233ec3e848beb73ce247fe7f779916a2b9..ee820f5ac8afc49d56502f4febf7d49352d1afd9 100644
--- a/core/modules/views/tests/src/Functional/ViewsNoResultsBehaviorTest.php
+++ b/core/modules/views/tests/src/Functional/ViewsNoResultsBehaviorTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/ViewsThemeIntegrationTest.php b/core/modules/views/tests/src/Functional/ViewsThemeIntegrationTest.php
index 7412be3e906f3a8fe71b256d860a1d1c37fd51b8..eedebea8a7f2aa6e99d6c52074c8a78cff67bf08 100644
--- a/core/modules/views/tests/src/Functional/ViewsThemeIntegrationTest.php
+++ b/core/modules/views/tests/src/Functional/ViewsThemeIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/Wizard/BasicTest.php b/core/modules/views/tests/src/Functional/Wizard/BasicTest.php
index 120c4bcba1d616d936f77b4c8c9776372dd8b373..40828d3b5270d01e3ef767e2b55bd256fda2d802 100644
--- a/core/modules/views/tests/src/Functional/Wizard/BasicTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/BasicTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/views/tests/src/Functional/Wizard/EntityTestRevisionTest.php b/core/modules/views/tests/src/Functional/Wizard/EntityTestRevisionTest.php
index 52de147919a8071b4686eabf3fcc044d106e1cf8..f9d4610b82474648d919973d62d608667457ab6d 100644
--- a/core/modules/views/tests/src/Functional/Wizard/EntityTestRevisionTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/EntityTestRevisionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php b/core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php
index c04ab6007389b66255fc8305aed9592dab2fa97d..b301aad40d7a944a9a255d9a2248f6714eecb863 100644
--- a/core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/Wizard/MenuTest.php b/core/modules/views/tests/src/Functional/Wizard/MenuTest.php
index a0ede2ac3eb2a36741306e965a08d29294b32b27..68f0dc9a0814ab99a6d67e13db8e9b5a8eb1a5dd 100644
--- a/core/modules/views/tests/src/Functional/Wizard/MenuTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/MenuTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views/tests/src/Functional/Wizard/NodeWizardTest.php b/core/modules/views/tests/src/Functional/Wizard/NodeWizardTest.php
index 27924889afd75c2b62b2286d2e88d7c383702292..0c5c5c035e868b6a23df37f4fb773cd3cc78909b 100644
--- a/core/modules/views/tests/src/Functional/Wizard/NodeWizardTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/NodeWizardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/Wizard/PagerTest.php b/core/modules/views/tests/src/Functional/Wizard/PagerTest.php
index 29c6c64e17febe2028820838fa61a80a9ea6530c..e25091b235390c7a88ec08217d82b051ce0ced74 100644
--- a/core/modules/views/tests/src/Functional/Wizard/PagerTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/PagerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/Wizard/SortingTest.php b/core/modules/views/tests/src/Functional/Wizard/SortingTest.php
index a2f959737a26bed97a71542e7fcc138226002f1a..a3dd1bc501448d7bea2d0b7e37e61fa24810e2e2 100644
--- a/core/modules/views/tests/src/Functional/Wizard/SortingTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/SortingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 /**
diff --git a/core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php b/core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php
index 7641a5ef81305582844eef1f40baca06f513f4de..dc7beeea3e5e18c7488614e10c0205c458a63e33 100644
--- a/core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php b/core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php
index 8bf877ce13367191c9e59a43bc84387a9ac968a0..b86dd6d1267ddc411eabd715a4fa7186c73a43c0 100644
--- a/core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php
+++ b/core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views\Functional\Wizard;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php b/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php
index 5eb2e2d7bb33483a92dae6b2753b96c1ba3fa5fe..14004fcf00b79153a9a523eb2a64dd1dab2b369d 100644
--- a/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php
+++ b/core/modules/views_ui/tests/src/Functional/AnalyzeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php b/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
index a948fbc7ba203c1d95852e40285c42a3e2eb0b1a..79e700623f65ed2f054bbbb10639322abadb594f 100644
--- a/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\block\Entity\Block;
diff --git a/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php b/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
index 2c26cc7e3362ce27e716651768db61dc39bb3348..882991d3dd9146a3fd7bb6a274c5318b30bd50a9 100644
--- a/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/CachedDataUITest.php b/core/modules/views_ui/tests/src/Functional/CachedDataUITest.php
index b0d3835322dcbae6ffa015fe8863a4f985d8c92a..2c6fe2a1d5eea48af6eca91c33ca2fb41faff0d4 100644
--- a/core/modules/views_ui/tests/src/Functional/CachedDataUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/CachedDataUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php b/core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
index 648f50f06e8a480df3c379e03e24aca6e662185d..ede46aa6a493a046b7e9951b62229a7960c489fc 100644
--- a/core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
+++ b/core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php b/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php
index af2b56863e050487704cdf400f4ee98e1706fd5c..0c7a2b6789abbc0ed165a8529f8cf2df009d46c6 100644
--- a/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php b/core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php
index 346461ed65abd323079caa2745a509868a1e2e0a..4d2fb5eca41700dfe48d490151585ab9bd512610 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php b/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
index 579308baf5892d47ee9a9e1211636deea03f3457..1377855abc9b4c21941581a874f1c57c57125300 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayExtenderUITest.php b/core/modules/views_ui/tests/src/Functional/DisplayExtenderUITest.php
index bee8537f1a9fdb9684c9119f0cf3db2ebc188dd7..922eeb6863081dc088096097549dab52a15ee9ca 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayExtenderUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayExtenderUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php b/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
index d697849cc8382cd8de4ee05131bfe65145ed59a3..c1ab43b26b6ec9ec0357123f930ddd8bcbcb6fc4 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php b/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
index f5c5c5d40b88904912878cd74da51d3d76d7e055..8cb6a77ff24101133a1f2b44164bc8cf1c6e6fa8 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Core\Menu\MenuTreeParameters;
diff --git a/core/modules/views_ui/tests/src/Functional/DisplayTest.php b/core/modules/views_ui/tests/src/Functional/DisplayTest.php
index 8d10c8c8f878a8b44dfcfa7f0ed09e8c37c9afc3..426344b573c1a0627e8ba28681522bbe7b938ee1 100644
--- a/core/modules/views_ui/tests/src/Functional/DisplayTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DisplayTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Component\Utility\Unicode;
diff --git a/core/modules/views_ui/tests/src/Functional/DuplicateTest.php b/core/modules/views_ui/tests/src/Functional/DuplicateTest.php
index 0f4dfdc72c2bdb0dff9ccda5c46f79e0bce5874f..fb1f599d45917a391f91309282f2f10e377b4261 100644
--- a/core/modules/views_ui/tests/src/Functional/DuplicateTest.php
+++ b/core/modules/views_ui/tests/src/Functional/DuplicateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php b/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
index 033a2c8cf15259a7e0596f0ea9cfd59d3670f985..3cb81d65f7f89656acd4da5e000642a93c164ae2 100644
--- a/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Entity\View;
diff --git a/core/modules/views_ui/tests/src/Functional/FieldUITest.php b/core/modules/views_ui/tests/src/Functional/FieldUITest.php
index 283994202d2a35cde483e20405c2bd37c53ae53a..43057cb7d24908526648880a825245c6297c2942 100644
--- a/core/modules/views_ui/tests/src/Functional/FieldUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/FieldUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Component\Serialization\Json;
diff --git a/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php b/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php
index 222b0be30fccbbe0572c655c02c1f9dc81a4c8f0..7e3bb185a85ba7215423596a85cb322d7ab56f32 100644
--- a/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php
+++ b/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/FilterNumericWebTest.php b/core/modules/views_ui/tests/src/Functional/FilterNumericWebTest.php
index 62803428f9b2495ff715566a6cbaac4a0a8f7a9b..4b97f1a7ad6a99d4bc634874905e9809084d51f5 100644
--- a/core/modules/views_ui/tests/src/Functional/FilterNumericWebTest.php
+++ b/core/modules/views_ui/tests/src/Functional/FilterNumericWebTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Tests\SchemaCheckTestTrait;
diff --git a/core/modules/views_ui/tests/src/Functional/FilterUITest.php b/core/modules/views_ui/tests/src/Functional/FilterUITest.php
index a4af05d336aef61cc225af9bb4270790beb02ed1..3e92560ade7b7027da9c697e874dab802ebb3517 100644
--- a/core/modules/views_ui/tests/src/Functional/FilterUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/FilterUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/GenericTest.php b/core/modules/views_ui/tests/src/Functional/GenericTest.php
index 018aec820950e3568cd1186501b35fbf68e07306..da2f69bee342be4fa628f32959fe2c588745f49f 100644
--- a/core/modules/views_ui/tests/src/Functional/GenericTest.php
+++ b/core/modules/views_ui/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/views_ui/tests/src/Functional/GroupByTest.php b/core/modules/views_ui/tests/src/Functional/GroupByTest.php
index dd00e6e5142b3f32f5f5d53c8bb5a5ddef604858..a81b3af2820f36c88fd666ade31745761583b05a 100644
--- a/core/modules/views_ui/tests/src/Functional/GroupByTest.php
+++ b/core/modules/views_ui/tests/src/Functional/GroupByTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/HandlerTest.php b/core/modules/views_ui/tests/src/Functional/HandlerTest.php
index bbda7d3fdb6dd426d84997cc19b04d2e57de496c..122b1cd812096c35de5df3534353d32d986ac7b6 100644
--- a/core/modules/views_ui/tests/src/Functional/HandlerTest.php
+++ b/core/modules/views_ui/tests/src/Functional/HandlerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php b/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
index 00923356db316177fb350503abe3174dd1197f7c..1ca10a67e3023b62128f00fda7d7731033dc7c22 100644
--- a/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
+++ b/core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php b/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php
index f27849f6923d97ea68500a8162529c75eb0ed1c8..90fbb65c8dddddb3deddc2f70e359525f3f18c59 100644
--- a/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php
+++ b/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/PreviewTest.php b/core/modules/views_ui/tests/src/Functional/PreviewTest.php
index a6f1ca65d9b50be9aa620b4deaa4e40c532a589f..c9d98962fc37839e2651c3d10263905439dfc7a5 100644
--- a/core/modules/views_ui/tests/src/Functional/PreviewTest.php
+++ b/core/modules/views_ui/tests/src/Functional/PreviewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/QueryTest.php b/core/modules/views_ui/tests/src/Functional/QueryTest.php
index 8c86ffa40e8675fe05dd4604dc250db6cca084d8..92782b0106711a4d0cf9e88da43cb72f997fae75 100644
--- a/core/modules/views_ui/tests/src/Functional/QueryTest.php
+++ b/core/modules/views_ui/tests/src/Functional/QueryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/RearrangeFieldsTest.php b/core/modules/views_ui/tests/src/Functional/RearrangeFieldsTest.php
index 4aea55c68196a716c58f91dd2edd3ce3418567ed..207f23e0319fa8244601dc8889a1616000394372 100644
--- a/core/modules/views_ui/tests/src/Functional/RearrangeFieldsTest.php
+++ b/core/modules/views_ui/tests/src/Functional/RearrangeFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/RedirectTest.php b/core/modules/views_ui/tests/src/Functional/RedirectTest.php
index 6350cb9285351724df8606d4b11d139fc78b94f5..98bbea904bdc29239c0297a28656c7f27e0078bc 100644
--- a/core/modules/views_ui/tests/src/Functional/RedirectTest.php
+++ b/core/modules/views_ui/tests/src/Functional/RedirectTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php b/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php
index 6b37b8004f4f43df7575abcbb69ffebd78e3cb67..37cadbeab4dd413bbda7d4163b59cde501c8a168 100644
--- a/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ReportFieldsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/modules/views_ui/tests/src/Functional/ReportTest.php b/core/modules/views_ui/tests/src/Functional/ReportTest.php
index b362b1a7e2f493caad0c20a7139ff3398f6538b8..5b87ccd560ffc968860575cd0809bfe8fcafed45 100644
--- a/core/modules/views_ui/tests/src/Functional/ReportTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ReportTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/RowUITest.php b/core/modules/views_ui/tests/src/Functional/RowUITest.php
index 77b50437d398428c5529cf8deb5fe8e48f505c8c..187f611cf8b9b77c38f74848bfba97248178fa53 100644
--- a/core/modules/views_ui/tests/src/Functional/RowUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/RowUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Core\Entity\Entity\EntityViewMode;
diff --git a/core/modules/views_ui/tests/src/Functional/SettingsTest.php b/core/modules/views_ui/tests/src/Functional/SettingsTest.php
index 7535c380db81dbd2d45540a65bb9aa1986aefee7..1e27b075989596bed7a833631e8acdea22739600 100644
--- a/core/modules/views_ui/tests/src/Functional/SettingsTest.php
+++ b/core/modules/views_ui/tests/src/Functional/SettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Core\Database\Database;
diff --git a/core/modules/views_ui/tests/src/Functional/StorageTest.php b/core/modules/views_ui/tests/src/Functional/StorageTest.php
index 491d7d88cf5af319fc134b24751fa205ea88eb1c..bc4bd920cb073d4f068d891836c794f96f2e4587 100644
--- a/core/modules/views_ui/tests/src/Functional/StorageTest.php
+++ b/core/modules/views_ui/tests/src/Functional/StorageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/views_ui/tests/src/Functional/StyleTableTest.php b/core/modules/views_ui/tests/src/Functional/StyleTableTest.php
index 456ec51821d33df05ec00912043863a15175e8ed..122ba1e5dbc2df59e93b4223d138d5be198d1358 100644
--- a/core/modules/views_ui/tests/src/Functional/StyleTableTest.php
+++ b/core/modules/views_ui/tests/src/Functional/StyleTableTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/StyleUITest.php b/core/modules/views_ui/tests/src/Functional/StyleUITest.php
index ecaaecaf90fd47520480b26d8530e956f6f72fd0..fe60b48488d5ad83265bfcbe35e470f3f7870557 100644
--- a/core/modules/views_ui/tests/src/Functional/StyleUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/StyleUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Views;
diff --git a/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php b/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
index 4cfc349a328a36a20a5fb3c34700f7128767b10b..054c88cc61a8627774a8b5e7c46acc412d30c58f 100644
--- a/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php b/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
index 7caa9c9b0dd7f2d1d7a7bb58b251cd7f809edb22..653feb54514870d17c928cd7a4e4d23bcecca21b 100644
--- a/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
+++ b/core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/views_ui/tests/src/Functional/UITestBase.php b/core/modules/views_ui/tests/src/Functional/UITestBase.php
index ef4aae78065bd9659a2d22ea3ae0df0eadb27b88..9edadfd9ddd3f8c661d507f4187704c5ddc6ec24 100644
--- a/core/modules/views_ui/tests/src/Functional/UITestBase.php
+++ b/core/modules/views_ui/tests/src/Functional/UITestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Tests\views\Functional\ViewTestBase;
diff --git a/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php b/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
index 847aa0e9a501550729977c2e9912e0aaf9d13394..d888e5bf20eaf743377607a5189ccb9027814085 100644
--- a/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
+++ b/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/views_ui/tests/src/Functional/ViewEditTest.php b/core/modules/views_ui/tests/src/Functional/ViewEditTest.php
index 6ae48b98eaf48913ba4e0f3e2e1393529dd384e9..12b9c02360252ac4c39c793c2fd7950b23041266 100644
--- a/core/modules/views_ui/tests/src/Functional/ViewEditTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ViewEditTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/modules/views_ui/tests/src/Functional/ViewsListTest.php b/core/modules/views_ui/tests/src/Functional/ViewsListTest.php
index 7042af847e4a6eccae325ee7031bf0f7742b7f41..4d540fb3b49998e063f0933116633f056909ce83 100644
--- a/core/modules/views_ui/tests/src/Functional/ViewsListTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ViewsListTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\views\Entity\View;
diff --git a/core/modules/views_ui/tests/src/Functional/WizardTest.php b/core/modules/views_ui/tests/src/Functional/WizardTest.php
index 95378286c47ffe5f631b259a735bfe0f729c3421..6ac9b7d8fe00662650d2f6831bb8d125678a7f85 100644
--- a/core/modules/views_ui/tests/src/Functional/WizardTest.php
+++ b/core/modules/views_ui/tests/src/Functional/WizardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Component\Utility\Unicode;
diff --git a/core/modules/views_ui/tests/src/Functional/XssTest.php b/core/modules/views_ui/tests/src/Functional/XssTest.php
index 73cc00b81777cff87acaa8b52feb4774976a03f6..47a98951bcbd59efbafeaff2945dd607973e5ee8 100644
--- a/core/modules/views_ui/tests/src/Functional/XssTest.php
+++ b/core/modules/views_ui/tests/src/Functional/XssTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\views_ui\Functional;
 
 /**
diff --git a/core/modules/workflows/tests/src/Functional/GenericTest.php b/core/modules/workflows/tests/src/Functional/GenericTest.php
index 4cf60632872fa4589cc272eddb9a191f14a54ad8..4146e1f1992f2b8c4ea9389732f032732c107322 100644
--- a/core/modules/workflows/tests/src/Functional/GenericTest.php
+++ b/core/modules/workflows/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonAnonTest.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonAnonTest.php
index 4865353f8f54d01d08550f73350b77f7d21dae8c..d54b0dd943c48282434b68ca9b6a3f0f892415dd 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonAnonTest.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonBasicAuthTest.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonBasicAuthTest.php
index 34648bf96198f1adf8fb2316f60957d13b9de4c4..cf0fb21699f697057950481f993c9c56e963ecaf 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonBasicAuthTest.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonCookieTest.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonCookieTest.php
index 42165deb536b5f451e75f81f77a666e745a6ea99..f8b4f786e0eac3b1208f5b063eb9a1a1721d49a3 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonCookieTest.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php
index a192a419d91c3aa6a50279a9b4c05681e6901258..7cc34c5a5771409a7c8e3cb0336528de89b7acc9 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlAnonTest.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlAnonTest.php
index dbd938d23009a4a54a58cd67bd04a80d0c9e0a79..9bab0d51e2d27c2780a8b1596bc81089139f123c 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlAnonTest.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlBasicAuthTest.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlBasicAuthTest.php
index 4c3550b002b0c73093068b6c9ec5c75b47eaa0a9..6d24b936b350f49494ea3947a8425cefe583699a 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlBasicAuthTest.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlCookieTest.php b/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlCookieTest.php
index e5ad8f6d790b68c67207f531e2f799fb37ff8908..5b7507a33a855eca11f78b4eb6233aa98fc5812f 100644
--- a/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlCookieTest.php
+++ b/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php b/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
index 04934ca48ebaf11d8051915a7a60a4990c6ac04e..8029164aaf2396b3462edce7141a9dceaed07516 100644
--- a/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
+++ b/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workflows/tests/src/Functional/WorkflowUiNoTypeTest.php b/core/modules/workflows/tests/src/Functional/WorkflowUiNoTypeTest.php
index 298c0002c3b4b6af161d68c820d0e5d75702397c..3025b0c4b606ab510943cc301bfcac7429ce77d5 100644
--- a/core/modules/workflows/tests/src/Functional/WorkflowUiNoTypeTest.php
+++ b/core/modules/workflows/tests/src/Functional/WorkflowUiNoTypeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php b/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
index 75ab3856340bf1960823279e1d8892d037b54363..15285313097045b56b1660f1364619f57b166b5b 100644
--- a/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
+++ b/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workflows\Functional;
 
 use Drupal\Core\Url;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php
index 17c0e7ea0800a9bedf16c3d6b37a11f5e6087104..e248ce31ed3685c6dc13aa07fa0eb0045161bdeb 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonBasicAuthTest.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonBasicAuthTest.php
index 29cfca9bd762d6b729121fa6a1f83d340fa93999..b30d7cdacac54bae87bf94d73253e7cfd43bdd37 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonBasicAuthTest.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonCookieTest.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonCookieTest.php
index f7c230df2ca975f017e82651e5b3f8cf75b85add..f36087e4ccfe51ff045acbb5351308689c0c0ab4 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonCookieTest.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php
index 4dea47dc4fd4b5e61a80a31b3b2863a8d391e66d..000836c394751252cb9bde703db6672059101924 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlAnonTest.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlAnonTest.php
index c2c5f3c5d4e321b38adc036a9104233dd479f114..b28f5a47412df8e1f12d12731c99984d5fe4a16a 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlAnonTest.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlBasicAuthTest.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlBasicAuthTest.php
index 03ba901dfc80e74e1800b92639602787abcc52ac..d2554ba096e642af0d194bd74bb5a1962dde2386 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlBasicAuthTest.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlCookieTest.php b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlCookieTest.php
index c7066a8dadaf0c03b90be6414da906b9258a01bc..acece12a7a9d75bd2c0bcc87bb7cea5651a2c30f 100644
--- a/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlCookieTest.php
+++ b/core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\EntityResource;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/GenericTest.php b/core/modules/workspaces/tests/src/Functional/GenericTest.php
index 7ca8f7d54f7f212aa3185f1db0b3870b42058fb4..fb7ec2d0e7327e1452a6c923186a11a5758e71eb 100644
--- a/core/modules/workspaces/tests/src/Functional/GenericTest.php
+++ b/core/modules/workspaces/tests/src/Functional/GenericTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php b/core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
index c586e1492027d04880211c345c0eedb37ac437fe..97ab6dfc54900a3e8ac3720ed8bc334913dd069c 100644
--- a/core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
+++ b/core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php b/core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
index cf9cd236b2a6885b36a19a6727a7c03485adef81..61c69112c3a281e37262817bb9ef8e6d57af8e02 100644
--- a/core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
+++ b/core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional\UpdateSystem;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceBypassTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceBypassTest.php
index e4614d7d4a737c470f9426513255d4b8262f4544..a60ed8600c4282db8766d6f388956041f4aa32ea 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceBypassTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceBypassTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php
index bb2df2285f599b260a59b2b0a43845ebf4050d94..40edb1a68ffc50bf7056642119ddc6af58871a9c 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Core\Cache\CacheableMetadata;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
index 3e4fce715b0726427609ae90cd1fb599821acfb8..3c21fc67330abc7cb968db95b4354cfa50ed56ef 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceMenuLinkContentIntegrationTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceMenuLinkContentIntegrationTest.php
index 9be9b23d4222dbe5fa8a8452a446d38a5d0ea1d0..7c8451730652d7c9dbe48cb42db170d32cb96b75 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceMenuLinkContentIntegrationTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceMenuLinkContentIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\menu_link_content\Entity\MenuLinkContent;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspacePermissionsTest.php b/core/modules/workspaces/tests/src/Functional/WorkspacePermissionsTest.php
index f0b3e2954646a3beccb425584ee90dde0bd77979..3650a9bcde08a63dd114d681f9fc75b34caa5ffe 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspacePermissionsTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspacePermissionsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
index 2299d4986c65048cd520607096dfd2c3e101a933..dab9fa2dbfe19c66985b416e10a7ef0349881c4d 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
index 524413750b58a639c7aaa3482a556ce7bc73a4c5..29aee8722f90595377264de20b1d20402bcfa472 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceTestUtilities.php b/core/modules/workspaces/tests/src/Functional/WorkspaceTestUtilities.php
index 217d896082ca5c0897b4dad742b986c44ce1d7b6..b31327dcc10a644ab301bfe70a9af3d017adbfb6 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceTestUtilities.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceTestUtilities.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\block\Traits\BlockCreationTrait;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceViewTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceViewTest.php
index 36e316b68d190785d19a174000ac7510d0b84244..266d2c2ff5750194a50dfc9514c57550830041f3 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceViewTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php b/core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php
index 019870209b9a7d16dbf0ba2326543cd1884a8ea3..65a986e91fce1b95776606c0f042f8eb0cf531f8 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\workspaces\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 3b910afac93d8a877afb3fe4958a465b052a9701..9a31efd4c511382c41db459463b21c55198a9bf1 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -274,6 +274,7 @@
     </properties>
     <!-- @todo Broaden this in https://www.drupal.org/project/drupal/issues/3400434 -->
     <!-- <include-pattern>*/tests/*</include-pattern> -->
+    <include-pattern>*/tests/src/Functional/*</include-pattern>
     <include-pattern>*/tests/src/FunctionalJavascript/*</include-pattern>
     <include-pattern>*/tests/src/Traits/*</include-pattern>
     <include-pattern>*/tests/src/Unit/*</include-pattern>
@@ -282,8 +283,6 @@
     <include-pattern>./modules/system/src/Tests/Routing/*</include-pattern>
     <exclude-pattern>./tests/Drupal/Tests/*/Fixture/*</exclude-pattern>
     <exclude-pattern>./tests/Drupal/Tests/*/fixtures/*</exclude-pattern>
-    <!-- @todo remove after https://www.drupal.org/node/3399746 -->
-    <exclude-pattern>./tests/Drupal/FunctionalTests/*</exclude-pattern>
     <!-- @todo remove after https://www.drupal.org/node/3399388 -->
     <exclude-pattern>./tests/Drupal/KernelTests/*</exclude-pattern>
   </rule>
diff --git a/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/DefaultContentFilesAccessTest.php b/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/DefaultContentFilesAccessTest.php
index 4a176df14b512b5c46e26c66d21c95b9f5e38a0c..8aa6680ed34ba6f74e3ac4658f4c2144421d81d8 100644
--- a/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/DefaultContentFilesAccessTest.php
+++ b/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/DefaultContentFilesAccessTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\demo_umami_content\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php b/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php
index 4e1de92bbc6bba80f8be4d136d4a1732fd5839aa..65606250102c1cf846c880203005c8efa2913825 100644
--- a/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php
+++ b/core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\demo_umami_content\Functional;
 
 use Drupal\Core\Entity\EntityStorageInterface;
diff --git a/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php b/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
index 70f7e4e08ebb44537c364ad93d5aa012f034fc47..78551c68aab5f8b9c544400297fa101bcae3764b 100644
--- a/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
+++ b/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\demo_umami\Functional;
 
 use Drupal\ckeditor5\Plugin\Editor\CKEditor5;
diff --git a/core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php b/core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php
index dc83137f56b1615ab60e3ab13590c43bc301f6c5..088910834a0ae95bc6b969d9a5fe37ce092b889e 100644
--- a/core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php
+++ b/core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\demo_umami\Functional;
 
 use Drupal\FunctionalTests\Installer\InstallerTestBase;
diff --git a/core/profiles/minimal/tests/src/Functional/MinimalTest.php b/core/profiles/minimal/tests/src/Functional/MinimalTest.php
index 52531ba8805012ecb1362b86605278c75b845da3..5bf99e3343bc445f25cff9023efc9b3a56c093eb 100644
--- a/core/profiles/minimal/tests/src/Functional/MinimalTest.php
+++ b/core/profiles/minimal/tests/src/Functional/MinimalTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\minimal\Functional;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/profiles/standard/tests/src/Functional/StandardTest.php b/core/profiles/standard/tests/src/Functional/StandardTest.php
index 097bf9e61fda59f0b26026072e402339241a93d8..da90fac2bb62e08f581aa43704328b58fa2a1c1c 100644
--- a/core/profiles/standard/tests/src/Functional/StandardTest.php
+++ b/core/profiles/standard/tests/src/Functional/StandardTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\standard\Functional;
 
 use Drupal\ckeditor5\Plugin\Editor\CKEditor5;
diff --git a/core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php b/core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php
index 67a329b7f047917da1e21b897afe29dd321c090b..35dffa74465e98671eb1a9b24a2b2b04a5e2e15f 100644
--- a/core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php
+++ b/core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Asset;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Asset/UnversionedAssetTest.php b/core/tests/Drupal/FunctionalTests/Asset/UnversionedAssetTest.php
index 8f2efc3efd6da22491892a198412daf714dc63f5..558803657a293d24c362d9329aa9c1d22c5ddfde 100644
--- a/core/tests/Drupal/FunctionalTests/Asset/UnversionedAssetTest.php
+++ b/core/tests/Drupal/FunctionalTests/Asset/UnversionedAssetTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Asset;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php b/core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php
index 17cf4b3efc1887406a684053640a5eb44e18bc5c..498961a10bf13f02005207d2fe373a9ba07f3cde 100644
--- a/core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php
+++ b/core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Bootstrap;
 
 use Drupal\Core\DependencyInjection\Container;
diff --git a/core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php b/core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php
index de1fc0c171120742a75bd8744456ee7055ea88b6..e1a08e8c76f51353119094928e0d5ccda32db85e 100644
--- a/core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php
+++ b/core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Bootstrap;
 
 use Drupal\Core\DependencyInjection\Container;
diff --git a/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php b/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
index bb741b0738551c80b7f6d2522f10286699154719..875f7f2bedcf0fe3b33dce295f65e8639dccd822 100644
--- a/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
+++ b/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Bootstrap;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/tests/Drupal/FunctionalTests/Breadcrumb/Breadcrumb404Test.php b/core/tests/Drupal/FunctionalTests/Breadcrumb/Breadcrumb404Test.php
index 7c069f4473419b786cab28bb35bf57aa3d243f9c..c0814dd7b63a27cfa0d1e16ae9920203f12a6cc7 100644
--- a/core/tests/Drupal/FunctionalTests/Breadcrumb/Breadcrumb404Test.php
+++ b/core/tests/Drupal/FunctionalTests/Breadcrumb/Breadcrumb404Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Breadcrumb;
 
 use Drupal\Tests\block\Traits\BlockCreationTrait;
diff --git a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
index a6cbfb723a77219e106129529a092e7b549df25e..649b4d0476273904fc2a55da2b9502ac156d561d 100644
--- a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
+++ b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Behat\Mink\Exception\ElementNotFoundException;
diff --git a/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php b/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
index b7aa2a02bd02c38bc150cd08c2b157862559ee3e..80de5219b26dda61909696695f301e946e6b1301 100644
--- a/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
+++ b/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Core/Config/SchemaConfigListenerTest.php b/core/tests/Drupal/FunctionalTests/Core/Config/SchemaConfigListenerTest.php
index 411dd374b200fb33e061c75f1bc454decd7f20e5..d42b356c641e85331d36d423078aba0f7e8d3937 100644
--- a/core/tests/Drupal/FunctionalTests/Core/Config/SchemaConfigListenerTest.php
+++ b/core/tests/Drupal/FunctionalTests/Core/Config/SchemaConfigListenerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Core\Config;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php b/core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php
index c8331bdefb6866d6825a08e5588976b69ed105f6..43eab184a55ab92c8af8f16a0d1fb8925feebc88 100644
--- a/core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php
+++ b/core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Core\Container;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php b/core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php
index 3bf59c0400bc192d4197a870111354e92dedc7f4..732df7743d1318ce2ca3bffc931acb63edf4f399 100644
--- a/core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php
+++ b/core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Core\Test;
 
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php b/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
index f00a79b822893c47531215722f5582b9fec01097..f978361cf4c268869e4c6bb3a7e7953bb4d9e14d 100644
--- a/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
+++ b/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Core\Test;
 
 use Drupal\Core\Url;
diff --git a/core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php b/core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
index 1b96fe8477aabd9cf9c3102dbf13094d86091cdb..12d5fba2776785329a23d01a3a1957ba11fff9e0 100644
--- a/core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
+++ b/core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Datetime;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php b/core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
index c84e0c875d284349f1b64163f31d0a5198bebc4d..a854f48de91988535ed498edf8b1b6e2fe088829 100644
--- a/core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
+++ b/core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Datetime;
 
 use Drupal\Core\Datetime\DrupalDateTime;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php b/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
index bd4cb68c126d5859a6a7a38f3e88875031d75c30..87833a8b8bd77874ca90fbcd89d1b9613ad170aa 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php b/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
index 63765337939d8caff58d5d1dd3c85739463b3440..b299c82a89067feb5566ddc5af88e207cf6a26d2 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php b/core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php
index bc8d2a885c06e679f06e2d1b97bc85959edd2418..3afa1e01caa40bd5f65283348ea4a381d29335f1 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\entity_test\Entity\EntityTestBundle;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php b/core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
index 6cc9c3d0b99da9973c6ca10d9ffcd16836304758..aa5d0fbaacb12661402e00065316fdd459fb01e1 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Core\Url;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php b/core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php
index 7899ebe05e90666a009956445e7591f04c628b0b..cd90ede9d8c490bdca6536dfbe1b9750ad8ec0e6 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php b/core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php
index 6c774ae37ab4eb59fc6f00b848d4d1340b0489bc..10938d252ebe6b35f857b2a2c19a3aede59c92b9 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Component\Render\FormattableMarkup;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/RevisionRouteProviderTest.php b/core/tests/Drupal/FunctionalTests/Entity/RevisionRouteProviderTest.php
index 5626c8f162352c013a7ae80f5a17b4a0655d57d5..e59fe25e25e315acc5b4eb21a433300f7721f651 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/RevisionRouteProviderTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/RevisionRouteProviderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\entity_test\Entity\EntityTestRev;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTest.php b/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTest.php
index ee7041c43fbad558513dc43ce4efd4cf2da82b41..cd6eb4f665597bd8db76fd9d6ece243e0c02bcd0 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Core\Entity\Controller\VersionHistoryController;
diff --git a/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php b/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php
index 4550597e6f6d24379f7d92e163981128a9806880..2625feb5ec38847d7af7336ed497ffa4b0691d08 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php
@@ -1,6 +1,6 @@
 <?php
 
-declare(strict_types = 1);
+declare(strict_types=1);
 
 namespace Drupal\FunctionalTests\Entity;
 
diff --git a/core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php b/core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php
index f2054caf7f16de9a17b6775a03256d21077ab385..1d78968f952a7d782a039ca2897b28af13c4de78 100644
--- a/core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php
+++ b/core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Entity;
 
 use Drupal\Core\Entity\RevisionLogInterface;
diff --git a/core/tests/Drupal/FunctionalTests/EventSubscriber/Fast404Test.php b/core/tests/Drupal/FunctionalTests/EventSubscriber/Fast404Test.php
index 21444c746e9720eb2b6252d61387b988edc805bb..77c9b0f00b73a1c5c4ca49163cabfc181bc234fc 100644
--- a/core/tests/Drupal/FunctionalTests/EventSubscriber/Fast404Test.php
+++ b/core/tests/Drupal/FunctionalTests/EventSubscriber/Fast404Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\EventSubscriber;
 
 use Drupal\file\Entity\File;
diff --git a/core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php b/core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
index 3a8a1342d84c5ec4b529e55c437297791f48c5d3..2989a378b397a69fde24264180d4256e94b1b35b 100644
--- a/core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
+++ b/core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Core\Database\Connection;
diff --git a/core/tests/Drupal/FunctionalTests/FolderTest.php b/core/tests/Drupal/FunctionalTests/FolderTest.php
index 923849e561c8143512971ed877354e2250783d53..131d1c0c053e979a224df6df77408d4f3f4428d8 100644
--- a/core/tests/Drupal/FunctionalTests/FolderTest.php
+++ b/core/tests/Drupal/FunctionalTests/FolderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php b/core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php
index 123c22b57380c77fdc126dfda885b3a95b1c305b..1fc66bb0b71bf502720bfc6972b08b8d2cc39f69 100644
--- a/core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php
+++ b/core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Tests\BrowserTestBase;
@@ -23,7 +25,7 @@ public function testGetTestMethodCallerChildClass() {
     $method_caller = $this->getTestMethodCaller();
     $expected = [
       'file' => __FILE__,
-      'line' => 23,
+      'line' => 25,
       'function' => __CLASS__ . '->' . __FUNCTION__ . '()',
       'class' => BrowserTestBase::class,
       'object' => $this,
diff --git a/core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php b/core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php
index 9baad8f27b3b889c1e9d35add1d047c00e15eaa9..51a61a7d83ba5b45439796828269d4e46a460620 100644
--- a/core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php
+++ b/core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Tests\BrowserTestBase;
@@ -23,7 +25,7 @@ public function testGetTestMethodCaller() {
     $method_caller = $this->getTestMethodCaller();
     $expected = [
       'file' => __FILE__,
-      'line' => 23,
+      'line' => 25,
       'function' => __CLASS__ . '->' . __FUNCTION__ . '()',
       'class' => BrowserTestBase::class,
       'object' => $this,
diff --git a/core/tests/Drupal/FunctionalTests/HttpKernel/ContentLengthTest.php b/core/tests/Drupal/FunctionalTests/HttpKernel/ContentLengthTest.php
index 8400494c05f41c578e0379044bbed08a635a046f..20145dc37116d9c5688d9b61ba5c5c1415495bd4 100644
--- a/core/tests/Drupal/FunctionalTests/HttpKernel/ContentLengthTest.php
+++ b/core/tests/Drupal/FunctionalTests/HttpKernel/ContentLengthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\HttpKernel;
 
 use Drupal\Core\Url;
diff --git a/core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php b/core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php
index 99ea4944ea368ba6b7df9db513b331ca4ebd13f0..84d7f5c5230a259aa4dba5441afef27695630d42 100644
--- a/core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php
+++ b/core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\HttpKernel;
 
 use Drupal\Core\Url;
diff --git a/core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php b/core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php
index 38cad0a6385425042b1e4e408b6fa81da98322c9..317fd82cfa9a6c72a55020e63b13b4d11238ad03 100644
--- a/core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php
+++ b/core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\HttpKernel;
 
 use Drupal\Core\File\FileSystemInterface;
diff --git a/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php b/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php
index ab95bb96d9e27c28c32c0337da4d8ab935362dd3..2c2fac2822aad1c1c1f9b54151de1ff73beeefed 100644
--- a/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php
+++ b/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Image;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/ConfigAfterInstallerTestBase.php b/core/tests/Drupal/FunctionalTests/Installer/ConfigAfterInstallerTestBase.php
index 741ef8276f4c8e7c01616f9717bc306c69dce182..7746bff7959256780d03078b9db13c9c9c006605 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/ConfigAfterInstallerTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/ConfigAfterInstallerTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Config\FileStorage;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
index bb307e01a5f94a6bc4afa8f903652abdd71c11a7..3000e3927176558a0c14ec9e5332576f2dfc8d69 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Component\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php
index 74cf129b22c8eb0f8bfecc8f6f1333d31feeacee..91ef89b3063fd970dc2dfb30b2a98d9188628d16 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
index efb28dd30218ff4d0ad964fbd9dd7e3d3fed7557..3b3b1cfac89ce11ce5a3c0ec9eab240f2c6b52ba 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
index abfb12aaaa19641bb3c604c62a4736ff9091cdbd..3e5124d4da1816d61b835cbf3cbf141475bd1110 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php b/core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php
index e9d0493de8d502d99b2b13923cce515bf19f2f8f..a0a9a0d50460633153b27f5ea865ff1a2e4d6397 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallProfileDependenciesTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallProfileDependenciesTest.php
index b112840e3dae6e9372a8de0ef629ea5b4198ea19..f5c75f52b8dc63f5f749756260e4e454032bdc31 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallProfileDependenciesTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallProfileDependenciesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Extension\ModuleUninstallValidatorException;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php
index e47d3f93a2f1fc4b3872eec28bfb6f22f9e3c7bc..df46df638f9a76ee475e1e2486ed4aa3be03edbd 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php
index ce485628e18c40a6fcf295c406c84c677ba9702b..3f9764088868b25e910242aa43fb3ec714ea6f49 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
index 6ac373a73c2ca5b40df74954580ce5f4d230162c..99a2524787bc847bbda6869c70422b8550e47880 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php
index 4c9fbf352629f257b0abfadc69a336472706ddc5..8ebed8eb4c4ab9f74488ca2a63443f9f6e391181 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
index b47c6d33a20af716a9c91e4c62a4e994c41a788c..441d2fa0003534ebf2b0ba4fbf54962be6aa1fbb 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerDeprecatedDriverNameTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerDeprecatedDriverNameTest.php
index f1c72c8a59804c63a8dc06e608a9e370c9822550..960671162c24e042016ad3c04e52f0214e853ed4 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerDeprecatedDriverNameTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerDeprecatedDriverNameTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php
index cca0b5fb3d177a9f67903c8ad64a32bfd6c79d61..d158e865e8b226bce3713e8a6bcdb489ea576bd8 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php
index 0e2822cd73fd42290b1d80b291502e603060abcc..771e88ea99d5d416a472aa7a23145b0c9db0191d 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigDirectoryTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigDirectoryTest.php
index 690cd6363322696132821b980cab39dd0b45ba9a..227f73e09db5f4ed478153287179fd6387428634 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigDirectoryTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigDirectoryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigExistingSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigExistingSettingsTest.php
index fe762f113afdb1ea7d41e4e107c061102d08000e..089fdd9368066317b8be96c69f434e667afd2e7d 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigExistingSettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigExistingSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigMultilingualTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigMultilingualTest.php
index a76a440f3b30a7b8bdb5135240ffe6ac9c05e8f9..a02e75213b460780f2b384b67b0b575cffd4029e 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigMultilingualTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigMultilingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Logger\RfcLogLevel;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoConfigTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoConfigTest.php
index ddc256a45766d7595fb7b5a0a821d367236381af..5fbdfd9d9b29d7a141ae12cc19270d10aa01d047 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoConfigTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoConfigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php
index 4796bf23f32b21640d554a8173ed64fadf3e115d..02328983ca654a5f5808fe00c48c6a45ddf53d23 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php
index d02f42f67b70c0cf532c4b33fcb41b0bddbba6d7..838e91e51245af6d919b73852abf6ca990a50d12 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php
index f3f6156c2516456b769cc9357d033feb8c1f89a2..52e3ebe5a428988c290413524f9b938575b83486 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Component\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
index 42c0a0181cdb558d58501613998caccd4cda70d4..5d00a77adb14d49086b634afea87c5cae3501514 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php
index df700dfda26f7492c49446a84fa11f00622ad362..dac5d25219e9b376fc9425308242babd662b392d 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php
index 47da2faa36b7b0ed6d0d8a2ac62c50897dc02bc8..7a814e80c342df3249775f29c143dce5851f8ec2 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 // cspell:ignore enregistrer
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
index 1e04685e241d778607c49c53224fd5d6158d7c5a..fc98122f37b3e6d82ba7bbf8b213efb4ee3b7b3b 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Component\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php
index 53a615b57cd57a95ad5291d51fc794678a7d8498..5e1ca85dc990e9b5c01a338574a4518a706f2409 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
index 8090b99bae89cb78454cee5cc2c9880766cd0560..9ee4a4b691f3568a6e1c2a4f441a89207e971f0c 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php
index 08a4a390cab965ca821ee725290a134668e88d2c..cf7813321c6ff0ac843509c3fe307fa9ac5afa31 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\DrupalKernel;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php
index 17c4b5c1b4bf55a98978dd2e3dc99109031a9a25..4425352b4be8f2e52aa7a43f00a00785e50e1330 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguageDirectionTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguageDirectionTest.php
index 044506b6c45064493a404e111a91e6f772b3fba9..7935aaf03a40e7428951a85bb29b4c1823a1e861 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguageDirectionTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguageDirectionTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php
index 3cdc35e7e12e019f8db1705c5c07a0efc3375119..1338991438aa59fba8275b5f670260bf21484d4f 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Language\LanguageManager;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php
index fa995dd677ee2841e9853ddd7476eba8e0ae235d..a0ddc15b33ce327312be81d445652224d84c611c 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerNonEnglishProfileWithoutLocaleModuleTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerNonEnglishProfileWithoutLocaleModuleTest.php
index 142c88bb9ed544d46d61a45e57a387ea262a3a2b..aa395890a6b7e88b89e17123390756b31acc133d 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerNonEnglishProfileWithoutLocaleModuleTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerNonEnglishProfileWithoutLocaleModuleTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerPerformanceTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerPerformanceTest.php
index 22541572baa6fb2bc06b85418263156fee8956d9..8769c8ccbc43cb5584a9475d7958dabd5ef8491c 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerPerformanceTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerPerformanceTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Routing\RoutingEvents;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerPostInstallTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerPostInstallTest.php
index dfbecf676021e0a480c8a8307297d9600a85e4ba..1e62de937c6a4ab899af22ad87f5265ade827716 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerPostInstallTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerPostInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php
index a7bd9ce603f3fd0dfeb2e0e0a322ad10f6ccbbc4..8fc1d041dfc95e0f8286be0936746a88d8ab291c 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerRouterTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerRouterTest.php
index 0e41e6a58c89d4d1bb5a888e293ded1e5bf73500..41839effe1113df2024ac24cbdb7ec82fab7d603 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerRouterTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerRouterTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Routing\RoutingEvents;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php
index c09bf838e4ed3f83f3a6d3067e773daa0628fbaa..5c46d446e528f45db5f9dcedcf2561d108a49fb0 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php
index aa81b33e7f1fc3c28530eff82cf7fbb6d033dbd4..74750099f304f46e84be7d8723bbf99dc7affac4 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
index 1505138845cb5672ffc74395cceccb971f91ed12..17e6c47dee0e606647f2ba2b03b2c2d00af6b4ed 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
index 52c226c93ea38807acc65e4066f90f43fd40ca70..a527f3ab234fe054f466788b35b1164a7fa0c1bf 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\DrupalKernel;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php
index 2f99801d0e5f912b13fdc64f2ada940ae8d5edbd..8418b92566d6abff48f72403e34a432a31d7c3be 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\block\Entity\Block;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php
index 7d9260afa21a5e28e17c3625ff5f7c1accad867c..9c2c4a2a4ea012554a0c7a68399dffda0e8cfe6a 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
index 846aa212ffaaa2511b6e859c5143a57097ef7f16..79b6506979ad27538cb6fcdde8a895ae4f8500f8 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageKeepEnglishTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageKeepEnglishTest.php
index 5ff0f7521d739b411d7a8ee3999b050b8aec7e99..3d83bf8b4cac74c6f34f730ed259ddd5ecbc7e59 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageKeepEnglishTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageKeepEnglishTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php
index 0f30e5fd17c7f4f4f4a6940964b5fe7184b6b281..358ccfd9021098be4c0689dd95f1e55f8c12d1d6 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
index ef920bf13d2ea9dd77be581445ae50e108caea92..b019bd97430e817a04c8c538ba7388ff015c1a9e 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php
index f2eb8ef7c2192377dfa64fc00c6c0297b1b5f7be..748e7dccdb99cbbebf574f107161515eaa981c23 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php
index 66572c45e5b17b391923264bcf0e3e44d07db495..e5ff25fadebe129d67c1eb4411218be44fa4e630 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
index 3b5fec2c26068867a93473a40111f36f5790eb9c..fe9eac77f5a7beb218402e2a7c037abd9e7455a7 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/MinimalInstallerTest.php b/core/tests/Drupal/FunctionalTests/Installer/MinimalInstallerTest.php
index 4ff32ec9d07fc1cd7afd7d2885cf166743b76af6..de134e757f9911eed7ea8a4ad8a89f5de1253c00 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/MinimalInstallerTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/MinimalInstallerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\KernelTests\AssertConfigTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php
index b7754682db491aa8b5a7547ec5582c61b9b48f5d..37f60bcf31da31544e8a571c3cfe34b4874ce9ee 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Component\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php
index 816aa46bed2f9ddfbdedb1bcc87758a4509aa781..0a7bb8d527ad709ffeefbc746e0c3dd099ccce5b 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Core\Serialization\Yaml;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php b/core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php
index a828dda00f372fb0a38b41f034c9aae301603b77..09e6bc6f961f6dfd00251f932df3bb1208f2ddfb 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/SiteSettingsFormTest.php b/core/tests/Drupal/FunctionalTests/Installer/SiteSettingsFormTest.php
index 58fd60ab8194741e642da3c177f5069c7e16ec8c..eb157f6fd64c4d2197780364ecc0898730185b6a 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/SiteSettingsFormTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/SiteSettingsFormTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php b/core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
index d49f373afebc7308d6e5b282b15a1759af07d066..5aba88177c53e1b43ea34bd3faa4d159dda8712b 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 /**
diff --git a/core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php b/core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php
index 4c98bfd5536e8c5afc33805cedccfb053c8ea5bb..2d1fc6e1738ffa0f005facf911bea5cbd34aef22 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Installer;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php b/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php
index 1c144d9173f4788e0bdb5a17d56a6e794dff8dce..5682e321a08f0be33f80ea77bb7171d7a48f4431 100644
--- a/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php
+++ b/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Libraries;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Libraries/ManyAssetsLoadOrderTest.php b/core/tests/Drupal/FunctionalTests/Libraries/ManyAssetsLoadOrderTest.php
index c0271ab8df2c0fece311d3d2a021d67ffeda4f4f..7951249f23f522b397fcafa57609ed1ab6bdf600 100644
--- a/core/tests/Drupal/FunctionalTests/Libraries/ManyAssetsLoadOrderTest.php
+++ b/core/tests/Drupal/FunctionalTests/Libraries/ManyAssetsLoadOrderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Libraries;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/MailCaptureTest.php b/core/tests/Drupal/FunctionalTests/MailCaptureTest.php
index fe5437bd14cc586bd2bbd8c1fd3b4d73f036802d..b6d5c4f147b6764dc3f165b12185093a3fa27857 100644
--- a/core/tests/Drupal/FunctionalTests/MailCaptureTest.php
+++ b/core/tests/Drupal/FunctionalTests/MailCaptureTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php b/core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
index ccbd44277f6dd40ce02099fba16378dd885070ac..5a151815efc3680dfb3370ca036b0601754fac45 100644
--- a/core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
+++ b/core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Menu;
 
 use Drupal\Core\Url;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonAnonTest.php
index 6e75e823763a60493fa73f28d9fba0b04eb84405..76a2cf44718408548b7dd666e99f9fab6b4b4cec 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonBasicAuthTest.php
index fc87e3660bd08c783453e6b24739bae9fd14dfe4..4efe36b43f2b8f75acef0bfa0b55dab50d999cab 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonCookieTest.php
index 142cc6cb095c1738367a64c87a89ee1faa67220b..a73e780d8352c09e084ad6a2a6e696141b8e07f8 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php
index b0225ad4b63228e9cfbb352dadc1fe3946783f72..7003ecded8b09a99540f58d21feba9b5b1d9622e 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Core\Field\Entity\BaseFieldOverride;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlAnonTest.php
index 887c53fd42f68df4656e0fdc791f57b87a3de7a2..44c6a021b1430a77278ae6069b7220bba8f7ac29 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlBasicAuthTest.php
index 25e997731b4375ea9dc272157b079261d842277d..f651db1657d7b70153595e9763e259a140c82697 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlCookieTest.php
index 0aed06ffcb7f7a86bc379ee9e4ca18b311522003..acdede9bfa48546d1882562c2dcb76455c1ed552 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonAnonTest.php
index a114aa609a937155ad5bfc7eae0e6e89f18b8908..68ba252688f6a2e1e736b73ee91945d50efda135 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonBasicAuthTest.php
index a73ce98a69f93d03611016c837ddc90f56fb7850..ecdc84cfd193b999d07b900a341aae8dc5d97383 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonCookieTest.php
index 61e1ccaee5fef0f291cf8edc0e494e510a4b76fe..4067f678cc3be256d74d1a2ab7f2fffb1ecc524e 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php
index 0ae1c2fb3c418d0d45a337231a18963b614b3fee..19696053f34723b01838b09c930a754966deb857 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Core\Datetime\Entity\DateFormat;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php
index 47ea72b28f0088b0073799728547e1d193441f4d..d0e1c012ca2deabb9b2a0d5b6584fb0eb5df655c 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php
index 1aaa843590f65b47d837ec7b299fa068607a42b1..7eee1133be86cb6c11b488b64733311cc26651eb 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php
index 7fd076fda7c9c7dba982d15237e0a8a9146d1d2d..30eb2af68e5cf97790d279e47caf311a638c6a12 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonAnonTest.php
index b39205e65c5d2e11138de0f3fb1e6f1eb48e0983..3b5cc13f9d102bda4e263113b1f6ef9083251618 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonBasicAuthTest.php
index 97347836b75bb583184b762fc24544d922745f2e..432c097d00dfcb192dc877b136a26f5e1f00f7be 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonCookieTest.php
index 1fdebc9f81f211afda2ce0b0233b9bf227b99bae..3ec1cb8f33a80cab2f91c9521558fc4c9f4854ce 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php
index 65c925320e23eb0e8709b7ac04c7e403e6226cac..283915dea38bc9443ad6f8bb10ba699c2360e8e5 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlAnonTest.php
index 56375974cc33af994644b9baeab90dda37ad071f..695905aeae46f1dd87ef020b1a7b07cdb74ce5aa 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlBasicAuthTest.php
index 380127efd0c188be0ef9cbb6b98d2a7921fe2fc1..2941b421968e7bf0c494cd3a3c681ee6dca4bfe5 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlCookieTest.php
index 391370ec84056d14d7073d34e639ecf4f519c58a..915bb21fb2dd91ac2b7e51ec1eedc7f938e0e95f 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonAnonTest.php
index 816e1e9af9edc6f07b2c630f946569187e242931..9f97c320d78ceb3f1aba24dcf0ba50b66ba768e4 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonBasicAuthTest.php
index 5f5a1a0694fe71801b7b64697daefc5c12912c98..bbdff3344046000f8f916ba1abce93cb115abd74 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonCookieTest.php
index f8a1753a8777b02871490533598a53cec5691e98..da6f959e6916a5cdffcaf0e9f88cbfddd928cd5f 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php
index 60a55e92b2d9f67e649d88ca1c67bfa4c8e8b73a..3af62d1121629b4824961e12fcfdb6f67820e916 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlAnonTest.php
index f5065283cc32eb4d7e5fd3a72e6795d8a7bb13fc..bd1ccb0809ed7832afd71be68198a1a5c8eb113b 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlBasicAuthTest.php
index 04f0ec53b2f63549e254b941a1667e6da73ffca3..10d773ee3a1674ee8be770b48e77304c2c39dadd 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlCookieTest.php
index c02d46d58bfc01d496ee1427661898624fc4eb3e..84e96a2d7835e36c0f9a8fa7043dfdc436648a0a 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityFormModeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonAnonTest.php
index 38b1c21f7a147400ec08cee58507b42f6ff92e8b..ab1be70ceb80f6443c608d173565ba140a11e387 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonBasicAuthTest.php
index 9a2f11915f7f05e35395874e74b7681c00843802..8c0f05b4d59ced21d2883d12b4513eba9797b7a0 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonCookieTest.php
index 90ef3a05bc4a93c07c74d674e5b572039ba2d5b6..ef4704da0b2af2c1e1c5d7b04c779e45fc16da4f 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php
index 51e1f2a8eba96c4ecfe594dc4201b59eccf2b22d..b25e43294efaeaf97b4c01c406f8c39a68ed9590 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Core\Entity\Entity\EntityViewDisplay;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlAnonTest.php
index 1ae34e3e8d9be0667f2d915f9f96c080571383ed..d4f0cfe61c6e15215339b36391b1400df0f723fb 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlBasicAuthTest.php
index 33e0c288ba14900ff734b3f2dd90fce44aa62714..09697cbe9f214eb83314498df2ece62bfa7ce022 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlCookieTest.php
index e3f688a670f42d88258d4ca44107d20dba931dc3..c1ef24fe5a39f34345ec60d05cc8ca2468710b39 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php
index 6d65359c916b15134edaaa2d656504a27503620e..7cd8de33e1035848bfcc22062e50e483cd6dad26 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php
index ca333234d3598bbe862b49e43ae9a148d31098b0..8d41d2e7b19acd2de715108e23699157b6f43edb 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php
index 9c8cb402433e76771ea528ba5bb2626a5bc181a4..fe7c0fda9c7f6ad2770f67e852ee7d34a253c265 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
index fc240a568eb8d41b22bf0db7aee09e0f84cc1655..69b374732533acbd9ecfc593e79c8aa93df060cc 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlAnonTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlAnonTest.php
index a518ea3c4767d34d40fe6df8ecbfa17ab3c60baf..5a45858f4b0df55c7f384935267011d24d670fba 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlAnonTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlAnonTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlBasicAuthTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlBasicAuthTest.php
index 9699ef43acfd23033d9217dd875ab0c83dddc88e..53b287186de587f42f8605ed419c3c18c87a08ab 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlBasicAuthTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlBasicAuthTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlCookieTest.php b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlCookieTest.php
index 88df86e5cdcbe5b1c74a906fd2dc4bb74421bede..bbd6438dbccf6d11fd703819c79e12b8fdb11793 100644
--- a/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlCookieTest.php
+++ b/core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlCookieTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Rest;
 
 use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
diff --git a/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php b/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php
index 408593c56a7691ab732a3ae4a938d744c00f93f7..a77f8e4dc5d731a3473dec6bd8cd6466a954bd16 100644
--- a/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php
+++ b/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Routing;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php b/core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
index 8693d110c4adb4f590bf1824aeb268d6f9d7d8d4..8a3cea331cdb1c7af57d97d81f0a2a50b4249566 100644
--- a/core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
+++ b/core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Routing;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Routing/LazyRouteProviderInstallTest.php b/core/tests/Drupal/FunctionalTests/Routing/LazyRouteProviderInstallTest.php
index d0d9be35677e2a805615e422d3dd3be21916111e..b5ec69f803be7de8bd5017d66ce390b7fa9b5a21 100644
--- a/core/tests/Drupal/FunctionalTests/Routing/LazyRouteProviderInstallTest.php
+++ b/core/tests/Drupal/FunctionalTests/Routing/LazyRouteProviderInstallTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Routing;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php b/core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
index 35f01979d30951784a63869e1ec256da1e94f9a4..fd5e94a6f952407310f55fcfa86a780360cf05cd 100644
--- a/core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
+++ b/core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Routing;
 
 use Drupal\Core\Url;
diff --git a/core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php b/core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php
index e620d5c1f3d66b4991715f728bdd6836c2f967bd..3df21995346edbde339852fd3c37312487917477 100644
--- a/core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php
+++ b/core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Routing;
 
 use Drupal\field\Entity\FieldConfig;
diff --git a/core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php b/core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php
index dff4c0a5867d847fcc1c599332cc9452a997f457..0eeb7e4358b40ea6f4ca9396eab01189cd47a304 100644
--- a/core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php
+++ b/core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Routing;
 
 use Drupal\language\Entity\ConfigurableLanguage;
diff --git a/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputHelperTest.php b/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputHelperTest.php
index 4d9013072e18e41c893d7364469d5f92704d1473..66b99d1b6425e81113dc9a7262b0c0970724150c 100644
--- a/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputHelperTest.php
+++ b/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputHelperTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Test;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputTest.php b/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputTest.php
index a1c9ab6ab35a2cc71e56e6ceaf4786056accffe4..ae88182aa68f5733f0932aad37c94e80d4e5f888 100644
--- a/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputTest.php
+++ b/core/tests/Drupal/FunctionalTests/Test/FunctionalTestDebugHtmlOutputTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Test;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Theme/ClaroLayoutBuilderTest.php b/core/tests/Drupal/FunctionalTests/Theme/ClaroLayoutBuilderTest.php
index c20e08b44eceb8dae93c2ab31111e9728b873b3a..49e4fabb2613059b798adf979584e1618e17d370 100644
--- a/core/tests/Drupal/FunctionalTests/Theme/ClaroLayoutBuilderTest.php
+++ b/core/tests/Drupal/FunctionalTests/Theme/ClaroLayoutBuilderTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php b/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
index f1ce5fb2783fdfcd2bfac30be47ef6c1d0fd4488..50b8d636eda610c9d4cb73d16f4354c754c811f6 100644
--- a/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
+++ b/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php b/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
index 0116f511bbf4e2c10ee5a7b734a06e66ffe72c97..c9e42bcc49b00cf749b0566a310364c448c7e897 100644
--- a/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
+++ b/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Theme;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
index df09ec21954ac4cf5ea32443a37b15acfea64dee..f95c60048c6f1cdf9d5a815abd189997fc5ee4a3 100644
--- a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Update;
 
 use Drupal\Component\Utility\Crypt;
diff --git a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
index c6a6874fe1d04311184778509e58973e2eee7082..04f498ef3094a4ecbec001a3531fb3acf1388728 100644
--- a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
+++ b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests\Update;
 
 use Drupal\Core\Database\Database;
diff --git a/core/tests/Drupal/FunctionalTests/UserHelpersTest.php b/core/tests/Drupal/FunctionalTests/UserHelpersTest.php
index b870a95716300eb28c77c5dd1ad7acdead09e2ae..d69d619058f426cd0478568efa286720d7615647 100644
--- a/core/tests/Drupal/FunctionalTests/UserHelpersTest.php
+++ b/core/tests/Drupal/FunctionalTests/UserHelpersTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Drupal\Tests\BrowserTestBase;
diff --git a/core/tests/Drupal/FunctionalTests/WebAssertTest.php b/core/tests/Drupal/FunctionalTests/WebAssertTest.php
index 9739038473c5ae8a18188f5560adcd9984506686..d5b42bd6a6b2e9981a8dd2cc11a23b32ede3c5b9 100644
--- a/core/tests/Drupal/FunctionalTests/WebAssertTest.php
+++ b/core/tests/Drupal/FunctionalTests/WebAssertTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\FunctionalTests;
 
 use Behat\Mink\Exception\ExpectationException;
diff --git a/core/themes/olivero/tests/src/Functional/Update/OliveroPostUpdateTest.php b/core/themes/olivero/tests/src/Functional/Update/OliveroPostUpdateTest.php
index 6625d58dd36e978b7047cac460954168fde132b1..19c43c0032766345af5d7a9b3292755de1f1f2c8 100644
--- a/core/themes/olivero/tests/src/Functional/Update/OliveroPostUpdateTest.php
+++ b/core/themes/olivero/tests/src/Functional/Update/OliveroPostUpdateTest.php
@@ -1,5 +1,7 @@
 <?php
 
+declare(strict_types=1);
+
 namespace Drupal\Tests\olivero\Functional\Update;
 
 use Drupal\FunctionalTests\Update\UpdatePathTestBase;