diff --git a/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php b/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php index 04f1cf99c2171d1d088f10691ff7b16f2c6ae530..08a2ac0752f7fab29b1d95a53e9d984fde4b10e3 100644 --- a/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php +++ b/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\action\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php b/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php index 5177a0255dd7bede05034604b305c47513120853..6e8f9097fb2989e0a11878c560951ad3d12c46b0 100644 --- a/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php +++ b/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\announcements_feed\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php b/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php index 42d61eee5ae4ffc5a358cd80887ccee0eb135f22..4b43d161715e2f36e16a527b430e405da1a16216 100644 --- a/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php +++ b/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\ban\Unit; use Drupal\ban\BanMiddleware; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php b/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php index 32ddc51fc29701296286f8b3794c43468661dbc3..964154eb5ce830d5ebd5da232484c2a71bf48945 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render; use Drupal\big_pipe\Render\BigPipeResponse; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php b/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php index 657ee25e85601a96adc40a2703876a2699947829..c3c7be0a9e34fa710799f2c198d2c6bb0082bb7c 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render; use Drupal\big_pipe\Render\BigPipe; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php b/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php index 9849e116cfa0014adb43c3a62012b1e2d93bb9f7..44c6e26886684c1c007edfe8d3e83583df79d1c2 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render; use Drupal\big_pipe\Render\BigPipe; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php b/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php index dd41f836a47cd5cf28ebc2813b1505d2d02418db..cedb65d997d46ec2e16c106af06b06b51bf864a9 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render\Placeholder; use Drupal\big_pipe\Render\Placeholder\BigPipeStrategy; diff --git a/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php b/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php index 199aac1c7fb215bf86da7ea0b722f8fd138acda2..b12f180a703d072489b0d46489fa434f7f27146f 100644 --- a/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php +++ b/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/block/tests/src/Unit/BlockFormTest.php b/core/modules/block/tests/src/Unit/BlockFormTest.php index 9c0047155f892a7fe1928ea042c047ffb718ea36..73edd5b4cf2ed033df8b20c7ad82aa637a09b026 100644 --- a/core/modules/block/tests/src/Unit/BlockFormTest.php +++ b/core/modules/block/tests/src/Unit/BlockFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\block\BlockForm; diff --git a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php index 9a13978fe13489b22d0698ae5b5976ef62cb0b00..a5abcdf596240f92723b7c143f476dc5bd3ae9af 100644 --- a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php +++ b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\block\BlockRepository; diff --git a/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php b/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php index c4d83aaba9a4fa99064b8c9a1e10de5ce52e55b9..589d1c3f4b21a99d2bce69adb456307a8ca4d9bb 100644 --- a/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php +++ b/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\Component\Utility\Html; diff --git a/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php b/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php index 0141e107e81cf396e12a1164408b6f138cbc289c..06093da237d02a46db6ddd8997ec7a5fbeedd440 100644 --- a/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php +++ b/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php b/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php index 946387c7c2912e35fe9b4b6ad358571686d82496..5842e957d6d279c990ae7c168ae0373ae11f8583 100644 --- a/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\DisplayVariant; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php index c72fed64a29488204d80e8ab1100acd765f56c02..ccd22a0c352961dc839bd34e1896d919a4bd39e2 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockRegion; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php index d73489337f3b0810e5da03714260946d5ff2d9a8..1aaaf0c451b0d77ab45711352e627986d9d5faf1 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockSettings; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php index 746f3deedfcf6fa19848eb2e982123bdd90c0943..ed5e8b81b8373be9cff8c368ff014baec17b9804 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockTheme; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php index c6551da82e15a88e875237c027aaf349a42e2203..f8f939aeae04114376129f65c717ae08a20bfb8f 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockVisibility; diff --git a/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php b/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php index d1d38b89d2da36a04207e4e1a56174c0781ff118..080ba55c245de14183dcac26710e8cfaa92b030d 100644 --- a/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php +++ b/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Access; use Drupal\block_content\Access\AccessGroupAnd; diff --git a/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php b/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php index 8aab22782b05a9f1ed7a2af99ba5db6e862216f8..a407e238875451f445c5c411ccb9d76481ecc087 100644 --- a/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php +++ b/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Access; use Drupal\Core\Access\AccessibleInterface; diff --git a/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php b/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php index d5d773d36a40ba8d50da61da2ec32e8180feb1f1..338240e751c593a3750356ce636bdb7b0fcb1bf4 100644 --- a/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php +++ b/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Access; use Drupal\block_content\Access\AccessGroupAnd; diff --git a/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php b/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php index f1b0c6c978338f23a703f2fbf1981232d11a5dde..1da30a5e54d8b43005c2cc770148392cb44afdd5 100644 --- a/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php +++ b/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Menu; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/book/tests/src/Unit/BookManagerTest.php b/core/modules/book/tests/src/Unit/BookManagerTest.php index ebb8ec976380879a8f92ed992d9dbd0bf6a11075..945b21f788f8697028d1f8ff2fadbc7cee152b9d 100644 --- a/core/modules/book/tests/src/Unit/BookManagerTest.php +++ b/core/modules/book/tests/src/Unit/BookManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\book\Unit; use Drupal\book\BookManager; diff --git a/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php b/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php index 382e778dffc550801a61b42d4cd32ee61daf9552..8d2eddc952bfb495c064031587bb8ab6f0f48fe2 100644 --- a/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php +++ b/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\book\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php b/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php index 82aa9fb9372764cbb19e785be48de36ac368b343..db1732cb7f432641f9ecb39800de515b39f14734 100644 --- a/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php +++ b/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\book\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php b/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php index dbd9de9b13848185ae5cabfe760ba12cf061966a..20a45dceb0ea96f611ec9f113452016800367e42 100644 --- a/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php +++ b/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\breakpoint\Unit; use Drupal\breakpoint\Breakpoint; diff --git a/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php b/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php index b4dd7db1bdc6d9b2100d4a49880a6d2d5d8f3fc9..7b85d9becf1f67fca7cb7b44dc12527ae740f171 100644 --- a/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php +++ b/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\ckeditor5\Unit; diff --git a/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php b/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php index cdad42b7a22c580fe8a83e4656e405d9dbdcdfb7..a923d34f8905a32608b55ccd6063b00dd8dfc6c1 100644 --- a/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php +++ b/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\ckeditor5\Unit; diff --git a/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php b/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php index 0a10ef778ac78556512f6e705382278ba387974c..f590ef6311a1b0f3bd9c8fc80d3b05bf179a7ac8 100644 --- a/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php +++ b/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\ckeditor5\Unit; diff --git a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php index 8bfe6f072a9204560bdd29b5343ba65d7b39a70d..e3163c440babcc07b2ee427e0b41702dcfeb9cd5 100644 --- a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php +++ b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit; use Drupal\comment\CommentLinkBuilder; diff --git a/core/modules/comment/tests/src/Unit/CommentManagerTest.php b/core/modules/comment/tests/src/Unit/CommentManagerTest.php index e93f9c86d077b920d90352fbbb3c59882c5243d1..1409a886d4e3ef91ef38aecfaa344bf906c2206d 100644 --- a/core/modules/comment/tests/src/Unit/CommentManagerTest.php +++ b/core/modules/comment/tests/src/Unit/CommentManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit; use Drupal\comment\CommentManager; diff --git a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php index dc20d23361651bf3ebec7dc1b20dd052c82473df..7658c7d8b091519d2ab6648b1cbc7c56bd2f843d 100644 --- a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php +++ b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit; use Drupal\comment\CommentStatistics; diff --git a/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php b/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php index 3e70f0bb8a154a5484dff2708d3e6a0c3a199789..27441f6d4261393682f9f602aa45600c92eb7eaf 100644 --- a/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php +++ b/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php index 4f769b9382004e56f55481370aa417f17e87ba61..c25bb7489739a78e793b3f51cd7f35f089217ccf 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php index 96d59bc77de00d80a69e7b914dbc81a716aa4864..779137cea013ed46aee4f29246dd25fa8f72c476 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\comment\Plugin\views\field\EntityLink; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php index b8e21dda92184c816ebc41e06798746674cb5775..b66e6714701e11035cf9fe46c58e1e6bb487327f 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\comment\Plugin\views\field\LinkApprove; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php index ed48b8dabd40dd4c4b5df541746c0351b9c150cb..a8fd169c6b0b8d0a0700a32dd34687d21f3e2408 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\comment\Plugin\views\field\LinkReply; diff --git a/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php b/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php index e6705d54037bca93f9091dd284efa9b4e0a6d9a1..496b57fbfbc8ce0f0951bc73f8cffe353305a852 100644 --- a/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php +++ b/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php index ad2aa8894511f10a746a9b5aa388f5522433297f..39b4f2a90bed2283acae0671dff880e9500d482c 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigEntityMapper; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php index 5e436db322085f7c377a76226a8015d391466a86..35fc7a10f20110c9eb6424ef6d640deacbf0fc50 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigFieldMapper; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php b/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php index 6aad4e192de574d98c125380c07aaaa2f1f60f76..81d55a2d57969c66bef71fda040684036b25c913 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigMapperManager; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php index fc2791fb1de10978d73076c217af195e81e68201..23a13bed5f97c5a684f9ef9ef9d98d9d27de513a 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigNamesMapper; diff --git a/core/modules/contact/tests/src/Unit/ContactLinkTest.php b/core/modules/contact/tests/src/Unit/ContactLinkTest.php index 88304410326723ef4e9f6be8585ed83e14b62847..78abf82e04b2ba3ce879d7d8677f5ccf7cc491d3 100644 --- a/core/modules/contact/tests/src/Unit/ContactLinkTest.php +++ b/core/modules/contact/tests/src/Unit/ContactLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\contact\Unit; use Drupal\contact\Plugin\views\field\ContactLink; diff --git a/core/modules/contact/tests/src/Unit/MailHandlerTest.php b/core/modules/contact/tests/src/Unit/MailHandlerTest.php index 50b32628d8b2f3df1371f1fcf76e7857d55a4335..173c9c775232fef66930f2457b5b8b0836b41841 100644 --- a/core/modules/contact/tests/src/Unit/MailHandlerTest.php +++ b/core/modules/contact/tests/src/Unit/MailHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\contact\Unit; use Drupal\contact\MailHandler; diff --git a/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php b/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php index 01125ef764843ede1d4017706db600e3f80f337d..10970b448479ac1a6113b65c20b7128e2b83bba9 100644 --- a/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php +++ b/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\Routing\ContentModerationRouteSubscriber; diff --git a/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php b/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php index 8084716346fbb874c4482978287c7654009bae4d..0a12971d0dfca4cc0bdf2ba860c82218e1f30325 100644 --- a/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php +++ b/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\ContentPreprocess; diff --git a/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php b/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php index 5b84b44fdeadff5228dc9ffc71dc08b85f41b983..c384425e3e5e9fa589cba517c5a41ac7f227a2f7 100644 --- a/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php +++ b/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\block_content\Entity\BlockContent; diff --git a/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php b/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php index eb88edd31a1d42c5fb09ce957595fe29870a6887..0d92309af9ae91dfd9097bdd06224865cc9a2f9c 100644 --- a/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php +++ b/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\Entity\Handler\ModerationHandler; diff --git a/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php b/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php index 4aa71ece42f9e9f43da4a3d69015b3ea3e5506bc..bb314149759398e2dcd81bf92d3b125dbf4bff83 100644 --- a/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php +++ b/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\ModerationInformationInterface; diff --git a/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php b/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php index 9c440fb0e02c912f24ede5ce0e35bfef0cbabc1d..37151e77df2d646ffab2a7acfd7eba684fbea6bd 100644 --- a/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php +++ b/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_translation\Unit\Access; use Drupal\content_translation\Access\ContentTranslationManageAccessCheck; diff --git a/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php b/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php index 00e300ba0696b9b13924edce396a576172aaebc6..a21d03fb576360b23c5d0b2a443d8a6574ae7843 100644 --- a/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php +++ b/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_translation\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php b/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php index e3a7b8ed35e9161477c922ca46f677a83465c5ff..b5dc4b4f42b7bb8750ca37ce35d620ccea1bd2ba 100644 --- a/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php +++ b/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\datetime\Unit\Plugin\migrate\field; use Drupal\datetime\Plugin\migrate\field\DateField; diff --git a/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php b/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php index 13644b499c87c466cbd0fc0b31d0d7959135eac3..ac7af5b79d54828dbb730a069292cbf01a14dcb6 100644 --- a/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php +++ b/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\editor\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php index af2990ffbdad12dfd8bfd698cd5ac044483bc55e..ec4c927676db23532ebb169228aad9822f85b15c 100644 --- a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php +++ b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\editor\Unit\EditorXssFilter; use Drupal\editor\EditorXssFilter\Standard; diff --git a/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php b/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php index 986131d8a43a66bce9bf5624de770159b0ffda77..67d900c626e0c7b887459fe68c32a0fffd1f4354 100644 --- a/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php +++ b/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\field\Entity\FieldConfig; diff --git a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php index 99c7b0c89b5916d21a72e50af2dae2a1f165afe1..5797c8a352057d06334296667a295e50218bb10c 100644 --- a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php +++ b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Core\Entity\EntityType; diff --git a/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php b/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php index 7ce3c92c7f8be02cfface3e64505bede486740b4..ab0f9d2492e6dfc8ccdd18cb1c98e79c429b5771 100644 --- a/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php +++ b/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Component\Uuid\UuidInterface; diff --git a/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php index f510bf7b08f5a2fcd9ce6b7d159291bb14e6ecd8..9cec8d16d89c13cb20c14ab2c4839c756c697daa 100644 --- a/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php +++ b/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php b/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php index 6bb7575f5172a5dc635b30e69dd459d607fe7f5a..ebd28aaacf46b38aa9d0697c374dbb5eaf78ff14 100644 --- a/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php +++ b/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php index 4b801b12ba42db2ee2b07eca42cabb2487e885a7..4cf3a3fb4c739ec2600a468af44ff27f8ca82512 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php index 9d099b9a11921ba3ba8818d7aea1456790b5b4f1..e72ddecdbaeaeed7a308d3c15d709000bcb686c2 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d6; use Drupal\field\Plugin\migrate\process\d6\FieldInstanceSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php index 1664d97aab1a3bd24d688925311cb4fe91919a10..657cfb327303d0b9013458e04751a9b11cff13e3 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d6; use Drupal\field\Plugin\migrate\process\d6\FieldSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php index 5c4a66c5461252d3198e3fad37fac5968f9b8508..d3f3c3b7b1a905c3cdc2566fe119a7a770bea124 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d6; use Drupal\field\Plugin\migrate\process\d6\FieldTypeDefaults; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php index d6860a78800e73d8091feb16dc583ae6fea79c06..c7c61905970b84fdfcc010a952a7f4f17a0f5414 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d7; use Drupal\field\Plugin\migrate\process\d7\FieldInstanceSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php index 5a55adec32a06c8d9ab9dc1db86f6d2a52f9dea4..f7d53f61e09bd88025ca45df4278341920f29544 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d7; use Drupal\field\Plugin\migrate\process\d7\FieldSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php index 0a46b82dfa6143bb59102a6b048db27d37d48090..eef26b0c4e054f0995f9564fb657d5b869503cfd 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d7; use Drupal\field\Plugin\migrate\process\d7\FieldTypeDefaults; diff --git a/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php b/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php index 431b8c1d35e8bc178e7ac54c22e03125976f96a7..8c1d21d20d09ea39843f8f91a4353fc87f1618ce 100644 --- a/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php +++ b/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_layout\Unit; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php b/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php index d680842acc1d7953edc56e6f388cb6e34b7aca79..e9c3a14a3169fcc0009ac8cc73570b0965a31049 100644 --- a/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php +++ b/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_ui\Unit; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; diff --git a/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php b/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php index ae8d8bff547920eb2433eecfb322d01b90111d14..8ba2415b13e0f48ac43f1ca9983e3fe3e8110cad 100644 --- a/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php +++ b/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_ui\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/field_ui/tests/src/Unit/FieldUiTest.php b/core/modules/field_ui/tests/src/Unit/FieldUiTest.php index 9582b70bde3daaa8164a2cc51a4e8b5e24baa9e8..1130714566ae21e0d8068dd3b3a9aa045630e95c 100644 --- a/core/modules/field_ui/tests/src/Unit/FieldUiTest.php +++ b/core/modules/field_ui/tests/src/Unit/FieldUiTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_ui\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php index 4f3a13f209bfccf060a246ef9612433062cfa57f..2e8e046dc558c1232d4b583c564a4797a5ea4e07 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\field\d6; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php index 37e27a23407251d7f1e215a9e75e9c12c047e462..10b3297c07c9871dd0f531782be04a92cb56eeb2 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\field\d7; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php index ef42c6a2d5ee8306282b1283fbad2e12c5ef029b..be96d280e92d6c7332187206bd9ebfd663327977 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\process\d6; use Drupal\file\Plugin\migrate\process\d6\FieldFile; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php index baf04dc41673191f5a7f540aaee69be617dfc519..a984e42424c144c5e86da7c56ae3e3bdc61b72f3 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\process\d6; use Drupal\file\Plugin\migrate\process\d6\FileUri; diff --git a/core/modules/file/tests/src/Unit/SanitizeNameTest.php b/core/modules/file/tests/src/Unit/SanitizeNameTest.php index dfe3b4675c2162511bc617694726660555662bc9..33b544f7bba2a19cb186876bc5f81a972bd71dd6 100644 --- a/core/modules/file/tests/src/Unit/SanitizeNameTest.php +++ b/core/modules/file/tests/src/Unit/SanitizeNameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit; use Drupal\Component\Transliteration\PhpTransliteration; diff --git a/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php b/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php index 04c6f9d1f614f4290754972a145695fb88e16817..2d3545306b8a98cff896af3f4a9f8258e241a4b1 100644 --- a/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php +++ b/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Upload; use Drupal\file\Upload\ContentDispositionFilenameParser; diff --git a/core/modules/filter/tests/src/Unit/FilterHtmlTest.php b/core/modules/filter/tests/src/Unit/FilterHtmlTest.php index 7ffb1691dd098d1f8fb2193b6bfbe953d6efe91b..1c3e3f054d61d7ec677765234e6fc5fdeb5b4898 100644 --- a/core/modules/filter/tests/src/Unit/FilterHtmlTest.php +++ b/core/modules/filter/tests/src/Unit/FilterHtmlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\filter\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php b/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php index 9686beb343a0a77f6de25caccb170fbc5d1ce2c0..847b3dcc5ff08dac9478b9d0716852d897062d59 100644 --- a/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php +++ b/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\filter\Unit; diff --git a/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php b/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php index 2af37aa020138d01ef975c48fbe8f1f059b019cd..b3319192cc60135d7d3b638e0c5d745f83b55322 100644 --- a/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php +++ b/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\filter\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php index 9d4c3ff64d7861e81da30b1c7b09de236f52b98d..185455e9e03097e365d9e36aeccc9f9a5eeb452e 100644 --- a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php +++ b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit\Breadcrumb; use Drupal\Core\Cache\Cache; diff --git a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php index 42d15d46b55a3cd25172803c101bf61e375a6743..269c13f447643bc729c8a4b3bd731da0674bca79 100644 --- a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php +++ b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit\Breadcrumb; use Drupal\Core\Cache\Cache; diff --git a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php index 893b483050e0e42603d3cb3ccae8f164b38ec87d..de013135980d4874743ae16b7ff032c83509768e 100644 --- a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php +++ b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit\Breadcrumb; use Drupal\Core\Cache\Cache; diff --git a/core/modules/forum/tests/src/Unit/ForumManagerTest.php b/core/modules/forum/tests/src/Unit/ForumManagerTest.php index e0c9055846b3afcb281a8b66b24d7d0ede9fd913..e61dcbf07f3b544068ce988eeeecfc584dbc3db6 100644 --- a/core/modules/forum/tests/src/Unit/ForumManagerTest.php +++ b/core/modules/forum/tests/src/Unit/ForumManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php b/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php index c6c84c8fb84767234cbc715febdf318de8766188..d07bc5f9f969839f647a58abdc959e7575d725d9 100644 --- a/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php +++ b/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit; use Drupal\Core\Url; diff --git a/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php b/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php index 7ad1c6f20e543997f41d3f9db2e42d24aedc2301..7ee16b4b40a8bc7807a43b6a2b1af0c7e5cb4243 100644 --- a/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php +++ b/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\help\Unit; use Drupal\Component\Discovery\DiscoveryException; diff --git a/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php b/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php index c4cbfff7436c070cb1b24628b30a720eefdb039a..df47e13b930a629fd38eb7c549620b644fa3562d 100644 --- a/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php +++ b/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\help\Unit; use Drupal\Core\Extension\ModuleHandlerInterface; diff --git a/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php b/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php index acc48c144657b69127353db4b3e0347c1d6c510d..01fef4ec5b816dc2054ad4b74dde5896c752b2de 100644 --- a/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php +++ b/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\help\Unit; use Drupal\Core\Cache\Cache; diff --git a/core/modules/image/tests/src/Unit/ImageStyleTest.php b/core/modules/image/tests/src/Unit/ImageStyleTest.php index 60fbbc76504a3f665cb74918fb9d4fa657880c91..5025e43911dcf1a77960c9d9913645b0eec928ce 100644 --- a/core/modules/image/tests/src/Unit/ImageStyleTest.php +++ b/core/modules/image/tests/src/Unit/ImageStyleTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\image\Unit; use Drupal\Component\Utility\Crypt; diff --git a/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php b/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php index 9e1fe476d99a1682a87663417b600d0de1f728d4..ecdff2372f8c1e8f58637860769a894aa599579b 100644 --- a/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php +++ b/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\image\Unit\PageCache; use Drupal\Core\PageCache\ResponsePolicyInterface; diff --git a/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php b/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php index 962f1079559e24384f13df8fe2f0a22facc76ac9..ac80dbe713b28a03b9e58991bec7a127014156ee 100644 --- a/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php +++ b/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\inline_form_errors\Unit; use Drupal\Core\Form\FormState; diff --git a/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php b/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php index 90b5f5f8bbd4a6c1337d22ca0268fe9605152b65..5875ebc06c7441302957d0c0ee7a9e341848ec07 100644 --- a/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php +++ b/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\EventSubscriber; use Drupal\jsonapi\EventSubscriber\ResourceResponseValidator; diff --git a/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php b/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php index 5dbfe01ed4186e218c8fd2a589fe7d84b61816d4..fb5a075550bb55e62ccc1e6fe71010ecf763405b 100644 --- a/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php +++ b/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\JsonApiResource; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php b/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php index ce7d02b77e290bf6fa9074a5f96cb5ad0af51b35..7e347fdadcc6bd28dbcf6daee6d2e3094704784e 100644 --- a/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php +++ b/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit; use Drupal\jsonapi\JsonApiSpec; diff --git a/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php b/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php index 5c061fe519f26626e744eef5e1813f9f73bf391a..30eddf58a10f9b5af3b7e6d071ca1171cf51e9f6 100644 --- a/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Normalizer; use Drupal\Core\Config\ConfigFactory; diff --git a/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php b/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php index ee83fd93e361854478c0135d4fe272c9250adf6e..e88a8d29b62dab247f8f44e9814720595de070e7 100644 --- a/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Normalizer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php b/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php index be3ad9317de835d147b427a65be3534b5ba327cb..4b15495a0975db1fff26625a7e58f5823a112483 100644 --- a/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Normalizer; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php index cc0c416398fdfa444976a7e0bbb62cbae052541e..2cc50c559dc886d1057936ffc51eaf0f92dd8030 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\jsonapi\Query\EntityConditionGroup; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php index 7f9b628174ea07257c86999927fdfbe49caaac92..9ea56e57056da75752c700275876995b9c5fa513 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php b/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php index 3189b1d2e5721055fc98a9ec2b11aaaaa61e7961..af1b3292bd96e98c71ff1fe211407e705ee39c9b 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php b/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php index f49b2f77122f939eb6126c71b930acd45abe7f65..5aa88a11c71ecebbfdcf872aa29b382be79daf49 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php b/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php index e6c08a655955422ccacf02dfca5d567772212265..5ea0022b5318ad536b690358d168f6a0a261ff29 100644 --- a/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Routing; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php b/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php index 4dcbcde301353015c7243931aaa9a79a0f20dc7f..8f8725b8d733bba94b4d5f41c793f657bc2a3c38 100644 --- a/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php +++ b/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Config; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php b/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php index ef02b319d9f2e3907e2d0ed2b9deb4e22c55cf37..02c35d10bb7657441b25803c2a38cbe64ac9de80 100644 --- a/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php +++ b/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit; use Drupal\language\Entity\ConfigurableLanguage; diff --git a/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php b/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php index eb442a12c2bca89d830fe56968efbfd642e5e1ae..960730908f18fc0ceeccd11bbd31d5b85b5aebed 100644 --- a/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php +++ b/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit; use Drupal\Core\Language\LanguageInterface; diff --git a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php index a74f22abdacf97b237cc5fa78e1fe729b9aa072e..a78b36aa07056c118b8406c400e132b1f334cb8d 100644 --- a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit; use Drupal\Core\Cache\Cache; diff --git a/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php b/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php index 7d49f1faec338af3f38b9ec8b97bdba051ff02f3..c246618cfb13d756fc28d328b3fc942deb1e8209 100644 --- a/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php +++ b/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php index 0f26e1da12af1a6783de0e1dba05cdbffa5b8744..324d748828a6c99395414e69d3a7c7860e5dc683 100644 --- a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php +++ b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Plugin\LanguageNegotiation; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php index ce2ab9b09a0beb7e151ab37e7b6d04700d5f5a13..e35731c47b9fa315bbe6ba78c05edf1a656fa2bb 100644 --- a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php +++ b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Plugin\LanguageNegotiation; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; diff --git a/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php b/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php index 64e9b3b879fe8592e4129e2efeff297fa88d6573..8f6c3105ec59c849923881beedb2a9ae608a5efe 100644 --- a/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php +++ b/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\process; use Drupal\language\Plugin\migrate\process\LanguageDomains; diff --git a/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php b/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php index 64eb1c304638ce82e5ecb34937d9a0b45c510e06..ef5d2921bea1d63f9b75d6eb62f0196fced756ab 100644 --- a/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php +++ b/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\process; use Drupal\language\Plugin\migrate\process\LanguageNegotiation; diff --git a/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php b/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php index 3b41a66825308e02612c678786dda80d4086f921..5be238b35295fc7dde2abd45165dda30d3496902 100644 --- a/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php +++ b/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\process; use Drupal\language\Plugin\migrate\process\LanguageTypes; diff --git a/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php b/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php index a34c02b943face124000821a62a0f75fc40cb3ce..7ace912fc5b021fdb41bc6a809fa49ebe39a862c 100644 --- a/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php +++ b/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\block_content\Access\RefinableDependentAccessInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php b/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php index 302658068a39cd0e1d2efe05d1b163c11c9fdcca..a0abb96c7b58146be094de76e3c0b41552e4a62b 100644 --- a/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php +++ b/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php b/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php index 49cba472ccafab578e4b7ced570f2d67fb54b91b..1806219066bbf733a4dd39333802891dbfdc1cf5 100644 --- a/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php +++ b/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Database\Connection; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php index f62e0428950b95a99b778596446859957102c06f..2b8cbd00f8b5b4e003213cca7e868048cf6530a5 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php index b8169951d39facecbd12cba415ba1810d2b75812..8bb67e92aa96be97847bb6f53326ae36aafcf56a 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Routing\RouteBuildEvent; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php index 15cbb2dd144657923420ec62fbdb56d1843d90a5..d1c9978f2d323cbcc290d062bbec1083b34c69ed 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php index e89c366891742937ec16ce0564c3021a63251f92..e4bf73efbf1a86bc60202b2c411003206b746e27 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\layout_builder\Routing\LayoutSectionStorageParamConverter; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php index 6269c7afa4a084eef8940fd769bbf236a46f9272..694e2db22659cb7c54813de9e85d0f152ae9d26e 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\TempStore\SharedTempStore; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php index 2575e5c5945d60f4b0e4168256c049c53ee82051..98e8d3eef6b1ea2886a5463f1011c89774d03947 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Routing\RouteObjectInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php b/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php index 4e7fd27d4180c9f6e95c263c1879e4aad3c121af..fbab039a0c9c0c82630114e98431c171f4e64a59 100644 --- a/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php +++ b/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php b/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php index e50fe65e3586f4f95fa4f980ddf6c2c92f6b6520..c3dc9732430cdc2f32a6d1f4ed75b9fe3249ad74 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Block\BlockManagerInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php index a149ff846753d053a1ae4bfe3729d4894576abbe..de8ecb220f2710812568b897b519d52deab13726 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php b/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php index 50d11c371a128cebacd7436b1fcf65c94d1b3952..64ffbf5abd38c3168e0a686e2cb8852b0d6fcfb7 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Component\Plugin\Context\ContextInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionTest.php b/core/modules/layout_builder/tests/src/Unit/SectionTest.php index 65f65d6a6a9f01e69540d4507d9a1643bcfa1191..f911459daff034697d78c79ef77c7fa5dc86178e 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/link/tests/src/Unit/LinkFormatterTest.php b/core/modules/link/tests/src/Unit/LinkFormatterTest.php index 3670652847a72aa540ea98fc26815cb9929f6b75..600a1aa603eeb5d473eed42502bbb6621cbde3cc 100644 --- a/core/modules/link/tests/src/Unit/LinkFormatterTest.php +++ b/core/modules/link/tests/src/Unit/LinkFormatterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php index 5e2d911d24101fb5ae53a2c0b5899b40f01bd576..b4639f2aadd572e701e50c5c2a6d19e95d4c2698 100644 --- a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\Validation\Constraint; use Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraint; diff --git a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php index cc975309b4d19671f34992ac885d82fa193bc739..1ed27c5097628a3ec60744cfaa94a657d0b2dcbc 100644 --- a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\Validation\Constraint; use Drupal\Component\Utility\UrlHelper; diff --git a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php index ac0a3e1517155ded71be309cbeca107154119962..9c519b1c3cc50adebed806cb362c18ee5291a16f 100644 --- a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\Validation\Constraint; use Drupal\Core\Url; diff --git a/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php b/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php index 1c1d88f20769924d958db9e9dfec74002beec2ee..b3996a7330b81eea731014d2b603341a8e971c1f 100644 --- a/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\migrate\field\d6; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php b/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php index bcbda9e238f4fec3d6b30efcb38a34d69f61c974..87c399172e9b0fb3253bb70ee43bfa52d6e4d277 100644 --- a/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\migrate\process; use Drupal\link\Plugin\migrate\process\FieldLink; diff --git a/core/modules/locale/tests/src/Unit/LocaleLookupTest.php b/core/modules/locale/tests/src/Unit/LocaleLookupTest.php index 59b439354a10f17c534423c7029529cf4078203e..d4de8d8106ebb5e8d2f9038e955fab44dbdf18ff 100644 --- a/core/modules/locale/tests/src/Unit/LocaleLookupTest.php +++ b/core/modules/locale/tests/src/Unit/LocaleLookupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit; use Drupal\Component\Gettext\PoItem; diff --git a/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php b/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php index a441b30fb7042987d6f5e3a2f82108079d6d0e0b..d146fceb6384e7c53ca860e1ac09874c7d5e2342 100644 --- a/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php +++ b/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php b/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php index 5d2f9257e505ea028984212d10b05d0c8595ccf6..72ad654bad75ff1c8b72155337336941a412229f 100644 --- a/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php +++ b/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/locale/tests/src/Unit/StringBaseTest.php b/core/modules/locale/tests/src/Unit/StringBaseTest.php index 99bb0377a4c070aafd2a804a1200f47d855a3dc6..e05a069a5b1533a61fd9ea9fa0444b9e53a4741c 100644 --- a/core/modules/locale/tests/src/Unit/StringBaseTest.php +++ b/core/modules/locale/tests/src/Unit/StringBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit; use Drupal\locale\SourceString; diff --git a/core/modules/media/tests/src/Unit/EndpointTest.php b/core/modules/media/tests/src/Unit/EndpointTest.php index f925b09b7f7fb36d5ac86133122c23d45841125c..042beabe424e31d425fc5ba2e08a7f0a0676c723 100644 --- a/core/modules/media/tests/src/Unit/EndpointTest.php +++ b/core/modules/media/tests/src/Unit/EndpointTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\media\OEmbed\Endpoint; diff --git a/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php b/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php index 1d2837958397da97f5daf6ebd93d5264e7b7ac9c..8bcf151c7f8b5f66de084d349f261eec79b411b3 100644 --- a/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php +++ b/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\Core\PrivateKey; diff --git a/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php b/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php index 7bd6cfbd8c204d66cfbf5f1b54bd3cc1bc20beef..ec353f195435454e3f27f39c890ad449094b7c9e 100644 --- a/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php +++ b/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\Core\KeyValueStore\KeyValueMemoryFactory; diff --git a/core/modules/media/tests/src/Unit/ResourceFetcherTest.php b/core/modules/media/tests/src/Unit/ResourceFetcherTest.php index 8cd96683c9fbe36d1e4ac8d96bf0307d2afaed3e..af8123ab3d1001e9079150f96b37c843f93ced05 100644 --- a/core/modules/media/tests/src/Unit/ResourceFetcherTest.php +++ b/core/modules/media/tests/src/Unit/ResourceFetcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\Component\Serialization\Json; diff --git a/core/modules/media/tests/src/Unit/ResourceTest.php b/core/modules/media/tests/src/Unit/ResourceTest.php index 5043565cd3e01dbad4ac914ec3b030d0fdc53589..b47099e212f8d7b77dd3d49178b4d468fe4ca04b 100644 --- a/core/modules/media/tests/src/Unit/ResourceTest.php +++ b/core/modules/media/tests/src/Unit/ResourceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\media\OEmbed\Resource; diff --git a/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php b/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php index 5a4863b22f0031a5bc55e583b9ba8d878411230f..c188a57a400ee74b05c37bc8d16caaa331299112 100644 --- a/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php +++ b/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media_library\Unit; use Drupal\Core\Form\FormStateInterface; diff --git a/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php b/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php index 6751fcf296edc113ab47ebcdd5e17fc432a0f411..0c718a0ff048cca4a05b8159b52e78a2c5089764 100644 --- a/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php +++ b/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\menu_link_content\Unit; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php b/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php index 1643a55ad9a11c3b636392f598c472bf1fba1d34..871214664c1bb36c32de2b9290a7f08c7ae5277b 100644 --- a/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php +++ b/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\menu_link_content\Unit; use Drupal\menu_link_content\Plugin\Menu\MenuLinkContent; diff --git a/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php b/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php index fee181f582b1e96513c0aee7e603c67b3a101461..06632b51c55cff1b701c8c56f053838671beb3fb 100644 --- a/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\EventBase; diff --git a/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php index 89638507ddefce926664e8bad5a4919234355290..7a900c8831864635761b2262f9923483273fa6b2 100644 --- a/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\MigrateImportEvent; diff --git a/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php index ad381805b16d38ceb26b01180678e55a90612c33..5939bafe53aa3c24039daacf14dbd69addf44320 100644 --- a/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\MigratePostRowSaveEvent; diff --git a/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php index aee14e5bbb746a6257a37f41c90b18a906a1639f..b021cca2096568807b8017164556275c26ab9330 100644 --- a/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\MigratePreRowSaveEvent; diff --git a/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php b/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php index 0a61d2821f37f6656943db05ecbb9b27ae995f96..c68752cfb0a62d004c726cedc879646e361db21f 100644 --- a/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php +++ b/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Exception; use Drupal\migrate\Exception\RequirementsException; diff --git a/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php b/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php index acf3e64c09e6ea9455898473052c4a25ed1d66e2..6d59a89873692f94f8556f087f4242c17d1fdd60 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; /** diff --git a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php index 073a21a4a310def0a1d2fd334ec3af40f6308ad1..24a606390ad28c6fe10ff77399bc03902e390840 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Utility\Html; diff --git a/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php b/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php index 744be766c22b1bbda820a73a8ea94c1461cac012..9805916fd54ef25448426d29851190374866c10d 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Plugin\Exception\PluginException; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php b/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php index 833a6f7e9ed5916960e0ff59d50fddf792849d18..f8c42d46510d0f140532282d5aab5f005b248e9a 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php index f4a4dc25960fed4e17c8be2fc60237de4616aa74..33a0438f2f76587cc3df5b927d0fa2a469ef96d0 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\migrate\Plugin\MigrateIdMapInterface; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php index 77fa22e563b07a6edec0b169508a0a1de643a710..0ba79e1aab5d9f90bb18b901e7bc7024ed9923c2 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/migrate/tests/src/Unit/MigrateStubTest.php b/core/modules/migrate/tests/src/Unit/MigrateStubTest.php index a89ab35628619ee472bd21228001ab54ecc25448..0494f4c18ef240085c4f3413e61ed12f1dac47fd 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateStubTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateStubTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/modules/migrate/tests/src/Unit/MigrateTestCase.php b/core/modules/migrate/tests/src/Unit/MigrateTestCase.php index 6021fab240977f1e6cf6ecc6b2b115c5c14bea6e..e0f4e16ff443da06215641e1cbbfa8f330a46455 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateTestCase.php +++ b/core/modules/migrate/tests/src/Unit/MigrateTestCase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\sqlite\Driver\Database\sqlite\Connection; diff --git a/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php b/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php index 0982d783336fd33451a0bb0d97b604dc6ecef2c3..223ade26c7741b3a0f8f84d05adf1aeb0b5082a9 100644 --- a/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/modules/migrate/tests/src/Unit/MigrationTest.php b/core/modules/migrate/tests/src/Unit/MigrationTest.php index 5bf5d79e5aa3141b243e84acdbba35921e8a2c92..adc40320100d8c03b53395a6641531aa89e391c3 100644 --- a/core/modules/migrate/tests/src/Unit/MigrationTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php index 23326ed3d1a55bada5461bcb56c06e188cd382a4..b53f0004dfeec511a1ed4132ab4f68d6bac8d17b 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php index a7d7516f1fdca108bf8199221cb379566e1448b6..17f4a2fae1a1d140ee87723fb1ed4fe91218e67a 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Entity\ContentEntityInterface; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php index 1ed293cfdb38209b34ba4c0f61470229db78d042..e2a223256dddadc3a888201295f6265a9e7f13c9 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php index e88ac677fb32d86abe810afeccea981d629459a7..4176c39350243d34c0979688c00c44c3d3d85a40 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/migrate/tests/src/Unit/RowTest.php b/core/modules/migrate/tests/src/Unit/RowTest.php index 81453d1ce1d1c82393a63fc82e5490a6e01beabc..fe89748acdb6f736d2c905e168c64fbd302c90f5 100644 --- a/core/modules/migrate/tests/src/Unit/RowTest.php +++ b/core/modules/migrate/tests/src/Unit/RowTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\migrate\Plugin\MigrateIdMapInterface; diff --git a/core/modules/migrate/tests/src/Unit/SqlBaseTest.php b/core/modules/migrate/tests/src/Unit/SqlBaseTest.php index 3ad88c6296c4f665da9a973890879029ea0db98d..0f62b7f34f7aea8508415c0b76e9710b846283e6 100644 --- a/core/modules/migrate/tests/src/Unit/SqlBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/SqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php b/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php index 0fe7d79a69572c5ab709441203b5bfe5e819bb56..277a8929dd52d65bc3d9908af1c80bc954bf982c 100644 --- a/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php +++ b/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\StringTranslation\TranslationInterface; diff --git a/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php b/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php index 433b3907ee14474c075b78b39cbf9f2958e2a8fb..06a87e4339fb35590f5fe899e9ade3125934c364 100644 --- a/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php +++ b/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\Database\Connection; diff --git a/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php b/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php index cf3f77b5bfde323c07e4a2f78843c9472696f7e5..e99dafbcce42cf58d8d84238f31fab834dba284d 100644 --- a/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php index 5434404026b60319f08ae0f494a98d15dbf5e0d7..98647c5d594b84f3638fe4f57ee76a0e9f88610f 100644 --- a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\Core\Entity\ContentEntityInterface; diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php index 4a401bc3434f5fe4864dfa9807d432d8768e501c..60f0a7a3dd55f18b670f676d8da42ba6b8b17fee 100644 --- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase; diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php index ceea7010bac27e6da4025e1611a4750890787afd..be6b38b071406dc191bad60a14e83b140f675d78 100644 --- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\migrate\Plugin\migrate\destination\PerComponentEntityFormDisplay; diff --git a/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php b/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php index 60812e2c64a478de20878dc96148ee6f1113f529..0cf92f27eac35f5f4f16c8e65c97086284cd4059 100644 --- a/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php index d7040b9f3ffa05455d942239365c660101783a73..5170c85959b2639d27987e648c24dde95a3087a1 100644 --- a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php +++ b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php index d45ff4bab9c4b98aea1cdfde851be0dae037ff12..049e1e21d3135a328bc77455a311cadee58fc3f6 100644 --- a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php b/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php index 82fb728c7a7a6be3ab7db7ab937acb7a61c5e8fc..3eed164eda7479e4d1602e0228fdaae5446534e6 100644 --- a/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php +++ b/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\DefaultValue; diff --git a/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php b/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php index 426f45631a114391d5faafc1b241988fec623b5e..4eede4309f5d39b325d374ffb1fb59a3050132fd 100644 --- a/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/ExtractTest.php b/core/modules/migrate/tests/src/Unit/process/ExtractTest.php index 9972ecf9f4787b8d186fdc04f8b353280094f340..d83ed31866ab73403fa21fe137ab6018fd11d9b5 100644 --- a/core/modules/migrate/tests/src/Unit/process/ExtractTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ExtractTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php b/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php index 72d55143b45de44c947c5badbf83032d2efdd9ef..62e3752247c36f7fda56b7558b7fc839eb2c40e9 100644 --- a/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\File\FileSystemInterface; diff --git a/core/modules/migrate/tests/src/Unit/process/FlattenTest.php b/core/modules/migrate/tests/src/Unit/process/FlattenTest.php index ff83ad9def69166e42886a94516d8f012d955240..ff70726820509865ae8209024818d4ab7cfc4905 100644 --- a/core/modules/migrate/tests/src/Unit/process/FlattenTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FlattenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php index 58d61538b641145fb142a452f43c5510162986fd..7d2c1313ed80bf82c16db0dd47d9adaa1efc3e5b 100644 --- a/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/GetTest.php b/core/modules/migrate/tests/src/Unit/process/GetTest.php index 0e6a0fa2d8f51fa08088e62714918db91a250e30..20e7d1e9752b9fe74310681c67e5d7b392eea995 100644 --- a/core/modules/migrate/tests/src/Unit/process/GetTest.php +++ b/core/modules/migrate/tests/src/Unit/process/GetTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\Get; diff --git a/core/modules/migrate/tests/src/Unit/process/LogTest.php b/core/modules/migrate/tests/src/Unit/process/LogTest.php index 6bb61d337e215939695ecfb0e960546490a14fca..13244ad1d31a8a5c645dd210c5fd13af3162b5c0 100644 --- a/core/modules/migrate/tests/src/Unit/process/LogTest.php +++ b/core/modules/migrate/tests/src/Unit/process/LogTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\Log; diff --git a/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php b/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php index fe082acbdbc9ea2df8d609485523049aecbf8b2b..eae1f1647ec5ee4f842ecbc3a8446cb297c4ace7 100644 --- a/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\MachineName; diff --git a/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php b/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php index 465de7e3dadb1fd6646bd7ea9dfeb8a1ebe3e1fb..175b9f3efa01dc7b7a8ed2061550c5e013bcc074 100644 --- a/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php b/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php index 08f9712d71e82ebde9c42bddcd827880b100ea2a..885aaba15bf482c21defed628b340269edc5f8c4 100644 --- a/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php b/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php index 0f50059a3ff32be473718300d832730d27d66d90..d625dfc66ee36815b33c7d9121274e6fbbce7170 100644 --- a/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Tests\migrate\Unit\MigrateTestCase; diff --git a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php index c022175f5358ec108f7a733fd66bb40e2e19eb21..3d2558bd916571117819cbfd417c8260908aeb8f 100644 --- a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php index f23883aa8cec1466ac2ef86d4f37652261b0d5cc..797ae3fb41685283011f105afdf3c230ac657679 100644 --- a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php b/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php index b740e37a52f1bd0277c3ff63f9749a4045373d46..d822e142a1bb50ccfd5b37a138ab1bb8fa0ac207 100644 --- a/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php +++ b/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php b/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php index 0f2ddf8e00ece10188b5e3e61cf932ac749232ca..751ebecc3a15a9646a47c15e12b0d8a59e8b9d81 100644 --- a/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateSkipProcessException; diff --git a/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php b/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php index acd33d3d778a8324f2d3ce9f0fa13f58b3b2e85e..e299df149832d8fc0627e5cffe6b63b50592fc60 100644 --- a/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateSkipRowException; diff --git a/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php b/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php index 6cd043d5d4419080b952e7d854075e091664df3c..ae46691d704b06cf3d7f98b64e146b9012827a57 100644 --- a/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php +++ b/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Component\Utility\Variable; diff --git a/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php b/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php index e398036dfaba3cf95daf717525667ec3c410e7a7..1adbeda5ca9732097ec68be3ff03b3d324cbcf81 100644 --- a/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/SubstrTest.php b/core/modules/migrate/tests/src/Unit/process/SubstrTest.php index af430d27a250918e54e654e03b26a9c0ab28c025..fa0db16e8a29d848588225aa22bb706b16a326c0 100644 --- a/core/modules/migrate/tests/src/Unit/process/SubstrTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SubstrTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php b/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php index 8df9dd36b659e52316954135d0ed47242b12ca56..7cb29c2863fa90785d54e29a25cc700c751a51bb 100644 --- a/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php +++ b/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\UrlEncode; diff --git a/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php b/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php index d99b8cec8d06279e9d453753f10be7270fadc64a..1d32387523ee42172f2c32be31769952f02f6b5c 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Core\Logger\LoggerChannelInterface; diff --git a/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php b/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php index 340a28e15a85e04bb1473d0ff68af659f5f053c5..75c4853e354649be7d7df935550c9ddf3826a41f 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php b/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php index 3e6e052147f1a67bed4a1c8029028354803008e1..042d9c85e53bdaf4a7cecdd7dc23745c74ed0909 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Core\Database\DatabaseExceptionWrapper; diff --git a/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php b/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php index 1dd8f926960f2a97dc7e6141f4066cd0729a8b3e..0b3808109b543c19d5169b625ea3cca8eb0fcaa1 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Core\Extension\ModuleHandlerInterface; diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php index d21e103e4deca1c70d6fa66ff23b122a74cff65a..8ce8b03e2acc975a50f8b563a1d7b019b40fecf2 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit\source; use Drupal\Core\Database\Connection; diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php index 470af2de0680f66dfa99d2cb2cb818aba31d4fce..f4dde78af2b72a858bab69edc0d3b7db6026335b 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit\source\d6; use Drupal\Tests\migrate\Unit\MigrateTestCase; diff --git a/core/modules/mysql/tests/src/Unit/ConnectionTest.php b/core/modules/mysql/tests/src/Unit/ConnectionTest.php index 84200f8aaa0466defa414ab5afdc36b4acdc8323..a3c0f50f064edf40b07f5276d72bb16f955bd96b 100644 --- a/core/modules/mysql/tests/src/Unit/ConnectionTest.php +++ b/core/modules/mysql/tests/src/Unit/ConnectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\mysql\Unit; use Drupal\mysql\Driver\Database\mysql\Connection; diff --git a/core/modules/mysql/tests/src/Unit/InstallTasksTest.php b/core/modules/mysql/tests/src/Unit/InstallTasksTest.php index b31bbf05f6fe97ef9ad23458aa8af0e895c7711a..0abcef6e6b9960f01c098f58edb0ce446697277b 100644 --- a/core/modules/mysql/tests/src/Unit/InstallTasksTest.php +++ b/core/modules/mysql/tests/src/Unit/InstallTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\mysql\Unit; use Drupal\mysql\Driver\Database\mysql\Connection; diff --git a/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php b/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php index ee530d629ab51fa5c99df8128246f7cb5d97feab..d09572235f3f5ac7e313d88d4abc5a8909c2c0d3 100644 --- a/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php +++ b/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php b/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php index 7505dc3e1291aeb35d111eda5d9636f4df656607..4e58aa7b59fe31a20ec05218f384671a5c5e98b2 100644 --- a/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php +++ b/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\PageCache; use Drupal\Core\PageCache\ResponsePolicyInterface; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php index 67e1ad4e9129c575120edaff69e50b8417caf6f9..517013ad8b5fe328b6541ec6f94b55e368a98bbd 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php index d8b1b8183faf4080e817a1c24cddce56b87a0cf4..bc6c19d959acd0e6020db655cf60d5c9c633149f 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php index f6c189b1c2cc7b7d2934a563f7596b7f204e72ab..aec2ed58318051dd02f92cf87a30b4d549b849e7 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php index 46966dff606072e6eaeb8708917f3ed10270ddc2..e3d766685743754ce4a61efd5e88b15dea704f33 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php b/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php index 21e0f4d3407a90a79b6933ad6e169cf3a1a31b8d..6858ef56965e5c725d7bf90694f18e2b5e1ff08b 100644 --- a/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php +++ b/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path\Unit\Field; use Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase; diff --git a/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php b/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php index 1af7e53e4c89a1a2a946365c17b3feebf7f856fb..7f234ec6b3b7ffd8a55871868adb07fee989522d 100644 --- a/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php +++ b/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path\Unit\migrate\process; use Drupal\path\Plugin\migrate\process\PathSetTranslated; diff --git a/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php b/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php index a03417c3517c289cc73f268c195e993ad65e9a03..2a52e3e719d463a450b127fec09dc0de450d317c 100644 --- a/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php +++ b/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path_alias\Unit; use Drupal\Core\Language\Language; diff --git a/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php b/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php index f82bd3ab89301808941653805e82a5d384f0c0fd..d0789615701fc6ef42d14ba821099d7c1579dee3 100644 --- a/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php +++ b/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path_alias\Unit\PathProcessor; use Drupal\Core\Cache\Cache; diff --git a/core/modules/pgsql/tests/src/Unit/SchemaTest.php b/core/modules/pgsql/tests/src/Unit/SchemaTest.php index 3b9192fdea4e6a1f6d90e82d0f64c401993a665c..1dd286a2187c94563ae0705b50b83527b673527e 100644 --- a/core/modules/pgsql/tests/src/Unit/SchemaTest.php +++ b/core/modules/pgsql/tests/src/Unit/SchemaTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\pgsql\Unit; use Drupal\pgsql\Driver\Database\pgsql\Schema; diff --git a/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php b/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php index 586d20818ce9e2e67f65447667675f4e988b8ea5..1386980498bebc58886a451a64342b8c9b58ec07 100644 --- a/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php +++ b/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\phpass\Unit; use Drupal\phpass\Password\PhpassHashedPassword; diff --git a/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php b/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php index c130029ee185887b15b0d5e21683fd3c9f9fb985..92ff768a5ed8813fa9b7bc775ae1e832fe09a13c 100644 --- a/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php +++ b/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\phpass\Unit; use Drupal\phpass\Password\PhpassHashedPassword; diff --git a/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php b/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php index 685811cf20c398eb068223721303d3b714f4383e..cf2ff03c4aa42f9de3dd93d106ff00218f25b42c 100644 --- a/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php +++ b/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\responsive_image\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php index 8e60baa9b779e3affbdfce53490055194ad567a2..b70073e238158f519e4ba74205d157369f4475e3 100644 --- a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php +++ b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php b/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php index bf9a989c5fbc2a9e15e6975f7123298c97aa0a00..50ad05eb9c82b65bd65e666d2af622f84b030f73 100644 --- a/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php +++ b/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit\Entity; use Drupal\rest\Entity\RestResourceConfig; diff --git a/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php b/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php index 83630dbeb84c8647d924b89eaae16c6ad99f00de..1814b113a2bd507ab4f0b2fb1b3f3cbc0b6d70dc 100644 --- a/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php +++ b/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit; use Drupal\Core\Entity\EntityConstraintViolationList; diff --git a/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php b/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php index b0126a2f1f25a0b78018e3f1115f7ac244f9942b..6234c72b7a5e21f1f365c54cb5aa03cfa052bf6f 100644 --- a/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php +++ b/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit\EventSubscriber; use Drupal\Component\Serialization\Json; diff --git a/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php b/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php index b46b05d8ad5ebc61b1ae2b2823a0b16c60f94be5..0f3eee1a3a7d7a7190b6838b0d2dc2229677bc3c 100644 --- a/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php +++ b/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit\Plugin\views\style; use Drupal\rest\Plugin\views\display\RestExport; diff --git a/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php b/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php index 86b248b1be7dbe702d0f2a1bf4a46f6d8590ed4c..3b1f439a2fd99e6545c8eb4cb1f480a2c8e860ed 100644 --- a/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php +++ b/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\sdc\Component\ComponentMetadata; diff --git a/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php b/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php index 2490fd079c498be618934bf80c132e33ea3fe869..ddabdae49e569b8bccc2db90646f3440c9067d02 100644 --- a/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php +++ b/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\Core\Template\Attribute; diff --git a/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php b/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php index 927c11c1a487b7e886bf27eda01b2ae26db19218..142c7939c45d7631b6e6b2e81323245a740a1841 100644 --- a/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php +++ b/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\sdc\Component\SchemaCompatibilityChecker; diff --git a/core/modules/sdc/tests/src/Unit/UtilitiesTest.php b/core/modules/sdc/tests/src/Unit/UtilitiesTest.php index baaba75c9d21af37f0173b4342146d5507e4b5f8..04cd8f7d2cc0848a229b95ac27f7a6433927eb50 100644 --- a/core/modules/sdc/tests/src/Unit/UtilitiesTest.php +++ b/core/modules/sdc/tests/src/Unit/UtilitiesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\sdc\Utilities; diff --git a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php index d551495120d572316d167117b967119698e15709..4baecec35ccc2a383610a1464913a2f1f80afc8c 100644 --- a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php +++ b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\search\Unit; use Drupal\Core\Entity\EntityTypeInterface; diff --git a/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php b/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php index aeddb24d5b5225efca1cf109ec619cd2df162896..df643317630fd82e727fcbe0eba5610032913f97 100644 --- a/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php +++ b/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\search\Unit; use Drupal\search\Plugin\SearchPluginCollection; diff --git a/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php b/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php index ab7185e80f5cb7e6947930a140e45cca12049acf..99bd8da87f00e8b84fc93878edc3952e68c9b607 100644 --- a/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php +++ b/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\CompilerPass; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php b/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php index 1a8a8c4198200077d99f5cf1793facb29809115e..82cb1768e9cd2f7d384603f4b2ca7c4c7272aa64 100644 --- a/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php +++ b/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Encoder; use Drupal\serialization\Encoder\JsonEncoder; diff --git a/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php b/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php index e6f9f7df0501e0640cbcf793756f29f136bb4e52..151413de3e019faabb800e5b2205d581310728d7 100644 --- a/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php +++ b/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Encoder; use Drupal\serialization\Encoder\XmlEncoder; diff --git a/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php b/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php index 81ea03be5cae768b94e66b74220734d1f7bef441..7e0c50c20f7f14455b81c453abe04dde6ddccec2 100644 --- a/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php +++ b/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\EntityResolver; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php b/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php index 73c89017366807b3ca44bbf98e317e32ab43bfc6..545c41c47d47c6b7b6b0de376c8c11ec91aff659 100644 --- a/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php +++ b/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\EntityResolver; use Drupal\Core\Entity\EntityRepositoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php b/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php index ed09e27fc1cb006a819f30bba608b0663081b46e..59732c4b9b4fc2a9bdb5d8d2032104ef66c7e04c 100644 --- a/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php +++ b/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\EventSubscriber; use Drupal\serialization\Encoder\JsonEncoder; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php index c106f1bdea6ed244375a65b105796218ba9e7410..608fb3693551dbc29c69f71c96288f9f5fe64bf9 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\ComplexDataInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php index 69d58a22a88987344a62d642e1b49857b8d56553..65fc0c35e6105a430890648122ef46d83e013076 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\Entity\ConfigEntityTypeInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php index e048d3f1db42d66aa08f22fd058f99a3fed8b539..2fbc10d3cbfe1715fcebcad32f72faa127c84bd5 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php index 98ca2ac7d0cd172262a5951a8d18041456a6571a..4676ea218b094f72035925afc034b54493093cb2 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php index 0d270d5e89f4f0d2d1a9ae8049a8742fdee186da..c229ee6f56b2709277738e24c19fd7f675c190f0 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php index 28403d6b0500f6398aa0e2c89cd9932e36cc5f05..759f98c4f7e3a973390fbedbf7687f718efdef3a 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\ContentEntityBase; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php index 95defa821cc90dfb657b2f70c2f0c030ee18f9fa..f48fe477d8c04f628ed647ee46302c861055e8fe 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php b/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php index 3829934b508a6afe2faae69cd8458db12f8ae8d7..025ddb9c0397df73164486b42ceb4a437c6be9a0 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\DataDefinitionInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php index 7db6e7ce37e4581d981f6e4f950c1a049d575162..823f4166311ffc4f79fb395693e154d19fd488f2 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\DataDefinition; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php index f8ec2abffaa8228f381502d259c2eaa0013f6913..c07224e4f1c5ec6e418a0d748b730136075638bd 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php index cc7402041cf6295fd2a5fc936fb3ab1570a63cfe..c26417520e6383c27f1e1005f2bc5dd4494306ee 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\serialization\Normalizer\NullNormalizer; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php index 3218b28674ced41b3487f233b1ba1f0d713a952f..c32bbf8adf045323f1312d240deb937c39193eec 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\DataDefinition; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php index 71d1c2c032dfa5573a974927bb0552bc1c67512e..0bc9e6b3de41426d7ac7624883b9aefe769781a8 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php index 750d9d2997af021362636cc1f0f646865cfa73f4..2023a4d8c704ae5cef572f89292773381c65f3d6 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php index 92fbbb667a74665fc9d9cf14719c6e306d8c9018..4bd2140ead63e7282502dbbca974613337e3ee45 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php b/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php index 46f3984fc143ffdaf65b0e80f88efc8d83ec934c..3c9e1903106c3f2cdc9f5421b70ccff09a080b00 100644 --- a/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php +++ b/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\settings_tray\Unit\Access; use Drupal\block\BlockInterface; diff --git a/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php b/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php index 1bbe28f2d3f6e2e5820b838b65646e61291fe4b2..ea8e975c7a06e504412d6906761e18e11e1471e1 100644 --- a/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php +++ b/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\shortcut\Unit\Menu; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/sqlite/tests/src/Unit/ConnectionTest.php b/core/modules/sqlite/tests/src/Unit/ConnectionTest.php index 1555d83f112eac0f09584ccf0c60c5be7c7aff49..37e3062d5e247ee33afbbb3665698e0002e25b8e 100644 --- a/core/modules/sqlite/tests/src/Unit/ConnectionTest.php +++ b/core/modules/sqlite/tests/src/Unit/ConnectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sqlite\Unit; use Drupal\sqlite\Driver\Database\sqlite\Connection; diff --git a/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php b/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php index ad69dac6c4f8a453b4530a46b3e4f3cd96649fab..c811fcfd3d466444a7de89be66065325f96125b7 100644 --- a/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php +++ b/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\statistics\Unit; use Drupal\statistics\StatisticsViewsResult; diff --git a/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php b/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php index e68649fd37a67101f577c90d8fada7d76307a850..ceae340f1af4bfa657aa2d965c514b74f3c91de4 100644 --- a/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php +++ b/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Batch; use Drupal\Core\Batch\BatchStorageInterface; diff --git a/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php b/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php index 78dd3fdeb3e5a706875de4888171aa39565f8fe8..a27944c418babfc6a2ea66bb3871fcaeb54c5f58 100644 --- a/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php +++ b/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Breadcrumbs; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php b/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php index 9703ef1f754be95b6ef689e2f2958e828b8c00de..f2c8ba3909686d9bc4330bb779cbfaa88cea2c10 100644 --- a/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php +++ b/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Event; use Drupal\Core\File\Event\FileUploadSanitizeNameEvent; diff --git a/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php b/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php index 6032ff399dc0268170f70ffd58bf925397c1f619..d736e39aa0b46de2badf504f22560244f3eb4bf4 100644 --- a/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php +++ b/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Menu; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php b/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php index ab0ff1186543233069ec73d17498d2dc6e6a7d83..df7f74162d95377d6eb30df6498f8654073a66a3 100644 --- a/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php +++ b/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Menu; use Drupal\Core\Entity\EntityTypeInterface; diff --git a/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php b/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php index cf210b4ec8aa3df7de0c05061eaf0e0c9dbfd97c..7a529f254f1d8d89fd299e1b9154cbe8f45dfe71 100644 --- a/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php +++ b/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Pager; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php b/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php index a02c7550d91729977079e89100b2ce0d366af492..117346713824cdb01236703d7066dff5aa0b1cba 100644 --- a/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php +++ b/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Routing; use Drupal\Core\Routing\RouteBuildEvent; diff --git a/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php b/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php index 8a499fbc62bde1674b6756cec69a773b7546313e..13c63ded20961646bfb1cb83c49e649d7836c039 100644 --- a/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php +++ b/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\SecurityAdvisories; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/system/tests/src/Unit/TraitAccessTest.php b/core/modules/system/tests/src/Unit/TraitAccessTest.php index c9ac7ff668dad6cfb80b39c42bc745133719a468..2abd92171b424d8b204aa5581e097721a2eeea0e 100644 --- a/core/modules/system/tests/src/Unit/TraitAccessTest.php +++ b/core/modules/system/tests/src/Unit/TraitAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php index 4b68b453cd4ad3d5f9879c594466c2cb9e2939ad..3fb6283db1973ff220c326a8bbdb6e32088ae36b 100644 --- a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php +++ b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Transliteration; use Drupal\Core\Access\CsrfTokenGenerator; diff --git a/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php b/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php index c90533fbeee84ff0aead0c5941066887e0029ba4..7635b266d78f20cfbe746dc19c512cb33e232cc8 100644 --- a/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php +++ b/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\taxonomy\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php b/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php index d31c9e61b096399519f07f0c2522411fefc1f6b5..687ca4557402bd8c756cb58be0a310b1ac756dc2 100644 --- a/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php +++ b/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\taxonomy\Unit\Plugin\migrate\field; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php index 04e63780d5ad061af2b3c53f5976c2f815190f95..2787a99d132e9f9c2be2cf048267a47874005559 100644 --- a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php +++ b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\text\Unit\Plugin\migrate\field\d6; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php index 64679992eec73a9e3277696a5fc5971efb0c7f17..0bae0bec644581c8c684db96ad330a787689d6f2 100644 --- a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php +++ b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\text\Unit\Plugin\migrate\field\d7; use Drupal\migrate\Row; diff --git a/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php b/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php index 027613c8758ce1edd48135e25526e8a70f596757..a11a1bd66adac641941301aa3eae6d7cfc3fddf4 100644 --- a/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php +++ b/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\toolbar\Unit\PageCache; use Drupal\toolbar\PageCache\AllowToolbarPath; diff --git a/core/modules/tour/tests/src/Unit/Entity/TourTest.php b/core/modules/tour/tests/src/Unit/Entity/TourTest.php index b1f3db0bbc2ebf1de16284492c24dcf6dfa9df6d..ff398e28670b06eb01df63d2e3b4aabfa4503022 100644 --- a/core/modules/tour/tests/src/Unit/Entity/TourTest.php +++ b/core/modules/tour/tests/src/Unit/Entity/TourTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\tour\Unit\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php b/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php index 5db0e3ab32895232419827eabdde4f3bb1df9899..aca693e563e9271e84150e5d29bc0cf52cc4554c 100644 --- a/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php +++ b/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\tour\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php b/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php index c345f3551ddc1287fb8a3961b6a0df75a2745309..a62714e70d03c17225103ac0838f7f4623184fd3 100644 --- a/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php +++ b/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php b/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php index e29771154cd6ba1e5b5cd2e3d8a4a6e991cdbff6..1b68ef27d41b61a64f4883bfb9f8ab2cd25ad49b 100644 --- a/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php +++ b/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/update/tests/src/Unit/ProjectReleaseTest.php b/core/modules/update/tests/src/Unit/ProjectReleaseTest.php index 4e38599ca9cc49bf3ade87df5d7b4a52e09e747f..ebd538338b75537f68d58de142aa0fa3acbfaa17 100644 --- a/core/modules/update/tests/src/Unit/ProjectReleaseTest.php +++ b/core/modules/update/tests/src/Unit/ProjectReleaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/update/tests/src/Unit/UpdateFetcherTest.php b/core/modules/update/tests/src/Unit/UpdateFetcherTest.php index 2c1256e9f94ae43f801f5e9399be3ea9470d4790..26544d929c73bb9351e708dbd2a3a7e090fce21e 100644 --- a/core/modules/update/tests/src/Unit/UpdateFetcherTest.php +++ b/core/modules/update/tests/src/Unit/UpdateFetcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use ColinODell\PsrTestLogger\TestLogger; diff --git a/core/modules/update/tests/src/Unit/UpdateMailTest.php b/core/modules/update/tests/src/Unit/UpdateMailTest.php index 34f17d69c2e791c53fb4bea0c808a449fb926dfd..cba4fbb1ffaf7f570854399d3665f54bfb194aba 100644 --- a/core/modules/update/tests/src/Unit/UpdateMailTest.php +++ b/core/modules/update/tests/src/Unit/UpdateMailTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php b/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php index cc994d858e2a176857cf721d985bc9cabc10ad17..d0120508d901b64bff706874f33c2ec7f9b44cd7 100644 --- a/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php +++ b/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Form; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php b/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php index a6dc74eb8432044441aad73c119ab8cb640beb19..5a791d66cd586d42edbb8fe8d9e9fc2992a3dde5 100644 --- a/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php +++ b/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Menu; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php b/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php index 8ffce00cdddbacd3c7e7eedee17c744f1367647b..4ed2bedac1edd9e29362519939b562e7479f1e1f 100644 --- a/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php +++ b/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php index 50eb4790c5e9c3c43e019b560840bbf6a693a2e8..ccdc171c67d56e41e9a0a137fab2e420bc8a5795 100644 --- a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php +++ b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Extension\Extension; diff --git a/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php b/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php index a2c91e3027d576d61001bb32a41da15211bcf441..218587428e4f89a6921fe74dac0105d52e093c1c 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Action; use Drupal\user\Plugin\Action\AddRoleUser; diff --git a/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php b/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php index 476afe94d3d877b9ade8546366c5f75099c26416..e52542b15b1a80bb4b9b6cb92a5b1808c444e92e 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Action; use Drupal\user\Plugin\Action\RemoveRoleUser; diff --git a/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php b/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php index 118835f1cc0e8d0b2e70970d7ab33aff3a39d2be..dd6244626a64bf5c5c34106658ed625b594482fe 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php +++ b/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Action; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php b/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php index f96d126e683307272baffdc5a101597ab9f16bf8..8851dae88c80787657cce62d30e94a66f24ff1c2 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Core\Entity; use Drupal\Tests\Core\Session\UserSessionTest; diff --git a/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php b/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php index 9d2a0209914da85cdbac8a56e3673e6f78f00625..770b5610787202bc2c180fb6b60c42df27c5c10b 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Derivative; use Drupal\Core\Entity\EntityTypeInterface; diff --git a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php index 6a6e9f0ec33e84d797dc782b417ebe04c9709602..6bfb796faee11c6b665c03c1ea89d8575d50ba51 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Validation\Constraint; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php index f1a316087491a21811fb4cbcd5450f432e55fa65..02ac593f8cdd36623e439a6de5f8301772a20d4c 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Validation\Constraint; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php b/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php index 1cbc849a810770811ea2d7f319a2fd8ebec158a0..f7e6dd297085727bc689853ff0a2962cff5e1006 100644 --- a/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\migrate\process; use Drupal\user\Plugin\migrate\process\ConvertTokens; diff --git a/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php b/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php index 0beff242bee5f8ae42487bc24b81ee36b06cfea4..3625fe131ec7c1faa7de03882a0287ced4693169 100644 --- a/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\views\field; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php b/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php index 9b007ff11f3b8b0bea2069c12330ca411c89b94b..95703a4592048dd0c52da669b0113877e2495156 100644 --- a/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\views\field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php b/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php index e4bcd038bbf7c14bc95bc34cec849242527ee4d1..0ad90dbc4a0ea54a571d34bc9715315daccb69f7 100644 --- a/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php +++ b/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Theme; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php b/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php index 40be72a666452f733e36613c7b9c60e06fde3e62..5c40206ee3ce94dfb0d416848e4bbc8b5b798f43 100644 --- a/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php +++ b/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Session\AccountProxyInterface; diff --git a/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php b/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php index de7482a3ba2e4c9aa8e8b9e6033f74d2d9834325..8abe7759a11691d9f62e66cce5a143b4406e2aa4 100644 --- a/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php +++ b/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/user/tests/src/Unit/UserAuthTest.php b/core/modules/user/tests/src/Unit/UserAuthTest.php index 1809d4985d0a715a830830c0ba2e4d2f68b45315..e14e40225a37699e1affed91bed5d929246fe3b0 100644 --- a/core/modules/user/tests/src/Unit/UserAuthTest.php +++ b/core/modules/user/tests/src/Unit/UserAuthTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/UserNameItemTest.php b/core/modules/user/tests/src/Unit/UserNameItemTest.php index 11ca5a87bdd459140619a1daa001092bb5527884..0a0a3ce594b3e91f3316af676ea8012dd42e6453 100644 --- a/core/modules/user/tests/src/Unit/UserNameItemTest.php +++ b/core/modules/user/tests/src/Unit/UserNameItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php b/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php index a403f69f7733b0ed1186094f0d72b2578d5f7c7e..5bb7511e973f1a260786e91953e329f9b705b055 100644 --- a/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php +++ b/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Config\ImmutableConfig; diff --git a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php index 8e18649ee70d9c141e9d4c1360f364d5d21f38d0..7e5bebfbf2e4ec7fef6f98751050c36f1e3b69e5 100644 --- a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php +++ b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Views\Argument; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php b/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php index c342a48d93d1201ea49c96faa66feff74f5e86d5..6ef1a332fef51881f405fe3a00bff6d4a2652511 100644 --- a/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php +++ b/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Controller; use Drupal\Core\Render\RenderContext; diff --git a/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php b/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php index a458bddafba70bab74bd21837852397399e0c411..377a0c227f829090984fe0820a9c3106332261d4 100644 --- a/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php +++ b/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\EventSubscriber; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php b/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php index ed0deb1868a13f3e91ceab4e2b7688eb66074725..a535e971eeef7141a72514d707c3f68141c19ed5 100644 --- a/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\Block; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php index be6c2851d63e7357dea09b7ccb1208537401b539..e09ac60407ebe6b1440efe1ede9688b9f70fab6c 100644 --- a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\Derivative; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php index 52cd88de7952e7b734bf27f2fa4d9e919ae7029c..31f5c93998347a7520149cf7d865c89e39a8b66c 100644 --- a/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php b/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php index 1bde6f0381cc0175e7024f30dcda326d156fd14d..3760d65d114682c6448e3bf190f6d3215f93077a 100644 --- a/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php +++ b/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin; /** diff --git a/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php b/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php index 1a759fd45ce5f5156e75248d10ff25c0a8a64e64..2379c9567f6a9ca7827352a91d52305f40134b71 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php b/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php index 70c30b96c36f164165d888e76b980729ef04f133..1c81c82001895192155d99b99f8be2d8b1a2a9b6 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php b/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php index 5f85d89476d9e741e1e99e7458dcb7d42e33f16f..c8e65c97b1bb29ee4a4221f08a622ac91179add9 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Core\Routing\RouteProviderInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php b/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php index 4f095fb4476ff0163cb3ee17b12e66c53c4f7c79..b8d2a81725c673e8427570c91650f0cf1165a6fa 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php index f6ac061f99e6c560185c9725ef21b3855fbf3079..28f1adc6d2c4094fc378de9afed4a9b49ae1d702 100644 --- a/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\argument_default; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php index 66c5c9772f9ee58aacb9bd08cc2baef1154be911..83a370ed868f17d387662a4076e5a8ec42e70537 100644 --- a/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\argument_default; use Drupal\Core\Path\CurrentPathStack; diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php index 0b021fd61d885df8d5a52a50a8238881e7652bbb..e10477d46081a4bd7c50defbd4805886529171aa 100644 --- a/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\argument_validator; use Drupal\Core\Entity\EntityTypeBundleInfoInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php b/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php index 89b1cf2c836b02bb0a750984f485f309de1cba30..c801ec556fcf7bcc5b161024097ab8ce01d14e50 100644 --- a/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\display; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php index 968adcc38eed76d12512cb090752ea125efb55c0..ae470115686413a972d79c3dd0a96c301c8764de 100644 --- a/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\display; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php b/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php index aeb8cae4d0683454212ff25a209f6ce5bdba0574..9e9c39f9376a5333c82d4aec8c45a295af520f70 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\field; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php index 4ddf6ab5644eacb373e0fd6b138020ef2810b4bc..11e082f2970404ab677826c0bbf37192e0558870 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\field; use Drupal\Core\GeneratedUrl; diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php index 6cda638d760e6932316ac8214d8ed629b1410cd7..999d55fb91d3b2f3672d74e0cfcc654473964662 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\field; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php index 004f653709745b96c574b4dbdc9ead03b2b719a5..45b1778deaa55313a54cc9fbd547fe5b150dddb5 100644 --- a/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\filter; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php b/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php index 7f80c6842d771d74be09741b033a9eaf01a2578f..7a208c3b0a9569b9da5b57558fa2dbe4f00536eb 100644 --- a/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\filter; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php index 89dbc931d3b08a412481581416d5e9380ed68471..053382c8838df4b2c0216132f8f48facfa3e9569 100644 --- a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\pager; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php index b10019b5f29b80a4587df6b3be7fff346927e999..a51f267792f65ab949331cecf7c66ffb7c4e350d 100644 --- a/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\pager; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php b/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php index 875cf47f19f0a7ee07f49e39a9822a3dac618e55..90366e10bc292826fe92d777f72faf0b80a8277b 100644 --- a/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\query; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php b/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php index bc191018246d2926adec99065ade4ec3476bc821..29c3851b2ce3324e918f48a6ed6acddc43b3d131 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\display; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php index e7629346c6ac96d18354c00965af4b22b519279a..c2282bf5fa38bb24c68c484268016054d6e38466 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Form\FormStateInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php index c575aa6b21cd8efe9fde60227afe85a393f636d4..4e6dad4597848be4c9cc64c75b1b249855bfc82c 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Entity\EntityRepositoryInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php index 897a86ae3fc6f6f98f72736cc4e4308804981b65..effdc2e36e0b8dcc82bbde7c141140d9fdadcf18 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php index 8639db20f9ab116eafd518ee2cb5627c0e620a51..64cd8f7dbeeff3220114ebce23c90b4d0efed4dd 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php b/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php index bbfc7b638e7b781955662d4a9b043725f4c7712a..03f381174b713eeee9479422ad7e6f0115d5c9e0 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\query; use Drupal\Core\Database\Connection; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php b/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php index e1892b9612882adf6d8d6fa64b9e44c0d709eece..e9379825d5112cf97732e116a5627e95020a8ed7 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\query; use Drupal\Core\Database\Connection; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php b/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php index 3de9ba72fae39d55cfd1abc921d8ceb349882c02..e2406750a79339b4761565b94363a7626bcf54fb 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\query; use Drupal\Core\Database\Connection; diff --git a/core/modules/views/tests/src/Unit/PluginBaseTest.php b/core/modules/views/tests/src/Unit/PluginBaseTest.php index 8d2f8e0d4cceb7c61982952be4eb5ac1c815a3e6..e185aa7ca928fde6ddf613127b86c1e2edf7aba3 100644 --- a/core/modules/views/tests/src/Unit/PluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/PluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/PluginTypeListTest.php b/core/modules/views/tests/src/Unit/PluginTypeListTest.php index ee84e531271738d1e3234f7fcf7b93e6752fb27a..228b1052c7aa35a575d8ade5860f6d2677ff22e3 100644 --- a/core/modules/views/tests/src/Unit/PluginTypeListTest.php +++ b/core/modules/views/tests/src/Unit/PluginTypeListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\views\ViewExecutable; diff --git a/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php b/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php index 841fe19c477271b999974ca5af3168baae2e404c..57db7fe287186bf4ad32cb5b5d25abeb2a407352 100644 --- a/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php +++ b/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Routing; use Drupal\Core\Routing\RouteMatch; diff --git a/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php b/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php index e683f9aee85efbd735b65ed7ebbb19163a38b14d..815fd1e186de5a135f865ccb136b6bd0b5aa0deb 100644 --- a/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php +++ b/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/ViewExecutableTest.php b/core/modules/views/tests/src/Unit/ViewExecutableTest.php index e377b89536f6ae6bb38ce0a039e10081b3329c00..f8eaaafedb70664b326d62be0551b029de0fd441 100644 --- a/core/modules/views/tests/src/Unit/ViewExecutableTest.php +++ b/core/modules/views/tests/src/Unit/ViewExecutableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Component\Plugin\PluginManagerInterface; diff --git a/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php b/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php index e481bb3faa77ebd9d98f36cc50a2ea7b92d17cfd..fae9639b996acb4f1f42f9c5316e1d2fbe786155 100644 --- a/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php +++ b/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/ViewsDataTest.php b/core/modules/views/tests/src/Unit/ViewsDataTest.php index b382c427cd401df29cfaeb61cd8b6f427725848a..84d7835037afd897596840e4d5674beca9a8f09d 100644 --- a/core/modules/views/tests/src/Unit/ViewsDataTest.php +++ b/core/modules/views/tests/src/Unit/ViewsDataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Core\Language\Language; diff --git a/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php b/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php index 70aeecb98e3fa5f6cec22cbd867eee557b76d363..159f860c29bededc44d26636dc37cd971b655ae9 100644 --- a/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php +++ b/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/ViewsTest.php b/core/modules/views/tests/src/Unit/ViewsTest.php index 5eb36e4c0de591f95b831126c61631b055b7c270..5c750c9b0a9ca27761330255005fb213fa988bc1 100644 --- a/core/modules/views/tests/src/Unit/ViewsTest.php +++ b/core/modules/views/tests/src/Unit/ViewsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php b/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php index 965fab2565c9bac189a8a287d5963ae7975d28b7..97f5dfd0f21ff63476af230fc547cef8975773d3 100644 --- a/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Core\Form\FormState; diff --git a/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php b/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php index b2d3f96ab6268be1a8d095ec5de745de505606db..a47c8450bdd4f3444e98a42c7ba8ceb7594f91e4 100644 --- a/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php +++ b/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views_ui\Unit\Form\Ajax; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php index 9556687d97f5ad6c95a59b7d8934a4e69c2df90a..19566a9ed2bc19a0481eadf74ebc62bd6c550d5a 100644 --- a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php +++ b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views_ui\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php b/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php index 36b4933a6f539da5330390642ad5258d01e3ffae..d98a31dd04c4a8dfe442f3ffe9ee6b46c882b6d1 100644 --- a/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php +++ b/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views_ui\Unit; use Drupal\Core\Language\LanguageInterface; diff --git a/core/modules/workflows/tests/src/Unit/StateTest.php b/core/modules/workflows/tests/src/Unit/StateTest.php index 2790a8051a509d45c3926cc8de9a511efd68d5a3..2ce55c4745c69e61ed3efaabe8f441e6b89d7585 100644 --- a/core/modules/workflows/tests/src/Unit/StateTest.php +++ b/core/modules/workflows/tests/src/Unit/StateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/workflows/tests/src/Unit/TransitionTest.php b/core/modules/workflows/tests/src/Unit/TransitionTest.php index bbab5cf531292aab408bd615cccf6776b2e2cef9..5ff7d02abbde077f4ccd03cbb6eb946c3f14e395 100644 --- a/core/modules/workflows/tests/src/Unit/TransitionTest.php +++ b/core/modules/workflows/tests/src/Unit/TransitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php b/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php index 63f1fec26e712ed2eaec5425a4f04c1325fa9046..ad01d100e8acd1c6c8be303217b8f5d55112edcd 100644 --- a/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php +++ b/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/workflows/tests/src/Unit/WorkflowTest.php b/core/modules/workflows/tests/src/Unit/WorkflowTest.php index 7db051e46296884bc7bca08c2c56ad2030b97f4e..d15567d22cd9d4a5489f8240221fec680e39d3bb 100644 --- a/core/modules/workflows/tests/src/Unit/WorkflowTest.php +++ b/core/modules/workflows/tests/src/Unit/WorkflowTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php b/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php index 8ecc144800c6f02ef4165d8d2d26a25a99d99016..b5093824ca92f65964064e111afe717bd87f6c1d 100644 --- a/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php +++ b/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workspaces\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php b/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php index 8eb381737dea96d163e4c32cd2aa0c787043b641..2e40fff58c4867a63d465361b8117db2deca5f27 100644 --- a/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php +++ b/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workspaces\Unit; use Drupal\path_alias\AliasManagerInterface; diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index ec7fb9dc49aef26a8a5cdd232a9d57f312e05aaa..195479831ccb1115f48cf6e3775ef4f87a144efd 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -276,11 +276,15 @@ <!-- <include-pattern>*/tests/*</include-pattern> --> <include-pattern>*/tests/src/FunctionalJavascript/*</include-pattern> <include-pattern>*/tests/src/Traits/*</include-pattern> + <include-pattern>*/tests/src/Unit/*</include-pattern> <include-pattern>./tests/Drupal/BuildTests/*</include-pattern> <include-pattern>./tests/Drupal/FunctionalJavascriptTests/*</include-pattern> + <include-pattern>./tests/Drupal/Tests/*/*.php</include-pattern> <include-pattern>./tests/Drupal/Tests/*Trait.php</include-pattern> <include-pattern>./tests/Drupal/Tests/Traits/*</include-pattern> <exclude-pattern>./tests/Drupal/Tests/Listeners/*</exclude-pattern> + <exclude-pattern>./tests/Drupal/Tests/*/Fixture/*</exclude-pattern> + <exclude-pattern>./tests/Drupal/Tests/*/fixtures/*</exclude-pattern> </rule> <!-- Squiz sniffs --> diff --git a/core/tests/Drupal/Tests/CSpell/SortTest.php b/core/tests/Drupal/Tests/CSpell/SortTest.php index cfc1621167fcf10fbaad3ca7b17d2247f26eca43..1b55eb542ce234abaaa4faa56412f86ce7a90c84 100644 --- a/core/tests/Drupal/Tests/CSpell/SortTest.php +++ b/core/tests/Drupal/Tests/CSpell/SortTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\CSpell; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php index 899295cbeb3eea37f3476a6bd193e5e63e8dbf8f..944f479a7cd8fc1bcc158042d78965682c259af2 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php index ceada7a5a969a647eccecb09789ee6767689804c..97e1a6bec507975837e8b5e01f5f276cfda1b46c 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php b/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php index 91d5ae28c3ecf554d46bfbe017970d868424bb70..28824ecb5d9318e24418deb87844af54da093fe3 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\AnnotationBase; diff --git a/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php b/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php index bf1a4cdbf97dab3853de368df52150556732f526..7ef3f2638a631293c2c466dffd72d369e2eace44 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Doctrine\DocParser; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php index e9addd67e7db78042c273aeeba8f51192e3e9cb3..14314de2d88659fba75f8eb54463e3560d5a9331 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine; use Drupal\Component\Annotation\Doctrine\DocParser; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php index 7b79672908736a1f32922af80e27935e2e6a049c..a13eeb72157e16f2a4ce47e7d2acd1f133da5170 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php index 6102dc32d42aceb02b80094ce0d48c65a8f8a33d..6718468b1e2818396ef2ad214828ffa233851eec 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php index e32464fa12bb02a8efa013f9f6e66075185621ab..da3eb2f1d3a998d3c1cf79a6adaa5ea2f24206bb 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php index 48336f1eefccac0207c756fd23aed10cba722308..c1bdc8705d7ab6225699a112bdd34d45ab8f1c45 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php index bc31bad21abd8f44eb730eaf2237f7d62d254d06..6362b60f5cbdca844bf444ba425c9678ee6d92cd 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php index 5c4789dc455b44eca3225841c37bd2773197e723..cecfcfebd6652757eb74d560042fa9939b3451eb 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php index 8c8993dcd8586612a345fee8d9e47c5aa55335fc..65f4001659a5a61e2a84ec8694950cf2cd507518 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php index 3a1f94ff000095d363bb283885e7858ce89ac325..5737ede3404cb407ff7f87a28730688c0e686dc3 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php index 3dc91a66bc452442962491fb30a9017b7ff06856..9c68bfd61e1f54e011e56cd956c76c55d51928a4 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteral as SelfEnum; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php index b4c9abd9be4483725d80185f643f1fd13709cd24..a50c1f117a85348a533e23e846c16b2f9c3f970c 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php index c40c380630aaefe43cd383698435c1e4e5234bbf..fb256bd8b3f18a07921ea072a051e679467455ef 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php index bfd65032ea2e0c30fe13f2ffe85af09737938982..fab208f762bf06516ead08c63b89108207af8340 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php index f36e90512817572f5bf23b82c451de53937e9f68..58e5770079bac89895a70a019ac77b92b6d31da7 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php index 31586b1e7aa2ef174888ebce41fd328aa98f9f79..984eee91289a663b7a22606803f17f31cf2a2442 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php index 89985aedf53976066c826a5db4e79a72ab90bf91..594a159a39e4ce9037700f04813c2da97e3f7778 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php index f03957c31ac5d3aa0a2b8090e66e8e8d223ad489..a2ef97ddf62032d2aef378884664b374237b1074 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php index 77983ef745fda36870af82a111c0513199a2f693..767d7d86f7bbf1209266da8ba9518d6b8422e7b2 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php index f0b3c1d486ef64e6702bf3e989ad921d3d4da13d..dbfa95f659f98f0eac706f6505854ab42f7a6c1e 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php index 4ab0423ca352aac0bd6060d7f09ce263e3a2a26d..852d7ca4affbc846462df4532641fa6fb369101f 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php index 17cc5e02a1b9ebb7f70bb75d34688c1730ede513..07492496a94d3adbaf906864261280b40719ce3a 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php index 485d8cbb2d0f66f0063ae74d1706522d0706c64b..75e55bc6bb949894ed2ac9f87598476e5ca19013 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; class ClassWithConstants diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php index 896b64a8bee829666ded35aacba9c560f695f1c7..9b2b7912016f14c1e1627ae5950a118ec8ef4a61 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetPropertyMethod; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php index 5a023ec46e23f842b1dc9fe11bf25277310624b2..a42ef04eb6d2e4a115d64abcf0f0048ef2c5c4d8 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php index 456c1bbfd223dfaf5dd4f53d6f87f7e417a6a7fd..162d8fa3315232bb582d4726947a6f31df183001 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php index 08551525b0ac954bdf0ffe008d6044b3cc55c80b..d35e5f289c43c0e790b2849438e680525104b1e3 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php index 0b9db8ce0cce4998f585feed1567e0e549e3d858..9102b1487399cf6b224cbb71f85b63d8af6f135b 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; interface IntefaceWithConstants diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php index 870ccc91aa795e9c7b9d5beac563a24ae5d12ad3..58687d033206234b9236b18389935009e7429be7 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + // Some class named Entity in the global namespace /** * This class is a near-copy of diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php index 8f0d3f945a82e9e33e4dad2eaa5c9113c0d7481d..58c79c5a9677db29d54ac0540ab12a5b612593d5 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Ticket; use Drupal\Component\Annotation\Doctrine\DocParser; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php b/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php index e99ad5fb3270b5d620035d74f5e91fe2d08e52b3..d99bf9e135e16fbbade9e9c2c89bd13bb3001c94 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace com\example\PluginNamespace; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php b/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php index f1983ffcd917494976c447a76d42dc42d623393b..7e45602d9112f7c14e31eb6b69df39f4aa42e97c 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Reflection\MockFileFinder; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php b/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php index 848f499ee106b0d039b2ed537dda0622732aa17d..d4fbd465c76d68ef55b6292bb723fe4a608b541e 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Plugin\Discovery; use Drupal\Component\Annotation\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php b/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php index 15cd6e860d60b2306b0f1f9d7cb3a5056d69732e..cb22ff6f071375950b03b21e51753d4e89eb27d8 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\PluginID; diff --git a/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php b/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php index 54655e722c10c68eed1bbd173128044b7f9a42e7..5c106d70a5b8a3739ca9e74431318eea0cccd1c8 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php index 4f79f764634f926c0e63f34e71ed10df28695905..384bb30ed5d90bf8beb2955b68e000c4d39e4edd 100644 --- a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php +++ b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Assertion; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php b/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php index eb6c32dcc8fee1db222e225bac9fe597e8d7c63a..c7742e4cd7e18f03d7e02b8ba1ead9cb8a1e1a24 100644 --- a/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php +++ b/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\ClassFinder; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php index dcfa56ca91357fe2992f0f13df56420b96589214..28c91f351c9eeef469e008efde81811e8a3557ca 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Datetime; use Drupal\Component\Datetime\DateTimePlus; diff --git a/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php b/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php index f5de7d9708207dfbe20db95ece1c1983075e00f6..7065141c39f4880514c7677f1b83ad09a261a27a 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Datetime; use Drupal\Component\Datetime\Time; diff --git a/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php b/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php index c66e1bb440076a4d7ea6414cc41bdad362f9a459..7eaf6e6130f4d677bede15edd8715196b86bb3bf 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Datetime; use Drupal\Component\Datetime\Time; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php index 5a43e8290c7d3a5cbeec155fb37e2840e6db2e36..5dfc90fea553d82e3f732f2bd7204ae5a38326b0 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php index 3f9547b2e572faf129c53734f16c440781731961..2942dd808786071b44493b8d5c8e32d723b0004e 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection\Dumper { use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php index 91abfe4fc64f430d07e17acb41da42178e7333fc..1005b57deea0ddc30264428bea11fa66c53e4719 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection\Dumper; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php index 0623ceab339ca2555f1a0163017dd7af025d1da4..03cb68a3dc0537c77bb07cda8bf9fa1f599e72ef 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php index 8fa731916508d167147c156874340c9d9bb42d05..22a2539071e98b6d68d1272b9924f8e66db3e7ea 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection; use Drupal\Component\DependencyInjection\ReverseContainer; diff --git a/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php b/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php index c5fab90921d0b90aa1e41c664919753d8a03ddfa..b0f25967fc70f1e5788b8a4d2822f9adf194d748 100644 --- a/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff; use Drupal\Component\Diff\Diff; diff --git a/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php b/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php index 50b20ff8e16724df3dd7c9af51ff5094f3bc9f7b..6c169fcb6dfc758e67641ab60943dc4d22f37058 100644 --- a/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff; use Drupal\Component\Diff\DiffOpOutputBuilder; diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php index 5feba62a3a9521a3bfef0f6d3edf27e1ff5084be..dce6e52b2cb16ac60b0e2e3187e385fd8c07027e 100644 --- a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff\Engine; use Drupal\Component\Diff\Engine\DiffEngine; diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php index fa2dee1a029e47226ce7d892c68500bb6fe9660b..d45aef5858df5e6856cf4abcb81dc2157ff24131 100644 --- a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff\Engine; use Drupal\Component\Diff\Engine\DiffOp; diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php index 194f37f50eb4b4a046bca929e5faced48ed93743..3c75df16e424fc1f4a210d0dcff3c98ed5faee77 100644 --- a/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff\Engine; use Drupal\Component\Diff\Engine\HWLDFWordAccumulator; diff --git a/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php index 3d1be47216078c52e3fd86904f490ec35f2c4f4c..ce8744744c4e653a3c9c8669daf93c00fc82a64d 100644 --- a/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Discovery; use Drupal\Component\Discovery\DiscoveryException; diff --git a/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php index 8f5d01ec6fcaccdcd9ed992593eacb8bd9646914..2f0cf2af14d3e87cef3678bc40c99e9c747db881 100644 --- a/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Discovery; use Drupal\Component\Discovery\YamlDiscovery; diff --git a/core/tests/Drupal/Tests/Component/DrupalComponentTest.php b/core/tests/Drupal/Tests/Component/DrupalComponentTest.php index 11855926a641de875afc98e60fef216b0ab3a61c..09e356765d340e2b89f0ad6cfcd672dc90a29eb7 100644 --- a/core/tests/Drupal/Tests/Component/DrupalComponentTest.php +++ b/core/tests/Drupal/Tests/Component/DrupalComponentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component; use org\bovigo\vfs\vfsStream; diff --git a/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php b/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php index bc61186c0fb68fa4a82731ecc4765bc64621e4fd..a8fd9e87d602443527e8b9bd1c5eacf3db079f6c 100644 --- a/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php +++ b/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\EventDispatcher; use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher; diff --git a/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php b/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php index c21bc5bf38121bc537eaa49a36f4e6f138eea751..7e6d9c2a61b5b2c9c38a33e46c29a8bb2d07e13b 100644 --- a/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileCache; use Drupal\Component\FileCache\FileCache; diff --git a/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php b/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php index 30edddb32276e47babc8d7fe9e1c703979735212..610a90905c569d4e85c36591d5991d4752f68e48 100644 --- a/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php +++ b/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileCache; use Drupal\Component\FileCache\FileCache; diff --git a/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php b/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php index 32fa21526114d48e012a4f1881866265a8f36a89..15efaf8b1a8643609b33ca4d0863f57b1077548e 100644 --- a/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php +++ b/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileCache; use Drupal\Component\FileCache\FileCacheBackendInterface; diff --git a/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php b/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php index 4e4182bae605aa506189b859b4b2f7c830ad9c25..8b1cd24194fc659c27771a12c13930540fd573c9 100644 --- a/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php +++ b/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileSecurity; use Drupal\Component\FileSecurity\FileSecurity; diff --git a/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php b/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php index 0d1ef58c195243eee3678fadb5458809d06ad5c6..c340f14630b02fd1d1fd50da6549520ca0467831 100644 --- a/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php +++ b/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileSystem; use Drupal\Component\FileSystem\RegexDirectoryIterator; diff --git a/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php b/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php index 3e6a27aabf1dd113853abe65269ae8741ed521cc..5c91f5efb343ffd0768e4a780ad96194e1ee6ad1 100644 --- a/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php +++ b/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FrontMatter; use Drupal\Component\FrontMatter\Exception\FrontMatterParseException; diff --git a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php index 0d000d59d6337b4e547e25f5a0920bfba6f3fd1e..c0ba7cf6ff1ae9e8a4af1da07ebf0ef216b8481b 100644 --- a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php +++ b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Gettext; use Drupal\Component\Gettext\PoHeader; diff --git a/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php b/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php index b9127a408b80f66ea4a76eae26ff5d3ccea36f74..f120955571dacdeebc7c90ab5040573f142495e5 100644 --- a/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php +++ b/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Gettext; use Drupal\Component\Gettext\PoHeader; diff --git a/core/tests/Drupal/Tests/Component/Graph/GraphTest.php b/core/tests/Drupal/Tests/Component/Graph/GraphTest.php index 2773d46ba30916a7121831e97003429315ef5f8b..3fa25a7f1fa1d33657b2db2bdf7de1c811fa4de5 100644 --- a/core/tests/Drupal/Tests/Component/Graph/GraphTest.php +++ b/core/tests/Drupal/Tests/Component/Graph/GraphTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Graph; use Drupal\Component\Graph\Graph; diff --git a/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php b/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php index 3cc97464f751dcbe658903dcf2d717c5c37d873e..893072de6fb4ba6945c4fe4632eca39a99e33ca2 100644 --- a/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php +++ b/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\HttpFoundation; use Drupal\Component\HttpFoundation\SecuredRedirectResponse; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php index 22975ddea42b93f2db93d2dfea84f9d50796f04a..6233e5b1b41c6c06a488a264e436d6dfebc23d66 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\PhpStorage\FileStorage; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php index 51426a28576eba03ef2c4343881589b2b91a109d..d7ca82e28befcb876b978723f0d6bd41a1f766a3 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\PhpStorage\FileStorage; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php index 66ea316fdfe9ba9f76e89124d8e9c2ce31784b4d..222ca9031bf009c33182722030ba6fbbbcf59c91 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; /** diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php index b04a9f4ac5e6150e906666f15161b27f71da522c..d38cdefba60e260ecc396e64f24bcdb723014f85 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\FileSecurity\FileSecurity; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php index 775a43ff2887ff3f6cb0b014dafe5fc8b4e350e2..ef3b0ac478adb8cad86a275083e4f7a185ec6da1 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; /** diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php b/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php index c670bebadf4ee2f079397afc1129cd9d2f390105..84456df49ce2a027249a440c5a88c4dd7197f90a 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\PhpStorage\PhpStorageInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php index 1f9a5657a66ae79a4efaad01c059a245cb3aa5a8..877a0fae2e5ec1c02a86f2fb7856603b4c246967 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Attribute\AttributeBase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php index d68a724b566f4ec516678dfc61c13426e8332e39..4798504927b5456a23ed6af923315cbfa5b84783 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Discovery\AttributeClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php index 965254c719e3410af2651791b581667324e65020..92b8fede1c44a8fc35acf469d7f15f3d1512e1ef 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Discovery\AttributeClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php index 9100fb800d9944934121c8693459a39b86fff50d..eb97303481783de44c9d406bb7789fb63e312a33 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace com\example\PluginNamespace; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php index d550e99303e94e0ed768797ad6a2efcc77c93f84..3d9d2c79078c16220f4fa995ba2e06392b758178 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace com\example\PluginNamespace; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php index 8c8391228330c4e1515e44b4888d17fdc246d0fc..ef34597e786ee11be5f049fa76f7302a16485365 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Attribute\PluginID; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php index 7fdfaa1eb90327ed6660f19e1e0ddb93cceff76e..48d707f0fa88d84ea1afa4230c6c0a1321b3c972 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php b/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php index 5a653b49005a361862c27580c567925f541c1721..e48973a39f65f3f7fddca076c2285618224d5d96 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Context; use Drupal\Component\Plugin\Context\Context; diff --git a/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php index 4d1e5a3d34caa12e679a0d4329e39870274d1a5a..0413216eeb130610b1efce9a049366ef7b370a4a 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Definition\PluginDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php index 67e9c090e773abc751f7a20b94e0798de9706439..28577e83c25e4a7c1ab160d045d130350c7cc342 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php index f6b37647a498d1901041139e7bd0a60a0a45e154..8d7be68c1662a8fd998be4710bd73e7d7688a71d 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php index 7895ecddcf353936b5476afcaede0565f161c567..c6466ba669050a0d734de0a11cde504fe010bc40 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php index d3a07965520464ca78021eaea4c4da83b25a1191..b18c95c0c3e7d31ce9bdfab76a46e4914b38792f 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php index 518eaddc1d3b95590090f431d4d13c4c89a5b85d..b05a7be50281a7ce8b9ee8c987bdb1c9f21ae843 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php index 7e19100a81f641494b4e9519d87390a7cddc30b7..d4446b188632a3a64e2ec10691baab2fe0ccf586 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Factory; use Drupal\Component\Plugin\Factory\ReflectionFactory; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php index 63c7ed54e381dc0f45ee1a9bbc8672dc9c83a94f..acf3394748c16c364051b0d402152a72d1130375 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable; /** diff --git a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php index 201b9b1395858864b00dbf1fadbde6d3a01039ea..e50b29f06682019213ba53a316762f01dfb2f92f 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable; /** diff --git a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php index b9d53ce5a1c584159845069da6cc54967864bdd0..e79d3fd8521fedf589072268c9fb711e436f97c3 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable; /** diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php index ea095b2c0e592216ac312f7139118219280e3a0d..f90fd02a9252c3255f282533694cbe0af6f0a319 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php index 5dc3c674215ba34deeb76a7595cf3b0cc91ff58b..7e775a1b54a81bc270df88544e7a75e96c0d0ce3 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php index 11e0a403b6271bca2de6ed44b8f5acf9c2f03467..b4c5a6952e4d59b10e170a2ec85ac25b377c331d 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php b/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php index 50283c6614b539ce8d86bf5c1de04bcda8e0d960..e59bf38c6275ee5fe25224bde4d2d2e49718ccd4 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php +++ b/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\FallbackPluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php b/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php index 025c684ae745dd45f599baf4b7e3a337efc36072..21661b2bbde85403cad617b400b2cba89c880427 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php +++ b/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Mapper\MapperInterface; diff --git a/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php index f539886c7c2fe3303fd17d3eebd0c28590db84e6..1105b3f1934dbc7171eb516a0e7ee185b39e1867 100644 --- a/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php +++ b/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\ProxyBuilder; use Drupal\Component\ProxyBuilder\ProxyBuilder; diff --git a/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php b/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php index d9a050e12409e9bf018103ee966dede5fc900c34..57a79b185cfea115a59bd1df3b62a25d89f2ec3a 100644 --- a/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php +++ b/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Render; use Drupal\Component\Render\FormattableMarkup; diff --git a/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php b/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php index 26fd085e3852cdfa6040350f54e0ca567c1e48be..2f09bf1821f075da167b95276085e5eae7fc71ec 100644 --- a/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php +++ b/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Render; use Drupal\Component\Render\HtmlEscapedText; diff --git a/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php b/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php index d68e03521b8347fb6ba2f6d277ae17f957eca288..afae2d777fe2a257c61705a3c57a9085b19c2c74 100644 --- a/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php +++ b/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Render; use Drupal\Component\Render\PlainTextOutput; diff --git a/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php b/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php index 2876661d2f8d782534c58d1df930c9b9b9f069b9..a48d7adb15c2d6b71679cda2116ff77693d974e4 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Json; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php b/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php index f002567268da44be942f8ed04d64d1b6e06c0385..52e4f6eaab5f4d50713d43fb397dab43ab6403dd 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Exception\InvalidDataTypeException; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php b/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php index 6e88c1571feb7ee27edcbe92110c726183d9bc79..e6c39fba3c25aea18bd81b521d2b4e04010a9e71 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Exception\InvalidDataTypeException; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php b/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php index 040dcc8e3b25db382c7524073be0e1518631abce..473de7a5eb8bb1bfd3c68cd22a7ae81f6c93edb0 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Exception\InvalidDataTypeException; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php b/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php index 82226d0d3425d2266f701c879284eb88b86d87e5..eebd0a22d68ca59d2df80409a3c426a80c5fa896 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php b/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php index 83eb5d910aab05311499e8c96597091226f12cca..fa7f8ab14f063e2c7ef69d4649121671ca4d84ba 100644 --- a/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php +++ b/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Transliteration; use Drupal\Component\Transliteration\PhpTransliteration; diff --git a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php index 1a7f2f231da750e7fe7d27fd604dd32c9d9698d5..7b97b39c26bda716cee9462bf13f483707495a5b 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\ArgumentsResolver; diff --git a/core/tests/Drupal/Tests/Component/Utility/BytesTest.php b/core/tests/Drupal/Tests/Component/Utility/BytesTest.php index 6b10659f05564aa8d13ed537c7b294c298791f24..b9294b6cae36eeb6ef80d09d1fc382c14ec1a188 100644 --- a/core/tests/Drupal/Tests/Component/Utility/BytesTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/BytesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Bytes; diff --git a/core/tests/Drupal/Tests/Component/Utility/ColorTest.php b/core/tests/Drupal/Tests/Component/Utility/ColorTest.php index b0db7191b27e1ed005b90109f170d8ae73d95c00..d3b457e3f20d34c27f8584c067db7a264f404721 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ColorTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ColorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Color; diff --git a/core/tests/Drupal/Tests/Component/Utility/CryptTest.php b/core/tests/Drupal/Tests/Component/Utility/CryptTest.php index b541e574e867fb5e905bcbb5233b1d4eaf633c97..8894d9cf21cb1a064015362b9eb45194f4a54316 100644 --- a/core/tests/Drupal/Tests/Component/Utility/CryptTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/CryptTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php b/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php index 26318ebe380bf8c7fd9b4d3d09a5fbebf021eaa2..d5d4577baf5728e36b62f81caee443f370dbd33f 100644 --- a/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\EmailValidator; diff --git a/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php b/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php index 5d484b2903ca1d6163e8e68073b1e008303fa9fc..10a5c2800a8ade31138200802e8282c1de9e88c0 100644 --- a/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Environment; diff --git a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php index ebe9668d748646e6cb4e281d8edb724388111ffd..b309ea2c5a7371e8d8014dc9f71a2b2c597074ff 100644 --- a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Component/Utility/ImageTest.php b/core/tests/Drupal/Tests/Component/Utility/ImageTest.php index be3cdd75eb02341ee466c7866a29f0bdc0d94ea1..5860e9bea3070e612be4804f6df901a10e44b5c7 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ImageTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ImageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Image; diff --git a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php index 35c0be96908864922126ebf8e964cf4dfa7ea880..f6f6873948236647d64ffa52b6c843cbee5480ab 100644 --- a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\NestedArray; diff --git a/core/tests/Drupal/Tests/Component/Utility/NumberTest.php b/core/tests/Drupal/Tests/Component/Utility/NumberTest.php index 0c5a5fa5072c385de75cc2b427cbc5cc94beb385..f719ec07a3452c5d782479e1a8115d0829f2a875 100644 --- a/core/tests/Drupal/Tests/Component/Utility/NumberTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/NumberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Number; diff --git a/core/tests/Drupal/Tests/Component/Utility/RandomTest.php b/core/tests/Drupal/Tests/Component/Utility/RandomTest.php index aaa75d57285e2add3577955e8e9d09a6b203fac4..fde2dbbb824b3c6277d6a789f9c584e6e756d17c 100644 --- a/core/tests/Drupal/Tests/Component/Utility/RandomTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/RandomTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php b/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php index 6a4dc778bd358e6b0136368a92ee8ea383a1add9..47d1c0c7a0aa64485ded9bbbb9d8a2066568ce9d 100644 --- a/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Rectangle; diff --git a/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php b/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php index 0a52a305f8e120579913282aca794366d42db823..f82392b189e2b32c99d7171daaba60a72579e0e8 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Reflection; diff --git a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php index 413991ff5e01527892d316421a01ce7276e24a60..34b191184cdfb23328f57e1ae34c2a51f07438e0 100644 --- a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\SortArray; diff --git a/core/tests/Drupal/Tests/Component/Utility/TimerTest.php b/core/tests/Drupal/Tests/Component/Utility/TimerTest.php index a7cbf8732eb49f4a902f2d7dadf2334fb3e513f9..3c12f9a19df6fa45ff4c4ab69998f413e0a85a74 100644 --- a/core/tests/Drupal/Tests/Component/Utility/TimerTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/TimerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Timer; diff --git a/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php b/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php index fc52e7ba25f686bf3cb9771e26a5306ea965bb73..4c9d301337ffd861fab2cb39466e3393bb9806ff 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Unicode; diff --git a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php index 254058339fbd95757778bf02906d2160d9b0c7fe..da578931b3ecdb43204d009b9f514d1999428ff2 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php b/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php index bb3e69d105aa4273fb21fa51134432b5007d2340..d19292c62de67351c6f7428998f386d01a36a9b7 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Component/Utility/VariableTest.php b/core/tests/Drupal/Tests/Component/Utility/VariableTest.php index 88c2b756cfcd8e0933b631d69c45aadc20814645..196f0db029ce0c9f9d61e6e3f8fe88c3b4cdceb2 100644 --- a/core/tests/Drupal/Tests/Component/Utility/VariableTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/VariableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Variable; diff --git a/core/tests/Drupal/Tests/Component/Utility/XssTest.php b/core/tests/Drupal/Tests/Component/Utility/XssTest.php index e076e977b392a48eebe2fba8339acd2d542e6c27..2cf89d233e6aa1656a09ae1b1386dd5a414f2c4b 100644 --- a/core/tests/Drupal/Tests/Component/Utility/XssTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/XssTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php b/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php index 1253803155c4f80d2437000da03218a40502508f..3170d7ce07578a207c10ee6ff9a4137aa55b226e 100644 --- a/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php +++ b/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Uuid; use Drupal\Component\Uuid\Uuid; diff --git a/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php b/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php index 292fd123e654b9bf28392aaee8dff0e64f4f7fe2..08edcaff96a0efd9ef5cc2a98ea893095f54c5a2 100644 --- a/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php +++ b/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Version; use Drupal\Component\Version\Constraint; diff --git a/core/tests/Drupal/Tests/Composer/ComposerTest.php b/core/tests/Drupal/Tests/Composer/ComposerTest.php index 38b4d51a3605191d3d8eb1fe70e247127b27cd64..552f25c2166af1791a94f7c4857f73e835717f0c 100644 --- a/core/tests/Drupal/Tests/Composer/ComposerTest.php +++ b/core/tests/Drupal/Tests/Composer/ComposerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer; use Drupal\Composer\Composer; diff --git a/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php b/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php index 2f19ea8342b094d83ff0e4edcefb01ba5103586b..ca4b9701ef7aba9d8b27ceab5c32594402bfbdc3 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php +++ b/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder; diff --git a/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php b/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php index 5de506456f769dd41a2ba76871958bf7e3964cdc..87e940507f2ee37a03f86c790b302425b1e64d07 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php +++ b/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use Drupal\Composer\Generator\Util\DrupalCoreComposer; diff --git a/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php b/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php index 80d4f73799b4470e3e51c39096418f6eda24ba64..664ffd7a73a9f0f63c6d555a583d119849d3e161 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php +++ b/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder; diff --git a/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php b/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php index fbbf6ac926660d9158d0a70d852d0e1ed58aadde..69616f7fa63b39e073ff0fb9efaef1fc2af87618 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php +++ b/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php b/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php index ba7077fa9516af39116a66b2ad55d509b2a6fdc3..f1ed747139552af1cc8130ea25a1a686d3f2f028 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\ProjectMessage; use Composer\Package\RootPackageInterface; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php index 5391087cf1c8087bc4d451f9f34b9feefbbd3dc2..b25c5072a98b2acbe6e9f00cbe8f1532a9dca5d7 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold; use Composer\Console\Application; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php index 4f831bdceea682f28f8533ca6b92719360d684a3..24fcdfce2982d68a1e92aea5592014e359f4c3ee 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php index 29189438fc21058f602e8b9bf40227abfc727080..9e50d3c92bf077f9e03cbbea9a107fe814cfd831 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php index 12868c0facea790b867c01f78b452c71db842215..8f3055f7ce2d71b55df8979ae37295bb7e90c3a6 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php index 5102b6233fc84f0dce46f79554f78c108083d385..20eb6d1e5a1b17acd87e583bb245302d1b17f5c3 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php index b113afa3220cb5e4c3e3ce56302fa8dff083d0b4..45806562416b4ef284fa647b00a6b6b86d763532 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use Drupal\Composer\Plugin\Scaffold\Operations\AppendOp; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php index 7792034af7d3fb16853356376bad58edadfabfaa..00deb085684d63b5182a9064d229fa1eab99f89e 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use Drupal\Composer\Plugin\Scaffold\Operations\ReplaceOp; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php index 69b8acfeb57a49d641fbf6bd2d16988c2c93ecd9..2741a77d3389d15d69e83c23b73bebcdc684bd6e 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php index 3f90f79bad1b1c702b2334d3398edda5179580dc..8fd239540bdecfbe8d7f84412f980589373b15de 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use Drupal\Composer\Plugin\Scaffold\Operations\SkipOp; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php index a82bcf4fbe367b1508a3f9238ed506882b952871..668665400b22371a2d3de9fffca12d8ba720207f 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold; /** diff --git a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php index 8b6001b6afedc4aa8195f00a1d6ee87cf70e4145..bf154ca10fc5c3d808ecff0eb38094a51005ba25 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\VendorHardening; use Composer\Package\RootPackageInterface; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php index 30cc3bf10ef9b95aacbbad1d12dab4ebea4df2b4..0a5fcee9c451a9e9b9c16e467310bb47ee6eab95 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\VendorHardening; use Composer\Composer; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php index 568a2b0820f7988ac917e0f5cb30a01e2d781376..74de788258ea36a98fc7acf31bb4eeda69a58859 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessCheckInterface; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php index 0c42d2c191e39409959be3be3e624328c4d8e2ff..cdf7a8c99f6d16a0ccfc7ce2e8e6e6fa9db039c9 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResultForbidden; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php index 77b16e31673629c47ad296616088559ca3f56409..2a0c4f3bc2e925c474a9d3de291e9dd1283e77aa 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResultNeutral; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php index a82d3debb82dcc781b7769c4893187d7fd9581a8..ae25925f294334d5c0060239a457a42c660ab554 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php index d32912f16a883f6654ed172f02cf461011521c4b..b6678722eccad8e19b216007ac92ca55efc49c4b 100644 --- a/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php b/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php index 118e5c0413918cb42acd258ae1ca2fb0fe6995e8..f81f9960b0dcc8001ee5a0795e7f557155ebb978 100644 --- a/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Site\Settings; diff --git a/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php index 5f5a2e136881a505f27f1ba6508a43f0a7edd57e..c487ded7c97c0f0c3c05208e028acd3a86615ba0 100644 --- a/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php index addef57973f00876d4deda8a1fc8b54b41e354fe..372b35159848532bac545c97d618176fe3e518a2 100644 --- a/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php index acabe3cbbdce6c8a76aa848b99f1ce1b5c6d1960..6e356b7f244b89a69a0c8d14e1ef6e578d6b7de4 100644 --- a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php +++ b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php b/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php index 90169e978e4aded0fdb8ea600709124360126589..1f6b02bc188a6e66b25833b4d80a54f9c78c478e 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Ajax; use Drupal\Core\Ajax\AnnounceCommand; diff --git a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php index 18543f8ec65049eb4641134a3630bc27287308d8..0033fd3b41ef4b5631c6172f6f8316b71f2f17d2 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Ajax; use Drupal\Core\Ajax\AjaxResponse; diff --git a/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php b/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php index a53e10f1ecc5abae9960fb9c1a1d833e6d00ffcf..7564d77e5203f8882dc282b506f81cc25db9ac7d 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Ajax; use Drupal\Core\Ajax\OpenOffCanvasDialogCommand; diff --git a/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php b/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php index 98513ca93d0c31f1d040bbe555f1539a14405f15..845e624685a92ee3047b7c5f105f1db667ef908b 100644 --- a/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php +++ b/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Annotation; use Drupal\Core\Annotation\PluralTranslation; diff --git a/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php b/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php index 8873b9b19ea141560d1270064337432692b961a6..2a6e79aa48adf3bcea71328afb0f6d05d36b4425 100644 --- a/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php +++ b/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Annotation; use Drupal\Core\Annotation\Translation; diff --git a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php index 258716826308f0178d1ba30e5db41ccce55713d5..07db8514ed3d334ed24e36f7b2a542d7c9df2927 100644 --- a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\AssetResolver; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php index 7d8345ea2cdb77bbf4820c34d591896331542cfc..34adf3fe49746a8721ee17e7acab5d7fd50a5763 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\CssCollectionGrouper; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php index d1d5364f4fff94cf55a06d337ab3c0ac8f67df97..561807d20eb4910fa59ae256fe46974206bd22ec 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Component\Datetime\TimeInterface; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php index 9fc8e0309cdb4791d88efcb9872dfb77db21a82b..195afc7dadddee85450e2e78886d35296a53164b 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\AssetCollectionGrouperInterface; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php index 2458ed307305739fbdd6c94f7c0779374309a467..bf3071056b9e97df7f6e7b90c805fe829366b60b 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\AssetQueryStringInterface; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php index e4833ec41a2b1b3f53844a4c5c6557517cdd5f48..318f2c62b0e37139bc038d5f3ed296ca44f0e8da 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\CssOptimizer; diff --git a/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php index cc2596566c770ad2652c8ce074beb8ca87a718e5..d698dcda17066693baf7790a028739f7b39ecbe9 100644 --- a/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\JsOptimizer; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php b/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php index dab1ef3db07c30a44914ad3ad13a85b16f8c5283..bf3a7f02d83f9dc1e15eee38287fd52120e96b2b 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibrariesDirectoryFileFinder; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php index a8425ac20783d4efa8ca18e60ebc9be4f8206030..40327713c063961836fc9b54d59c327ccacc9f00 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibraryDependencyResolver; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php index fd96a0783b158e1dd07390b902d75802a765b2b8..5528ca294fb67226b42a33050ab8617cc41509bd 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibraryDiscoveryCollector; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php index a05a5a0e4cffb54d44b4ae51f57ca43407cd1b84..ddc83a815aedc50da5ab7796910582f565dd9102 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\Exception\IncompleteLibraryDefinitionException; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php index b53d6a72b9285bb5db39c6cb435e92073dd5f8ec..72bc4add577d1781c1d302425a6292d2e05ced43 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibraryDiscovery; diff --git a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php index 00cec2a6209fec39803137f2b471a6dac790d58c..9f19efe1113ed3bdb80ebde72853e4f40d7d3c7f 100644 --- a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php +++ b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Authentication; use Drupal\Core\Authentication\AuthenticationCollector; diff --git a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php index f1964a2d2a5fac29943ec354ed8186323499c64c..d67b3309584c535a596fa0eec08d7a247237ea19 100644 --- a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Authentication; use Drupal\Core\Authentication\AuthenticationCollector; diff --git a/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php b/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php index 64c0963004c24fbe71168e9cec38af758a727e8f..5971692a116b452713112293847101b86f4fb3be 100644 --- a/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Batch; use Drupal\Core\Batch\BatchBuilder; diff --git a/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php b/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php index 382ae29da804311650cb85984c8266320aa0e10f..128f4d5da8dcee8f5b3ebe227249627bb8bd3acc 100644 --- a/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php +++ b/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Batch; use Drupal\Core\Batch\Percentage; diff --git a/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php b/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php index 21ada5c8d0ac53341924b76e292720e1e357ad1a..0ac1f6c775cdbe982068f64872d1e1d82cb6993a 100644 --- a/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Block; use Drupal\block_test\Plugin\Block\TestBlockInstantiation; diff --git a/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php b/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php index 5ce1b499fc3cd389ed57625f89cc0e69a1aa8146..dc993a5faadd7a5d80468a88189f001e3b4fc98a 100644 --- a/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Block; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php index b6317841fea7090c2a1fe5815f351458820d2043..579a7168636fe85655834261a2004bffdaaa0667 100644 --- a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Breadcrumb; use Drupal\Core\Breadcrumb\Breadcrumb; diff --git a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php index f578301941c8fd9a59b748f2ae95bc0d223b02c6..c0f91db54a61db8e94252c08243014fe48e68c50 100644 --- a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php +++ b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Breadcrumb; use Drupal\Core\Breadcrumb\Breadcrumb; diff --git a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php index 9be88bbcb1abd454182e2b7fad031696e8c910cd..6dba9c583293d76f0ecf8a1bf9220ced67fc2537 100644 --- a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\BackendChain; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php index a44e8d4acd92a4be96db2248c4b98cf12407db98..aecbfee826b7d4ee3932447fad5eeb9fecbd2150 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheCollector; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php index d345763c6ea3186882a22a1bc77dde95417d420a..627cef0feff4eedf0c09a35c0fbffa7dafdd8f3d 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php index c67dc843dd589dd2edab9b0250149650ba9e940b..8c555465c7591fb93ad03a40331d354b1c07fd53 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php index 02f6731e94ff568157401f3e876f2db6d2f60603..20a5aef43c0b1795742203cb1397364ade2216ec 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheTagsInvalidator; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheTest.php index 7b5b3f56e3d3d17cf35a5b6968dd1d469f1cf027..71090f46c24dd9fb298ce15dc58c8a02b63cfcb0 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php index ff12edabe67818afcb9cd13e98c5e4190d9f183a..d0b4c2f65361f23611f8634af9757c231f36da21 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php index 837c0f2a386feb801f4b230480c2ff9b51267908..6b14a97c3a82b8873caf1af2315e16445b2f6ae7 100644 --- a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php index ac5fb40a3b9e631ec618a04840d8f2758ca997fc..560a1a7d97e60e4b5fd6d673234d093c8ea33afe 100644 --- a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\ChainedFastBackend; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php index 36b23bf6fc903a5e10e015a68312cc990527b54d..562eda98897ac23b2a17d1e60b4364d39badc588 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php index 71959b03d0558845d2a94148c45e123911e9622d..3dee9fc9475776174f85cef63ab28a0309848d42 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\CookiesCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php index 8f69e21740c9022e54ad49bf7bed7c4dc910ca05..1a946b5760a866a0b9257541857dd0944c4922b9 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\HeadersCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php index 84fe9b1b33d5d29f9512cb7a7d51f3ccc1ca6567..ef732eb9cec6e5ad8daf04763a1be6b50799cd5e 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\IsFrontPathCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php index 69120e27f5519bb428acc7f268ee24b26c322b61..440e0e5c07d40d5cafd17dcb4a50e6a70d11466b 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\PathParentCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php index 530565cfa332d69c3fec865216fb277033c92cf8..72f1de4094a1c12d1b05ef194afc002e97e4d71f 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\ProtocolVersionCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php index 5c30a92fbb766417a717835a9b7bf16fa63737c5..ae8009f24f2bfb6ba8adcfdef4deee029eac83cc 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\QueryArgsCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php index e591f4f13a0cf017102de2de28cafac9c73a8a4d..87993d50f98f1c33e65871598fc4e441da3b8c3d 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\SessionCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php index a9c010410887ea8a56c673e270bc576d85b415d3..6b889c07105cedcd58ac54528bafe0b1f11c8eb5 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\UserRolesCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php index 9d5ac4bdf9240aca8483753ef6a6c6d57769a9d2..bf94caa009eab44859b53cfbcab73de9ec0c8b13 100644 --- a/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheTagsChecksumInterface; diff --git a/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php index bf79f70903db368efd7bc8829326ba86324fde3f..e5067a697d8e4a78cc634c3919d831d3432c1494 100644 --- a/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php b/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php index 60f50db415541c83b7fd92161158acd698450e5d..a63a736378512c8a66fa88b0c0277b1affa15cd9 100644 --- a/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php b/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php index a64881c051c540505a189f17fb0b9aa386e5eee3..5a401044e97d9248bebd2e2a2d394f20c48b11e2 100644 --- a/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php +++ b/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Command; use Drupal\BuildTests\QuickStart\QuickStartTestBase; diff --git a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php index ff6c3c5462ac9f065c56f474f63bbbd46c260324..735624438ae7cdea53c6cc2c2f66210c077faa6a 100644 --- a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Command; use Drupal\sqlite\Driver\Database\sqlite\Install\Tasks; diff --git a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php index e9670403892723e389a4fb83a6126afdd29e3a41..f2fd29e16dc088cbc0c9c7a0c1296fd609943eca 100644 --- a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php +++ b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Common; use Drupal\Core\Template\Attribute; diff --git a/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php b/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php index 8c963af1ca625b91f927acc2bb2dce352374da51..3394fca907f6958b07bb5ef1fce37ff8ccbe5a47 100644 --- a/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php +++ b/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Common; use Drupal\Component\Utility\DiffArray; diff --git a/core/tests/Drupal/Tests/Core/Common/TagsTest.php b/core/tests/Drupal/Tests/Core/Common/TagsTest.php index a0ca0ac7c6769e8167812d583d1bac1dfb075527..57511048acf83500b78ebfa05d8db6159012b777 100644 --- a/core/tests/Drupal/Tests/Core/Common/TagsTest.php +++ b/core/tests/Drupal/Tests/Core/Common/TagsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Common; use Drupal\Component\Utility\Tags; diff --git a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php index 82e1c6d551ec4edd8d2d5d2becef166d220543ab..8adee3fc1b0a523136d000881d74f90024f294e5 100644 --- a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Condition; use Drupal\Component\Plugin\Exception\ContextException; diff --git a/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php b/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php index a33c05187e56a26e36e9548efd0093b828fa4ac6..32bb2b0fde0361d3e06f7127a87da557e6c0ba34 100644 --- a/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php index bd1af594a2bc758f454d67110b82708824836730..92a6342c262f19cfc25529e7ce2a59d2a1d867a2 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\Entity\ConfigDependencyManager; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php index f81352f712dbc9e83236dd92ba344553861af61c..d4ba1b1a0636a65186667cc6ff6840e12e4b48d3 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\ConfigCollectionInfo; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php index ce57d2cbe4d1e6693520cc3f661d624a9fda81fd..ae0944489ebaf69fe39a3a383272930efd648cf6 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\Config; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigTest.php index c75964465c13b9e849cb83213bafcc5f402d370f..1bdc3cbd28afe2b215d8fbcd17458c5a290aad04 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php index 9f058d56f3614c06a15c4bde788cede7674c2cb1..1bf92c0ec495abc46ef36ecd8f31f45296c83672 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php index 2a50bd6882f1486e97e73100dbe423f68af8a133..c1dac0ec459d797fbe413b36be9c989f0821cbc4 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Component\Plugin\PluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php index f689db48ab260e354b60bddf5e50f528252ccf1b..d41ac6d92c3a655ae31ffd20d4e9baa70bc11c15 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php index 65c70288f9659c55c0077366e81b9b9d6b205c5e..77ab459be41bd18411d3c4d6803cce370c861e2f 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Component\Uuid\UuidInterface; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php index 4edb98e27ed6d0b88890262e0d008bdb892a6f2c..09b47a11c3dcd63f35702cc27dffbdc327c1a698 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Core\Config\TypedConfigManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php index ca315415fc3bf785d285d6f6b8dcd5ee37e55097..13163a10828e508a23c4798edca9a2b89998d069 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php index c3a9c10b836a45675d8fe1778f7ea7cc3dcd9110..bc44483ed2023f46e9cf3d34f484f615a907fc6c 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php b/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php index 6dc9d9817e6937d85e22e8ae442644855dfde8be..4013130c37dd632dc40b61cba61c8a0765501dce 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity\Fixtures; use Drupal\Core\Config\Entity\ConfigEntityBase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php index e54d3c6959e4ea0f50745d770bfb38c3a2120335..9bab605732fcac8ae36045f0799c0390c4760e4e 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity\Query; use Drupal\Core\Config\Config; diff --git a/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php b/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php index 86c217bd1ecdd9ae21cbc246c6f7e6af5a86344d..4444073b08733d42d68eba422e36475e791b9a20 100644 --- a/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\ExtensionInstallStorage; diff --git a/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php b/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php index 25a75d3428dfc7a89585e03fbd251a0a48565af8..29375c3e52544b3361f9abd62c016936e8d5494c 100644 --- a/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\ImmutableConfig; diff --git a/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php b/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php index 9cb15a81f5ba679c2f641497576595b7e53738e0..1a8f922878792a837c95e8812ec79e5ce4783d21 100644 --- a/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\NullStorage; diff --git a/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php b/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php index 59a170488db42c43b66227a4cb770b79d70c7735..69855da4c9c3e89c7b1b1168edad9c4b8dcc7be2 100644 --- a/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\MemoryStorage; diff --git a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php index 64fce17b2e0eff9e95690c0376170ed5697e7cbe..51131d7284b50e16acee493b657027dae62f90df 100644 --- a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php +++ b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Component\Uuid\Php; diff --git a/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php b/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php index d3710b278df4141d2407d5e77ce8cdb3ad529591..9b13f9328a53bc9b50a840ff1d84d339232eaecd 100644 --- a/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\MemoryStorage; diff --git a/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php b/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php index e9d9c00e0c1e5faaee29a2923825201084a23d40..a1d4e38e27fdc1f510ddd4e8bbde9f3d09e9b472 100644 --- a/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Core\Render\MainContent\AjaxRenderer; diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php index 5044789637c59b143309ef05c3524051542dc41d..0ddb46e121a12077bb9b5e036a3fba8b809c81d7 100644 --- a/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php index 2c0b853e51ab213e1283bdde776c08c45daef2e5..3bb192f08ef94e6c35f76cea742f8722f7e0ac47 100644 --- a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Core\Controller\ControllerResolver; diff --git a/core/tests/Drupal/Tests/Core/Controller/TestController.php b/core/tests/Drupal/Tests/Core/Controller/TestController.php index 976071077e60ca622cecdb0f1b8e7e4d081f4c29..3628df300ccd1823ed2b6c5d54b8c7d8eb3dc8c3 100644 --- a/core/tests/Drupal/Tests/Core/Controller/TestController.php +++ b/core/tests/Drupal/Tests/Core/Controller/TestController.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Symfony\Component\HttpFoundation\Response; diff --git a/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php index 2716e4e45ea3c61d11c869eb538c647293448d36..73e3fe338b99cd57a9f48caa6f508fcfb345fe60 100644 --- a/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Core\Controller\TitleResolver; diff --git a/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php b/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php index 6ac8367a995d5075998bbb2b249238d1a7f712e4..dc8af98f93a248fa068b2f28ab907e1a988cb735 100644 --- a/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php +++ b/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cron; use Drupal\Component\Datetime\TimeInterface; diff --git a/core/tests/Drupal/Tests/Core/CronTest.php b/core/tests/Drupal/Tests/Core/CronTest.php index bc968777a539de47ba55a961c06265879063ce94..09d3d5325b8040d9b0f83e5a20f2b09449efb032 100644 --- a/core/tests/Drupal/Tests/Core/CronTest.php +++ b/core/tests/Drupal/Tests/Core/CronTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php index e51d5791e1a2b5d2a4de9f492300a9fb2c48d10a..4e6908694bc1d38e6d1cf7bfc3c8be9a08fa8fa8 100644 --- a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Connection; diff --git a/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php b/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php index b23d88b99c263411a52598b48700fe49bf00d24e..3cb735405bd8f471dd6a889ce90864cc49c5b8f4 100644 --- a/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php b/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php index 8205f338e6acf2362d9c371e146ce507833cc5d8..433a72c49cabe80b93919c24c8712950e7c2dcda 100644 --- a/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php +++ b/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Connection; diff --git a/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php b/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php index 11ac1ae14423da51d35e73707f3fac8451b4f447..38f518fc9f2ca9abd77e1f61746f565ee47a980f 100644 --- a/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php +++ b/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php b/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php index 7926234ac02920eeceed310738519757431f6ea9..0e7f3e707815b92e9a5bd20e5d040a709855effd 100644 --- a/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php +++ b/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php b/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php index dbdc0ae338c4e6af90019837897436445521cb47..460fe1129372c0c5caec70f666a41009df6481a9 100644 --- a/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php +++ b/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Database/LogTest.php b/core/tests/Drupal/Tests/Core/Database/LogTest.php index 7d5e5fec71a645bc917f84a153f649b06f876314..5d592cd48b8100a4ab5f892c9c2f8df732f0f6e1 100644 --- a/core/tests/Drupal/Tests/Core/Database/LogTest.php +++ b/core/tests/Drupal/Tests/Core/Database/LogTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Database; @@ -37,7 +39,7 @@ public function testContribDriverLog() { $result = (new StubConnection($pdo, []))->testLogCaller(); $this->assertSame([ 'file' => __FILE__, - 'line' => 37, + 'line' => 39, 'function' => 'testContribDriverLog', 'class' => 'Drupal\Tests\Core\Database\LogTest', 'type' => '->', @@ -51,7 +53,7 @@ public function testContribDriverLog() { $result = (new Log())->findCaller(); $this->assertSame([ 'file' => __FILE__, - 'line' => 51, + 'line' => 53, 'function' => 'testContribDriverLog', 'class' => 'Drupal\Tests\Core\Database\LogTest', 'type' => '->', diff --git a/core/tests/Drupal/Tests/Core/Database/OrderByTest.php b/core/tests/Drupal/Tests/Core/Database/OrderByTest.php index e2ee06a24cf0fd8f659995c1bfad682010f1fa02..f6b21a04c24cba4969497a24b840185e684a4515 100644 --- a/core/tests/Drupal/Tests/Core/Database/OrderByTest.php +++ b/core/tests/Drupal/Tests/Core/Database/OrderByTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Query\Select; diff --git a/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php b/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php index 6d74d44908a7b730d3bd7db401b960e434210208..9610b5249892f5e6512f649836ede54503e11a50 100644 --- a/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\RowCountException; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php b/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php index 41c7c6e4df49294ee7b348bec582d75ae0a2a55d..b78383d6a1204fd1510fc62b0d1e7e20590b180e 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub\Driver; /** diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/Select.php b/core/tests/Drupal/Tests/Core/Database/Stub/Select.php index a8dcd399d33db8c7740e7b6ca61175ffca5ca402..c004d7f0a72682002bba3f6ac7481ab4a6cb541e 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/Select.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/Select.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Query\Select as QuerySelect; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php index 3b7b79a69973aa9dfc61a380334de1756e780595..abe543fd1e758fcb267df4809ef3f77a9add19a8 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Query\Condition; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php index 2ce07e0646b84853b68a9a2d889e95382ee36e45..fbc02bdb88099bb9fac1540a8d3c55bd0913de64 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Connection; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php index 74737b073bf938ffbf10db6a230e89d387b507d4..eb4010fe316411ea91828c9cd5e734ac9705332b 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; /** diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php index 34b28e939815b7b6ede14da426d8964d01831889..2626c11c3741ab280ef096f2e8663f101887a57c 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Query\Upsert; diff --git a/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php b/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php index 9a93304e78412f68a320ee5c272962d71cb78298..6f87304b590b47b990fdca6c876777faf9ae8afb 100644 --- a/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Database; diff --git a/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php b/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php index 43eeee5fa4b6ff20453868b4f8784ce1eb4e4ea6..4d3476665614e2ae88f83b7782c6f43989cfca53 100644 --- a/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php +++ b/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\driver_missing_dependency_test\Driver\Database\MissingDependency\Install; use Drupal\Core\Database\Install\Tasks as CoreTasks; diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php index 9c1bd69b05bdc17f80f4a4f2cc2cdd37dd887980..e9295ad379bd115b1f3ee6a6a21873519e7e868f 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Datetime\DateHelper; diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php index b73fb66ccf8ecb55b90cba728f3c2e9a3d6220a5..c9010bdcd7c7bd81b6d4a3c00075a302f2dfcbb8 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php b/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php index e7debc17d6f2ffa23c5883c31be4d251052f4afd..fc0213793f135352cc4fb713c7909b5be5c9648e 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Datetime\DrupalDateTime; diff --git a/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php b/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php index 72a0f74ae203685667b664c58c96608a5c9965b1..92ce77bc5d6ea38e7b2949b1e2d8564783d61df0 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Datetime\TimeZoneFormHelper; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php index 658d6e2eaa21155c8f2475424b92414326299a15..7e106cefcc65bc22dfa8e6c2bdef8245aa2a8415 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\AuthenticationProviderPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php index bd99c0dd1a29cf2ec6bf57196f920defc1cc1939..51064a317b86417b49ea72da6c2e7219c31b14d9 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\BackendCompilerPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php index b6a94b8c063e2886eac28dff1cfb6e21ac049dc3..5ff1c829b0bd78afca87b7876e17d71b33a9de89 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php index bec9f692334e1d407c4ee59fbbb138b084ffbdcd..27ee74a64500adbb5af27a0b720e2ccb399d3cfd 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\StackedKernelPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php index 3641580048169fb6979e2ca16c881b91f7970cfe..ed07b2fb7cee0e2af8d01169cccd0841403c4d31 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php index 3fd75cadfc41b1278f0fa3e00ff6f835aea5458d..32f4c3cfaf805a1f36fc7fdb9370f39328604c41 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php index 2d7bd078b16c8740fb59782faeb5b4beff64688d..426d392bf304a44f0496e9db73562f255d192c64 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Core\DependencyInjection\Container; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php index bfba22cddc083486c035702bdf5eeebcd995cdae..d37088fba0da2d9e1975010df3b6a53949181270 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Component\DependencyInjection\ReverseContainer; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php index 4fc0a6487f4a4411669d6cdfdc97e05f79b5c536..1399ac131372dc3f7d480919493c2f56e223dadb 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Fixture; /** diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php index 1ffe9ac5b471d881be30dc6aada53e0161b1ba35..b4f83640195238b9cf06a7e18dbb3c220540a276 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Fixture; /** diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php index 6462a473f00b2376f2caab1501b227ddda0c645e..7f55c404fb232db90885f3ed0e1d3d099a44e199 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Component\FileCache\FileCacheFactory; diff --git a/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php index 34a76528b5dd6e46c6c58370c34fd975cd5955d9..b5094f0675969928fb41b7772199cfdd9dd3e1c8 100644 --- a/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Discovery; use Drupal\Component\FileCache\FileCacheFactory; diff --git a/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php b/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php index b4fa731ae39905ce992390d1ab21be9c92039adc..71a39d0cfb90f0e80120c0baaeb5ad286a33ac11 100644 --- a/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php +++ b/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Display; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php index 5a6e6c924ba5d1bea7240c359eb5cd6e372285fd..2763f40b530e96521487b7035ef71c15d0984602 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DrupalKernel; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php index cb04af7ff54405ba7b4e0fa36671f5202a2d61b5..a6b05c73c46119dc89107d6dcd53503c1b2eff79 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DrupalKernel; use Drupal\Core\DrupalKernel; diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php index 2010f49ba4d1d8ebbb950622d120f053fbad23cd..d48adaaf1039b4908b96203926acef4374d90658 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DrupalKernel; use Drupal\Core\DrupalKernel; diff --git a/core/tests/Drupal/Tests/Core/DrupalTest.php b/core/tests/Drupal/Tests/Core/DrupalTest.php index 38c59dfa0824d24dfeacf59258287b5eac2418d9..49c6226f6aee5ba5abeeeaf1528d19090ce9c116 100644 --- a/core/tests/Drupal/Tests/Core/DrupalTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\DependencyInjection\ClassResolverInterface; diff --git a/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php b/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php index 029f9f12ca90ab7d9eaa4c1b3b180b1e2b1764aa..d5a691dd951b5c856942fc056756a217b90eaf60 100644 --- a/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Enhancer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php b/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php index ec9224eb3f4ae7d21177f4f1834a49c7fbfebdb1..261a93590a617268a8646f59bbb7cfef72274dce 100644 --- a/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Enhancer; use Drupal\Core\Routing\Enhancer\ParamConversionEnhancer; diff --git a/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php index 23ec2b8607f894b03ec10225d646c428f061fcb9..df0e46e0d9db78df58de4ea8b6c631c438c44bf8 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Access; use Drupal\Component\Plugin\PluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php index becbb3c26239dee2444259b1df26c31e875fa66d..c0c695451af92a3bc0a0f212b93ed4e00bd84c33 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Access; use Drupal\Core\Entity\Entity\Access\EntityViewDisplayAccessControlHandler; diff --git a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php index 5b104a3aa2ecfe3e6d6d5a3234cfe9edf562fff5..7583848a1ecf68977abc5d2a73df09eb6e0ca0c6 100644 --- a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php index 38908b9aa605665bb3b1a865e07c2a64c66fee57..6d7951bc97436236678b523340abe9c2e9ecb794 100644 --- a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php b/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php index c3c2cbc0021af25e98aec6e17df7501d4f23d5ef..5df0b8c7a6e55f1884c6b7852858c368010af919 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Enhancer; use Drupal\Core\Entity\Enhancer\EntityRouteEnhancer; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php index ad5d0984de2056c98e41ce22530d06bb68aaf64e..c5028fc654cb3de8823acf58758ea8b73e980d0b 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php index 3de507802fa6b755408c61137a9e0de81760c4d7..6aeda12d3d5c5087f5731912bbcbddfdf8852ed8 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityConstraintViolationList; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php index d9069f9382b8614675a1e2785281f7b43ac5861b..7e93fa4f70c453f561858183d68e1d83b57a092d 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php index d7e87ff4d78798da5743228e9ec4603f983c9bf2..cf2293b8d3ff173076b720e38f3ffad3ecd14be1 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php index 56ae73b6fbf5470cbc0757f07191aa13621b3320..aecf223435e3fb780871f579b7540b506984f164 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityFormBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php index b4cd603777af1050f1574ab151f2375a52191228..3712b7fac625371dea4c49e95fca9a74f2b4f2fc 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityForm; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php index 978ab70e3a3695394d875ddd79b06e5dd5b1eca1..1398c4503d8d912012cc79668284dbb284fdf19d 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Config\Entity\ConfigEntityBase; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php index d2a2b46716de5e4b96c9253ccd96fb8e7d184a64..4ab0e17c0bae38df67917335bb4e69b1d1359afb 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php index 80328ea93b35f00918c6777db265753beba181df..7048f2fbac762d4e4a24d19f6edf0e5084a20843 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\ContentEntityInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php index 5ef74c2e15008a08442254bc3e41adafa5f511e9..cdb68553e4540d4cd5363be2662848d3253ecf31 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityBase; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php index d5bf5f40af7bb24a99362b38b2517bbc570feb86..bc6621b719e1ebf337b79cfd61e3c7bee27d19f9 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php index 344af4a889b963b65b1717278f7e7a57c3d5f17f..a18491f9a4efd29786bd5265e76487d6506f054a 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php index 246b925d75777903e622935e926e84bfeecf30ac..ba0031958a3b6d0ae5c11d0276f6fa0683cdb028 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php index 3488d3ea5aa0e073feb181e3c072d26964616f70..e86fb2e484da762cc3e5b9351a7e3a9fb037f99b 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php index 01a9fc1394b606c48868fffb9374faf2ab64186b..2a2c510d141802ea567abc92b875dc622e155afd 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Config\Entity\ConfigEntityInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php index e23eabea6c412359e8d372a8ed0451d2519e4368..c564a3e17f1ec6f74e59cdb1bb91df16305a7f1d 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php index cd9dc82ce7757a9054a7dc801d1ce94d8ed591f0..2fc1f84b3f45a58f66c308423c3d0161e5bc40ad 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php index 44e7f522fa54f9bfa4dae007e28d77711179a25a..fd72a312cb3136c9d5efbde560adbe3c449c5da5 100644 --- a/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php index ea94a0c07ce105250e80fd1c9af425013f7951da..208f3cddd351a6995fbb234e2d13f7234eafc03b 100644 --- a/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\KeyValueStore; use Drupal\Core\Cache\MemoryCache\MemoryCache; diff --git a/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php b/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php index b733e8169565e69d0adb3288aa11b10d24328d4f..5da95031017f1990ec680eeb5a9d2b1fca68fd55 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Query\Sql; use Drupal\Core\Entity\EntityType; diff --git a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php index 6b9ed71b79f3bfac10667ad16a7a334a1d6e2613..e8e207dadde6dfe22a29f6829bcb1fe7ac813cdf 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Routing; use Drupal\Core\Config\Entity\ConfigEntityTypeInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php index d403e8dabc61275c6be2ca458b2a9de19d1da752..cd97ea8b379d46dfb00d477576789081bfc71c77 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Sql; use Drupal\Core\Entity\Sql\DefaultTableMapping; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php index ac6941caa380c8f75d5d3886f94d17fe22a1eb03..52882bf1599d8a055ae34ffb28acd1ec59c9ea44 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Sql; use Drupal\Core\Entity\ContentEntityType; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php index d9aab845abb23920163bd047cec44c9050e7417b..f414fa399399f5243f4607dc694f22a5d78c87b7 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Sql; use Drupal\Core\Cache\MemoryCache\MemoryCache; diff --git a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php index f960b296b3822e07310bc110ab5bd6fba129ec8f..3b4de81d80b11deafd2697d3572a53dcaf501004 100644 --- a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\TypedData; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php index b201625730fe11a69fa709b8dae8ed4052408b3f..d07c425ea54554e08d2986a2b3f95a134d0696e6 100644 --- a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php +++ b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Error; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php index fecf8786d43223131e0a235b93a5fbc595d0a7fd..5657fa656ab8eeeb2167f12ddc8058312f9c0973 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Component\Serialization\Json; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php index ea35df8665bd38ae7571671e7cb973cd197c85b5..50cbfb2e147fa62362a49a02178673a78fbc811b 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php index c8a33bce0a72d5cfdd5294575c33c0601e85b606..921d370190445310b5ee0fc866b38dd05bb3f2bf 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\Cache\CacheableJsonResponse; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php index 9e971cb4f04121c9116923d2be04a562c713334b..5ed6330240d0b1760a85267f4647cd1b8a96fc01 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\FinalExceptionSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php index f83951cc85a3c82c19bd3c10d0d21aeb3bbd7813..4a5033e939a4d2a593727c7d7130458779beb084 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php index fe9b7203340f234527fe3f13cb1cea8ec7ac24be..3b65d4039714ef0ce9ce527bbbbfc1a971a068e8 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\Routing\RouteBuildEvent; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php index bcc51bb8abad413fc70eb1002c5d6ffc3e0481c5..c186267eece79ec65585e7eb546c69d6eb682fb0 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\OptionsRequestSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php index a330aaa17fa26afd129c2a7aadbe1cd4054a4668..705de806814079699f96b8b99bf0b44d630931ef 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\PathRootsSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php index a67c61918b61c86c5b5dab4c4fe124a74d77ddfe..e8fbd62b3f807827ad15360a0e51ff9c4b74dca6 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php index 7b76476ceed81927e9be8c023cf134c7d752ea87..42921760ed73a6ee47dcf57107269e7b60c0b8c3 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\RedirectResponseSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php index fe0dd1d170f56b7dc7854678f0701ff434be3574..e126fdc543509b0169ca1e13520b24d1386cffbf 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php index 440b1e48c90b6559fd892d0672b37a38606a1dc3..179e099504087b64dcb0bb7c7b7a8536e37daa77 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber; diff --git a/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php b/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php index 99509d47a664b51598a00f0bed20f398274a5cb4..7f7c281a096b46cac2236bb5fa7079e443dadb94 100644 --- a/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Database\Database; diff --git a/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php b/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php index 29677b2c6ec97f21b42e6d41f43120c234599002..44a01e2f6c7b4eae270a305f2b5ca9594a1ac266 100644 --- a/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php b/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php index 865997272a5e74a169c636b996b24f87c32db34f..a57cd28156c3a8303786e155c5fa1b65d2212228 100644 --- a/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\Version\Constraint; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php index 64df82b79e06dc9266e05502a05688c29cc37e22..45c286c53253a5d650e6ded405344d687021f41d 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\FileCache\FileCacheFactory; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php index a1ebab060ce16557ff5359fdf1ad1889a62ebc45..fb96f146b4090414d39567c8653e93171ed8fe8a 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\Serialization\Yaml; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php index 02c7ec19a1e9efc08e22f185b18c9d86c12fac00..8016d36ed1c4c3a2bea7188f0fc2f4a10ca8fe2e 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php index 1d5f08c1faa48c114fe4e296453c09fe0ca250c3..06aa51e53fdf15dfec540019af9c44c9def4de80 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\ExtensionVersion; diff --git a/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php b/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php index a879b691f9c1cdc2319d43702119dc2e4bb7cf70..63696bb5d93c1002e30e33f7970f46ff6663cb90 100644 --- a/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php index 67583e509a99d193931ed1c3c198d32cb665f08d..bf70c5522d47b4838eacb3400b18de6e87e12ff8 100644 --- a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\ExtensionLifecycle; diff --git a/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php b/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php index e37238aad3559226e1de21a1f62827bcfd13d16d..22c4f3f2960dd0877db6c85dc09f598fc2785ef9 100644 --- a/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\Extension; diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php index c989ea870db378c9cc0e7bbaa4993267a1ed2c0f..4f093a736c3e9fdecabf157c150f0ac99cc7eeeb 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php index c941a15ee86e70fa91e34098f8460828a76af22b..af1c33a56d7706e41b076aa180ab226c55d49d03 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\Serialization\Yaml; diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php index d3b5e03ea01d6f40fc3d97e864cdb89a7a764c9d..d1900369c26c51a4accb480bb7eb3e24834edc1f 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\ModuleExtensionList; diff --git a/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php b/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php index 9bd41d040dff5f92003c72646e8e20a9c8c58fbe..2e00d9e748122403842f2c99447ae2173277b40f 100644 --- a/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php b/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php index 51057ea77c33bec032ca9fe6fc7a87e85ec901b2..19a9d2aabb51c9d9cf39ebcaeff2d20d8241c434 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php index 2e0012c7a9e0f35cfb5fea1ff0fb86c4e20cec6d..935a28142174700c761b002b7d1afaf74ae9fbf2 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php b/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php index 3398baf9f866e64e96cdadb86bd5a7cd62be7a1f..cda4a7d24b582d7aa17be5162ad07915b90ee8f0 100644 --- a/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php +++ b/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php b/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php index bff677cec036f6c1f2da15455427fe9a7f92f756..6149693242811de40f3e5f4a62d19a85b2a4dab1 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php b/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php index bae9edf30d73fe7d15d67e398b0b390536234962..645c67f5fbc6c02d055c67d67db39d804fc21d56 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php b/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php index 855622f24d72aefb84347e3c22fd91257a1d37b3..1fa81d6bfb6033f9a4cdb2d846ff857ed6766348 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldInputValueNormalizerTrait; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php b/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php index a49f269aa50480243ecfa555661b7855b5e6a2ba..e50b29b344fdc9047dd6b0832b29075af01952be 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php b/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php index b0253acc06e56ed4fe2ae21fd961958d8762e901..5e8aef87c08def14a4465f9d73c17064bb77009d 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php b/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php index 391eb2f658f3f7dc43cb2b9b1d32be6c7fd1f264..355d4c22bb1f0c5a96efdc4eca2205ffba6e417c 100644 --- a/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php +++ b/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\InternalViolation; diff --git a/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php b/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php index 25327ce3cdd70462b0ef2e64e513583df18d0042..b743c692b0fd9bec5cba0f52b3967408154674a1 100644 --- a/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\PluginSettingsBase; diff --git a/core/tests/Drupal/Tests/Core/Field/StringItemTest.php b/core/tests/Drupal/Tests/Core/Field/StringItemTest.php index b339f0a8fb84bf5f92ad8abc809d539f1b9111d7..b3b6cc0aac386aca897b97968c7712c99ed697dc 100644 --- a/core/tests/Drupal/Tests/Core/Field/StringItemTest.php +++ b/core/tests/Drupal/Tests/Core/Field/StringItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php b/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php index 953c90209f99cc54ff17baf16f302315b89cd561..e60a5856821fc36e993a3d18547e579b2258c658 100644 --- a/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php +++ b/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Field/UriItemTest.php b/core/tests/Drupal/Tests/Core/Field/UriItemTest.php index 4c1406b555548c84dff99fada624475d4a47ac2a..92d88b7ea985464d7ef3b5cdc56f57992c452dda 100644 --- a/core/tests/Drupal/Tests/Core/Field/UriItemTest.php +++ b/core/tests/Drupal/Tests/Core/Field/UriItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php index 7e1b691f70ae1769a94cb9b65f8d1ea5a9da055d..f8a3a402a22e5cc94b510ed82edf5111977ede0a 100644 --- a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php +++ b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\File; use Drupal\Core\File\Exception\FileException; diff --git a/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php b/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php index 64fbd778236ae030b3881aec6e46ce14b0400896..c1cf737df9e25476faba191469267335c4503204 100644 --- a/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php +++ b/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\File; use Drupal\Core\File\Event\FileUploadSanitizeNameEvent; diff --git a/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php b/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php index 369e79e914935cac1613b60ef9367ef90fd7fedb..74d9fe20ddf25625f146b4728902df3f1e5c96ab 100644 --- a/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Flood; use Drupal\Core\Flood\MemoryBackend; diff --git a/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php b/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php index e2c5554216b3f781087b9f1aefd47042cc5d33c5..89c277ded385f0ed610322cbfdf51b79b302dd20 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\ConfigFormBaseTrait; diff --git a/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php b/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php index 5b153c0fd1dc3bffcae560b46f720fe13ff4c2ef..09e272230efc71910d60926747f9d64a78ed5348 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Config\Config; diff --git a/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php b/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php index f50abc1253915dff7399435ac9a1e902406fc8d0..cec16f9e06b414f8b832cf1031c367b45fe6b6b5 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\ConfirmFormHelper; diff --git a/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php b/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php index 6f3f4e44f628c015f39d3aa36eb15915849a2c00..32b928b18961452d84efc9fcf315a82df85d3ff1 100644 --- a/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form\EventSubscriber; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php index 3d4ff04143774104424fe1712fdc6472abe10c58..67ea241844782dd155b09e547ff2cb10d64dae28 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Ajax\AjaxResponse; diff --git a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php index a89ee1179a4bbd9ce4d94e57eb1cf4f5a982b6ed..fe5f2c4d4570f3e65f5fb5ef88ccf7a19e539651 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php b/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php index 765fcfe2814e747bce45affe43c4385d50306c38..5b7f323fe05b566cd0b0e594844321107a02359e 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormCache; diff --git a/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php b/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php index 9a6a5bffff8e488ba937b89e1cfdd56c0c9e76e3..03f09b9041164a446ecd8b63f662cfa213a7138b 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormElementHelper; diff --git a/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php b/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php index 237050d1b735be52c2e046c7db47241cf68c3298..163df6a1fa794e53e665933bbe2e3d5e26960ee1 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php b/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php index 3fa9ab1b04eeaceb8f66764f0d8ff4913c745968..c29ebef96e8ea97535bad262cb5f9f61d5e7b80f 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Serialization\Json; diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php index 114340c47217f406b46ba986e0bafce80ba621ba..b81d1ea6b4b0ef98fd00f7dfce83bf568ed43038 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormInterface; diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php index 8f48f16fcc12eb9d6e28e963ff42eee999b7de82..f8fb239b12e3c412fb6707a99c559359bf2749f9 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormInterface; diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php index f5b2147b64ad28c0c82f7f68d3b9388eb9e1aa9f..389955669382ae6cff1178b968317efd5ee8f58d 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormStateValuesTrait; diff --git a/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php b/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php index a7d8157ff80252ae849c78d436de1580eb5bdf00..e5fa53b2d34b0571528a09cdc7dd42de021c3e85 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Form/FormTestBase.php b/core/tests/Drupal/Tests/Core/Form/FormTestBase.php index a7d3c812200175163f3e0cc67a6c05ae6871cf55..9de2c5e1ac9945c2ef65e24ca55d9e0d5e880ee2 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormTestBase.php +++ b/core/tests/Drupal/Tests/Core/Form/FormTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php b/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php index 4190834d19c1936f22e2edeb80bc96d07e35e84f..db334a0feef60deeb8da273be753929dda67c81c 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php b/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php index b38f336709a6d848dcb766b3ee60ef9f2f854ef3..dcd20b47b36add4d648e1e9f5cc9954a2bdd20d5 100644 --- a/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php +++ b/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php b/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php index 01d57e46a3eae77906b83c4bdd1deb576303be35..1f6d3df502f6e20c025d91ae7f6d955e9e7b5df5 100644 --- a/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php +++ b/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\NestedArray; diff --git a/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php b/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php index 59290c3149d8dc1aaa84e6b199c6688ddfff99a5..7dbd3f9fb4057d1f63f18397c22c60bbb25f2cbd 100644 --- a/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php +++ b/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php b/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php index 4dfcaf7441eb2c07ac0a4dd823a655cd242707c3..94a35cecbaad286d8867fa3df8899c7148ee3530 100644 --- a/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Http\ClientFactory; diff --git a/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php b/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php index 0d739989f193599bbd664de106fd04f4b1fcfbd1..a4b9d1c324c65179558f5081716e0e193abbb01c 100644 --- a/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php +++ b/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Http\RequestStack; diff --git a/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php b/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php index 8adb03cbca0e608c0919a66d622ef37768917a66..b9895ee4e8fb7d7c252fef9407ddeb4d8a06de6e 100644 --- a/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Http\TrustedHostsRequestFactory; diff --git a/core/tests/Drupal/Tests/Core/Image/ImageTest.php b/core/tests/Drupal/Tests/Core/Image/ImageTest.php index df0aa4cbecd8d7d3a9e8bdd30cbb81f863295887..80cb15d75162bd21181f79c09c79d92670647f43 100644 --- a/core/tests/Drupal/Tests/Core/Image/ImageTest.php +++ b/core/tests/Drupal/Tests/Core/Image/ImageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Image; use Drupal\Core\File\FileSystemInterface; diff --git a/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php b/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php index f7e146f47804603957f439e8a6663706fe70d8f4..67e16ab64ec795bc188dc362b857bd9aaaf8e65a 100644 --- a/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Language; use Drupal\Core\Language\Language; diff --git a/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php b/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php index 30b1471005763302baacfe3d4ac5d02301a2836b..142b31a3d76c0d23690acbe76f92efd18873d9ac 100644 --- a/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Layout; use Drupal\Core\Layout\LayoutDefault; diff --git a/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php b/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php index 58e03dc70698da14f2263d063934b67ef3780344..7ce72081d8e37571c48d5fc0acdb9372fed80d21 100644 --- a/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Layout; use Drupal\Component\Plugin\Derivative\DeriverBase; diff --git a/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php b/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php index d323a2b433b506c1711b7b9bc3dcc13c976c0b82..6c54105dc267d7a5a2a982b5b60e4708dc4fde6f 100644 --- a/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php +++ b/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Listeners; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php b/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php index 25d0d204c17681431d04428ab9fd5c6d5983cb81..0fcefcd0a8b1231218c1a6143c235e67a3d544a3 100644 --- a/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php +++ b/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Lock; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php b/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php index 088a26e01eb6d9954ba33cfc80a523c3bb0a97be..a9a71766c18094a03bcb2ec9887c1acd527ab4fe 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Logger; use Drupal\Core\Logger\LogMessageParser; diff --git a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php index 50f2e3c5598637c3bd6f3d8fe28072461017008b..fe9884151d6067fa0466bd8cd9510dfc1f812a42 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Logger; use Drupal\Core\Logger\LoggerChannelFactory; diff --git a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php index fa82a208b96a50b7f4f8491f1b4e2b30588c93d2..b0896b3fc4ff3529c6823b9c29e7fd54bf480e3f 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Logger; use Drupal\Core\Logger\LoggerChannel; diff --git a/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php b/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php index 84a3981e0a8ef56f4b8fbfc8463c7a74ffbc42ba..52b4bbd0f6e833fe277eb19cadff35b729705b05 100644 --- a/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail; use Drupal\Core\Mail\MailFormatHelper; diff --git a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php index b90ae632d642c73dd6c66b0df7d02ed678d97543..c4640b90ae544b27ee9d318ba3ebc4409b6a411c 100644 --- a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php index a139d8a0ac95662c89fbc388320180b4da02248c..35d783e7725c11f1707001930e3be2b0aee984ff 100644 --- a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail\Plugin\Mail; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php index 99ec411a754fe75114b7f91f887e4a14881b397c..40fa0911daab2847067a3706d068b747273a135e 100644 --- a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail\Plugin\Mail; use Drupal\Component\Render\FormattableMarkup; diff --git a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php index 49a764680bcf285787acb942b24321e2986ced4f..ccba55d707e357b9369fb6d71435e6906c755f5a 100644 --- a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\ContextualLinkDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php index 55087bb87b409fecc6ef555cb14ae40c3032e893..94735d890faac6dc2139439e502816a9ae30369a 100644 --- a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Component\Plugin\Exception\PluginException; diff --git a/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php b/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php index 05bf621082193160b5defbc65cd9a9d6881537b7..ff585943c4836546f4f14767e82b93b394302057 100644 --- a/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php b/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php index 0fd857184747e38a4512aea15f09506974415f29..45034adaba09d1ae2b5df81046c01100ab4aff52 100644 --- a/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php +++ b/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Session\AccountInterface; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php index de7f2c5c1374249136d75ec81dec640c65705d9e..09bf2b601e1a9bc3505b667d808f0866a9b686e6 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\LocalActionDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php index 90477abd323ea6d7842ee55001e9d22ca72082b7..b2ab4446e9b3161f93c214bf5cc0b06f5bcf235d 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php index 905107086d2c799c187a55c64018cd672fb62d88..7d966e36aaa2a244453ed5d3d3bf3e7bf7be93bc 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\LocalTaskDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php index 7639ee7ddb360a137bb89b2acc1903b58c8553bb..afe1db28365e6cf095fe7b2380fdd64e96d0edb7 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Plugin\Discovery\ContainerDerivativeDiscoveryDecorator; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php index dfb55098a3697023c001e72bf75409d4d7442255..7c554e0a22e80f40be46a4587dc12fbd29a39469 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php index 7966ba20314da5f8645c89c040a23504f1dbea81..54c2d22eb6b8c3ebe286bd08e178fc82d5a0d86b 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuActiveTrail; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php index 0bb828b2ff1e6f34d8fda8e8d622031d2d42a16c..60176e4d1ff3ec5b68cf028f62b1ec28565979d1 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Extension\ModuleHandlerInterface; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php index 11c0292c2e6eb01aad3091605787776e3b50890c..2e300cfffad8a53af0fd4162c1f0054eb23f6ec1 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuLinkDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php index 52bb6bb9e9f7f2ad523fd3901f9535e6c07ba522..82b38aa8f9a793aff4866f7af70ad8e942ae9c24 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php index 9eaa8c68cedbcf5c2184bef927909ce63dbd7128..720b0da0381c6caa88c7e9a897bf18c431e79f52 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuLinkTreeElement; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php index 864ab5f4c2389f48f8cd7a34047a46753f5da0d6..8b87382fb920ed26021b726b322ef8d30c7046ee 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuTreeParameters; diff --git a/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php b/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php index a440d539d3676a14723de18016436a364ae3da67..8dabf4ccae1619ffbeec025662b97f4d9e49a5cc 100644 --- a/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\StaticMenuLinkOverrides; diff --git a/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php b/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php index 69dfb6625fc470d2365a4c2b2f05e74486ddbbfb..cf612b8f377782f936695c813037185338201a5e 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\RequestPolicyInterface; diff --git a/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php b/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php index 571958865b4e07c02603491cf8b1d266806b6283..5daf21b7743dffe7797e82f3b9524330559f687d 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\ResponsePolicyInterface; diff --git a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php index 2ae2e965e0a533f08e1f1e40112ad2a6f8a74111..fab3ccd2996a952dc9035da5bd2c051158af48ac 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\RequestPolicyInterface; diff --git a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php index f863cd27621f476a0339835a84469127d3b87c46..026705cc986328919d3d64d1bcfbdc71c1576bf1 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\RequestPolicy\NoSessionOpen; diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php index 827b8d79b39b29c0aad49bb5818870002f507111..b595fdb74a38370416a10ad44b6e8e845dbe2e4b 100644 --- a/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php +++ b/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ParamConverter; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php index a74b87cf633c0054292330212ac40a87c8e72daf..2592562b9e2be358b537702c5a103309efe0bf35 100644 --- a/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php +++ b/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ParamConverter; use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php index b3858a136a5b75518673adff08c4f3dbc049cb6d..017c50179c9ae7c0b15f07ea37b5ba94e376e6cc 100644 --- a/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php +++ b/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ParamConverter; use Drupal\Core\ParamConverter\ParamConverterManager; diff --git a/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php b/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php index 2bbf38d1a191b4175e5d7d2e50c7846c56f90246..aa8db53413efd563a02c1d272bb05a4f13482c4a 100644 --- a/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Password; use Drupal\Core\Password\DefaultPasswordGenerator; diff --git a/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php b/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php index 32066b8f9f168c146397d62b149b8bf7f56b421f..997ad0a0f9b7df738c6228eff6ad3a0e4a3d042d 100644 --- a/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php +++ b/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Password; use Drupal\Core\Password\PhpassHashedPassword; diff --git a/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php b/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php index f781fd7d6e94f7f6c735135d915a6f23ad9d6bb0..646df5091637af6029179e3e8ebe1d7895dece32 100644 --- a/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php +++ b/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Password; use Drupal\Core\Password\PhpPassword; diff --git a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php index 02c3ef15a8c718d88b9234181c99cdc3a588a6e1..d733204fa14d2306fcd87d68fd1d37267c59c129 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Path; use Drupal\Core\Path\PathMatcher; diff --git a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php index 1d25ee6f37a21f1c26be866d2033a704148e0ceb..62e295861d031fb3fdfde7cbb9ed47eceb09891d 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Path; use Drupal\Core\ParamConverter\ParamNotConvertedException; diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php index df82584fa4ff2081f7a34a42652a35968e1dea14..782fe3b55c9275e0bebab2b3fd4a5f2706b90f16 100644 --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PathProcessor; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php index 08186df8fe746c73c254387fb11e17cfaa2ce4a3..a7018c32b520a0ab1145935efbcb0c0b3d1294aa 100644 --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PathProcessor; use Drupal\Core\Language\Language; diff --git a/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php index 98c2f40981316297ab156aa54549ba4df09a17ba..967ac68bb09864cd28b7bb9fb1f64e48065501f3 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\CategorizingPluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php index af5f1a1cc0a8539b354c6063932ece9b26b00fce..66266bd616ca207400eecc61ea501256f94ce91d 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php index 7d68889da6ffc1cb16dc0aea95d5e505a67e2bc1..6a54511a545a2b5913fd2f61e83aa0279c78dd02 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Component\Plugin\Context\ContextDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php index a1c49a6b54f44cfc30a3ff07200927d445a77b81..4e2d49a288298dc5a22a3e68e3aa30bc22ea4b88 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Cache\CacheableDependencyInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php index 0a8a50a67c3037ba35be29b0a1256473f65c1a63..58cc1e1102ab99b039e7dcdba9d211a2170a1a05 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php index a1b9c8012b1202deef48c6ef6776a770085115de..82240491a19fe9e86aca22a10a75f1f553603eb1 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Plugin\Context\Context; diff --git a/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php b/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php index 5548823831778830ce5e25d02a3dca16b8db5dbe..c3a655eb3837dcb9f7f99876376f4ecc98a6d902 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php index 8b3ba096ed75703b5b0e781342d63046aefad06a..5f78e8ac89302bfa8b45b9dd9fca3557e47595ff 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php index 49369cc58b28703d3b6c340cd10567c4c66e9949..196598b40f1af48c94d0979ef8e8372665bd7d3c 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Definition\PluginDefinition; diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php index d73bb5d5a284c0e9bf14b8e35651a3ead318148c..fac04e78ddd8ce58bbf707a3d4be9c3cb8ebe939 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php index c47eba77faec8573c7ed8e4a4fa36ca913f13ad9..b1bebdd43aded40739dff88cc9c5827f91901157 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Core\Plugin\Discovery\ContainerDerivativeDiscoveryDecorator; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php index e3b45e77d06e30b7039fc5b69a6d804869af8c38..d7a2c5b8256d025c96c32982137e482321db6c2a 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Definition\DerivablePluginDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php index 5e3957a7f73d8d730e199eea155decf709985317..f5020d85706cd96a58a96859c6d59f0fc92725cc 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php index 9c3c3c348c4bbc500df003b78956664eae20206d..149589d3fb13475e64b74a5485d3b92c7eda9f52 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php index 63f50d64c79691d8d00c563d28f87e69660088d4..5731c052695912d616313701ac1c66c2e41e6cfe 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Derivative\DeriverInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php index f05142de62de6fc1af7a50eb474788c6899a4295..5142ad81adb12ab3317f8fb9080ca96761ffb09e 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Derivative\DeriverInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php index 3aec91645105488753568756ebf18a3f475ea298..8f5d9dad20a5da40ca92d6432e9168ce715ddde7 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Discovery\YamlDirectoryDiscovery as ComponentYamlDirectoryDiscovery; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php index 5717f75ca1152c648f97561f887cfc98731038ab..634979c8d51d601bc91839d3b23b21d8170cd766 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php index fa12c88f2e1d24fa8f10398075ccaa6a88010de1..fe41eb82a230618a85fa2ffdaa6543fb54046a43 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Core\StringTranslation\TranslatableMarkup; diff --git a/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php index 9642949de2501c11b797023e350e30f6774a47e4..e0a5f141ffba71a0c88101531b175184f1719595 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\PluginManagerBase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php index f1b9839de7dc305e751bb1cdc257ac680e752fe7..39d8fc5cf204af509be264d42a45fb90d32edbf3 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures; use Drupal\Core\Plugin\Context\ContextDefinition; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php index f647238acccadae96229450cc45883400674c74b..01529603ddc3a2cc8271c65b2d20daddec2eb694 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType; use Drupal\Core\TypedData\TypedData; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php index b7328270b2d2302c1e016a74387d6d8c3602159a..d94b695592b5ca6aef3c9e4e2b806c18526e631b 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType; use Drupal\Component\Plugin\Derivative\DeriverBase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php index e31fba7b59df42779a7e509de7bdf75a99a8788e..5ba42ba21604735be7ce113a6957d223447c1aba 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php b/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php index 0b1468c459e15f29f3262af4cae05fb11bdb7b33..d14cff7867f86490e372d9829808e78632df9a4a 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php +++ b/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Core\Plugin\DefaultLazyPluginCollection; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php index b5998c1f4d635052749394165e70bc43493c5855..0befb6181f422df98a20b622debe5a177ec50227 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Definition\PluginDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php index d5210d2e0963aafae5b18ff76e1f7ac336619daa..f9a6ace940884a363f33f2ac5f64bebae5064a80 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php index 0d6ad57500b5c961994bb6b384945cceaf5ce4b2..cc1da0d5809b9199c49ff66806a778150ab9737d 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php index 2a78baca9fb3070967b9093c7c7701121ff9ae10..4c1b10ebf6103f3f3f53e8d91db7c3ae0900ed5e 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\PluginBase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php b/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php index d1ba489d23a4c1d3733c06b40b0b7e75be746f50..4f001bfda58d83f496f8d6ce93900bae90928eb0 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php +++ b/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Discovery\StaticDiscovery; diff --git a/core/tests/Drupal/Tests/Core/PrivateKeyTest.php b/core/tests/Drupal/Tests/Core/PrivateKeyTest.php index 932bf0a2f74c06a2da609f15fe7548fa7a6c042b..7a0c86f02e409b2667fc4868f2e3390af8789633 100644 --- a/core/tests/Drupal/Tests/Core/PrivateKeyTest.php +++ b/core/tests/Drupal/Tests/Core/PrivateKeyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\PrivateKey; diff --git a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php index 1804182b799c835b21706dc76592f56ac53d4b6b..969c70a345de34754c4190df77fba4d546d7762a 100644 --- a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ProxyBuilder; use Drupal\Core\ProxyBuilder\ProxyBuilder; diff --git a/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php b/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php index b95bf82a0a28e3f602fbae415375d008422f0c06..8f71e30fbdf769b158012905a599f81b4a992ec3 100644 --- a/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php +++ b/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Queue; use Drupal\Core\Queue\DelayedRequeueException; diff --git a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php index 18d250c2d540af832fd8a1b69c86e8dd4e1e59a9..c0502152bea5955192a4f7e0672c16b9e8bae58b 100644 --- a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php +++ b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php b/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php index 78da7e4fd7248a5c7c8fb017ea20f7d7665c1f1a..e0f5bceb13f9302007256b1a87d6ef2c46e27db2 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Render\Markup; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php index 4ff41361ce661a044bc4cf8b5040d8ca47fbe28c..c6ccbc3f3aa2206b55481313dc042890f331b9da 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Access\CsrfTokenGenerator; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php b/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php index 75035c99ceb2ebe1aad14271bf654ccd03c0abfc..655f8da70ea4f5b1ca2b4db84e1381ce43d4bf60 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php b/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php index a908cc784b6a9a3adc26f73e234ffa0ffeedb89e..35dcea028dbab9b53e4a8a402f729127bb71e869 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php b/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php index be8f53c2afa719793d23750279712f2acc560284..6ee1d37f1664b57359095487b42a572274da2a8c 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php index f095ae57368e37399951cdec6b442e0985eaa0d3..95d7bcb952c74633af449451901ae57f6fc433b0 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php index 19b894c198fd006fbe760047e6a56e99add58ccf..3218c61d6d99ee2ecab8f4328074c4e001f62a04 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php index e15c8578687262ab3b71d6d7a929223cfb2a1f40..640bff423eda9d03ee9580af380ff0d329472ea4 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php index e5bbf6375e3aa677ba79915b26795c140568d120..1efeb73a88f23721a3387165aa464b03637df1ba 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php b/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php index 32eb55f315f9dcc009297e5573b586d0b6d11a77..d9a970c7c94bd93f5d3a27a736b62c63723831a0 100644 --- a/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Extension\ThemeHandlerInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/ElementTest.php b/core/tests/Drupal/Tests/Core/Render/ElementTest.php index da5f5694dcf2e3beaa6249cadad40a8c852d02e6..39e0aae6aeca83468631772f781b36e3896fc78e 100644 --- a/core/tests/Drupal/Tests/Core/Render/ElementTest.php +++ b/core/tests/Drupal/Tests/Core/Render/ElementTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php b/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php index 7bbdce9c43a1e07eb4fd786ba7a1d67b879c9e06..2b1e75f32fdc16ea185c0420a7446349027712fd 100644 --- a/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Render\MetadataBubblingUrlGenerator; diff --git a/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php b/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php index bbffcd04fd9c6b8a8e449edd774a1d828636ffc5..3d9282d60e69fb6b03b7cbeaecfa543d732f4392 100644 --- a/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Placeholder; use Drupal\Core\Render\Placeholder\ChainedPlaceholderStrategy; diff --git a/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php b/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php index 35ab27829b2b8273878b7b2e9d5f7bbd7c1e3109..c248c9f78faf8a0cb7646ecc37707958163e5d31 100644 --- a/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php index eec25807ded579be61b084461c40858a05b351b7..b1ef2e2f7f04c903325dbd4e5c407b907d1cd4a0 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php b/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php index ca63dee68e1bad442d762674d61245f06e772ccf..941455add1080deadc3b1f82aef963240532f77c 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Security\UntrustedCallbackException; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php index 428f33c38878b5735b5350897f683e74716044ca..1933101ea4d01fae4af8dc8f36a603041be8872e 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php index d9716c39ed298adb063aa6aabd9386163851ac75..d6efc9b3888f89886a70b30d2836c2cd1c83ef78 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; /** diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTest.php b/core/tests/Drupal/Tests/Core/Render/RendererTest.php index de08a3d32228b3a86cc2e90c264d47393292e1ff..e0e4ebd438827b677cade7920e861d42c9078bdf 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php b/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php index e871f5db0c1c409133a4aca5199129c7f4b68b54..b5be54f89e32224e23c061788752866fc234004b 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php b/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php index 298a2bf04c51fd005a7055574715547986541c80..a73a83aef6df09c16ccacf80c6b49f928eb76329 100644 --- a/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php +++ b/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\CacheableDependencyInterface; diff --git a/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php index 96a01b431ca9fdbc4e1db7fa7e9f3bc2fa37c35b..cd30ec3e1640f98deab26834a63b45d39cb33646 100644 --- a/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Route; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php b/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php index 0af99d38d08e43d11362a1339297129884b31bc6..7541dbd687e0ba18276996c2d5c8d59126b58a91 100644 --- a/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php +++ b/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\RouteProcessor; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php b/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php index 8b5e9c0d4c2e6f523ac3c660df8a45da5f0c2e55..d05e0fe67446ec282a7023b725f6a4d4a041e715 100644 --- a/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher; diff --git a/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php b/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php index 712197d8ee80cbfa142abe01eef1074934871995..95e0bb96a8f45f068dc7ae7b974396a43a635542 100644 --- a/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php b/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php index e07cefc85125849e00c04fe5bce7afc077182300..da8facef8ddae3b79641dd434487ddee8b00d0f0 100644 --- a/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\ContentTypeHeaderMatcher; diff --git a/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php b/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php index 6af85f3602105c333ddc11ec4c484bb19aca701c..3eeb8c36e0691c5a879010282ca9188972ab6671 100644 --- a/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\CurrentRouteMatch; diff --git a/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php b/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php index 2c1283e4c11bf71a3ba86d1882b629d27c8c2b2d..54df9e2b819a409d8ce2e43c769cb747ad25d05f 100644 --- a/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php b/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php index 563d6065a4def0675e18a386bc29b6b206438a72..31ac253a4dfc96fb6bb1a2622c1e54cdd16c4404 100644 --- a/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\MethodFilter; diff --git a/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php b/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php index 8cdcbfb5d19c02fa3d650b560b8eb4b4a2b1da63..ce07c2fc93118754e38afedda0854c2e6225927f 100644 --- a/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\PathChangedHelper; diff --git a/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php b/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php index 0a401af99c26289b772e916fb9b8d9b0b04d7967..a41e39ef61f7b0ad00b51e32774dccaba1ec6e12 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php b/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php index 22296418aaeeebbc8410859329ec909d68495869..e6ba2b480a7911773b2c8714e65fd82dd1d36a59 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php index a9e33597dfdff6d1d237033a56646017e2887c18..604b4a3c823a64d3e93746d830ff3a266a57972c 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php index 2e73bdaeb8bb57a891d443f1fc64815b02c1ca43..304c1c61cc0da1f72a90896263e736e9e478bd1b 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RouteCompiler; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php index e7105d57fb549ca321162dff0d5dfa7bc8a35d09..c86fa3f110504df65b044305396bf51ed8fb2097 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RouteMatch; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php index e37fc698cf8e7276f2b5505c671999d1f7560673..3cb1866f85bb7a96459d95a57ddfd5029f5c8223 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RouteMatchInterface; diff --git a/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php b/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php index 99de4c10ad5d3e3fd733e9defc64437e2ab06f8c..772a95679d02a7add2f9b07d11f22f078fb4e22c 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RoutePreloader; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouterTest.php b/core/tests/Drupal/Tests/Core/Routing/RouterTest.php index a9f150aa2a7945efbec5cf69051a2940ccf0a1e0..cdee3b81c353ab4845be844ae93e4bf2fb8fa37b 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Path\CurrentPathStack; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php b/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php index 222dbb8a1cbb94a8a0af6d061636052698611597..a0368ea80d02df46564014deebcffc5d9e70d8c6 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Path\CurrentPathStack; diff --git a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php index f6fa1ebc40f2f956debf081f592707194287f613..d79506f7bad6840173d529c94841010e7fb8311e 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php +++ b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Symfony\Component\Routing\Route; diff --git a/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php b/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php index 5caf5e0d4cee5528bf29d6ea226cdbc6a010600b..c74f28d733bb608b98e9eb7edad18d70e4bc2140 100644 --- a/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php +++ b/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Symfony\Component\Routing\Matcher\RequestMatcherInterface; diff --git a/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php b/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php index 17a5d527007840f414543a7287d98b54c4cf24b6..53f977d427cfd7d46da1fc3daa799a4c2ba6ca63 100644 --- a/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php b/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php index 228a06051f25c1d231f8bb6044e5e5ab5826938f..5d3dc75ad19f5fb9307db007a5264bbaf35fc2c1 100644 --- a/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php b/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php index cab6e8d68d930aee08e5c439cdb3b46c30f93b3f..f16ad55421a0b6b9c3ad3ec1ff093cf7559d8e97 100644 --- a/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Security; use Drupal\Core\Security\Attribute\TrustedCallback; diff --git a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php index 7cfc554cd3ecea12046356348d7f10874e5694d1..1892b38e722032d04586e994041d7cab9528ac9e 100644 --- a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php +++ b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Security; use Drupal\Core\Security\RequestSanitizer; diff --git a/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php b/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php index 77cd534c94d734feeec27ca0657e48e8b7a83b18..70f488e2528eaaa465db51e454f84141184587bc 100644 --- a/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php +++ b/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Serialization; use Drupal\Component\Serialization\SerializationInterface; diff --git a/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php b/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php index 1cb52b30cf2fa645e4c4c187285776507d4021f6..1eb14c8dabdf9148e8a78e59367273df612387f7 100644 --- a/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php +++ b/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php b/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php index c3b23868ef505b357ce940afea335260a6dfd0e0..770a732fcebbac77d5f01d84d68fc09d54c8af70 100644 --- a/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php +++ b/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\AccountInterface; diff --git a/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php b/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php index 031de8244620c10209071a5fda0ec89815b50eed..23631aa86ddf4e68f95aa587824313020d88daa0 100644 --- a/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php +++ b/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php index a3d3cc1945fa36157da7e7643d87c090439958fc..85cd51e2de5814726b75cc2dfd269f74d45da098 100644 --- a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php +++ b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\CalculatedPermissionsItem; diff --git a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php index ccb740b0b28f1a3cc0a1defcdd2f672a7e2e4d25..d24d3bfc539d3e5946088e8364e0d2e0c2b2f121 100644 --- a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php +++ b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\CalculatedPermissions; diff --git a/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php b/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php index 12534749ad176ff53586e884492a4102ce253299..379b434379da371d13299a04d7d86f01b87d111e 100644 --- a/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php +++ b/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\MetadataBag; diff --git a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php index 182128863e44470affe692c3e6c7114f3e821e59..79c191f59252b1b9194e9aa9f306c97fa3498f7c 100644 --- a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php b/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php index 5bd68a249a41cf4db1da4c3130f2858ce3669008..454a86741836dfca5ef0438db386385e274ac709 100644 --- a/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php +++ b/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php b/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php index 3c6508806ca0fd40d4c2de462a26c97506f54f0b..1e2433a4a8074cbf6ef1a597db8e63daea67a808 100644 --- a/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php +++ b/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php b/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php index 7d4da73a7352c5164e5245c7006e7f025df8243a..bc8965dc59052d4aab6fc515badece3fcf1abfbb 100644 --- a/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php +++ b/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Cache\MemoryCache\MemoryCache; diff --git a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php index bcbdf5851d7900653b046afb1f9ddf39fd8cccf2..e44988f5f0c5ed97b9d255aec71a057c16fdccc0 100644 --- a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php index bcabd35f171392fc53db6a0168a0a3605c840f22..928a7768607c42b81364513cdfac2ecc3345fc72 100644 --- a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php +++ b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Site; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php index 5882a20ecbb6f0945947f2eefc8869fad89c4a33..8e5cc374e0d0b305d53f7cc5c69d10b68c64fb7b 100644 --- a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php +++ b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StackMiddleware; use Drupal\Core\StackMiddleware\NegotiationMiddleware; diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php index cbea48f0dd86a1c86e9353241aa8b9921d3eadd1..244d32d617d8db1a4d768095c81bbab1c59d4251 100644 --- a/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php +++ b/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StackMiddleware; use Drupal\Core\Site\Settings; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php index a0eb2e40c0309dc373edb457b9e3049c16707dd3..64a54741ea929b94c2f3ca02ff81aa6e7e203da2 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Component\Utility\Bytes; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php index f4b25bf0ef6a058a8d4e6bbbce712db536d13873..738c85f9f1d0f639a57f6835ad643a58966743a9 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php index 6f693318633f15549221d64352ec8425d4f62560..69cea9cae73501c60cc1dbdb7d990412b24fab71 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Core\StringTranslation\PluralTranslatableMarkup; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php index 8f210609686de12554b6383fbcf549a86af5bfa4..a9a1b363d27556369f32564f0244aa7c8f393f84 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Component\Render\FormattableMarkup; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php index 8b2fd2d2907cc44b81b098e437782fd8ca653aad..8e821c67ede8df2f6b9307101abacca7c366929e 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php index 417d771247d4ad3b15ae63550c9edc4bf7324e38..cec3d9970002a838ca5ff40226784a421daf6f38 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Core\StringTranslation\TranslatableMarkup; diff --git a/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php b/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php index c0959e11e93a42e9fd37cdfd03024d52ac0ed476..7825534f6704935b8972d6016883a2a64c393b1e 100644 --- a/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php +++ b/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\TempStore; use Drupal\Core\TempStore\Lock; diff --git a/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php b/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php index c4a67a85d154a2978c80bf620c6c0bd6bbe90368..9b39ff79113911744ef9af9086ceaa6a44258223 100644 --- a/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php +++ b/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\TempStore; use Drupal\Core\Session\AccountProxyInterface; diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php index 7f564331b6610f6e5524108bda4e8f1cce7c4f31..c6b5ec39cd510791e0cf1f641f56bd9c5009d2a7 100644 --- a/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; use Drupal\Core\Template\Attribute; diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php index 65e30b502a6476fb1b1d90d0e664bb447b3d3a17..6953c5bf25d08cb3c19ee132051c55e6fcedd8fe 100644 --- a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php +++ b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php b/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php index 9325eaecafe207b867d29477ed3366e18079190e..861d1d4c0fec00b1286e2a8de5df89a8635d40de 100644 --- a/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php +++ b/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template\Loader; use Drupal\Core\Template\Loader\ThemeRegistryLoader; diff --git a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php index 6acf1ceabb956c26066bc6b1570a2197ae017243..a86dc826df80ef2780e392e223a0454a0b1cff0e 100644 --- a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php +++ b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; // cspell:ignore mila diff --git a/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php b/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php index 318baa8635b6dd754cee3ed04d78ec583a4a7bb8..bbd239406021e072005e8df429eff5f7cb56e61e 100644 --- a/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php +++ b/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; use Drupal\Core\Template\Attribute; diff --git a/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php b/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php index 339f6577bc934d18c22f33b2fdc17c4f055ba0b4..2b388facd23fa52eec145035b46ec60ef09fb7e1 100644 --- a/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\KernelTests\AssertContentTrait; diff --git a/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php b/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php index 4ab3ac21ab214cc0ed1571260cdf2eea0144a05e..80f325231ebc3af291eaf9e802a9c32c42cee5f4 100644 --- a/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php index cfa287e672a4d68db4590d0161e088493d369b67..94b4759e5b4f1601f8674a5d05506ec7fee0ff4c 100644 --- a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php +++ b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Test\JUnitConverter; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php index 919d588cc656334290ab100ce5271c6f8e0cbb48..1620a8970c09c310865bb858ed287dd2f5f9b0d5 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php index edba3f56ba7e0fd5f324d32520875d131ae3751f..92fa96d2a165dcdda13d29b507f4c7bee429210b 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php index 4b08f6b5b5c80da96be905828dae831d47ff298d..ccfd4a5d5fc90d429f3de2115bea8ba0620113c6 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php index b8fc2823de4dcc43704fd2f83d878d27639ad270..fe3d5518261768ecfc62b041c68cd4c9924cc703 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php index d44f90047575a7ed822239d00451de67f8c7fdef..3ace88234c605762befda5f284825151e5071136 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php index 4678d233de918c5e9296abdf3d050da8804e1a17..a1e6534a05a37d960ec48defcf02bb019901b907 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Test\PhpUnitTestRunner; diff --git a/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php b/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php index 3d8d388761854453cc2281ca3e3eb3e0ab80acb0..f4059252c11b068c2cc59722ecd83f6224c38e81 100644 --- a/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php +++ b/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test\RunTests; use Drupal\Core\Test\RunTests\TestFileParser; diff --git a/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php b/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php index 1b7ea6f09ca844d339eb7de39072f2806bebad91..8412a33c1d2e0eed464bc97b31f9d9839e46de7d 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Test\TestDatabase; diff --git a/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php index 9d9119f7b579cbcad5c61cd8231555af18a90798..4c16fd7b11d884f3a89e58ba74046e273c222b00 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php b/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php index b6ba4e389db9659926bb1653fa75acc6dfd3197a..e3affb3e77885d9af5cba718b922305554a66e75 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Database\Database; diff --git a/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php b/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php index 8a82e033c4c78c2274c9edb604f9240c8f12c4a4..2589132ca2f8eef89fb6e558b50fbb95ad0aae2f 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\TestSuites\TestSuiteBase; diff --git a/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php b/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php index d11d6cab9cafd2528e6ab405d19e2bbfa0af14d4..d2dc38ba58f446981d67859dc42def7a889a647f 100644 --- a/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php b/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php index be5985da8a70925d451dfb7292662028f794cfe4..06dea22a55c79e3548dce313196a8cce14300bc5 100644 --- a/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Core\Access\CsrfTokenGenerator; diff --git a/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php b/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php index 51b51da3bbbe82ed4f2cd5f6de103beca3270e73..dbd6ee688511b84d54cfbada45c6dd88ee23e13a 100644 --- a/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php +++ b/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php index e532525e1d783cfbf7198f6342133ad0843a7e5b..abec03963a76356b851c34d736701a9fa8a3fbe4 100644 --- a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Core\Extension\ModuleExtensionList; diff --git a/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php b/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php index dd28938836efcf8e532164b906ba177be3a488ab..43c11bb584a168fe9c6560af682a67ca97f78337 100644 --- a/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Core\DependencyInjection\ClassResolver; diff --git a/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php b/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php index 8c7aa9252a02bb47c1a8abec62f6cab1a57f5c0c..a1f39fc1fc2022f1c23c6e79f27d68acd24c3190 100644 --- a/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php +++ b/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Transliteration; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php index 30777f3e6c1c2ffef974f34f256cef7fcc77c4f5..46c8bd8b8eb21a4b438537c5a3777aaea15c78a2 100644 --- a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\TypedData; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php b/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php index 066ad3a39b4e5d35834a05c4127a95470bfbb27d..6cd4baad895bede77a7a54c93dc479dbf7b7fdb9 100644 --- a/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php +++ b/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php b/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php index a220a0ecb053d1cdf0ef4946f837d775c3891813..9dcd1ad1d33d2a6b3dd1e5c089e83bfc65f51931 100644 --- a/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Update; use Drupal\Core\KeyValueStore\KeyValueFactoryInterface; diff --git a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php index f1ff0e0ed9bf3eb9a347536a7f6535bf8134434c..7a2f4b070042e8d7b0e69307f80d990fe46888c3 100644 --- a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Update; use Drupal\Core\KeyValueStore\KeyValueStoreInterface; diff --git a/core/tests/Drupal/Tests/Core/UrlTest.php b/core/tests/Drupal/Tests/Core/UrlTest.php index 054c6c0f13bb9ece285eb1441a26976b875f871b..db86a0e6bbf392d70cc455e6b687144f25deb474 100644 --- a/core/tests/Drupal/Tests/Core/UrlTest.php +++ b/core/tests/Drupal/Tests/Core/UrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php b/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php index d0836ec6262344a487f4f426580ffcbe8e1f3006..50a823b27c01bfd4edc1a3957d78c21b2f54892b 100644 --- a/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Core\DependencyInjection\ClassResolver; diff --git a/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php b/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php index aac9812ed53c754cb39fbd68a52ee12c38e6d273..476a2de79c6a4c0a0f3fb0c9921eba1a0f7dfa94 100644 --- a/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php index 189056d6f87fd86d1730046d44839cf86ee1e5f5..33981539ddc972cc1070fc1c25ef48b32aeee7d4 100644 --- a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php b/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php index dd13b4f15766ab438afbdfd7d9edf0c27c71c52f..af857527c2ccc43152ab2f24152f0e033e14fd9a 100644 --- a/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Core\Utility\PhpRequirements; diff --git a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php index c731a00e12263fa234176181d80415bc1d0936b1..7b5864b7b5568d163b063dfce3d0109c7995ce8b 100644 --- a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php b/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php index 8acd7ea36411e83f922536c8392cfb8bb30b44fd..9f354d61b58e6ddf2abc81c3a71873869959936f 100644 --- a/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Core\GeneratedUrl; diff --git a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php index eefca1c96cd1d75b61390986bb2a3e0e54c38093..0bbf9c024e4c9ed735d924c87b337d4fb1a648c5 100644 --- a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Validation\Plugin\Validation\Constraint; use Drupal\Core\TypedData\DataDefinition; diff --git a/core/tests/Drupal/Tests/PhpCs/SortTest.php b/core/tests/Drupal/Tests/PhpCs/SortTest.php index 768c9340a5ddaa3fc47e626895c4f9b06dd0f4d4..41ffab51b38781494b37c868e85e52a1d0bd64a6 100644 --- a/core/tests/Drupal/Tests/PhpCs/SortTest.php +++ b/core/tests/Drupal/Tests/PhpCs/SortTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\PhpCs; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php index d15ef7946e83bb0f0a0181d33394e611787dd320..3c91d151c03687a75a522d987ba26c69f341154e 100644 --- a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php +++ b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Scripts; use Drupal\Component\FileSystem\FileSystem; diff --git a/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php b/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php index 00f375c03fee132c3b941242e503ccaa97fcbeea..bf6b368907fe95df6cbaf5bfb6e7f2e43ac5ca1a 100644 --- a/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php +++ b/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\olivero\Unit; use Drupal\Tests\UnitTestCase;