Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
64fa6ad7
Commit
64fa6ad7
authored
Oct 10, 2017
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2901744
by mfernea: Fix 'PSR2.Namespaces' coding standard
parent
f659d6ca
Changes
100
Hide whitespace changes
Inline
Side-by-side
Showing
100 changed files
with
51 additions
and
55 deletions
+51
-55
core/includes/menu.inc
core/includes/menu.inc
+0
-1
core/lib/Drupal/Component/Datetime/DateTimePlus.php
core/lib/Drupal/Component/Datetime/DateTimePlus.php
+1
-0
core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
+0
-1
core/lib/Drupal/Core/Cache/BackendChain.php
core/lib/Drupal/Core/Cache/BackendChain.php
+1
-0
core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
+1
-0
core/lib/Drupal/Core/Database/Query/Truncate.php
core/lib/Drupal/Core/Database/Query/Truncate.php
+0
-1
core/lib/Drupal/Core/Database/StatementEmpty.php
core/lib/Drupal/Core/Database/StatementEmpty.php
+0
-1
core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
+1
-0
core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php
core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php
+1
-0
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php
...upal/Core/EventSubscriber/KernelDestructionSubscriber.php
+1
-0
core/lib/Drupal/Core/Extension/module.api.php
core/lib/Drupal/Core/Extension/module.api.php
+0
-1
core/lib/Drupal/Core/Field/Plugin/DataType/FieldItem.php
core/lib/Drupal/Core/Field/Plugin/DataType/FieldItem.php
+0
-1
core/lib/Drupal/Core/Menu/MenuLinkManager.php
core/lib/Drupal/Core/Menu/MenuLinkManager.php
+0
-1
core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php
core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php
+0
-1
core/lib/Drupal/Core/Template/AttributeValueBase.php
core/lib/Drupal/Core/Template/AttributeValueBase.php
+1
-0
core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php
core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php
+1
-0
core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php
...es/aggregator/tests/src/Functional/UpdateFeedItemTest.php
+1
-0
core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
...dules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
+0
-1
core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
...dules/block/tests/src/Functional/BlockFormInBlockTest.php
+0
-1
core/modules/book/src/BookManagerInterface.php
core/modules/book/src/BookManagerInterface.php
+0
-1
core/modules/ckeditor/tests/src/Functional/CKEditorToolbarButtonTest.php
...editor/tests/src/Functional/CKEditorToolbarButtonTest.php
+0
-1
core/modules/comment/src/CommentStatistics.php
core/modules/comment/src/CommentStatistics.php
+0
-1
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
...ent/tests/src/Functional/CommentStatusFieldAccessTest.php
+0
-1
core/modules/comment/tests/src/Functional/CommentTypeTest.php
.../modules/comment/tests/src/Functional/CommentTypeTest.php
+1
-0
core/modules/config/src/ConfigSubscriber.php
core/modules/config/src/ConfigSubscriber.php
+0
-1
core/modules/config/tests/config_events_test/src/EventSubscriber.php
...s/config/tests/config_events_test/src/EventSubscriber.php
+0
-1
core/modules/contact/contact.post_update.php
core/modules/contact/contact.post_update.php
+0
-1
core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
...tent_moderation/tests/src/Kernel/EntityOperationsTest.php
+0
-1
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
...src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
+0
-1
core/modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php
...modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php
+0
-1
core/modules/field/src/Tests/NestedFormTest.php
core/modules/field/src/Tests/NestedFormTest.php
+1
-0
core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php
...gin/Field/FieldFormatter/TestFieldApplicableFormatter.php
+1
-1
core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithDependencies.php
...t/src/Plugin/Field/FieldType/TestItemWithDependencies.php
+0
-1
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
...ts/src/Kernel/EntityReference/EntityReferenceItemTest.php
+0
-1
core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
...modules/field/tests/src/Kernel/FieldAttachStorageTest.php
+1
-0
core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php
...odules/field/tests/src/Kernel/WidgetPluginManagerTest.php
+1
-0
core/modules/file/src/Tests/FileFieldFormatterAccessTest.php
core/modules/file/src/Tests/FileFieldFormatterAccessTest.php
+0
-1
core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php
...le/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php
+1
-0
core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php
...e/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php
+0
-1
core/modules/file/tests/src/Kernel/SpaceUsedTest.php
core/modules/file/tests/src/Kernel/SpaceUsedTest.php
+1
-0
core/modules/file/tests/src/Kernel/ValidateTest.php
core/modules/file/tests/src/Kernel/ValidateTest.php
+0
-1
core/modules/forum/src/ForumIndexStorage.php
core/modules/forum/src/ForumIndexStorage.php
+1
-0
core/modules/forum/src/ForumIndexStorageInterface.php
core/modules/forum/src/ForumIndexStorageInterface.php
+0
-1
core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
...ests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
+0
-1
core/modules/migrate/src/MigrateBuildDependencyInterface.php
core/modules/migrate/src/MigrateBuildDependencyInterface.php
+0
-1
core/modules/migrate/src/MigrateMessageInterface.php
core/modules/migrate/src/MigrateMessageInterface.php
+0
-1
core/modules/migrate/src/Plugin/migrate/process/Flatten.php
core/modules/migrate/src/Plugin/migrate/process/Flatten.php
+1
-0
core/modules/migrate/src/Plugin/migrate/process/Log.php
core/modules/migrate/src/Plugin/migrate/process/Log.php
+0
-1
core/modules/migrate/tests/src/Unit/process/FlattenTest.php
core/modules/migrate/tests/src/Unit/process/FlattenTest.php
+1
-1
core/modules/migrate_drupal/src/MigrationCreationTrait.php
core/modules/migrate_drupal/src/MigrationCreationTrait.php
+0
-1
core/modules/migrate_drupal/src/Plugin/migrate/source/EmptySource.php
.../migrate_drupal/src/Plugin/migrate/source/EmptySource.php
+0
-1
core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php
...odules/node/src/Plugin/migrate/source/d6/NodeRevision.php
+1
-0
core/modules/node/tests/modules/node_test/node_test.module
core/modules/node/tests/modules/node_test/node_test.module
+0
-1
core/modules/node/tests/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php
...sts/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php
+1
-0
core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
...ests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
+1
-0
core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
...modules/node/tests/src/Functional/NodeAccessFieldTest.php
+1
-0
core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php
...responsive_image/src/Tests/ResponsiveImageFieldUiTest.php
+0
-1
core/modules/rest/src/ResourceResponseTrait.php
core/modules/rest/src/ResourceResponseTrait.php
+0
-1
core/modules/search/tests/src/Functional/SearchSimplifyTest.php
...odules/search/tests/src/Functional/SearchSimplifyTest.php
+1
-0
core/modules/search/tests/src/Functional/SearchTokenizerTest.php
...dules/search/tests/src/Functional/SearchTokenizerTest.php
+1
-0
core/modules/system/src/Tests/Installer/DistributionProfileExistingSettingsTest.php
...sts/Installer/DistributionProfileExistingSettingsTest.php
+0
-1
core/modules/system/src/Tests/Module/DependencyTest.php
core/modules/system/src/Tests/Module/DependencyTest.php
+1
-0
core/modules/system/src/Tests/System/UncaughtExceptionTest.php
...modules/system/src/Tests/System/UncaughtExceptionTest.php
+0
-1
core/modules/system/tests/fixtures/update/drupal-8.broken_routing.php
.../system/tests/fixtures/update/drupal-8.broken_routing.php
+0
-1
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCompositeConstraint.php
.../entity_test/src/Entity/EntityTestCompositeConstraint.php
+1
-0
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestStringId.php
...sts/modules/entity_test/src/Entity/EntityTestStringId.php
+1
-0
core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.php
.../entity_test/src/Plugin/Field/FieldType/FieldTestItem.php
+0
-1
core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
...ssage_test/src/RenderPlaceholderMessageTestController.php
+1
-0
core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
...sts/modules/router_test_directory/src/TestControllers.php
+0
-1
core/modules/system/tests/modules/token_test/src/Controller/TestController.php
...ests/modules/token_test/src/Controller/TestController.php
+0
-1
core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php
..._hosts_test/src/Controller/TrustedHostsTestController.php
+1
-0
core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php
...s/twig_extension_test/src/TwigExtension/TestExtension.php
+0
-1
core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
...odules/taxonomy/tests/src/Functional/VocabularyUiTest.php
+1
-0
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
...toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
+0
-1
core/modules/update/src/UpdateProcessorInterface.php
core/modules/update/src/UpdateProcessorInterface.php
+0
-1
core/modules/user/src/Tests/Views/BulkFormAccessTest.php
core/modules/user/src/Tests/Views/BulkFormAccessTest.php
+1
-0
core/modules/views/src/Annotation/ViewsAccess.php
core/modules/views/src/Annotation/ViewsAccess.php
+0
-1
core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
...odules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
+1
-0
core/modules/views/src/Tests/Handler/HandlerTestBase.php
core/modules/views/src/Tests/Handler/HandlerTestBase.php
+1
-0
core/modules/views/src/Tests/Plugin/PluginTestBase.php
core/modules/views/src/Tests/Plugin/PluginTestBase.php
+1
-0
core/modules/views/src/Tests/ViewTestBase.php
core/modules/views/src/Tests/ViewTestBase.php
+1
-0
core/modules/views/src/Tests/Wizard/WizardTestBase.php
core/modules/views/src/Tests/Wizard/WizardTestBase.php
+1
-0
core/modules/views/tests/modules/views_entity_test/views_entity_test.module
.../tests/modules/views_entity_test/views_entity_test.module
+0
-1
core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php
...Plugin/views/argument_validator/ArgumentValidatorTest.php
+1
-0
core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
...views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
+0
-1
core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
...sts/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
+1
-0
core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php
...views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php
+0
-1
core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
+0
-1
core/phpcs.xml.dist
core/phpcs.xml.dist
+4
-0
core/tests/Drupal/FunctionalTests/Image/ToolkitTestBase.php
core/tests/Drupal/FunctionalTests/Image/ToolkitTestBase.php
+0
-1
core/tests/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php
...s/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php
+0
-1
core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
+1
-0
core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php
...ore/Entity/EntityNonRevisionableTranslatableFieldTest.php
+1
-0
core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php
...ependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php
+1
-0
core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php
...rupal/Tests/Component/Utility/CryptRandomFallbackTest.php
+1
-1
core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
...tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
+1
-0
core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php
...Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php
+1
-0
core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
...tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
+1
-0
core/tests/Drupal/Tests/UnitTestCase.php
core/tests/Drupal/Tests/UnitTestCase.php
+0
-1
core/tests/TestSuites/TestSuiteBase.php
core/tests/TestSuites/TestSuiteBase.php
+1
-0
No files found.
core/includes/menu.inc
View file @
64fa6ad7
...
...
@@ -13,7 +13,6 @@
use
Drupal\Component\Utility\SafeMarkup
;
use
Drupal\Core\Render\Element
;
/**
* Prepares variables for single local task link templates.
*
...
...
core/lib/Drupal/Component/Datetime/DateTimePlus.php
View file @
64fa6ad7
<?php
namespace
Drupal\Component\Datetime
;
use
Drupal\Component\Utility\ToStringTrait
;
/**
...
...
core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
View file @
64fa6ad7
...
...
@@ -4,7 +4,6 @@
use
Drupal\Core\State\StateInterface
;
/**
* Optimizes JavaScript assets.
*/
...
...
core/lib/Drupal/Core/Cache/BackendChain.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\Cache
;
/**
* Defines a chained cache implementation for combining multiple cache backends.
*
...
...
core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\Cache
;
use
Drupal\Core\Site\Settings
;
use
Symfony\Component\DependencyInjection\ContainerAwareTrait
;
...
...
core/lib/Drupal/Core/Database/Query/Truncate.php
View file @
64fa6ad7
...
...
@@ -5,7 +5,6 @@
use
Drupal\Core\Database\Database
;
use
Drupal\Core\Database\Connection
;
/**
* General class for an abstracted TRUNCATE operation.
*/
...
...
core/lib/Drupal/Core/Database/StatementEmpty.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Core\Database
;
/**
* Empty implementation of a database statement.
*
...
...
core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\Entity\Annotation
;
use
Drupal\Core\StringTranslation\TranslatableMarkup
;
/**
...
...
core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\Entity\Query
;
use
Drupal\Core\Entity\EntityTypeInterface
;
/**
...
...
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\EventSubscriber
;
use
Symfony\Component\DependencyInjection\ContainerAwareInterface
;
use
Symfony\Component\DependencyInjection\ContainerAwareTrait
;
use
Symfony\Component\EventDispatcher\EventSubscriberInterface
;
...
...
core/lib/Drupal/Core/Extension/module.api.php
View file @
64fa6ad7
...
...
@@ -9,7 +9,6 @@
use
Drupal\Core\Url
;
use
Drupal\Core\Utility\UpdateException
;
/**
* @defgroup update_api Update API
* @{
...
...
core/lib/Drupal/Core/Field/Plugin/DataType/FieldItem.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Core\Field\Plugin\DataType
;
/**
* Defines the base plugin for deriving data types for field types.
*
...
...
core/lib/Drupal/Core/Menu/MenuLinkManager.php
View file @
64fa6ad7
...
...
@@ -10,7 +10,6 @@
use
Drupal\Core\Plugin\Discovery\YamlDiscovery
;
use
Drupal\Core\Plugin\Factory\ContainerFactory
;
/**
* Manages discovery, instantiation, and tree building of menu link plugins.
*
...
...
core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Core\Routing
;
use
Drupal\Core\Url
;
use
Drupal\Core\Utility\LinkGeneratorInterface
;
...
...
core/lib/Drupal/Core/Template/AttributeValueBase.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\Template
;
use
Drupal\Component\Utility\Html
;
/**
...
...
core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php
View file @
64fa6ad7
<?php
namespace
Drupal\Core\Theme
;
use
Drupal\Core\Extension\Extension
;
/**
...
...
core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\aggregator\Functional
;
use
Drupal\aggregator\Entity\Feed
;
/**
...
...
core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
View file @
64fa6ad7
...
...
@@ -6,7 +6,6 @@
use
Drupal\aggregator\Entity\Item
;
use
Drupal\KernelTests\KernelTestBase
;
/**
* Tests the aggregator_title formatter.
*
...
...
core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
View file @
64fa6ad7
...
...
@@ -5,7 +5,6 @@
use
Drupal\Component\Utility\Crypt
;
use
Drupal\Tests\BrowserTestBase
;
/**
* Tests form in block caching.
*
...
...
core/modules/book/src/BookManagerInterface.php
View file @
64fa6ad7
...
...
@@ -6,7 +6,6 @@
use
Drupal\Core\Session\AccountInterface
;
use
Drupal\node\NodeInterface
;
/**
* Provides an interface defining a book manager.
*/
...
...
core/modules/ckeditor/tests/src/Functional/CKEditorToolbarButtonTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Tests\ckeditor\Functional
;
use
Drupal\filter\Entity\FilterFormat
;
use
Drupal\editor\Entity\Editor
;
use
Drupal\Tests\BrowserTestBase
;
...
...
core/modules/comment/src/CommentStatistics.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\comment
;
use
Drupal\Core\Database\Connection
;
use
Drupal\Core\Entity\FieldableEntityInterface
;
use
Drupal\Core\Entity\EntityChangedInterface
;
...
...
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Tests\comment\Functional
;
use
Drupal\comment\Tests\CommentTestTrait
;
use
Drupal\node\Entity\NodeType
;
use
Drupal\Tests\BrowserTestBase
;
...
...
core/modules/comment/tests/src/Functional/CommentTypeTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\comment\Functional
;
use
Drupal\comment\Entity\Comment
;
use
Drupal\comment\Entity\CommentType
;
use
Drupal\comment\Plugin\Field\FieldType\CommentItemInterface
;
...
...
core/modules/config/src/ConfigSubscriber.php
View file @
64fa6ad7
...
...
@@ -6,7 +6,6 @@
use
Drupal\Core\Config\ConfigImporterEvent
;
use
Drupal\Core\Config\ConfigImportValidateEventSubscriberBase
;
/**
* Config subscriber.
*/
...
...
core/modules/config/tests/config_events_test/src/EventSubscriber.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\config_events_test
;
use
Drupal\Core\Config\ConfigCrudEvent
;
use
Drupal\Core\Config\ConfigEvents
;
use
Drupal\Core\State\StateInterface
;
...
...
core/modules/contact/contact.post_update.php
View file @
64fa6ad7
...
...
@@ -7,7 +7,6 @@
use
Drupal\contact\Entity\ContactForm
;
/**
* Initialize 'message' and 'redirect' field values to 'contact_form' entities.
*/
...
...
core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Tests\content_moderation\Kernel
;
use
Drupal\KernelTests\KernelTestBase
;
use
Drupal\node\Entity\Node
;
use
Drupal\node\Entity\NodeType
;
...
...
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
View file @
64fa6ad7
...
...
@@ -13,7 +13,6 @@
use
Drupal\datetime\Plugin\Field\FieldType\DateTimeItem
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
/**
* Base class for 'DateTime Field formatter' plugin implementations.
*/
...
...
core/modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Tests\dblog\Kernel
;
use
Drupal\Core\DependencyInjection\DependencySerializationTrait
;
use
Drupal\Core\Form\FormInterface
;
use
Drupal\Core\Form\FormState
;
...
...
core/modules/field/src/Tests/NestedFormTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\field\Tests
;
use
Drupal\Core\Field\FieldStorageDefinitionInterface
;
use
Drupal\field\Entity\FieldConfig
;
use
Drupal\field\Entity\FieldStorageConfig
;
...
...
core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php
View file @
64fa6ad7
<?php
namespace
Drupal\field_test\Plugin\Field\FieldFormatter
;
use
Drupal\Core\Field\FieldDefinitionInterface
;
use
Drupal\Core\Field\FieldItemListInterface
;
use
Drupal\Core\Field\FormatterBase
;
/**
* Plugin implementation of the 'field_test_applicable' formatter.
*
...
...
core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithDependencies.php
View file @
64fa6ad7
...
...
@@ -4,7 +4,6 @@
use
Drupal\Core\Field\FieldDefinitionInterface
;
/**
* Defines the 'test_field_with_dependencies' entity field item.
*
...
...
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
View file @
64fa6ad7
...
...
@@ -23,7 +23,6 @@
use
Drupal\taxonomy\Entity\Vocabulary
;
use
Drupal\user\Entity\User
;
/**
* Tests the new entity API for the entity reference field type.
*
...
...
core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\field\Kernel
;
use
Drupal\Component\Utility\Unicode
;
use
Drupal\field\Entity\FieldConfig
;
use
Drupal\field\Entity\FieldStorageConfig
;
...
...
core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\field\Kernel
;
use
Drupal\Core\Field\BaseFieldDefinition
;
/**
...
...
core/modules/file/src/Tests/FileFieldFormatterAccessTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\file\Tests
;
/**
* Tests file formatter access.
* @group file
...
...
core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\file\Kernel\Migrate\d6
;
use
Drupal\migrate\Plugin\MigrationInterface
;
/**
...
...
core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Tests\file\Kernel\Migrate\d7
;
use
Drupal\Core\StreamWrapper\PublicStream
;
use
Drupal\Core\StreamWrapper\StreamWrapperInterface
;
...
...
core/modules/file/tests/src/Kernel/SpaceUsedTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\file\Kernel
;
use
Drupal\file\Entity\File
;
/**
...
...
core/modules/file/tests/src/Kernel/ValidateTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\Tests\file\Kernel
;
/**
* Tests the file_validate() function.
*
...
...
core/modules/forum/src/ForumIndexStorage.php
View file @
64fa6ad7
<?php
namespace
Drupal\forum
;
use
Drupal\comment\CommentInterface
;
use
Drupal\Core\Database\Connection
;
use
Drupal\node\NodeInterface
;
...
...
core/modules/forum/src/ForumIndexStorageInterface.php
View file @
64fa6ad7
...
...
@@ -4,7 +4,6 @@
use
Drupal\node\NodeInterface
;
/**
* Handles CRUD operations to {forum_index} table.
*/
...
...
core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
View file @
64fa6ad7
...
...
@@ -6,7 +6,6 @@
use
Drupal\language\Entity\ConfigurableLanguage
;
use
Drupal\KernelTests\KernelTestBase
;
/**
* Tests that the configurable language manager and locale operate correctly.
*
...
...
core/modules/migrate/src/MigrateBuildDependencyInterface.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\migrate
;
interface
MigrateBuildDependencyInterface
{
/**
...
...
core/modules/migrate/src/MigrateMessageInterface.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\migrate
;
interface
MigrateMessageInterface
{
/**
...
...
core/modules/migrate/src/Plugin/migrate/process/Flatten.php
View file @
64fa6ad7
<?php
namespace
Drupal\migrate\Plugin\migrate\process
;
use
Drupal\migrate\MigrateExecutableInterface
;
use
Drupal\migrate\ProcessPluginBase
;
use
Drupal\migrate\Row
;
...
...
core/modules/migrate/src/Plugin/migrate/process/Log.php
View file @
64fa6ad7
...
...
@@ -6,7 +6,6 @@
use
Drupal\migrate\ProcessPluginBase
;
use
Drupal\migrate\Row
;
/**
* Logs values without changing them.
*
...
...
core/modules/migrate/tests/src/Unit/process/FlattenTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\migrate\Unit\process
;
use
Drupal\migrate\Plugin\migrate\process\Flatten
;
use
Drupal\migrate\Plugin\migrate\process\Flatten
;
/**
* Tests the flatten plugin.
...
...
core/modules/migrate_drupal/src/MigrationCreationTrait.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\migrate_drupal
;
/**
* @deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. Use
* \Drupal\migrate_drupal\MigrationConfigurationTrait instead.
...
...
core/modules/migrate_drupal/src/Plugin/migrate/source/EmptySource.php
View file @
64fa6ad7
...
...
@@ -10,7 +10,6 @@
use
Drupal\Core\Entity\EntityManagerInterface
;
use
Drupal\Core\Plugin\ContainerFactoryPluginInterface
;
/**
* Source returning an empty row with Drupal specific config dependencies.
*
...
...
core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php
View file @
64fa6ad7
<?php
namespace
Drupal\node\Plugin\migrate\source\d6
;
use
Drupal\Core\Database\Query\SelectInterface
;
/**
...
...
core/modules/node/tests/modules/node_test/node_test.module
View file @
64fa6ad7
...
...
@@ -14,7 +14,6 @@
use
Drupal\Core\Session\AccountInterface
;
use
Drupal\node\NodeInterface
;
/**
* Implements hook_ENTITY_TYPE_view() for node entities.
*/
...
...
core/modules/node/tests/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\node\Functional\Migrate\d6
;
use
Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeTestBase
;
/**
...
...
core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\node\Functional
;
use
Drupal\Component\Utility\Unicode
;
use
Drupal\field\Entity\FieldConfig
;
use
Drupal\field\Entity\FieldStorageConfig
;
...
...
core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\node\Functional
;
use
Drupal\Component\Utility\Unicode
;
use
Drupal\field\Entity\FieldConfig
;
use
Drupal\field\Entity\FieldStorageConfig
;
...
...
core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\responsive_image\Tests
;
use
Drupal\field_ui
\
Tests\FieldUiTestTrait
;
use
Drupal\simpletest\WebTestBase
;
use
Drupal\responsive_image
\
Entity\ResponsiveImageStyle
;
...
...
core/modules/rest/src/ResourceResponseTrait.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\rest
;
trait
ResourceResponseTrait
{
/**
...
...
core/modules/search/tests/src/Functional/SearchSimplifyTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\search\Functional
;
use
Drupal\Component\Utility\Unicode
;
/**
...
...
core/modules/search/tests/src/Functional/SearchTokenizerTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\Tests\search\Functional
;
use
Drupal\Component\Utility\Unicode
;
/**
...
...
core/modules/system/src/Tests/Installer/DistributionProfileExistingSettingsTest.php
View file @
64fa6ad7
...
...
@@ -9,7 +9,6 @@
use
Drupal\simpletest\InstallerTestBase
;
use
Symfony\Component\HttpFoundation\Request
;
/**
* Tests distribution profile support with existing settings.
*
...
...
core/modules/system/src/Tests/Module/DependencyTest.php
View file @
64fa6ad7
<?php
namespace
Drupal\system\Tests\Module
;
use
Drupal\Component\Utility\Unicode
;
/**
...
...
core/modules/system/src/Tests/System/UncaughtExceptionTest.php
View file @
64fa6ad7
...
...
@@ -2,7 +2,6 @@
namespace
Drupal\system\Tests\System
;
use
Drupal\simpletest\WebTestBase
;
/**
...
...
core/modules/system/tests/fixtures/update/drupal-8.broken_routing.php
View file @
64fa6ad7
...
...
@@ -7,7 +7,6 @@
use
Drupal\Core\Database\Database
;
$connection
=
Database
::
getConnection
();
$config
=
unserialize
(
$connection
->
query
(
"SELECT data FROM
{
config
}
where name = :name"
,
[
':name'
=>
'core.extension'
])
->
fetchField
());
...
...
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCompositeConstraint.php
View file @
64fa6ad7
<?php
namespace
Drupal\entity_test\Entity
;
use
Drupal\Core\Entity\EntityTypeInterface
;
/**
...
...
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestStringId.php
View file @
64fa6ad7
<?php
namespace
Drupal\entity_test\Entity
;
use
Drupal\Core\Field\BaseFieldDefinition
;
use
Drupal\Core\Entity\EntityTypeInterface
;
...
...
core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.php
View file @
64fa6ad7
...
...
@@ -9,7 +9,6 @@
use
Drupal\Core\TypedData\DataDefinitionInterface
;
use
Drupal\Core\TypedData\TypedDataInterface
;
/**
* Defines the 'field_test' entity field type.
*
...
...
core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php