diff --git a/core/core.api.php b/core/core.api.php
index f537882a5a5..5ceedebeb24 100644
--- a/core/core.api.php
+++ b/core/core.api.php
@@ -861,7 +861,7 @@
  * Modules can override the default classes used for services. Here are the
  * steps:
  * - Define a class in the top-level namespace for your module
- *   (Drupal\my_module), whose name is the camel-case version of your module's
+ *   (\Drupal\my_module), whose name is the camel-case version of your module's
  *   machine name followed by "ServiceProvider" (for example, if your module
  *   machine name is my_module, the class must be named
  *   MyModuleServiceProvider).
@@ -1849,27 +1849,27 @@
  * The system tries to ensure that only one consumer can process an item.
  *
  * Before a queue can be used it needs to be created by
- * Drupal\Core\Queue\QueueInterface::createQueue().
+ * \Drupal\Core\Queue\QueueInterface::createQueue().
  *
  * Items can be added to the queue by passing an arbitrary data object to
- * Drupal\Core\Queue\QueueInterface::createItem().
+ * \Drupal\Core\Queue\QueueInterface::createItem().
  *
- * To process an item, call Drupal\Core\Queue\QueueInterface::claimItem() and
+ * To process an item, call \Drupal\Core\Queue\QueueInterface::claimItem() and
  * specify how long you want to have a lease for working on that item.
  * When finished processing, the item needs to be deleted by calling
- * Drupal\Core\Queue\QueueInterface::deleteItem(). If the consumer dies, the
- * item will be made available again by the Drupal\Core\Queue\QueueInterface
+ * \Drupal\Core\Queue\QueueInterface::deleteItem(). If the consumer dies, the
+ * item will be made available again by the \Drupal\Core\Queue\QueueInterface
  * implementation once the lease expires. Another consumer will then be able to
- * receive it when calling Drupal\Core\Queue\QueueInterface::claimItem().
+ * receive it when calling \Drupal\Core\Queue\QueueInterface::claimItem().
  * Due to this, the processing code should be aware that an item might be handed
  * over for processing more than once.
  *
- * The $item object used by the Drupal\Core\Queue\QueueInterface can contain
+ * The $item object used by the \Drupal\Core\Queue\QueueInterface can contain
  * arbitrary metadata depending on the implementation. Systems using the
  * interface should only rely on the data property which will contain the
- * information passed to Drupal\Core\Queue\QueueInterface::createItem().
- * The full queue item returned by Drupal\Core\Queue\QueueInterface::claimItem()
- * needs to be passed to Drupal\Core\Queue\QueueInterface::deleteItem() once
+ * information passed to \Drupal\Core\Queue\QueueInterface::createItem().
+ * The full queue item returned by \Drupal\Core\Queue\QueueInterface::claimItem()
+ * needs to be passed to \Drupal\Core\Queue\QueueInterface::deleteItem() once
  * processing is completed.
  *
  * There are two kinds of queue backends available: reliable, which preserves
diff --git a/core/includes/common.inc b/core/includes/common.inc
index f40565ab1c7..df3f16775ce 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -203,10 +203,10 @@ function valid_email_address($mail) {
  * @return string
  *   A URI stripped of dangerous protocols and encoded for output to an HTML
  *   attribute value. Because it is already encoded, it should not be set as a
- *   value within a $attributes array passed to Drupal\Core\Template\Attribute,
+ *   value within a $attributes array passed to \Drupal\Core\Template\Attribute,
  *   because Drupal\Core\Template\Attribute expects those values to be
  *   plain-text strings. To pass a filtered URI to
- *   Drupal\Core\Template\Attribute, call
+ *   \Drupal\Core\Template\Attribute, call
  *   \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() instead.
  *
  * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
diff --git a/core/includes/entity.inc b/core/includes/entity.inc
index c69c588f0e2..cebd6045c90 100644
--- a/core/includes/entity.inc
+++ b/core/includes/entity.inc
@@ -152,7 +152,7 @@ function entity_revision_delete($entity_type, $revision_id) {
  * The actual loading is done through a class that has to implement the
  * \Drupal\Core\Entity\EntityStorageInterface interface. By default,
  * \Drupal\Core\Entity\Sql\SqlContentEntityStorage is used for content entities
- * and Drupal\Core\Config\Entity\ConfigEntityStorage for config entities. Entity
+ * and \Drupal\Core\Config\Entity\ConfigEntityStorage for config entities. Entity
  * types can specify that a different class should be used by setting the
  * "handlers['storage']" key in the entity plugin annotation. These classes
  * can either implement the \Drupal\Core\Entity\EntityStorageInterface
diff --git a/core/includes/form.inc b/core/includes/form.inc
index d99dca282a2..936c0c5feca 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -895,8 +895,8 @@ function &batch_get() {
  * Populates a job queue with the operations of a batch set.
  *
  * Depending on whether the batch is progressive or not, the
- * Drupal\Core\Queue\Batch or Drupal\Core\Queue\BatchMemory handler classes will
- * be used. The name and class of the queue are added by reference to the
+ * \Drupal\Core\Queue\Batch or \Drupal\Core\Queue\BatchMemory handler classes
+ * will be used. The name and class of the queue are added by reference to the
  * batch set.
  *
  * @param $batch
diff --git a/core/includes/install.inc b/core/includes/install.inc
index 5c0abcab8ea..7daf755b1d3 100644
--- a/core/includes/install.inc
+++ b/core/includes/install.inc
@@ -885,7 +885,7 @@ function install_goto($path) {
  *   used as an HTML attribute value.
  *
  * @see drupal_requirements_url()
- * @see Drupal\Component\Utility\UrlHelper::filterBadProtocol()
+ * @see \Drupal\Component\Utility\UrlHelper::filterBadProtocol()
  */
 function drupal_current_script_url($query = []) {
   $uri = $_SERVER['SCRIPT_NAME'];
diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index 4cc6424f3e1..3a1757cc70c 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -74,17 +74,17 @@
  *
  * @param bool $complete
  *   Optional boolean to indicate whether to return the complete theme registry
- *   array or an instance of the Drupal\Core\Utility\ThemeRegistry class.
+ *   array or an instance of the \Drupal\Core\Utility\ThemeRegistry class.
  *   If TRUE, the complete theme registry array will be returned. This is useful
  *   if you want to foreach over the whole registry, use array_* functions or
  *   inspect it in a debugger. If FALSE, an instance of the
- *   Drupal\Core\Utility\ThemeRegistry class will be returned, this provides an
+ *   \Drupal\Core\Utility\ThemeRegistry class will be returned, this provides an
  *   ArrayObject which allows it to be accessed with array syntax and isset(),
  *   and should be more lightweight than the full registry. Defaults to TRUE.
  *
  * @return
  *   The complete theme registry array, or an instance of the
- *   Drupal\Core\Utility\ThemeRegistry class.
+ *   \Drupal\Core\Utility\ThemeRegistry class.
  */
 function theme_get_registry($complete = TRUE) {
   $theme_registry = \Drupal::service('theme.registry');
diff --git a/core/includes/update.inc b/core/includes/update.inc
index 2caa6ca3f91..5d39c12dea6 100644
--- a/core/includes/update.inc
+++ b/core/includes/update.inc
@@ -133,10 +133,10 @@ function update_set_schema($module, $schema_version) {
  * will be displayed at all.
  *
  * If it fails for whatever reason, it should throw an instance of
- * Drupal\Core\Utility\UpdateException with an appropriate error message, for
+ * \Drupal\Core\Utility\UpdateException with an appropriate error message, for
  * example:
  * @code
- * use Drupal\Core\Utility\UpdateException;
+ * use \Drupal\Core\Utility\UpdateException;
  * throw new UpdateException(t('Description of what went wrong'));
  * @endcode
  *
@@ -363,7 +363,7 @@ function update_get_update_list() {
  *
  * In addition, the returned array also includes detailed information about the
  * dependency chain for each update, as provided by the depth-first search
- * algorithm in Drupal\Component\Graph\Graph::searchAndSort().
+ * algorithm in \Drupal\Component\Graph\Graph::searchAndSort().
  *
  * @param $starting_updates
  *   An array whose keys contain the names of modules with updates to be run
@@ -377,7 +377,7 @@ function update_get_update_list() {
  *   run. (This includes the provided starting update for each module and all
  *   subsequent updates that are available.) The values are themselves arrays
  *   containing all the keys provided by the
- *   Drupal\Component\Graph\Graph::searchAndSort() algorithm, which encode
+ *   \Drupal\Component\Graph\Graph::searchAndSort() algorithm, which encode
  *   detailed information about the dependency chain for this update function
  *   (for example: 'paths', 'reverse_paths', 'weight', and 'component'), as
  *   well as the following additional keys:
@@ -494,14 +494,14 @@ function update_get_update_function_list($starting_updates) {
  *
  * @return
  *   A multidimensional array representing the dependency graph, suitable for
- *   passing in to Drupal\Component\Graph\Graph::searchAndSort(), but with extra
- *   information about each update function also included. Each array key
+ *   passing in to \Drupal\Component\Graph\Graph::searchAndSort(), but with
+ *   extra information about each update function also included. Each array key
  *   contains the name of an update function, including all update functions
  *   from the provided list as well as any outside update functions which they
  *   directly depend on. Each value is an associative array containing the
  *   following keys:
  *   - 'edges': A representation of any other update functions that immediately
- *     depend on this one. See Drupal\Component\Graph\Graph::searchAndSort() for
+ *     depend on this one. See \Drupal\Component\Graph\Graph::searchAndSort() for
  *     more details on the format.
  *   - 'module': The name of the module that this update function belongs to.
  *   - 'number': The number of this update function within that module.
diff --git a/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php b/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
index c5416b6fa42..ac508e7c2e8 100644
--- a/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
+++ b/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
@@ -53,7 +53,7 @@ public function getData() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
    *
    * Not implemented. Not relevant for the MemoryWriter.
    */
@@ -61,7 +61,7 @@ public function setLangcode($langcode) {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
    *
    * Not implemented. Not relevant for the MemoryWriter.
    */
@@ -69,7 +69,7 @@ public function getLangcode() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface:getHeader().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface:getHeader().
    *
    * Not implemented. Not relevant for the MemoryWriter.
    */
@@ -77,7 +77,7 @@ public function getHeader() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface:setHeader().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface:setHeader().
    *
    * Not implemented. Not relevant for the MemoryWriter.
    */
diff --git a/core/lib/Drupal/Component/Gettext/PoStreamReader.php b/core/lib/Drupal/Component/Gettext/PoStreamReader.php
index f84d2514c0c..2f3a29f6781 100644
--- a/core/lib/Drupal/Component/Gettext/PoStreamReader.php
+++ b/core/lib/Drupal/Component/Gettext/PoStreamReader.php
@@ -119,7 +119,7 @@ public function getHeader() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface::setHeader().
    *
    * Not applicable to stream reading and therefore not implemented.
    */
@@ -141,7 +141,7 @@ public function setURI($uri) {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoStreamInterface::open().
+   * Implements \Drupal\Component\Gettext\PoStreamInterface::open().
    *
    * Opens the stream and reads the header. The stream is ready for reading
    * items after.
@@ -160,7 +160,7 @@ public function open() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoStreamInterface::close().
+   * Implements \Drupal\Component\Gettext\PoStreamInterface::close().
    *
    * @throws Exception
    *   If the stream is not open.
diff --git a/core/lib/Drupal/Component/Gettext/PoStreamWriter.php b/core/lib/Drupal/Component/Gettext/PoStreamWriter.php
index 5419b210aaf..b72b7686456 100644
--- a/core/lib/Drupal/Component/Gettext/PoStreamWriter.php
+++ b/core/lib/Drupal/Component/Gettext/PoStreamWriter.php
@@ -79,7 +79,7 @@ public function open() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoStreamInterface::close().
+   * Implements \Drupal\Component\Gettext\PoStreamInterface::close().
    *
    * @throws Exception
    *   If the stream is not open.
@@ -135,7 +135,7 @@ public function writeItems(PoReaderInterface $reader, $count = -1) {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoStreamInterface::getURI().
+   * Implements \Drupal\Component\Gettext\PoStreamInterface::getURI().
    *
    * @throws Exception
    *   If the URI is not set.
diff --git a/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php b/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
index 7d076fa753e..3cfd1f06170 100644
--- a/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
+++ b/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
@@ -5,7 +5,7 @@
 use Drupal\Component\Plugin\Exception\PluginNotFoundException;
 
 /**
- * @see Drupal\Component\Plugin\Discovery\DiscoveryInterface
+ * @see \Drupal\Component\Plugin\Discovery\DiscoveryInterface
  */
 trait DiscoveryTrait {
 
diff --git a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
index 1f203fb2073..d02439d2e2f 100644
--- a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
+++ b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
@@ -12,7 +12,7 @@
  * Instantiates plugin instances by passing the full configuration array as a
  * single constructor argument. Plugin types wanting to support plugin classes
  * with more flexible constructor signatures can do so by using an alternate
- * factory such as Drupal\Component\Plugin\Factory\ReflectionFactory.
+ * factory such as \Drupal\Component\Plugin\Factory\ReflectionFactory.
  */
 class DefaultFactory implements FactoryInterface {
 
@@ -34,7 +34,7 @@ class DefaultFactory implements FactoryInterface {
   protected $interface;
 
   /**
-   * Constructs a Drupal\Component\Plugin\Factory\DefaultFactory object.
+   * Constructs a \Drupal\Component\Plugin\Factory\DefaultFactory object.
    *
    * @param \Drupal\Component\Plugin\Discovery\DiscoveryInterface $discovery
    *   The plugin discovery.
diff --git a/core/lib/Drupal/Component/Plugin/PluginBase.php b/core/lib/Drupal/Component/Plugin/PluginBase.php
index b608e90b82a..c56442b1ecf 100644
--- a/core/lib/Drupal/Component/Plugin/PluginBase.php
+++ b/core/lib/Drupal/Component/Plugin/PluginBase.php
@@ -41,7 +41,7 @@
   protected $configuration;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/lib/Drupal/Component/Serialization/YamlPecl.php b/core/lib/Drupal/Component/Serialization/YamlPecl.php
index a01f980fd78..95a7e3d86f4 100644
--- a/core/lib/Drupal/Component/Serialization/YamlPecl.php
+++ b/core/lib/Drupal/Component/Serialization/YamlPecl.php
@@ -46,7 +46,7 @@ public static function decode($raw) {
     // handler, we need to temporarily set the error handler as ::errorHandler()
     // and then restore it after decoding has occurred. This allows us to turn
     // parsing errors into a throwable exception.
-    // @see Drupal\Component\Serialization\Exception\InvalidDataTypeException
+    // @see \Drupal\Component\Serialization\Exception\InvalidDataTypeException
     // @see http://php.net/manual/en/class.errorexception.php
     set_error_handler([__CLASS__, 'errorHandler']);
     $ndocs = 0;
diff --git a/core/lib/Drupal/Core/Ajax/AddCssCommand.php b/core/lib/Drupal/Core/Ajax/AddCssCommand.php
index 80ee17aa033..1090c3ae146 100644
--- a/core/lib/Drupal/Core/Ajax/AddCssCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AddCssCommand.php
@@ -35,7 +35,7 @@ public function __construct($styles) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/AfterCommand.php b/core/lib/Drupal/Core/Ajax/AfterCommand.php
index 41e232d20eb..db86afd5dca 100644
--- a/core/lib/Drupal/Core/Ajax/AfterCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AfterCommand.php
@@ -19,7 +19,7 @@
 class AfterCommand extends InsertCommand {
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/AlertCommand.php b/core/lib/Drupal/Core/Ajax/AlertCommand.php
index 360036f4538..297d426f004 100644
--- a/core/lib/Drupal/Core/Ajax/AlertCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AlertCommand.php
@@ -27,7 +27,7 @@ public function __construct($text) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/AppendCommand.php b/core/lib/Drupal/Core/Ajax/AppendCommand.php
index 34c751d7ee6..d9120cca1f0 100644
--- a/core/lib/Drupal/Core/Ajax/AppendCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AppendCommand.php
@@ -19,7 +19,7 @@
 class AppendCommand extends InsertCommand {
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/BeforeCommand.php b/core/lib/Drupal/Core/Ajax/BeforeCommand.php
index 8de47c8e64e..1bd2a57a86a 100644
--- a/core/lib/Drupal/Core/Ajax/BeforeCommand.php
+++ b/core/lib/Drupal/Core/Ajax/BeforeCommand.php
@@ -19,7 +19,7 @@
 class BeforeCommand extends InsertCommand {
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/ChangedCommand.php b/core/lib/Drupal/Core/Ajax/ChangedCommand.php
index 0027d7c59e4..52a20cbb08b 100644
--- a/core/lib/Drupal/Core/Ajax/ChangedCommand.php
+++ b/core/lib/Drupal/Core/Ajax/ChangedCommand.php
@@ -46,7 +46,7 @@ public function __construct($selector, $asterisk = '') {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/CssCommand.php b/core/lib/Drupal/Core/Ajax/CssCommand.php
index 016c8134ff4..b41665817a2 100644
--- a/core/lib/Drupal/Core/Ajax/CssCommand.php
+++ b/core/lib/Drupal/Core/Ajax/CssCommand.php
@@ -63,7 +63,7 @@ public function setProperty($property, $value) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/DataCommand.php b/core/lib/Drupal/Core/Ajax/DataCommand.php
index a1bee21469a..0ba318771f8 100644
--- a/core/lib/Drupal/Core/Ajax/DataCommand.php
+++ b/core/lib/Drupal/Core/Ajax/DataCommand.php
@@ -58,7 +58,7 @@ public function __construct($selector, $name, $value) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/HtmlCommand.php b/core/lib/Drupal/Core/Ajax/HtmlCommand.php
index e39f08f59f7..a47d92f48aa 100644
--- a/core/lib/Drupal/Core/Ajax/HtmlCommand.php
+++ b/core/lib/Drupal/Core/Ajax/HtmlCommand.php
@@ -19,7 +19,7 @@
 class HtmlCommand extends InsertCommand {
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/InsertCommand.php b/core/lib/Drupal/Core/Ajax/InsertCommand.php
index 1813e500645..089c376dbb6 100644
--- a/core/lib/Drupal/Core/Ajax/InsertCommand.php
+++ b/core/lib/Drupal/Core/Ajax/InsertCommand.php
@@ -62,7 +62,7 @@ public function __construct($selector, $content, array $settings = NULL) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/InvokeCommand.php b/core/lib/Drupal/Core/Ajax/InvokeCommand.php
index 46e37ffea4e..0dae1c00e60 100644
--- a/core/lib/Drupal/Core/Ajax/InvokeCommand.php
+++ b/core/lib/Drupal/Core/Ajax/InvokeCommand.php
@@ -58,7 +58,7 @@ public function __construct($selector, $method, array $arguments = []) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/PrependCommand.php b/core/lib/Drupal/Core/Ajax/PrependCommand.php
index e3902b8f44f..88630e875e4 100644
--- a/core/lib/Drupal/Core/Ajax/PrependCommand.php
+++ b/core/lib/Drupal/Core/Ajax/PrependCommand.php
@@ -19,7 +19,7 @@
 class PrependCommand extends InsertCommand {
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/RemoveCommand.php b/core/lib/Drupal/Core/Ajax/RemoveCommand.php
index d7f86ddd257..91ae50db883 100644
--- a/core/lib/Drupal/Core/Ajax/RemoveCommand.php
+++ b/core/lib/Drupal/Core/Ajax/RemoveCommand.php
@@ -35,7 +35,7 @@ public function __construct($selector) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
     return [
diff --git a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
index 25927b7993b..c63d3e4c089 100644
--- a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
+++ b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
@@ -20,7 +20,7 @@
 class ReplaceCommand extends InsertCommand {
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/RestripeCommand.php b/core/lib/Drupal/Core/Ajax/RestripeCommand.php
index 33b7e25269f..de9f5ea84a4 100644
--- a/core/lib/Drupal/Core/Ajax/RestripeCommand.php
+++ b/core/lib/Drupal/Core/Ajax/RestripeCommand.php
@@ -36,7 +36,7 @@ public function __construct($selector) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Ajax/SettingsCommand.php b/core/lib/Drupal/Core/Ajax/SettingsCommand.php
index ca41720dcb2..3463096cfb9 100644
--- a/core/lib/Drupal/Core/Ajax/SettingsCommand.php
+++ b/core/lib/Drupal/Core/Ajax/SettingsCommand.php
@@ -50,7 +50,7 @@ public function __construct(array $settings, $merge = FALSE) {
   }
 
   /**
-   * Implements Drupal\Core\Ajax\CommandInterface:render().
+   * Implements \Drupal\Core\Ajax\CommandInterface:render().
    */
   public function render() {
 
diff --git a/core/lib/Drupal/Core/Archiver/ArchiverException.php b/core/lib/Drupal/Core/Archiver/ArchiverException.php
index b1ad0b6e91f..31936bb5281 100644
--- a/core/lib/Drupal/Core/Archiver/ArchiverException.php
+++ b/core/lib/Drupal/Core/Archiver/ArchiverException.php
@@ -3,6 +3,6 @@
 namespace Drupal\Core\Archiver;
 
 /**
- * Defines an exception class for Drupal\Core\Archiver\ArchiverInterface.
+ * Defines an exception class for \Drupal\Core\Archiver\ArchiverInterface.
  */
 class ArchiverException extends \Exception {}
diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
index a8ce88890a9..613ce74637d 100644
--- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
+++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
@@ -6,7 +6,7 @@
  * Defines an interface for cache implementations.
  *
  * All cache implementations have to implement this interface.
- * Drupal\Core\Cache\DatabaseBackend provides the default implementation, which
+ * \Drupal\Core\Cache\DatabaseBackend provides the default implementation, which
  * can be consulted as an example.
  *
  * The cache indentifiers are case sensitive.
diff --git a/core/lib/Drupal/Core/Cache/CacheFactory.php b/core/lib/Drupal/Core/Cache/CacheFactory.php
index d029cc1fe62..db59cf73546 100644
--- a/core/lib/Drupal/Core/Cache/CacheFactory.php
+++ b/core/lib/Drupal/Core/Cache/CacheFactory.php
@@ -51,9 +51,9 @@ public function __construct(Settings $settings, array $default_bin_backends = []
    * Instantiates a cache backend class for a given cache bin.
    *
    * By default, this returns an instance of the
-   * Drupal\Core\Cache\DatabaseBackend class.
+   * \Drupal\Core\Cache\DatabaseBackend class.
    *
-   * Classes implementing Drupal\Core\Cache\CacheBackendInterface can register
+   * Classes implementing \Drupal\Core\Cache\CacheBackendInterface can register
    * themselves both as a default implementation and for specific bins.
    *
    * @param string $bin
diff --git a/core/lib/Drupal/Core/Cache/PhpBackend.php b/core/lib/Drupal/Core/Cache/PhpBackend.php
index 2404493404f..ccea0236910 100644
--- a/core/lib/Drupal/Core/Cache/PhpBackend.php
+++ b/core/lib/Drupal/Core/Cache/PhpBackend.php
@@ -9,7 +9,7 @@
  * Defines a PHP cache implementation.
  *
  * Stores cache items in a PHP file using a storage that implements
- * Drupal\Component\PhpStorage\PhpStorageInterface.
+ * \Drupal\Component\PhpStorage\PhpStorageInterface.
  *
  * This is fast because of PHP's opcode caching mechanism. Once a file's
  * content is stored in PHP's opcode cache, including it doesn't require
diff --git a/core/lib/Drupal/Core/Config/DatabaseStorage.php b/core/lib/Drupal/Core/Config/DatabaseStorage.php
index 5d88f1576e3..d12ac4329ed 100644
--- a/core/lib/Drupal/Core/Config/DatabaseStorage.php
+++ b/core/lib/Drupal/Core/Config/DatabaseStorage.php
@@ -212,7 +212,7 @@ protected static function schemaDefinition() {
   }
 
   /**
-   * Implements Drupal\Core\Config\StorageInterface::delete().
+   * Implements \Drupal\Core\Config\StorageInterface::delete().
    *
    * @throws PDOException
    *
@@ -228,7 +228,7 @@ public function delete($name) {
 
 
   /**
-   * Implements Drupal\Core\Config\StorageInterface::rename().
+   * Implements \Drupal\Core\Config\StorageInterface::rename().
    *
    * @throws PDOException
    */
@@ -249,7 +249,7 @@ public function encode($data) {
   }
 
   /**
-   * Implements Drupal\Core\Config\StorageInterface::decode().
+   * Implements \Drupal\Core\Config\StorageInterface::decode().
    *
    * @throws ErrorException
    *   The unserialize() call will trigger E_NOTICE if the string cannot
diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
index 62fb13efc0d..f99651d86ee 100644
--- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
+++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
@@ -236,7 +236,7 @@ protected function doDelete($entities) {
   }
 
   /**
-   * Implements Drupal\Core\Entity\EntityStorageInterface::save().
+   * Implements \Drupal\Core\Entity\EntityStorageInterface::save().
    *
    * @throws EntityMalformedException
    *   When attempting to save a configuration entity that has no ID.
diff --git a/core/lib/Drupal/Core/Config/FileStorage.php b/core/lib/Drupal/Core/Config/FileStorage.php
index 84d23d32745..a3a521fe6ae 100644
--- a/core/lib/Drupal/Core/Config/FileStorage.php
+++ b/core/lib/Drupal/Core/Config/FileStorage.php
@@ -95,7 +95,7 @@ public function exists($name) {
   }
 
   /**
-   * Implements Drupal\Core\Config\StorageInterface::read().
+   * Implements \Drupal\Core\Config\StorageInterface::read().
    *
    * @throws \Drupal\Core\Config\UnsupportedDataTypeConfigException
    */
diff --git a/core/lib/Drupal/Core/Config/InstallStorage.php b/core/lib/Drupal/Core/Config/InstallStorage.php
index 9fea3df4730..f404505e82e 100644
--- a/core/lib/Drupal/Core/Config/InstallStorage.php
+++ b/core/lib/Drupal/Core/Config/InstallStorage.php
@@ -62,7 +62,7 @@ public function __construct($directory = self::CONFIG_INSTALL_DIRECTORY, $collec
   }
 
   /**
-   * Overrides Drupal\Core\Config\FileStorage::getFilePath().
+   * Overrides \Drupal\Core\Config\FileStorage::getFilePath().
    *
    * Returns the path to the configuration file.
    *
@@ -96,7 +96,7 @@ public function exists($name) {
   }
 
   /**
-   * Overrides Drupal\Core\Config\FileStorage::write().
+   * Overrides \Drupal\Core\Config\FileStorage::write().
    *
    * @throws \Drupal\Core\Config\StorageException
    */
@@ -105,7 +105,7 @@ public function write($name, array $data) {
   }
 
   /**
-   * Overrides Drupal\Core\Config\FileStorage::delete().
+   * Overrides \Drupal\Core\Config\FileStorage::delete().
    *
    * @throws \Drupal\Core\Config\StorageException
    */
@@ -114,7 +114,7 @@ public function delete($name) {
   }
 
   /**
-   * Overrides Drupal\Core\Config\FileStorage::rename().
+   * Overrides \Drupal\Core\Config\FileStorage::rename().
    *
    * @throws \Drupal\Core\Config\StorageException
    */
@@ -258,7 +258,7 @@ protected function getCoreFolder() {
   }
 
   /**
-   * Overrides Drupal\Core\Config\FileStorage::deleteAll().
+   * Overrides \Drupal\Core\Config\FileStorage::deleteAll().
    *
    * @throws \Drupal\Core\Config\StorageException
    */
diff --git a/core/lib/Drupal/Core/Database/Connection.php b/core/lib/Drupal/Core/Database/Connection.php
index 3bc7447a6dd..12565f897bd 100644
--- a/core/lib/Drupal/Core/Database/Connection.php
+++ b/core/lib/Drupal/Core/Database/Connection.php
@@ -1023,7 +1023,7 @@ public function escapeAlias($field) {
    * @endcode
    *
    * Backslash is defined as escape character for LIKE patterns in
-   * Drupal\Core\Database\Query\Condition::mapConditionOperator().
+   * \Drupal\Core\Database\Query\Condition::mapConditionOperator().
    *
    * @param string $string
    *   The string to escape.
diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
index 878607c55dc..1adee53272d 100644
--- a/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
+++ b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
@@ -342,8 +342,8 @@ protected function getNormalizedIndexes(array $spec) {
    * @param array $index
    *   The index array to be used in createKeySql.
    *
-   * @see Drupal\Core\Database\Driver\mysql\Schema::createKeySql()
-   * @see Drupal\Core\Database\Driver\mysql\Schema::normalizeIndexes()
+   * @see \Drupal\Core\Database\Driver\mysql\Schema::createKeySql()
+   * @see \Drupal\Core\Database\Driver\mysql\Schema::normalizeIndexes()
    */
   protected function shortenIndex(&$index) {
     if (is_array($index)) {
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
index e696f242fd3..256585b1be8 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
@@ -403,7 +403,7 @@ public function getFullQualifiedTableName($table) {
    *   A string representing the savepoint name. By default,
    *   "mimic_implicit_commit" is used.
    *
-   * @see Drupal\Core\Database\Connection::pushTransaction()
+   * @see \Drupal\Core\Database\Connection::pushTransaction()
    */
   public function addSavepoint($savepoint_name = 'mimic_implicit_commit') {
     if ($this->inTransaction()) {
@@ -418,7 +418,7 @@ public function addSavepoint($savepoint_name = 'mimic_implicit_commit') {
    *   A string representing the savepoint name. By default,
    *   "mimic_implicit_commit" is used.
    *
-   * @see Drupal\Core\Database\Connection::popTransaction()
+   * @see \Drupal\Core\Database\Connection::popTransaction()
    */
   public function releaseSavepoint($savepoint_name = 'mimic_implicit_commit') {
     if (isset($this->transactionLayers[$savepoint_name])) {
diff --git a/core/lib/Drupal/Core/Database/Query/Condition.php b/core/lib/Drupal/Core/Database/Query/Condition.php
index 51693576e86..708649b1664 100644
--- a/core/lib/Drupal/Core/Database/Query/Condition.php
+++ b/core/lib/Drupal/Core/Database/Query/Condition.php
@@ -338,8 +338,9 @@ public function __toString() {
   /**
    * PHP magic __clone() method.
    *
-   * Only copies fields that implement Drupal\Core\Database\Query\ConditionInterface. Also sets
-   * $this->changed to TRUE.
+   * Only copies fields that implement
+   * \Drupal\Core\Database\Query\ConditionInterface. Also sets $this->changed to
+   * TRUE.
    */
   public function __clone() {
     $this->changed = TRUE;
diff --git a/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php b/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php
index d512bd61178..52659543cfe 100644
--- a/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php
+++ b/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php
@@ -19,7 +19,7 @@
    *
    * @param $extender_name
    *   The fully-qualified name of the extender class, without the leading '\'
-   *   (for example, Drupal\my_module\myExtenderClass). The extender name will
+   *   (for example, \Drupal\my_module\myExtenderClass). The extender name will
    *   be checked against the current database connection to allow
    *   driver-specific subclasses as well, using the same logic as the query
    *   objects themselves.
diff --git a/core/lib/Drupal/Core/Database/StatementInterface.php b/core/lib/Drupal/Core/Database/StatementInterface.php
index a97043af624..8bd48a0474b 100644
--- a/core/lib/Drupal/Core/Database/StatementInterface.php
+++ b/core/lib/Drupal/Core/Database/StatementInterface.php
@@ -7,13 +7,13 @@
  *
  * Child implementations should either extend PDOStatement:
  * @code
- * class Drupal\Core\Database\Driver\oracle\Statement extends PDOStatement implements Drupal\Core\Database\StatementInterface {}
+ * class \Drupal\Core\Database\Driver\oracle\Statement extends PDOStatement implements \Drupal\Core\Database\StatementInterface {}
  * @endcode
  * or define their own class. If defining their own class, they will also have
  * to implement either the Iterator or IteratorAggregate interface before
- * Drupal\Core\Database\StatementInterface:
+ * \Drupal\Core\Database\StatementInterface:
  * @code
- * class Drupal\Core\Database\Driver\oracle\Statement implements Iterator, Drupal\Core\Database\StatementInterface {}
+ * class \Drupal\Core\Database\Driver\oracle\Statement implements Iterator, \Drupal\Core\Database\StatementInterface {}
  * @endcode
  *
  * @ingroup database
diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php
index 217d4dc781e..09d02dd761c 100644
--- a/core/lib/Drupal/Core/DrupalKernel.php
+++ b/core/lib/Drupal/Core/DrupalKernel.php
@@ -46,7 +46,7 @@
  * cannot be registered in the core.services.yaml file, adds any compiler passes
  * needed by core, e.g. for processing tagged services. Each module can add its
  * own service provider, i.e. a class implementing
- * Drupal\Core\DependencyInjection\ServiceProvider, to register services to the
+ * \Drupal\Core\DependencyInjection\ServiceProvider, to register services to the
  * container, or modify existing services.
  */
 class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
@@ -759,7 +759,7 @@ protected function moduleData($module) {
   }
 
   /**
-   * Implements Drupal\Core\DrupalKernelInterface::updateModules().
+   * Implements \Drupal\Core\DrupalKernelInterface::updateModules().
    *
    * @todo Remove obsolete $module_list parameter. Only $module_filenames is
    *   needed.
diff --git a/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php b/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
index 466032d96a0..ff0a990c693 100644
--- a/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
+++ b/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
@@ -156,7 +156,7 @@ public static function validateEntityAutocomplete(array &$element, FormStateInte
         'target_type' => $element['#target_type'],
         'handler' => $element['#selection_handler'],
       ];
-      /** @var /Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler */
+      /** @var \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler */
       $handler = \Drupal::service('plugin.manager.entity_reference_selection')->getInstance($options);
       $autocreate = (bool) $element['#autocreate'] && $handler instanceof SelectionWithAutocreateInterface;
 
diff --git a/core/lib/Drupal/Core/Entity/EntityChangedInterface.php b/core/lib/Drupal/Core/Entity/EntityChangedInterface.php
index 747571799cd..82b549ea062 100644
--- a/core/lib/Drupal/Core/Entity/EntityChangedInterface.php
+++ b/core/lib/Drupal/Core/Entity/EntityChangedInterface.php
@@ -12,7 +12,7 @@
  * entity types implementing this interface in order to disallow concurrent
  * editing.
  *
- * @see Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
+ * @see \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
  */
 interface EntityChangedInterface {
 
diff --git a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
index 22238d4bf50..f6f54cc5bc3 100644
--- a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
+++ b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
@@ -673,7 +673,7 @@ protected function buildPropertyQuery(QueryInterface $entity_query, array $value
    * being loaded needs to be augmented with additional data from another
    * table, such as loading node type into comments or vocabulary machine name
    * into terms, however it can also support $conditions on different tables.
-   * See Drupal\comment\CommentStorage::buildQuery() for an example.
+   * See \Drupal\comment\CommentStorage::buildQuery() for an example.
    *
    * @param array|null $ids
    *   An array of entity IDs, or NULL to load all entities.
diff --git a/core/lib/Drupal/Core/Entity/entity.api.php b/core/lib/Drupal/Core/Entity/entity.api.php
index 5387c7ef7e3..9c2a98417b2 100644
--- a/core/lib/Drupal/Core/Entity/entity.api.php
+++ b/core/lib/Drupal/Core/Entity/entity.api.php
@@ -697,7 +697,7 @@ function hook_entity_type_build(array &$entity_types) {
 function hook_entity_type_alter(array &$entity_types) {
   /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
   // Set the controller class for nodes to an alternate implementation of the
-  // Drupal\Core\Entity\EntityStorageInterface interface.
+  // \Drupal\Core\Entity\EntityStorageInterface interface.
   $entity_types['node']->setStorageClass('Drupal\mymodule\MyCustomNodeStorage');
 }
 
@@ -742,7 +742,7 @@ function hook_entity_bundle_info() {
  * @param array $bundles
  *   An array of bundles, keyed first by entity type, then by bundle name.
  *
- * @see Drupal\Core\Entity\EntityTypeBundleInfo::getBundleInfo()
+ * @see \Drupal\Core\Entity\EntityTypeBundleInfo::getBundleInfo()
  * @see hook_entity_bundle_info()
  */
 function hook_entity_bundle_info_alter(&$bundles) {
@@ -1894,7 +1894,7 @@ function hook_entity_field_access($operation, \Drupal\Core\Field\FieldDefinition
  *   - field_definition: The field definition object
  *     (\Drupal\Core\Field\FieldDefinitionInterface)
  *   - account: The user account to check access for
- *     (Drupal\user\Entity\User).
+ *     (\Drupal\user\Entity\User).
  *   - items: (optional) The entity field items
  *     (\Drupal\Core\Field\FieldItemListInterface).
  */
diff --git a/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php b/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php
index 03d3f66c7ba..e8b7e377a03 100644
--- a/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php
+++ b/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php
@@ -100,15 +100,15 @@ public function addProfile($name, $path);
    *
    * @param array $modules
    *   An array of module objects keyed by module name. Each object contains
-   *   information discovered during a Drupal\Core\Extension\ExtensionDiscovery
+   *   information discovered during a \Drupal\Core\Extension\ExtensionDiscovery
    *   scan.
    *
    * @return
    *   The same array with the new keys for each module:
    *   - requires: An array with the keys being the modules that this module
    *     requires.
-   *   - required_by: An array with the keys being the modules that will not work
-   *     without this module.
+   *   - required_by: An array with the keys being the modules that will not
+   *     work without this module.
    *
    * @see \Drupal\Core\Extension\ExtensionDiscovery
    */
diff --git a/core/lib/Drupal/Core/Extension/module.api.php b/core/lib/Drupal/Core/Extension/module.api.php
index 0830f32872f..b0ea3841d43 100644
--- a/core/lib/Drupal/Core/Extension/module.api.php
+++ b/core/lib/Drupal/Core/Extension/module.api.php
@@ -600,8 +600,8 @@ function hook_install_tasks_alter(&$tasks, $install_state) {
  *
  * @throws \Drupal\Core\Utility\UpdateException|PDOException
  *   In case of error, update hooks should throw an instance of
- *   Drupal\Core\Utility\UpdateException with a meaningful message for the user.
- *   If a database query fails for whatever reason, it will throw a
+ *   \Drupal\Core\Utility\UpdateException with a meaningful message for the
+ *   user. If a database query fails for whatever reason, it will throw a
  *   PDOException.
  *
  * @ingroup update_api
@@ -809,9 +809,9 @@ function hook_update_last_removed() {
 /**
  * Provide information on Updaters (classes that can update Drupal).
  *
- * Drupal\Core\Updater\Updater is a class that knows how to update various parts
- * of the Drupal file system, for example to update modules that have newer
- * releases, or to install a new theme.
+ * \Drupal\Core\Updater\Updater is a class that knows how to update various
+ * parts of the Drupal file system, for example to update modules that have
+ * newer releases, or to install a new theme.
  *
  * @return
  *   An associative array of information about the updater(s) being provided.
diff --git a/core/lib/Drupal/Core/Field/FieldItemInterface.php b/core/lib/Drupal/Core/Field/FieldItemInterface.php
index f23395c10d7..1091c4e9313 100644
--- a/core/lib/Drupal/Core/Field/FieldItemInterface.php
+++ b/core/lib/Drupal/Core/Field/FieldItemInterface.php
@@ -132,7 +132,7 @@ public function __get($property_name);
    *   The name of the property to set; e.g., 'title' or 'name'.
    * @param mixed $value
    *   The value to set, or NULL to unset the property. Optionally, a typed
-   *   data object implementing Drupal\Core\TypedData\TypedDataInterface may be
+   *   data object implementing \Drupal\Core\TypedData\TypedDataInterface may be
    *   passed instead of a plain value.
    *
    * @throws \InvalidArgumentException
diff --git a/core/lib/Drupal/Core/Field/FieldItemListInterface.php b/core/lib/Drupal/Core/Field/FieldItemListInterface.php
index c350432e21a..a33fbdf15c4 100644
--- a/core/lib/Drupal/Core/Field/FieldItemListInterface.php
+++ b/core/lib/Drupal/Core/Field/FieldItemListInterface.php
@@ -17,7 +17,7 @@
  * particular get() and set() as well as their magic equivalences.
  *
  * Optionally, a typed data object implementing
- * Drupal\Core\TypedData\TypedDataInterface may be passed to
+ * \Drupal\Core\TypedData\TypedDataInterface may be passed to
  * ArrayAccess::offsetSet() instead of a plain value.
  *
  * When implementing this interface which extends Traversable, make sure to list
diff --git a/core/lib/Drupal/Core/Field/FieldTypePluginManager.php b/core/lib/Drupal/Core/Field/FieldTypePluginManager.php
index 905cdb4f1bb..96df9e95096 100644
--- a/core/lib/Drupal/Core/Field/FieldTypePluginManager.php
+++ b/core/lib/Drupal/Core/Field/FieldTypePluginManager.php
@@ -56,7 +56,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
    * @param array $configuration
    *   The plugin configuration array, i.e. an array with the following keys:
    *   - field_definition: The field definition object, i.e. an instance of
-   *     Drupal\Core\Field\FieldDefinitionInterface.
+   *     \Drupal\Core\Field\FieldDefinitionInterface.
    *
    * @return \Drupal\Core\Field\FieldItemInterface
    *   The instantiated object.
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
index a559d9e870b..3cb1a53cc07 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
@@ -72,10 +72,9 @@ public static function validateElement(array $element, FormStateInterface $form_
     }
 
     // Massage submitted form values.
-    // Drupal\Core\Field\WidgetBase::submit() expects values as
+    // \Drupal\Core\Field\WidgetBase::submit() expects values as
     // an array of values keyed by delta first, then by column, while our
     // widgets return the opposite.
-
     if (is_array($element['#value'])) {
       $values = array_values($element['#value']);
     }
diff --git a/core/lib/Drupal/Core/Field/WidgetBaseInterface.php b/core/lib/Drupal/Core/Field/WidgetBaseInterface.php
index 83d160add37..159832a6384 100644
--- a/core/lib/Drupal/Core/Field/WidgetBaseInterface.php
+++ b/core/lib/Drupal/Core/Field/WidgetBaseInterface.php
@@ -9,8 +9,8 @@
  * Base interface definition for "Field widget" plugins.
  *
  * This interface details base wrapping methods that most widget implementations
- * will want to directly inherit from Drupal\Core\Field\WidgetBase. See
- * Drupal\Core\Field\WidgetInterface for methods that will more likely be
+ * will want to directly inherit from \Drupal\Core\Field\WidgetBase. See
+ * \Drupal\Core\Field\WidgetInterface for methods that will more likely be
  * overridden in actual widget implementations.
  */
 interface WidgetBaseInterface extends PluginSettingsInterface {
diff --git a/core/lib/Drupal/Core/Field/WidgetInterface.php b/core/lib/Drupal/Core/Field/WidgetInterface.php
index a34e2ff43d7..b4471f492af 100644
--- a/core/lib/Drupal/Core/Field/WidgetInterface.php
+++ b/core/lib/Drupal/Core/Field/WidgetInterface.php
@@ -9,9 +9,9 @@
  * Interface definition for field widget plugins.
  *
  * This interface details the methods that most plugin implementations will want
- * to override. See Drupal\Core\Field\WidgetBaseInterface for base
+ * to override. See \Drupal\Core\Field\WidgetBaseInterface for base
  * wrapping methods that should most likely be inherited directly from
- * Drupal\Core\Field\WidgetBase..
+ * \Drupal\Core\Field\WidgetBase.
  *
  * @ingroup field_widget
  */
diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php
index af395a20bbe..ce3939f1b30 100644
--- a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php
+++ b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php
@@ -42,7 +42,7 @@
   protected $port;
 
   /**
-   * Constructs a Drupal\Core\FileTransfer\FileTransfer object.
+   * Constructs a \Drupal\Core\FileTransfer\FileTransfer object.
    *
    * @param $jail
    *   The full path where all file operations performed by this object will
diff --git a/core/lib/Drupal/Core/FileTransfer/SSH.php b/core/lib/Drupal/Core/FileTransfer/SSH.php
index 5795526e93f..80a5c96399d 100644
--- a/core/lib/Drupal/Core/FileTransfer/SSH.php
+++ b/core/lib/Drupal/Core/FileTransfer/SSH.php
@@ -88,7 +88,7 @@ protected function removeFileJailed($destination) {
   }
 
   /**
-   * Implements Drupal\Core\FileTransfer\FileTransfer::isDirectory().
+   * Implements \Drupal\Core\FileTransfer\FileTransfer::isDirectory().
    *
    * WARNING: This is untested. It is not currently used, but should do the
    * trick.
diff --git a/core/lib/Drupal/Core/Form/EnforcedResponse.php b/core/lib/Drupal/Core/Form/EnforcedResponse.php
index 2b1466d0a3c..0beca0ac477 100644
--- a/core/lib/Drupal/Core/Form/EnforcedResponse.php
+++ b/core/lib/Drupal/Core/Form/EnforcedResponse.php
@@ -14,9 +14,9 @@
  * EnforcedResponse object and replace the original response with the wrapped
  * response.
  *
- * @see Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber::onKernelException()
- * @see Drupal\Core\EventSubscriber\DefaultExceptionSubscriber::createHtmlResponse()
- * @see Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber::createResponse()
+ * @see \Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber::onKernelException()
+ * @see \Drupal\Core\EventSubscriber\DefaultExceptionSubscriber::createHtmlResponse()
+ * @see \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber::createResponse()
  */
 class EnforcedResponse extends Response {
 
diff --git a/core/lib/Drupal/Core/Form/FormBuilder.php b/core/lib/Drupal/Core/Form/FormBuilder.php
index be000dcc259..e3079189934 100644
--- a/core/lib/Drupal/Core/Form/FormBuilder.php
+++ b/core/lib/Drupal/Core/Form/FormBuilder.php
@@ -105,11 +105,11 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS
    * state has an invalid CSRF token.
    *
    * Excluded from this list on purpose:
-   *  - Drupal\file\Element\ManagedFile::valueCallback
-   *  - Drupal\Core\Datetime\Element\Datelist::valueCallback
-   *  - Drupal\Core\Datetime\Element\Datetime::valueCallback
-   *  - Drupal\Core\Render\Element\ImageButton::valueCallback
-   *  - Drupal\file\Plugin\Field\FieldWidget\FileWidget::value
+   *  - \Drupal\file\Element\ManagedFile::valueCallback
+   *  - \Drupal\Core\Datetime\Element\Datelist::valueCallback
+   *  - \Drupal\Core\Datetime\Element\Datetime::valueCallback
+   *  - \Drupal\Core\Render\Element\ImageButton::valueCallback
+   *  - \Drupal\file\Plugin\Field\FieldWidget\FileWidget::value
    *  - color_palette_color_value
    *
    * @var array
@@ -335,7 +335,7 @@ public function buildForm($form_id, FormStateInterface &$form_state) {
 
     // If the form returns a response, skip subsequent page construction by
     // throwing an exception.
-    // @see Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber
+    // @see \Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber
     //
     // @todo Exceptions should not be used for code flow control. However, the
     //   Form API does not integrate with the HTTP Kernel based architecture of
@@ -514,7 +514,7 @@ public function retrieveForm($form_id, FormStateInterface &$form_state) {
     $form = call_user_func_array($callback, $args);
     // If the form returns a response, skip subsequent page construction by
     // throwing an exception.
-    // @see Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber
+    // @see \Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber
     //
     // @todo Exceptions should not be used for code flow control. However, the
     //   Form API currently allows any form builder functions to return a
diff --git a/core/lib/Drupal/Core/Form/FormErrorHandler.php b/core/lib/Drupal/Core/Form/FormErrorHandler.php
index 9783cb5c4a6..be5a59158a6 100644
--- a/core/lib/Drupal/Core/Form/FormErrorHandler.php
+++ b/core/lib/Drupal/Core/Form/FormErrorHandler.php
@@ -72,14 +72,14 @@ protected function displayErrorMessages(array $form, FormStateInterface $form_st
    * @code
    * // The street textfield element.
    * $element = [
-   *   '#errors' => {Drupal\Core\StringTranslation\TranslatableMarkup},
+   *   '#errors' => {\Drupal\Core\StringTranslation\TranslatableMarkup},
    *   '#children_errors' => [],
    * ];
    * // The address detail element.
    * $element = [
    *   '#errors' => null,
    *   '#children_errors' => [
-   *      'street' => {Drupal\Core\StringTranslation\TranslatableMarkup}
+   *      'street' => {\Drupal\Core\StringTranslation\TranslatableMarkup}
    *   ],
    * ];
    * @endcode
diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
index bd96df2f208..e434cb5bcdf 100644
--- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
+++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
@@ -39,7 +39,7 @@ class DatabaseStorage extends StorageBase {
   protected $table;
 
   /**
-   * Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
+   * Overrides \Drupal\Core\KeyValueStore\StorageBase::__construct().
    *
    * @param string $collection
    *   The name of the collection holding key and value pairs.
diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
index c6514962d63..d4751eb284c 100644
--- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
+++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
@@ -15,7 +15,7 @@
 class DatabaseStorageExpirable extends DatabaseStorage implements KeyValueStoreExpirableInterface {
 
   /**
-   * Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
+   * Overrides \Drupal\Core\KeyValueStore\StorageBase::__construct().
    *
    * @param string $collection
    *   The name of the collection holding key and value pairs.
diff --git a/core/lib/Drupal/Core/Mail/MailInterface.php b/core/lib/Drupal/Core/Mail/MailInterface.php
index fbde1b86dc7..8f68a85abd4 100644
--- a/core/lib/Drupal/Core/Mail/MailInterface.php
+++ b/core/lib/Drupal/Core/Mail/MailInterface.php
@@ -16,10 +16,10 @@
    *
    * Allows to preprocess, format, and postprocess a mail message before it is
    * passed to the sending system. By default, all messages may contain HTML and
-   * are converted to plain-text by the Drupal\Core\Mail\Plugin\Mail\PhpMail
+   * are converted to plain-text by the \Drupal\Core\Mail\Plugin\Mail\PhpMail
    * implementation. For example, an alternative implementation could override
    * the default implementation and also sanitize the HTML for usage in a MIME-
-   * encoded email, but still invoking the Drupal\Core\Mail\Plugin\Mail\PhpMail
+   * encoded email, but still invoking the \Drupal\Core\Mail\Plugin\Mail\PhpMail
    * implementation to generate an alternate plain-text version for sending.
    *
    * @param array $message
diff --git a/core/lib/Drupal/Core/Mail/MailManagerInterface.php b/core/lib/Drupal/Core/Mail/MailManagerInterface.php
index 0228fbcb971..cb04724b4cd 100644
--- a/core/lib/Drupal/Core/Mail/MailManagerInterface.php
+++ b/core/lib/Drupal/Core/Mail/MailManagerInterface.php
@@ -28,7 +28,7 @@
    * additional choices if you are not sending the email to a user on the site.
    * You can either use the language used to generate the page or the site
    * default language. See
-   * Drupal\Core\Language\LanguageManagerInterface::getDefaultLanguage(). The
+   * \Drupal\Core\Language\LanguageManagerInterface::getDefaultLanguage(). The
    * former is good if sending email to the person filling the form, the later
    * is good if you send email to an address previously set up (like contact
    * addresses in a contact form).
diff --git a/core/lib/Drupal/Core/Menu/menu.api.php b/core/lib/Drupal/Core/Menu/menu.api.php
index f932cf9bc4b..95b263bf462 100644
--- a/core/lib/Drupal/Core/Menu/menu.api.php
+++ b/core/lib/Drupal/Core/Menu/menu.api.php
@@ -156,8 +156,8 @@
  *
  * @section sec_rendering Rendering menus
  * Once you have created menus (that contain menu links), you want to render
- * them. Drupal provides a block (Drupal\system\Plugin\Block\SystemMenuBlock) to
- * do so.
+ * them. Drupal provides a block (\Drupal\system\Plugin\Block\SystemMenuBlock)
+ * to do so.
  *
  * However, perhaps you have more advanced needs and you're not satisfied with
  * what the menu blocks offer you. If that's the case, you'll want to:
@@ -468,7 +468,7 @@ function hook_system_breadcrumb_alter(\Drupal\Core\Breadcrumb\Breadcrumb &$bread
  *       anchor tag. If element 'class' is included, it must be an array; 'title'
  *       must be a string; other elements are more flexible, as they just need
  *       to work as an argument for the constructor of the class
- *       Drupal\Core\Template\Attribute($options['attributes']).
+ *       \Drupal\Core\Template\Attribute($options['attributes']).
  *
  * @see \Drupal\Core\Utility\UnroutedUrlAssembler::assemble()
  * @see \Drupal\Core\Routing\UrlGenerator::generateFromRoute()
diff --git a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
index 51040cd0d3f..861a195bbda 100644
--- a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
+++ b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
@@ -28,7 +28,7 @@ class HookDiscovery implements DiscoveryInterface {
   protected $moduleHandler;
 
   /**
-   * Constructs a Drupal\Core\Plugin\Discovery\HookDiscovery object.
+   * Constructs a \Drupal\Core\Plugin\Discovery\HookDiscovery object.
    *
    * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
    *   The module handler.
diff --git a/core/lib/Drupal/Core/Render/Element/Date.php b/core/lib/Drupal/Core/Render/Element/Date.php
index 735b1d5ce5f..60b962b9316 100644
--- a/core/lib/Drupal/Core/Render/Element/Date.php
+++ b/core/lib/Drupal/Core/Render/Element/Date.php
@@ -82,7 +82,7 @@ public static function processDate(&$element, FormStateInterface $form_state, &$
    *   Properties used: #title, #value, #options, #description, #required,
    *   #attributes, #id, #name, #type, #min, #max, #step, #value, #size. The
    *   #name property will be sanitized before output. This is currently done by
-   *   initializing Drupal\Core\Template\Attribute with all the attributes.
+   *   initializing \Drupal\Core\Template\Attribute with all the attributes.
    *
    * @return array
    *   The $element with prepared variables ready for #theme 'input__date'.
diff --git a/core/lib/Drupal/Core/Render/Element/Radio.php b/core/lib/Drupal/Core/Render/Element/Radio.php
index e178463eead..4409d513cfe 100644
--- a/core/lib/Drupal/Core/Render/Element/Radio.php
+++ b/core/lib/Drupal/Core/Render/Element/Radio.php
@@ -44,7 +44,7 @@ public function getInfo() {
    *   An associative array containing the properties of the element.
    *   Properties used: #required, #return_value, #value, #attributes, #title,
    *   #description. The #name property will be sanitized before output. This is
-   *   currently done by initializing Drupal\Core\Template\Attribute with all
+   *   currently done by initializing \Drupal\Core\Template\Attribute with all
    *   the attributes.
    *
    * @return array
diff --git a/core/lib/Drupal/Core/Render/Element/Radios.php b/core/lib/Drupal/Core/Render/Element/Radios.php
index 2c9797a3c13..b986889e5ef 100644
--- a/core/lib/Drupal/Core/Render/Element/Radios.php
+++ b/core/lib/Drupal/Core/Render/Element/Radios.php
@@ -68,11 +68,12 @@ public static function processRadios(&$element, FormStateInterface $form_state,
         $element[$key] += [
           '#type' => 'radio',
           '#title' => $choice,
-          // The key is sanitized in Drupal\Core\Template\Attribute during output
+          // The key is sanitized in \Drupal\Core\Template\Attribute during
+          // output.
           // from the theme function.
           '#return_value' => $key,
-          // Use default or FALSE. A value of FALSE means that the radio button is
-          // not 'checked'.
+          // Use default or FALSE. A value of FALSE means that the radio button
+          // is not 'checked'.
           '#default_value' => isset($element['#default_value']) ? $element['#default_value'] : FALSE,
           '#attributes' => $element['#attributes'],
           '#parents' => $element['#parents'],
diff --git a/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php b/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
index 7b171f8202f..afc3453d287 100644
--- a/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
+++ b/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
@@ -20,7 +20,7 @@
  *
  * To render attachments to HTML for testing without a controller, use the
  * 'bare_html_page_renderer' service to generate a
- * Drupal\Core\Render\HtmlResponse object. Then use its getContent(),
+ * \Drupal\Core\Render\HtmlResponse object. Then use its getContent(),
  * getStatusCode(), and/or the headers property to access the result.
  *
  * @see template_preprocess_html()
diff --git a/core/lib/Drupal/Core/Render/theme.api.php b/core/lib/Drupal/Core/Render/theme.api.php
index c12dd3dc00d..d1f471be63e 100644
--- a/core/lib/Drupal/Core/Render/theme.api.php
+++ b/core/lib/Drupal/Core/Render/theme.api.php
@@ -982,7 +982,7 @@ function hook_library_info_alter(&$libraries, $extension) {
  * @param \Drupal\Core\Asset\AttachedAssetsInterface $assets
  *   The assets attached to the current response.
  *
- * @see Drupal\Core\Asset\LibraryResolverInterface::getCssAssets()
+ * @see \Drupal\Core\Asset\LibraryResolverInterface::getCssAssets()
  */
 function hook_css_alter(&$css, \Drupal\Core\Asset\AttachedAssetsInterface $assets) {
   // Remove defaults.css file.
diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php
index fa12ab48858..32b137197d6 100644
--- a/core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php
+++ b/core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php
@@ -10,7 +10,7 @@
  * such as "sites/default/files/example.txt" and then PHP filesystem functions
  * are invoked.
  *
- * Drupal\Core\StreamWrapper\LocalReadOnlyStream implementations need to
+ * \Drupal\Core\StreamWrapper\LocalReadOnlyStream implementations need to
  * implement at least the getDirectoryPath() and getExternalUrl() methods.
  */
 abstract class LocalReadOnlyStream extends LocalStream {
diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php
index 20b2712c763..3db3bbd8135 100644
--- a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php
+++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php
@@ -10,8 +10,8 @@
  * "sites/default/files/example.txt" and then PHP filesystem functions are
  * invoked.
  *
- * Drupal\Core\StreamWrapper\LocalStream implementations need to implement at least the
- * getDirectoryPath() and getExternalUrl() methods.
+ * \Drupal\Core\StreamWrapper\LocalStream implementations need to implement at
+ * least the getDirectoryPath() and getExternalUrl() methods.
  */
 abstract class LocalStream implements StreamWrapperInterface {
   /**
@@ -112,7 +112,7 @@ public function realpath() {
    * @return string|bool
    *   If $uri is not set, returns the canonical absolute path of the URI
    *   previously set by the
-   *   Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri() function.
+   *   \Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri() function.
    *   If $uri is set and valid for this class, returns its canonical absolute
    *   path, as determined by the realpath() function. If $uri is set but not
    *   valid, returns FALSE.
diff --git a/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php b/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php
index a2fa8043634..82128d834e7 100644
--- a/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php
+++ b/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php
@@ -9,7 +9,7 @@
  * Specifically, it only implements the writing classes and read classes where
  * we need to restrict 'write-capable' arguments.
  *
- * Drupal\Core\StreamWrapper\ReadOnlyStream implementations need to implement
+ * \Drupal\Core\StreamWrapper\ReadOnlyStream implementations need to implement
  * all the read-related classes.
  */
 abstract class ReadOnlyStream implements StreamWrapperInterface {
diff --git a/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php b/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php
index df1f654f9bc..b3ee1633d88 100644
--- a/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php
+++ b/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php
@@ -124,7 +124,7 @@ public function getDescriptions($filter = StreamWrapperInterface::ALL);
    * @return \Drupal\Core\StreamWrapper\StreamWrapperInterface|bool
    *   Returns a new stream wrapper object appropriate for the given $scheme.
    *   For example, for the public scheme a stream wrapper object
-   *   (Drupal\Core\StreamWrapper\PublicStream).
+   *   (\Drupal\Core\StreamWrapper\PublicStream).
    *   FALSE is returned if no registered handler could be found.
    */
   public function getViaScheme($scheme);
@@ -142,7 +142,7 @@ public function getViaScheme($scheme);
    *   Returns a new stream wrapper object appropriate for the given URI or
    *   FALSE if no registered handler could be found. For example, a URI of
    *   "private://example.txt" would return a new private stream wrapper object
-   *   (Drupal\Core\StreamWrapper\PrivateStream).
+   *   (\Drupal\Core\StreamWrapper\PrivateStream).
    */
   public function getViaUri($uri);
 
diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
index 4f756dadf25..83245e50271 100644
--- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
+++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
@@ -12,7 +12,7 @@
  *
  * This class can serve as list for any type of items and is used by default.
  * Data types may specify the default list class in their definition, see
- * Drupal\Core\TypedData\Annotation\DataType.
+ * \Drupal\Core\TypedData\Annotation\DataType.
  * Note: The class cannot be called "List" as list is a reserved PHP keyword.
  *
  * @ingroup typed_data
diff --git a/core/lib/Drupal/Core/Updater/Module.php b/core/lib/Drupal/Core/Updater/Module.php
index 0a244b46bc1..4b789750af4 100644
--- a/core/lib/Drupal/Core/Updater/Module.php
+++ b/core/lib/Drupal/Core/Updater/Module.php
@@ -6,7 +6,7 @@
 
 /**
  * Defines a class for updating modules using
- * Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.
+ * \Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.
  */
 class Module extends Updater implements UpdaterInterface {
 
diff --git a/core/lib/Drupal/Core/Updater/Theme.php b/core/lib/Drupal/Core/Updater/Theme.php
index 7ac70f098fd..2d636153b2c 100644
--- a/core/lib/Drupal/Core/Updater/Theme.php
+++ b/core/lib/Drupal/Core/Updater/Theme.php
@@ -6,7 +6,7 @@
 
 /**
  * Defines a class for updating themes using
- * Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.
+ * \Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.
  */
 class Theme extends Updater implements UpdaterInterface {
 
diff --git a/core/lib/Drupal/Core/Updater/Updater.php b/core/lib/Drupal/Core/Updater/Updater.php
index a1ba1031173..e4c29eb21d4 100644
--- a/core/lib/Drupal/Core/Updater/Updater.php
+++ b/core/lib/Drupal/Core/Updater/Updater.php
@@ -56,7 +56,7 @@ public function __construct($source, $root) {
    *   Drupal site is installed).
    *
    * @return \Drupal\Core\Updater\Updater
-   *   A new Drupal\Core\Updater\Updater object.
+   *   A new \Drupal\Core\Updater\Updater object.
    *
    * @throws \Drupal\Core\Updater\UpdaterException
    */
diff --git a/core/lib/Drupal/Core/Updater/UpdaterException.php b/core/lib/Drupal/Core/Updater/UpdaterException.php
index befc78c7ee5..7ffa40df230 100644
--- a/core/lib/Drupal/Core/Updater/UpdaterException.php
+++ b/core/lib/Drupal/Core/Updater/UpdaterException.php
@@ -3,7 +3,7 @@
 namespace Drupal\Core\Updater;
 
 /**
- * Defines a Exception class for the Drupal\Core\Updater\Updater class
+ * Defines a Exception class for the \Drupal\Core\Updater\Updater class
  * hierarchy.
  *
  * This is identical to the base Exception class, we just give it a more
diff --git a/core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php b/core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php
index 9deec3c94ab..3defa0aaa78 100644
--- a/core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php
+++ b/core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php
@@ -3,11 +3,11 @@
 namespace Drupal\Core\Updater;
 
 /**
- * Defines a child class of Drupal\Core\Updater\UpdaterException that indicates
- * a Drupal\Core\FileTransfer\FileTransfer exception.
+ * Defines a child class of \Drupal\Core\Updater\UpdaterException that indicates
+ * a \Drupal\Core\FileTransfer\FileTransfer exception.
  *
- * We have to catch Drupal\Core\FileTransfer\FileTransfer exceptions
- * and wrap those in t(), since Drupal\Core\FileTransfer\FileTransfer
+ * We have to catch \Drupal\Core\FileTransfer\FileTransfer exceptions
+ * and wrap those in t(), since \Drupal\Core\FileTransfer\FileTransfer
  * is so low-level that it doesn't use any Drupal APIs and none of the strings
  * are translated.
  */
diff --git a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php
index 83aa4f2e048..a7219ff68e2 100644
--- a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php
+++ b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php
@@ -44,7 +44,7 @@
    *     anchor tag. If element 'class' is included, it must be an array; 'title'
    *     must be a string; other elements are more flexible, as they just need
    *     to work as an argument for the constructor of the class
-   *     Drupal\Core\Template\Attribute($options['attributes']).
+   *     \Drupal\Core\Template\Attribute($options['attributes']).
    *   - language: An optional language object. If the path being linked to is
    *     internal to the site, $options['language'] is used to determine whether
    *     the link is "active", or pointing to the current page (the language as
diff --git a/core/modules/aggregator/src/FeedStorage.php b/core/modules/aggregator/src/FeedStorage.php
index ded3531380d..131befe6536 100644
--- a/core/modules/aggregator/src/FeedStorage.php
+++ b/core/modules/aggregator/src/FeedStorage.php
@@ -7,8 +7,8 @@
 /**
  * Controller class for aggregator's feeds.
  *
- * This extends the Drupal\Core\Entity\Sql\SqlContentEntityStorage class, adding
- * required special handling for feed entities.
+ * This extends the \Drupal\Core\Entity\Sql\SqlContentEntityStorage class,
+ * adding required special handling for feed entities.
  */
 class FeedStorage extends SqlContentEntityStorage implements FeedStorageInterface {
 
diff --git a/core/modules/aggregator/src/ItemStorage.php b/core/modules/aggregator/src/ItemStorage.php
index 05650d27ec4..7e570e2ee7a 100644
--- a/core/modules/aggregator/src/ItemStorage.php
+++ b/core/modules/aggregator/src/ItemStorage.php
@@ -8,8 +8,8 @@
 /**
  * Controller class for aggregators items.
  *
- * This extends the Drupal\Core\Entity\Sql\SqlContentEntityStorage class, adding
- * required special handling for feed item entities.
+ * This extends the \Drupal\Core\Entity\Sql\SqlContentEntityStorage class,
+ * adding required special handling for feed item entities.
  */
 class ItemStorage extends SqlContentEntityStorage implements ItemStorageInterface {
 
diff --git a/core/modules/aggregator/src/Plugin/views/argument/Fid.php b/core/modules/aggregator/src/Plugin/views/argument/Fid.php
index 90564d5bb64..adb26a473a4 100644
--- a/core/modules/aggregator/src/Plugin/views/argument/Fid.php
+++ b/core/modules/aggregator/src/Plugin/views/argument/Fid.php
@@ -23,7 +23,7 @@ class Fid extends NumericArgument {
   protected $entityManager;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/aggregator/src/Plugin/views/argument/Iid.php b/core/modules/aggregator/src/Plugin/views/argument/Iid.php
index 44b4569779e..c5ccf7b1095 100644
--- a/core/modules/aggregator/src/Plugin/views/argument/Iid.php
+++ b/core/modules/aggregator/src/Plugin/views/argument/Iid.php
@@ -23,7 +23,7 @@ class Iid extends NumericArgument {
   protected $entityManager;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/block_content/src/BlockContentInterface.php b/core/modules/block_content/src/BlockContentInterface.php
index 75fdc5979b3..bc0e86e7ea9 100644
--- a/core/modules/block_content/src/BlockContentInterface.php
+++ b/core/modules/block_content/src/BlockContentInterface.php
@@ -79,7 +79,7 @@ public function getTheme();
    * Gets the configured instances of this custom block.
    *
    * @return array
-   *   Array of Drupal\block\Core\Plugin\Entity\Block entities.
+   *   Array of \Drupal\block\Core\Plugin\Entity\Block entities.
    */
   public function getInstances();
 
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php b/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
index 59f111b9658..2e0763b6f6b 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
@@ -77,7 +77,7 @@ public function testBlock() {
     // @todo The request stack manipulation won't be necessary once
     //   https://www.drupal.org/node/2367555 is fixed and the
     //   corresponding $request->isMethodCacheable() checks are removed from
-    //   Drupal\Core\Render\Renderer.
+    //   \Drupal\Core\Render\Renderer.
     $request_stack = $this->container->get('request_stack');
     $request_stack->push(new Request());
     $this->container->get('renderer')->renderRoot($build);
diff --git a/core/modules/block_content/tests/src/Functional/Views/FieldTypeTest.php b/core/modules/block_content/tests/src/Functional/Views/FieldTypeTest.php
index 8ff2fc05ca0..8dbe36b3e2b 100644
--- a/core/modules/block_content/tests/src/Functional/Views/FieldTypeTest.php
+++ b/core/modules/block_content/tests/src/Functional/Views/FieldTypeTest.php
@@ -5,7 +5,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the Drupal\block_content\Plugin\views\field\Type handler.
+ * Tests the \Drupal\block_content\Plugin\views\field\Type handler.
  *
  * @group block_content
  */
diff --git a/core/modules/book/src/Plugin/views/argument_default/TopLevelBook.php b/core/modules/book/src/Plugin/views/argument_default/TopLevelBook.php
index 9ab4fe2904f..97079463990 100644
--- a/core/modules/book/src/Plugin/views/argument_default/TopLevelBook.php
+++ b/core/modules/book/src/Plugin/views/argument_default/TopLevelBook.php
@@ -25,7 +25,8 @@ class TopLevelBook extends Node {
   protected $nodeStorage;
 
   /**
-   * Constructs a Drupal\book\Plugin\views\argument_default\TopLevelBook object.
+   * Constructs a \Drupal\book\Plugin\views\argument_default\TopLevelBook
+   * object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
index 255691ff03b..2524a75b8d4 100644
--- a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
+++ b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
@@ -58,7 +58,7 @@ class CKEditor extends EditorBase implements ContainerFactoryPluginInterface {
   protected $renderer;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module
index 16949ffd9e7..39751fdd91a 100644
--- a/core/modules/comment/comment.module
+++ b/core/modules/comment/comment.module
@@ -548,7 +548,7 @@ function comment_user_predelete($account) {
  *
  * @param \Drupal\comment\CommentInterface $comment
  *   The comment entity to preview.
- * @param Drupal\Core\Form\FormStateInterface $form_state
+ * @param \Drupal\Core\Form\FormStateInterface $form_state
  *   The current state of the form.
  *
  * @return array
diff --git a/core/modules/comment/src/CommentFieldItemList.php b/core/modules/comment/src/CommentFieldItemList.php
index 7a4cdad4e6d..e1012021e56 100644
--- a/core/modules/comment/src/CommentFieldItemList.php
+++ b/core/modules/comment/src/CommentFieldItemList.php
@@ -52,7 +52,7 @@ public function access($operation = 'view', AccountInterface $account = NULL, $r
     if ($operation === 'view') {
       // Only users with either post comments or access comments permisison can
       // view the field value. The formatter,
-      // Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter,
+      // \Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter,
       // takes care of showing the thread and form based on individual
       // permissions, so if a user only has ‘post comments’ access, only the
       // form will be shown and not the comments.
diff --git a/core/modules/comment/src/CommentStorage.php b/core/modules/comment/src/CommentStorage.php
index d164d8ad9e9..57edac8051c 100644
--- a/core/modules/comment/src/CommentStorage.php
+++ b/core/modules/comment/src/CommentStorage.php
@@ -16,7 +16,7 @@
 /**
  * Defines the storage handler class for comments.
  *
- * This extends the Drupal\Core\Entity\Sql\SqlContentEntityStorage class,
+ * This extends the \Drupal\Core\Entity\Sql\SqlContentEntityStorage class,
  * adding required special handling for comment entities.
  */
 class CommentStorage extends SqlContentEntityStorage implements CommentStorageInterface {
diff --git a/core/modules/comment/src/Plugin/views/argument/UserUid.php b/core/modules/comment/src/Plugin/views/argument/UserUid.php
index 7023102d832..3dfbf6a2bef 100644
--- a/core/modules/comment/src/Plugin/views/argument/UserUid.php
+++ b/core/modules/comment/src/Plugin/views/argument/UserUid.php
@@ -25,7 +25,7 @@ class UserUid extends ArgumentPluginBase {
   protected $database;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/comment/src/Plugin/views/field/NodeNewComments.php b/core/modules/comment/src/Plugin/views/field/NodeNewComments.php
index c53b52ed154..939563430b0 100644
--- a/core/modules/comment/src/Plugin/views/field/NodeNewComments.php
+++ b/core/modules/comment/src/Plugin/views/field/NodeNewComments.php
@@ -36,7 +36,7 @@ public function usesGroupBy() {
   protected $database;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
index 586d1975799..25a9847eb53 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
@@ -489,7 +489,7 @@ public function testTranslateOperationInListUi() {
     $this->doDateFormatListTest();
     $this->doFieldListTest();
 
-    // Views is tested in Drupal\config_translation\Tests\ConfigTranslationViewListUiTest
+    // Views is tested in \Drupal\config_translation\Tests\ConfigTranslationViewListUiTest
 
     // Test the maintenance settings page.
     $this->doSettingsPageTest('admin/config/development/maintenance');
diff --git a/core/modules/contact/tests/drupal-7.contact.database.php b/core/modules/contact/tests/drupal-7.contact.database.php
index bd36384d7ea..169105420e6 100644
--- a/core/modules/contact/tests/drupal-7.contact.database.php
+++ b/core/modules/contact/tests/drupal-7.contact.database.php
@@ -2,7 +2,7 @@
 
 /**
  * @file
- * Database additions for Drupal\contact\Tests\ContactUpgradePathTest.
+ * Database additions for \Drupal\contact\Tests\ContactUpgradePathTest.
  *
  * This dump only contains data for the contact module. The
  * drupal-7.filled.bare.php file is imported before this dump, so the two form
diff --git a/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.module b/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.module
index cef976c6ffe..9e1fcb92917 100644
--- a/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.module
+++ b/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.module
@@ -34,7 +34,7 @@ function contact_storage_test_entity_base_field_info(EntityTypeInterface $entity
 function contact_storage_test_entity_type_alter(array &$entity_types) {
   /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
   // Set the controller class for nodes to an alternate implementation of the
-  // Drupal\Core\Entity\EntityStorageInterface interface.
+  // \Drupal\Core\Entity\EntityStorageInterface interface.
   $entity_types['contact_message']->setStorageClass('\Drupal\Core\Entity\Sql\SqlContentEntityStorage');
   $keys = $entity_types['contact_message']->getKeys();
   $keys['id'] = 'id';
diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module
index 8dbd1702af8..16b18973589 100644
--- a/core/modules/content_translation/content_translation.module
+++ b/core/modules/content_translation/content_translation.module
@@ -209,7 +209,7 @@ function content_translation_entity_base_field_info(EntityTypeInterface $entity_
  *     that making this column group translatable requires all others to be
  *     translatable too.
  *
- * @see Drupal\image\Plugin\Field\FieldType\ImageItem
+ * @see \Drupal\image\Plugin\Field\FieldType\ImageItem
  */
 function content_translation_field_info_alter(&$info) {
   foreach ($info as $key => $settings) {
diff --git a/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php b/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
index 61454839587..ed3108d5cad 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the Drupal\datetime\Plugin\views\filter\Date handler.
+ * Tests the \Drupal\datetime\Plugin\views\filter\Date handler.
  *
  * @group datetime
  */
diff --git a/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php b/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
index 1e8e929f334..0449ff5a9f9 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the Drupal\datetime\Plugin\views\filter\Date handler.
+ * Tests the \Drupal\datetime\Plugin\views\filter\Date handler.
  *
  * @group datetime
  */
diff --git a/core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php b/core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
index 7375c4db29e..e087888c599 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests for core Drupal\datetime\Plugin\views\sort\Date handler.
+ * Tests for core \Drupal\datetime\Plugin\views\sort\Date handler.
  *
  * @group datetime
  */
diff --git a/core/modules/dblog/src/Controller/DbLogController.php b/core/modules/dblog/src/Controller/DbLogController.php
index 4cfbece02ef..70a545a40d2 100644
--- a/core/modules/dblog/src/Controller/DbLogController.php
+++ b/core/modules/dblog/src/Controller/DbLogController.php
@@ -115,8 +115,8 @@ public static function getLogLevelClassMap() {
    * @return array
    *   A render array as expected by drupal_render().
    *
-   * @see Drupal\dblog\Form\DblogClearLogConfirmForm
-   * @see Drupal\dblog\Controller\DbLogController::eventDetails()
+   * @see \Drupal\dblog\Form\DblogClearLogConfirmForm
+   * @see \Drupal\dblog\Controller\DbLogController::eventDetails()
    */
   public function overview() {
 
diff --git a/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php b/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
index d04d9ba1542..797c9fc2e9f 100644
--- a/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
+++ b/core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
@@ -8,7 +8,7 @@
  * Generate events and verify dblog entries; verify user access to log reports
  * based on permissions. Using the dblog UI generated by a View.
  *
- * @see Drupal\dblog\Tests\DbLogTest
+ * @see \Drupal\dblog\Tests\DbLogTest
  *
  * @group dblog
  */
diff --git a/core/modules/field/field.purge.inc b/core/modules/field/field.purge.inc
index 519c6af2740..5ad70f8a002 100644
--- a/core/modules/field/field.purge.inc
+++ b/core/modules/field/field.purge.inc
@@ -156,7 +156,7 @@ function field_purge_field(FieldConfigInterface $field) {
  * @param \Drupal\field\FieldStorageConfigInterface $field_storage
  *   The field storage to purge.
  *
- * @throws Drupal\field\FieldException
+ * @throws \Drupal\field\FieldException
  */
 function field_purge_field_storage(FieldStorageConfigInterface $field_storage) {
   $fields = entity_load_multiple_by_properties('field_config', ['field_storage_uuid' => $field_storage->uuid(), 'include_deleted' => TRUE]);
diff --git a/core/modules/field/src/Plugin/migrate/source/d7/Field.php b/core/modules/field/src/Plugin/migrate/source/d7/Field.php
index 9e92619f8e7..2f886e24a16 100644
--- a/core/modules/field/src/Plugin/migrate/source/d7/Field.php
+++ b/core/modules/field/src/Plugin/migrate/source/d7/Field.php
@@ -11,7 +11,7 @@
  * @internal
  *
  * This class is marked as internal and should not be extended. Use
- * Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase instead.
+ * \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase instead.
  *
  * @MigrateSource(
  *   id = "d7_field",
diff --git a/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php b/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php
index a54b17d9d16..895989c4bf3 100644
--- a/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php
+++ b/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php
@@ -11,7 +11,7 @@
  * @internal
  *
  * This class is marked as internal and should not be extended. Use
- * Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase instead.
+ * \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase instead.
  *
  * @MigrateSource(
  *   id = "d7_field_instance",
diff --git a/core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php b/core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php
index 949ffda667d..26ab31456e5 100644
--- a/core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php
+++ b/core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php
@@ -47,7 +47,7 @@ public function buildForm(array $form, FormStateInterface $form_state, EntityInt
 
     if ($entity_2 instanceof EntityChangedInterface) {
       // Changed must be sent to the client, for later overwrite error checking.
-      // @see Drupal\field\Tests\NestedFormTest::testNestedEntityFormEntityLevelValidation()
+      // @see \Drupal\field\Tests\NestedFormTest::testNestedEntityFormEntityLevelValidation()
       $form['entity_2']['changed'] = [
         '#type' => 'hidden',
         '#default_value' => $entity_1->getChangedTime(),
@@ -80,7 +80,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
     // Extract the values of fields that are not rendered through widgets, by
     // simply copying from top-level form values. This leaves the fields that
     // are not being edited within this form untouched.
-    // @see Drupal\field\Tests\NestedFormTest::testNestedEntityFormEntityLevelValidation()
+    // @see \Drupal\field\Tests\NestedFormTest::testNestedEntityFormEntityLevelValidation()
     foreach ($form_state->getValues()['entity_2'] as $name => $values) {
       if ($entity_2->hasField($name) && !isset($extracted[$name])) {
         $entity_2->set($name, $values);
diff --git a/core/modules/field/tests/src/Kernel/FieldCrudTest.php b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
index 6407be75203..43ed044f186 100644
--- a/core/modules/field/tests/src/Kernel/FieldCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
@@ -84,7 +84,7 @@ public function testCreateField() {
 
     // Since we are working with raw configuration, this needs to be unset
     // manually.
-    // @see Drupal\field_test\Plugin\Field\FieldType\TestItem::fieldSettingsFromConfigData()
+    // @see \Drupal\field_test\Plugin\Field\FieldType\TestItem::fieldSettingsFromConfigData()
     unset($config['settings']['config_data_from_field_setting']);
 
     // Check that default values are set.
diff --git a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
index dfc50f21aa8..b5a376381bc 100644
--- a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
@@ -59,7 +59,7 @@ public function testCreate() {
 
     // Since we are working with raw configuration, this needs to be unset
     // manually.
-    // @see Drupal\field_test\Plugin\Field\FieldType\TestItem::storageSettingsFromConfigData()
+    // @see \Drupal\field_test\Plugin\Field\FieldType\TestItem::storageSettingsFromConfigData()
     unset($field_storage_config['settings']['config_data_from_storage_setting']);
 
     // Ensure that basic properties are preserved.
diff --git a/core/modules/field_ui/src/Tests/ManageDisplayTest.php b/core/modules/field_ui/src/Tests/ManageDisplayTest.php
index 7ba011e08ea..ef701847ad5 100644
--- a/core/modules/field_ui/src/Tests/ManageDisplayTest.php
+++ b/core/modules/field_ui/src/Tests/ManageDisplayTest.php
@@ -227,7 +227,7 @@ public function testWidgetUI() {
     $manage_display = $manage_fields . '/form-display';
 
     // Creates a new field that can be used with multiple formatters.
-    // Reference: Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple::isApplicable().
+    // Reference: \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple::isApplicable().
     $this->fieldUIAddNewField($manage_fields, 'test', 'Test field');
 
     // Get the display options (formatter and settings) that were automatically
@@ -306,7 +306,7 @@ public function testWidgetUI() {
     $this->assertFieldByName($fieldname, '');
 
     // Creates a new field that can not be used with the multiple formatter.
-    // Reference: Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple::isApplicable().
+    // Reference: \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple::isApplicable().
     $this->fieldUIAddNewField($manage_fields, 'onewidgetfield', 'One Widget Field');
 
     // Go to the Manage Form Display.
diff --git a/core/modules/file/src/Plugin/views/argument/Fid.php b/core/modules/file/src/Plugin/views/argument/Fid.php
index 1654fcc2e3e..f79b4b4101e 100644
--- a/core/modules/file/src/Plugin/views/argument/Fid.php
+++ b/core/modules/file/src/Plugin/views/argument/Fid.php
@@ -24,7 +24,7 @@ class Fid extends NumericArgument implements ContainerFactoryPluginInterface {
   protected $entityManager;
 
   /**
-   * Constructs a Drupal\file\Plugin\views\argument\Fid object.
+   * Constructs a \Drupal\file\Plugin\views\argument\Fid object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/file/tests/src/Kernel/Views/ExtensionViewsFieldTest.php b/core/modules/file/tests/src/Kernel/Views/ExtensionViewsFieldTest.php
index 867ab7aaa10..10e2ec1df5f 100644
--- a/core/modules/file/tests/src/Kernel/Views/ExtensionViewsFieldTest.php
+++ b/core/modules/file/tests/src/Kernel/Views/ExtensionViewsFieldTest.php
@@ -9,7 +9,7 @@
 use Drupal\views\Tests\ViewTestData;
 
 /**
- * Tests the core Drupal\file\Plugin\views\field\Extension handler.
+ * Tests the core \Drupal\file\Plugin\views\field\Extension handler.
  *
  * @group file
  */
diff --git a/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php b/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php
index e16bddade56..ac924afdaed 100644
--- a/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php
@@ -18,7 +18,7 @@ class FilterDefaultConfigTest extends KernelTestBase {
   protected function setUp() {
     parent::setUp();
 
-    // Drupal\filter\FilterPermissions::permissions() builds a URL to output
+    // \Drupal\filter\FilterPermissions::permissions() builds a URL to output
     // a link in the description.
 
     $this->installEntitySchema('user');
diff --git a/core/modules/help/help.api.php b/core/modules/help/help.api.php
index 8b4b1cca263..87eaeaf8ab9 100644
--- a/core/modules/help/help.api.php
+++ b/core/modules/help/help.api.php
@@ -36,7 +36,7 @@
  *   For page-specific help, use the route name as identified in the
  *   module's routing.yml file. For module overview help, the route name
  *   will be in the form of "help.page.$modulename".
- * @param Drupal\Core\Routing\RouteMatchInterface $route_match
+ * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
  *   The current route match. This can be used to generate different help
  *   output for different pages that share the same route.
  *
diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc
index 3e256c28fd1..f5ca29cd6d9 100644
--- a/core/modules/locale/locale.bulk.inc
+++ b/core/modules/locale/locale.bulk.inc
@@ -18,7 +18,7 @@
  *   - 'langcode': The language code. Optional, defaults to NULL, which means
  *     that the language will be detected from the name of the files.
  *   - 'overwrite_options': Overwrite options array as defined in
- *     Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
+ *     \Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
  *   - 'customized': Flag indicating whether the strings imported from $file
  *     are customized translations or come from a community source. Use
  *     LOCALE_CUSTOMIZED or LOCALE_NOT_CUSTOMIZED. Optional, defaults to
@@ -120,7 +120,7 @@ function locale_translate_get_interface_translation_files(array $projects = [],
  *   - 'langcode': The language code. Optional, defaults to NULL, which means
  *     that the language will be detected from the name of the files.
  *   - 'overwrite_options': Overwrite options array as defined in
- *     Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
+ *     \Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
  *   - 'customized': Flag indicating whether the strings imported from $file
  *     are customized translations or come from a community source. Use
  *     LOCALE_CUSTOMIZED or LOCALE_NOT_CUSTOMIZED. Optional, defaults to
@@ -178,7 +178,7 @@ function locale_translate_batch_build(array $files, array $options) {
  *   An array with options that can have the following elements:
  *   - 'langcode': The language code.
  *   - 'overwrite_options': Overwrite options array as defined in
- *     Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
+ *     \Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
  *   - 'customized': Flag indicating whether the strings imported from $file
  *     are customized translations or come from a community source. Use
  *     LOCALE_CUSTOMIZED or LOCALE_NOT_CUSTOMIZED. Optional, defaults to
diff --git a/core/modules/locale/src/Gettext.php b/core/modules/locale/src/Gettext.php
index 44677aa28b6..b7d0d6cd0b7 100644
--- a/core/modules/locale/src/Gettext.php
+++ b/core/modules/locale/src/Gettext.php
@@ -24,7 +24,7 @@ class Gettext {
    * @param array $options
    *   An array with options that can have the following elements:
    *   - 'overwrite_options': Overwrite options array as defined in
-   *     Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
+   *     \Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array.
    *   - 'customized': Flag indicating whether the strings imported from $file
    *     are customized translations or come from a community source. Use
    *     LOCALE_CUSTOMIZED or LOCALE_NOT_CUSTOMIZED. Optional, defaults to
@@ -35,7 +35,7 @@ class Gettext {
    *     -1, which means that all the items from the stream will be read.
    *
    * @return array
-   *   Report array as defined in Drupal\locale\PoDatabaseWriter.
+   *   Report array as defined in \Drupal\locale\PoDatabaseWriter.
    *
    * @see \Drupal\locale\PoDatabaseWriter
    */
diff --git a/core/modules/locale/src/PoDatabaseReader.php b/core/modules/locale/src/PoDatabaseReader.php
index 55c2b690ada..3bd7c7ea07b 100644
--- a/core/modules/locale/src/PoDatabaseReader.php
+++ b/core/modules/locale/src/PoDatabaseReader.php
@@ -89,7 +89,7 @@ public function getHeader() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface::setHeader().
    *
    * @throws Exception
    *   Always, because you cannot set the PO header of a reader.
diff --git a/core/modules/locale/src/PoDatabaseWriter.php b/core/modules/locale/src/PoDatabaseWriter.php
index 988f7f3be11..37d6ed807a5 100644
--- a/core/modules/locale/src/PoDatabaseWriter.php
+++ b/core/modules/locale/src/PoDatabaseWriter.php
@@ -132,7 +132,7 @@ public function getHeader() {
   }
 
   /**
-   * Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
+   * Implements \Drupal\Component\Gettext\PoMetadataInterface::setHeader().
    *
    * Sets the header and configure Drupal accordingly.
    *
diff --git a/core/modules/locale/src/StreamWrapper/TranslationsStream.php b/core/modules/locale/src/StreamWrapper/TranslationsStream.php
index e7cb2788e76..06259d324c4 100644
--- a/core/modules/locale/src/StreamWrapper/TranslationsStream.php
+++ b/core/modules/locale/src/StreamWrapper/TranslationsStream.php
@@ -41,7 +41,7 @@ public function getDirectoryPath() {
   }
 
   /**
-   * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
+   * Implements \Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
    * @throws \LogicException
    *   PO files URL should not be public.
    */
diff --git a/core/modules/locale/src/StringDatabaseStorage.php b/core/modules/locale/src/StringDatabaseStorage.php
index 45bf41d1ff3..e9ca7743725 100644
--- a/core/modules/locale/src/StringDatabaseStorage.php
+++ b/core/modules/locale/src/StringDatabaseStorage.php
@@ -342,7 +342,7 @@ protected function dbStringLoad(array $conditions, array $options, $class) {
    *   joining the 'locales_target' table.
    * @param array $options
    *   An associative array of additional options. It may contain any of the
-   *   options used by Drupal\locale\StringStorageInterface::getStrings() and
+   *   options used by \Drupal\locale\StringStorageInterface::getStrings() and
    *   these additional ones:
    *   - 'translation', Whether to include translation fields too. Defaults to
    *     FALSE.
diff --git a/core/modules/media/tests/src/Kernel/MediaSourceTest.php b/core/modules/media/tests/src/Kernel/MediaSourceTest.php
index fc30326fb1d..ca9ba7536af 100644
--- a/core/modules/media/tests/src/Kernel/MediaSourceTest.php
+++ b/core/modules/media/tests/src/Kernel/MediaSourceTest.php
@@ -374,7 +374,7 @@ public function testSourceFieldCreation() {
     // Fields should be automatically saved only when creating the media type
     // using the media type creation form. Make sure that they are not saved
     // when creating a media type programmatically.
-    // Drupal\Tests\media\FunctionalJavascript\MediaTypeCreationTest is testing
+    // \Drupal\Tests\media\FunctionalJavascript\MediaTypeCreationTest is testing
     // form part of the functionality.
     $type->save();
     $storage = FieldStorageConfig::load('media.field_media_test_1');
diff --git a/core/modules/migrate/src/Plugin/MigrationInterface.php b/core/modules/migrate/src/Plugin/MigrationInterface.php
index a2a7fb2d94d..220b0bc8ee9 100644
--- a/core/modules/migrate/src/Plugin/MigrationInterface.php
+++ b/core/modules/migrate/src/Plugin/MigrationInterface.php
@@ -249,7 +249,7 @@ public function setProcessOfProperty($property, $process_of_property);
    * @return $this
    *   The migration entity.
    *
-   * @see Drupal\migrate_drupal\Plugin\migrate\load\LoadEntity::processLinkField()
+   * @see \Drupal\migrate_drupal\Plugin\migrate\load\LoadEntity::processLinkField()
    */
   public function mergeProcessOfProperty($property, array $process_of_property);
 
diff --git a/core/modules/migrate/tests/src/Kernel/SqlBaseTest.php b/core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
index faf064d21f7..fef90b5d6ed 100644
--- a/core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
+++ b/core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
@@ -114,7 +114,7 @@ public function testConnectionTypes() {
 /**
  * A dummy source to help with testing SqlBase.
  *
- * @package Drupal\migrate\Plugin\migrate\source
+ * @package \Drupal\migrate\Plugin\migrate\source
  */
 class TestSqlBase extends SqlBase {
 
diff --git a/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
index c1e0c631bd2..bbd4d45bc21 100644
--- a/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
@@ -10,7 +10,7 @@
  *
  * @group migrate
  *
- * @coversDefaultClass Drupal\migrate\Plugin\migrate\process\FormatDate
+ * @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\FormatDate
  */
 class FormatDateTest extends MigrateProcessTestCase {
 
diff --git a/core/modules/migrate_drupal/migrate_drupal.module b/core/modules/migrate_drupal/migrate_drupal.module
index 9f623ea337f..286b6466ac2 100644
--- a/core/modules/migrate_drupal/migrate_drupal.module
+++ b/core/modules/migrate_drupal/migrate_drupal.module
@@ -60,7 +60,7 @@ function migrate_drupal_migration_plugins_alter(&$definitions) {
 
           // The Forum module is expecting 'taxonomy_forums' as the field name
           // for the forum nodes. The 'forum_vocabulary' source property is
-          // evaluated in Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary
+          // evaluated in \Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary
           // and is set to true if the vocabulary vid being migrated is the
           // same as the one in the 'forum_nav_vocabulary' variable on the
           // source site.
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 ebd9334a2d4..55680de4028 100644
--- a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
+++ b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
@@ -6,7 +6,7 @@
 use Drupal\migrate\Exception\RequirementsException;
 
 /**
- * @coversDefaultClass Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase
+ * @coversDefaultClass \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase
  * @group migrate_drupal
  */
 class DrupalSqlBaseTest extends MigrateTestCase {
diff --git a/core/modules/node/src/NodeTypeInterface.php b/core/modules/node/src/NodeTypeInterface.php
index df4831e5663..e70676d9961 100644
--- a/core/modules/node/src/NodeTypeInterface.php
+++ b/core/modules/node/src/NodeTypeInterface.php
@@ -25,7 +25,7 @@ public function isLocked();
    *   TRUE if a new revision should be created by default.
    *
    * @deprecated in Drupal 8.3.0 and will be removed before Drupal 9.0.0. Use
-   *   Drupal\Core\Entity\RevisionableEntityBundleInterface::shouldCreateNewRevision()
+   *   \Drupal\Core\Entity\RevisionableEntityBundleInterface::shouldCreateNewRevision()
    *   instead.
    */
   public function isNewRevision();
diff --git a/core/modules/node/src/Plugin/views/argument/Vid.php b/core/modules/node/src/Plugin/views/argument/Vid.php
index 1cad35c71b7..d843002d7e7 100644
--- a/core/modules/node/src/Plugin/views/argument/Vid.php
+++ b/core/modules/node/src/Plugin/views/argument/Vid.php
@@ -29,7 +29,7 @@ class Vid extends NumericArgument {
   protected $nodeStorage;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/node/src/Plugin/views/wizard/Node.php b/core/modules/node/src/Plugin/views/wizard/Node.php
index 1be211fef5b..1da87571432 100644
--- a/core/modules/node/src/Plugin/views/wizard/Node.php
+++ b/core/modules/node/src/Plugin/views/wizard/Node.php
@@ -26,7 +26,7 @@ class Node extends WizardPluginBase {
   protected $createdColumn = 'node_field_data-created';
 
   /**
-   * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts().
+   * Overrides \Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts().
    *
    * @return array
    *   An array whose keys are the available sort options and whose
@@ -173,7 +173,7 @@ protected  function display_options_row(&$display_options, $row_plugin, $row_opt
   }
 
   /**
-   * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::buildFilters().
+   * Overrides \Drupal\views\Plugin\views\wizard\WizardPluginBase::buildFilters().
    *
    * Add some options for filter by taxonomy terms.
    */
diff --git a/core/modules/node/src/Plugin/views/wizard/NodeRevision.php b/core/modules/node/src/Plugin/views/wizard/NodeRevision.php
index 258d6d3237d..6d8c2808f47 100644
--- a/core/modules/node/src/Plugin/views/wizard/NodeRevision.php
+++ b/core/modules/node/src/Plugin/views/wizard/NodeRevision.php
@@ -25,7 +25,7 @@ class NodeRevision extends WizardPluginBase {
   protected $createdColumn = 'changed';
 
   /**
-   * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions().
+   * Overrides \Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions().
    *
    * Node revisions do not support full posts or teasers, so remove them.
    */
diff --git a/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php b/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
index 7e71847001e..1a99acc4d1c 100644
--- a/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
+++ b/core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
@@ -15,7 +15,7 @@ class NodeRevisionsAllTest extends NodeTestBase {
   /**
    * A list of nodes created to be used as starting point of different tests.
    *
-   * @var Drupal\node\NodeInterface[]
+   * @var \Drupal\node\NodeInterface[]
    */
   protected $nodes;
 
diff --git a/core/modules/node/tests/src/Functional/NodeSaveTest.php b/core/modules/node/tests/src/Functional/NodeSaveTest.php
index ced99571421..eb6334d527a 100644
--- a/core/modules/node/tests/src/Functional/NodeSaveTest.php
+++ b/core/modules/node/tests/src/Functional/NodeSaveTest.php
@@ -126,7 +126,7 @@ public function testTimestamps() {
     $node = $this->drupalGetNodeByTitle($edit['title'], TRUE);
     $this->assertEqual($node->getCreatedTime(), 979534800, 'Updating a node uses user-set "created" timestamp.');
     // Allowing setting changed timestamps is required, see
-    // Drupal\content_translation\ContentTranslationMetadataWrapper::setChangedTime($timestamp)
+    // \Drupal\content_translation\ContentTranslationMetadataWrapper::setChangedTime($timestamp)
     // for example.
     $this->assertEqual($node->getChangedTime(), 280299600, 'Updating a node uses user-set "changed" timestamp.');
   }
diff --git a/core/modules/rdf/rdf.module b/core/modules/rdf/rdf.module
index 8d4329884d6..b938c4aa0c4 100644
--- a/core/modules/rdf/rdf.module
+++ b/core/modules/rdf/rdf.module
@@ -137,7 +137,7 @@ function rdf_get_namespaces() {
 /**
  * Builds an array of RDFa attributes for a given mapping.
  *
- * This array will typically be passed through Drupal\Core\Template\Attribute
+ * This array will typically be passed through \Drupal\Core\Template\Attribute
  * to create the attributes variables that are available to template files.
  * These include $attributes, $title_attributes, $content_attributes and the
  * field-specific $item_attributes variables.
@@ -162,7 +162,7 @@ function rdf_get_namespaces() {
  *   function.
  *
  * @return array
- *   RDFa attributes suitable for Drupal\Core\Template\Attribute.
+ *   RDFa attributes suitable for \Drupal\Core\Template\Attribute.
  */
 function rdf_rdfa_attributes($mapping, $data = NULL) {
   $attributes = [];
diff --git a/core/modules/responsive_image/responsive_image.module b/core/modules/responsive_image/responsive_image.module
index abfb96b780c..9062c130fc5 100644
--- a/core/modules/responsive_image/responsive_image.module
+++ b/core/modules/responsive_image/responsive_image.module
@@ -18,7 +18,7 @@
  * The machine name for the empty image breakpoint image style option.
  *
  * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Use
- *   Drupal\responsive_image\ResponsiveImageStyleInterface::EMPTY_IMAGE
+ *   \Drupal\responsive_image\ResponsiveImageStyleInterface::EMPTY_IMAGE
  *   instead.
  */
 const RESPONSIVE_IMAGE_EMPTY_IMAGE = '_empty image_';
diff --git a/core/modules/responsive_image/src/ResponsiveImageStyleForm.php b/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
index 8ad0e6a6c87..cfd4df2e33d 100644
--- a/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
+++ b/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
@@ -39,7 +39,7 @@ public function __construct(BreakpointManagerInterface $breakpoint_manager) {
   }
 
   /**
-   * Overrides Drupal\Core\Entity\EntityForm::form().
+   * Overrides \Drupal\Core\Entity\EntityForm::form().
    *
    * @param array $form
    *   A nested array form elements comprising the form.
diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
index b50d71be651..02173d19b01 100644
--- a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
+++ b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
@@ -35,7 +35,7 @@ class ResponsiveImageFieldDisplayTest extends ImageFieldTestBase {
   public static $modules = ['field_ui', 'responsive_image', 'responsive_image_test_module'];
 
   /**
-   * Drupal\simpletest\WebTestBase\setUp().
+   * \Drupal\simpletest\WebTestBase\setUp().
    */
   protected function setUp() {
     parent::setUp();
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
index eeaf793fa08..ee1ea081efa 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
@@ -19,7 +19,7 @@ class ResponsiveImageAdminUITest extends BrowserTestBase {
   public static $modules = ['responsive_image', 'responsive_image_test_module'];
 
   /**
-   * Drupal\simpletest\WebTestBase\setUp().
+   * \Drupal\simpletest\WebTestBase\setUp().
    */
   protected function setUp() {
     parent::setUp();
diff --git a/core/modules/rest/src/Plugin/ResourceBase.php b/core/modules/rest/src/Plugin/ResourceBase.php
index b40a03109b0..8d11264d0f1 100644
--- a/core/modules/rest/src/Plugin/ResourceBase.php
+++ b/core/modules/rest/src/Plugin/ResourceBase.php
@@ -41,7 +41,7 @@
   protected $logger;
 
   /**
-   * Constructs a Drupal\rest\Plugin\ResourceBase object.
+   * Constructs a \Drupal\rest\Plugin\ResourceBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
index 5d9849ded41..d6dab8393e5 100644
--- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
+++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
@@ -66,7 +66,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
   protected $linkRelationTypeManager;
 
   /**
-   * Constructs a Drupal\rest\Plugin\rest\resource\EntityResource object.
+   * Constructs a \Drupal\rest\Plugin\rest\resource\EntityResource object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.module b/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.module
index 26bd88c0db6..a786649d872 100644
--- a/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.module
+++ b/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.module
@@ -12,7 +12,7 @@
  *
  * Overrides some default access control to support testing.
  *
- * @see Drupal\serialization\Tests\EntitySerializationTest::testUserNormalize()
+ * @see \Drupal\serialization\Tests\EntitySerializationTest::testUserNormalize()
  */
 function entity_serialization_test_entity_field_access_alter(array &$grants, array $context) {
   // Override default access control from UserAccessControlHandler to allow
diff --git a/core/modules/shortcut/shortcut.module b/core/modules/shortcut/shortcut.module
index 8ace7bdb10b..1500e041423 100644
--- a/core/modules/shortcut/shortcut.module
+++ b/core/modules/shortcut/shortcut.module
@@ -47,7 +47,7 @@ function shortcut_help($route_name, RouteMatchInterface $route_match) {
 /**
  * Access callback for editing a shortcut set.
  *
- * @param Drupal\shortcut\ShortcutSetInterface $shortcut_set
+ * @param \Drupal\shortcut\ShortcutSetInterface $shortcut_set
  *   (optional) The shortcut set to be edited. If not set, the current user's
  *   shortcut set will be used.
  *
@@ -117,7 +117,7 @@ function shortcut_set_switch_access($account = NULL) {
 /**
  * Assigns a user to a particular shortcut set.
  *
- * @param $shortcut_set Drupal\shortcut\Entity\Shortcut
+ * @param $shortcut_set \Drupal\shortcut\Entity\Shortcut
  *   An object representing the shortcut set.
  * @param $account
  *   A user account that will be assigned to use the set.
diff --git a/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetTest.php b/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetTest.php
index e1982de648d..2a2b38e468f 100644
--- a/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetTest.php
+++ b/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests D7 ShortcutSet source plugin.
  *
- * @covers Drupal\shortcut\Plugin\migrate\source\d7\ShortcutSet
+ * @covers \Drupal\shortcut\Plugin\migrate\source\d7\ShortcutSet
  *
  * @group shortcut
  */
diff --git a/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetUsersTest.php b/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetUsersTest.php
index 035aec31c90..7a955ad4a21 100644
--- a/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetUsersTest.php
+++ b/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutSetUsersTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests D7 ShortcutSetUsers source plugin.
  *
- * @covers Drupal\shortcut\Plugin\migrate\source\d7\ShortcutSetUsers
+ * @covers \Drupal\shortcut\Plugin\migrate\source\d7\ShortcutSetUsers
  *
  * @group shortcut
  */
diff --git a/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutTest.php b/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutTest.php
index 9f8fd3ae66d..7bbffe6d641 100644
--- a/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutTest.php
+++ b/core/modules/shortcut/tests/src/Kernel/Plugin/migrate/source/d7/ShortcutTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests D7 Shortcut source plugin.
  *
- * @covers Drupal\shortcut\Plugin\migrate\source\d7\Shortcut
+ * @covers \Drupal\shortcut\Plugin\migrate\source\d7\Shortcut
  *
  * @group shortcut
  */
diff --git a/core/modules/simpletest/src/AssertHelperTrait.php b/core/modules/simpletest/src/AssertHelperTrait.php
index 8a7ec9925ba..2232de41b58 100644
--- a/core/modules/simpletest/src/AssertHelperTrait.php
+++ b/core/modules/simpletest/src/AssertHelperTrait.php
@@ -8,7 +8,7 @@
  * Provides helper methods for assertions.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\AssertHelperTrait instead.
+ *   \Drupal\Tests\AssertHelperTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
diff --git a/core/modules/simpletest/src/BlockCreationTrait.php b/core/modules/simpletest/src/BlockCreationTrait.php
index f5dcffe46ef..3f5064b1a01 100644
--- a/core/modules/simpletest/src/BlockCreationTrait.php
+++ b/core/modules/simpletest/src/BlockCreationTrait.php
@@ -10,7 +10,7 @@
  * This trait is meant to be used only by test classes.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\AssertHelperTrait instead.
+ *   \Drupal\Tests\AssertHelperTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
diff --git a/core/modules/simpletest/src/BrowserTestBase.php b/core/modules/simpletest/src/BrowserTestBase.php
index d4b73ef25f1..d7461165464 100644
--- a/core/modules/simpletest/src/BrowserTestBase.php
+++ b/core/modules/simpletest/src/BrowserTestBase.php
@@ -8,7 +8,7 @@
  * Provides a test case for functional Drupal tests.
  *
  * Tests extending BrowserTestBase must exist in the
- * Drupal\Tests\yourmodule\Functional namespace and live in the
+ * \Drupal\Tests\yourmodule\Functional namespace and live in the
  * modules/yourmodule/tests/src/Functional directory.
  *
  * @ingroup testing
diff --git a/core/modules/simpletest/src/ContentTypeCreationTrait.php b/core/modules/simpletest/src/ContentTypeCreationTrait.php
index b929893f0a6..4c8284ee3b1 100644
--- a/core/modules/simpletest/src/ContentTypeCreationTrait.php
+++ b/core/modules/simpletest/src/ContentTypeCreationTrait.php
@@ -10,7 +10,7 @@
  * This trait is meant to be used only by test classes.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\ContentTypeCreationTrait instead.
+ *   \Drupal\Tests\ContentTypeCreationTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
diff --git a/core/modules/simpletest/src/NodeCreationTrait.php b/core/modules/simpletest/src/NodeCreationTrait.php
index 19351a2e2ab..7993ee44bcc 100644
--- a/core/modules/simpletest/src/NodeCreationTrait.php
+++ b/core/modules/simpletest/src/NodeCreationTrait.php
@@ -10,7 +10,7 @@
  * This trait is meant to be used only by test classes.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\NodeCreationTrait instead.
+ *   \Drupal\Tests\NodeCreationTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
diff --git a/core/modules/simpletest/src/RouteProvider.php b/core/modules/simpletest/src/RouteProvider.php
index 3aacc4068dc..c85ceff0fbc 100644
--- a/core/modules/simpletest/src/RouteProvider.php
+++ b/core/modules/simpletest/src/RouteProvider.php
@@ -9,7 +9,7 @@
 /**
  * Rebuilds the router when the provider is instantiated.
  *
- * @todo Move this outside of simpletest namespace to the Drupal\Tests, see
+ * @todo Move this outside of simpletest namespace to the \Drupal\Tests, see
  *   https://www.drupal.org/node/2672762
  */
 class RouteProvider implements PreloadableRouteProviderInterface, PagedRouteProviderInterface {
diff --git a/core/modules/simpletest/src/UserCreationTrait.php b/core/modules/simpletest/src/UserCreationTrait.php
index f97ec5ccc22..b036fdba20b 100644
--- a/core/modules/simpletest/src/UserCreationTrait.php
+++ b/core/modules/simpletest/src/UserCreationTrait.php
@@ -12,7 +12,7 @@
  * \Drupal\simpletest\TestBase.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\UserCreationTrait instead.
+ *   \Drupal\Tests\UserCreationTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
diff --git a/core/modules/simpletest/tests/src/Traits/TestTrait.php b/core/modules/simpletest/tests/src/Traits/TestTrait.php
index eeac4963ecc..b9280ff2c60 100644
--- a/core/modules/simpletest/tests/src/Traits/TestTrait.php
+++ b/core/modules/simpletest/tests/src/Traits/TestTrait.php
@@ -3,7 +3,7 @@
 namespace Drupal\Tests\simpletest\Traits;
 
 /**
- * A nothing trait, but declared in the Drupal\Tests namespace.
+ * A nothing trait, but declared in the \Drupal\Tests namespace.
  *
  * We use this trait to test autoloading of traits outside of the normal test
  * suite namespaces.
diff --git a/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php b/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
index 63fe1bb8a92..10c4b954f67 100644
--- a/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
+++ b/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
@@ -9,7 +9,7 @@
 /**
  * Tests simpletest_run_phpunit_tests() handles PHPunit fatals correctly.
  *
- * We don't extend Drupal\Tests\UnitTestCase here because its $root property is
+ * We don't extend \Drupal\Tests\UnitTestCase here because its $root property is
  * not static and we need it to be static here.
  *
  * @group simpletest
diff --git a/core/modules/simpletest/tests/src/Unit/TestBaseTest.php b/core/modules/simpletest/tests/src/Unit/TestBaseTest.php
index cdfe9869b59..e7a87b73c1e 100644
--- a/core/modules/simpletest/tests/src/Unit/TestBaseTest.php
+++ b/core/modules/simpletest/tests/src/Unit/TestBaseTest.php
@@ -21,7 +21,7 @@ class TestBaseTest extends UnitTestCase {
    *   An identifying name for the mocked test.
    *
    * @return object
-   *   Mock of Drupal\simpletest\TestBase.
+   *   Mock of \Drupal\simpletest\TestBase.
    */
   public function getTestBaseForAssertionTests($test_id) {
     $mock_test_base = $this->getMockBuilder('Drupal\simpletest\TestBase')
diff --git a/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php b/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
index 01fef632839..a44f1704111 100644
--- a/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
+++ b/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
@@ -22,7 +22,7 @@
 abstract class GenericCacheBackendUnitTestBase extends KernelTestBase {
 
   /**
-   * Array of objects implementing Drupal\Core\Cache\CacheBackendInterface.
+   * Array of objects implementing \Drupal\Core\Cache\CacheBackendInterface.
    *
    * @var array
    */
@@ -128,7 +128,7 @@ protected function tearDown() {
   }
 
   /**
-   * Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
+   * Tests the get and set methods of \Drupal\Core\Cache\CacheBackendInterface.
    */
   public function testSetGet() {
     $backend = $this->getCacheBackend();
@@ -227,7 +227,7 @@ public function testSetGet() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::delete().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::delete().
    */
   public function testDelete() {
     $backend = $this->getCacheBackend();
@@ -283,7 +283,7 @@ public function testValueTypeIsKept() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::getMultiple().
    */
   public function testGetMultiple() {
     $backend = $this->getCacheBackend();
@@ -427,8 +427,8 @@ public function testSetMultiple() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::delete() and
-   * Drupal\Core\Cache\CacheBackendInterface::deleteMultiple().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::delete() and
+   * \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple().
    */
   public function testDeleteMultiple() {
     $backend = $this->getCacheBackend();
@@ -472,7 +472,7 @@ public function testDeleteMultiple() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::deleteAll().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::deleteAll().
    */
   public function testDeleteAll() {
     $backend_a = $this->getCacheBackend();
@@ -491,8 +491,8 @@ public function testDeleteAll() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and
-   * Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::invalidate() and
+   * \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
    */
   public function testInvalidate() {
     $backend = $this->getCacheBackend();
@@ -524,7 +524,7 @@ public function testInvalidate() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
    */
   public function testInvalidateTags() {
     $backend = $this->getCacheBackend();
@@ -581,7 +581,7 @@ public function testInvalidateTags() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
    */
   public function testInvalidateAll() {
     $backend_a = $this->getCacheBackend();
@@ -602,7 +602,7 @@ public function testInvalidateAll() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::removeBin().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::removeBin().
    */
   public function testRemoveBin() {
     $backend_a = $this->getCacheBackend();
diff --git a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
index 9af773b86cd..7dd361ffa47 100644
--- a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
+++ b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
@@ -22,7 +22,7 @@ class SimpleTestErrorCollectorTest extends WebTestBase {
    * Errors triggered during the test.
    *
    * Errors are intercepted by the overridden implementation
-   * of Drupal\simpletest\WebTestBase::error() below.
+   * of \Drupal\simpletest\WebTestBase::error() below.
    *
    * @var Array
    */
diff --git a/core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php b/core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
index c98a5de0b73..c059a14dc8c 100644
--- a/core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
@@ -19,7 +19,7 @@ protected function setUpSettings() {
     // We are creating a table here to force an error in the installer because
     // it will try and create the drupal_install_test table as this is part of
     // the standard database tests performed by the installer in
-    // Drupal\Core\Database\Install\Tasks.
+    // \Drupal\Core\Database\Install\Tasks.
     Database::getConnection('default')->query('CREATE TABLE {drupal_install_test} (id int NULL)');
     parent::setUpSettings();
   }
diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
index 7a803e700b5..e60a7abc441 100644
--- a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
@@ -48,7 +48,7 @@ protected function setUpSettings() {
     // We are creating a table here to force an error in the installer because
     // it will try and create the drupal_install_test table as this is part of
     // the standard database tests performed by the installer in
-    // Drupal\Core\Database\Install\Tasks.
+    // \Drupal\Core\Database\Install\Tasks.
     Database::getConnection('default')->query('CREATE TABLE {drupal_install_test} (id int NULL)');
     parent::setUpSettings();
 
diff --git a/core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php b/core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php
index 41634b115ed..2f9fa6e9fca 100644
--- a/core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php
+++ b/core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php
@@ -22,13 +22,13 @@
    *
    * @param \Drupal\Core\Url|string $goto
    *   (optional) A path or URL to pass to
-   *   Drupal\simpletest\WebTestBase::drupalGet().
+   *   \Drupal\simpletest\WebTestBase::drupalGet().
    * @param array $trail
    *   An associative array whose keys are expected breadcrumb link paths and
    *   whose values are expected breadcrumb link texts (not sanitized).
    * @param string $page_title
    *   (optional) A page title to additionally assert via
-   *   Drupal\simpletest\WebTestBase::assertTitle(). Without site name suffix.
+   *   \Drupal\simpletest\WebTestBase::assertTitle(). Without site name suffix.
    * @param array $tree
    *   (optional) An associative array whose keys are link paths and whose
    *   values are link titles (not sanitized) of an expected active trail in a
diff --git a/core/modules/system/src/Tests/System/HtaccessTest.php b/core/modules/system/src/Tests/System/HtaccessTest.php
index fab7a37a34d..7d2609980d3 100644
--- a/core/modules/system/src/Tests/System/HtaccessTest.php
+++ b/core/modules/system/src/Tests/System/HtaccessTest.php
@@ -65,7 +65,7 @@ protected function getProtectedFiles() {
 
     // Tests the .htaccess file in vendor and created by a Composer script.
     // Try and access a non PHP file in the vendor directory.
-    // @see Drupal\\Core\\Composer\\Composer::ensureHtaccess
+    // @see \Drupal\\Core\\Composer\\Composer::ensureHtaccess
     $file_paths['vendor/composer/installed.json'] = 403;
 
     // Tests the rewrite conditions and rule that denies access to php files.
diff --git a/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php b/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php
index 1425588fc4d..d76b883dcc1 100644
--- a/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php
+++ b/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php
@@ -7,7 +7,7 @@
 /**
  * Defines the 'changed_test' entity field type.
  *
- * Wraps Drupal\Core\Field\Plugin\Field\FieldType\ChangedItem.
+ * Wraps \Drupal\Core\Field\Plugin\Field\FieldType\ChangedItem.
  *
  * @FieldType(
  *   id = "changed_test",
@@ -30,7 +30,7 @@ public function preSave() {
     if ($this->value == REQUEST_TIME) {
       // During a test the request time is immutable. To allow tests of the
       // algorithm of
-      // Drupal\Core\Field\Plugin\Field\FieldType\ChangedItem::preSave() we need
+      // \Drupal\Core\Field\Plugin\Field\FieldType\ChangedItem::preSave() we need
       // to set a real time value here.
       $this->value = time();
     }
diff --git a/core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php b/core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
index 9187012977c..e83e51e2446 100644
--- a/core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
+++ b/core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
@@ -80,7 +80,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     // @todo Remove this in https://www.drupal.org/node/2524408, because form
     //   cache immutability is no longer necessary, because we no longer cache
     //   forms during safe HTTP methods. In the meantime, because
-    //   Drupal\system\Tests\Form still has test coverage for a poisoned form
+    //   \Drupal\system\Tests\Form still has test coverage for a poisoned form
     //   cache following a GET request, trick $form_state into caching the form
     //   to keep that test working until we either remove it or change it in
     //   that issue.
diff --git a/core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php b/core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
index 721d10cafe6..28a3b1fdfe9 100644
--- a/core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
+++ b/core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
@@ -24,7 +24,7 @@ class AttachedRenderingBlock extends BlockBase {
    */
   public function build() {
     // Grab test attachment fixtures from
-    // Drupal\render_attached_test\Controller\RenderAttachedTestController.
+    // \Drupal\render_attached_test\Controller\RenderAttachedTestController.
     $controller = new RenderAttachedTestController();
     $attached = BubbleableMetadata::mergeAttachments($controller->feed(), $controller->head());
     $attached = BubbleableMetadata::mergeAttachments($attached, $controller->header());
diff --git a/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php b/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php
index b7ea3f21e5c..f71e7a59a88 100644
--- a/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php
+++ b/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php
@@ -8,10 +8,10 @@
 class MockFileTransfer {
 
   /**
-   * Returns a Drupal\system_test\MockFileTransfer object.
+   * Returns a \Drupal\system_test\MockFileTransfer object.
    *
    * @return \Drupal\system_test\MockFileTransfer
-   *   A new Drupal\system_test\MockFileTransfer object.
+   *   A new \Drupal\system_test\MockFileTransfer object.
    */
   public static function factory() {
     return new MockFileTransfer();
diff --git a/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php b/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
index fd0dc7cf565..119d8540911 100644
--- a/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
+++ b/core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
@@ -17,13 +17,13 @@
    *
    * @param \Drupal\Core\Url|string $goto
    *   (optional) A path or URL to pass to
-   *   Drupal\simpletest\WebTestBase::drupalGet().
+   *   \Drupal\simpletest\WebTestBase::drupalGet().
    * @param array $trail
    *   An associative array whose keys are expected breadcrumb link paths and
    *   whose values are expected breadcrumb link texts (not sanitized).
    * @param string $page_title
    *   (optional) A page title to additionally assert via
-   *   Drupal\simpletest\WebTestBase::assertTitle(). Without site name suffix.
+   *   \Drupal\simpletest\WebTestBase::assertTitle(). Without site name suffix.
    * @param array $tree
    *   (optional) An associative array whose keys are link paths and whose
    *   values are link titles (not sanitized) of an expected active trail in a
diff --git a/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php b/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
index d7c26503538..9e7e6011d08 100644
--- a/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
+++ b/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
@@ -150,7 +150,7 @@ public function testDependencyResolution() {
     // Enable Color module again, which should enable both the Config module and
     // Help module. But, this time do it with Config module declaring a
     // dependency on a specific version of Help module in its info file. Make
-    // sure that Drupal\Core\Extension\ModuleInstaller::install() still works.
+    // sure that \Drupal\Core\Extension\ModuleInstaller::install() still works.
     \Drupal::state()->set('module_test.dependency', 'version dependency');
     drupal_static_reset('system_rebuild_module_data');
 
diff --git a/core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php b/core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php
index 0feb9a2b0fe..38a673cf854 100644
--- a/core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php
+++ b/core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests menu source plugin.
  *
- * @covers Drupal\system\Plugin\migrate\source\Menu
+ * @covers \Drupal\system\Plugin\migrate\source\Menu
  *
  * @group system
  */
diff --git a/core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/ThemeSettingsTest.php b/core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/ThemeSettingsTest.php
index 17b54fa1bc2..031dabf27c6 100644
--- a/core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/ThemeSettingsTest.php
+++ b/core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/ThemeSettingsTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests D7 theme settings source plugin.
  *
- * @covers Drupal\system\Plugin\migrate\source\d7\ThemeSettings
+ * @covers \Drupal\system\Plugin\migrate\source\d7\ThemeSettings
  *
  * @group system
  */
diff --git a/core/modules/system/tests/themes/test_stable/test_stable.theme b/core/modules/system/tests/themes/test_stable/test_stable.theme
index 8498d89ab06..6157b2fd8e7 100644
--- a/core/modules/system/tests/themes/test_stable/test_stable.theme
+++ b/core/modules/system/tests/themes/test_stable/test_stable.theme
@@ -9,5 +9,5 @@
  * Implements hook_preprocess_theme_test_render_element().
  */
 function test_stable_preprocess_theme_test_render_element($variables) {
-  // This is used for Drupal\Tests\Core\Theme\RegistryTest.
+  // This is used for \Drupal\Tests\Core\Theme\RegistryTest.
 }
diff --git a/core/modules/taxonomy/src/Plugin/migrate/process/ForumVocabulary.php b/core/modules/taxonomy/src/Plugin/migrate/process/ForumVocabulary.php
index be4b9cc0b09..92eff8e01f5 100644
--- a/core/modules/taxonomy/src/Plugin/migrate/process/ForumVocabulary.php
+++ b/core/modules/taxonomy/src/Plugin/migrate/process/ForumVocabulary.php
@@ -11,7 +11,7 @@
  *
  * The forum module is expecting 'taxonomy_forums' as the field name for the
  * forum nodes. The 'forum_vocabulary' source property is evaluated in
- * Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary and is set to true if
+ * \Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary and is set to true if
  * the vocabulary vid being migrated is the same as the one in the
  * 'forum_nav_vocabulary' variable on the source site.
  *
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php
index d8ab8ea1211..f8d21015721 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php
@@ -9,7 +9,7 @@
  * Tests views taxonomy parent plugin UI.
  *
  * @group taxonomy
- * @see Drupal\taxonomy\Plugin\views\access\Role
+ * @see \Drupal\taxonomy\Plugin\views\access\Role
  */
 class TaxonomyParentUITest extends UITestBase {
 
diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php
index 8b1d58cf29e..d7a7f03711e 100644
--- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php
@@ -63,7 +63,7 @@ protected function setUp($import_test_views = TRUE) {
   /**
    * Tests the vocabulary argument handler.
    *
-   * @see Drupal\taxonomy\Plugin\views\argument\VocabularyVid
+   * @see \Drupal\taxonomy\Plugin\views\argument\VocabularyVid
    */
   public function testTermWithVocabularyArgument() {
     $this->drupalGet('test_argument_taxonomy_vocabulary/' . $this->vocabularies[0]->id());
diff --git a/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerNodeTest.php b/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerNodeTest.php
index 0318b8e7bd7..9f9bf05e43a 100644
--- a/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerNodeTest.php
+++ b/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerNodeTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests D7 tracker node source plugin.
  *
- * @covers Drupal\tracker\Plugin\migrate\source\d7\TrackerNode
+ * @covers \Drupal\tracker\Plugin\migrate\source\d7\TrackerNode
  *
  * @group tracker
  */
diff --git a/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerUserTest.php b/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerUserTest.php
index ffcee93b56c..190d871e155 100644
--- a/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerUserTest.php
+++ b/core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerUserTest.php
@@ -7,7 +7,7 @@
 /**
  * Tests D7 tracker user source plugin.
  *
- * @covers Drupal\tracker\Plugin\migrate\source\d7\TrackerUser
+ * @covers \Drupal\tracker\Plugin\migrate\source\d7\TrackerUser
  *
  * @group tracker
  */
diff --git a/core/modules/update/src/Form/UpdateManagerInstall.php b/core/modules/update/src/Form/UpdateManagerInstall.php
index a99383ab953..20366e39450 100644
--- a/core/modules/update/src/Form/UpdateManagerInstall.php
+++ b/core/modules/update/src/Form/UpdateManagerInstall.php
@@ -227,7 +227,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
     // If the owner of the directory we extracted is the same as the owner of
     // our configuration directory (e.g. sites/default) where we're trying to
     // install the code, there's no need to prompt for FTP/SSH credentials.
-    // Instead, we instantiate a Drupal\Core\FileTransfer\Local and invoke
+    // Instead, we instantiate a \Drupal\Core\FileTransfer\Local and invoke
     // update_authorize_run_install() directly.
     if (fileowner($project_real_location) == fileowner($this->sitePath) && !$test_authorize) {
       $this->moduleHandler->loadInclude('update', 'inc', 'update.authorize');
diff --git a/core/modules/update/src/Form/UpdateReady.php b/core/modules/update/src/Form/UpdateReady.php
index ef9a2f17122..330c147aeb0 100644
--- a/core/modules/update/src/Form/UpdateReady.php
+++ b/core/modules/update/src/Form/UpdateReady.php
@@ -147,7 +147,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
       // If the owner of the last directory we extracted is the same as the
       // owner of our configuration directory (e.g. sites/default) where we're
       // trying to install the code, there's no need to prompt for FTP/SSH
-      // credentials. Instead, we instantiate a Drupal\Core\FileTransfer\Local
+      // credentials. Instead, we instantiate a \Drupal\Core\FileTransfer\Local
       // and invoke update_authorize_run_update() directly.
       if (fileowner($project_real_location) == fileowner($this->sitePath)) {
         $this->moduleHandler->loadInclude('update', 'inc', 'update.authorize');
diff --git a/core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php b/core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php
index 4afcade707e..7f0dd3f05cd 100644
--- a/core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php
+++ b/core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php
@@ -16,10 +16,10 @@
 class TestFileTransferWithSettingsForm extends Local {
 
   /**
-   * Returns a Drupal\update_test\TestFileTransferWithSettingsForm object.
+   * Returns a \Drupal\update_test\TestFileTransferWithSettingsForm object.
    *
    * @return \Drupal\update_test\TestFileTransferWithSettingsForm
-   *   A new Drupal\update_test\TestFileTransferWithSettingsForm object.
+   *   A new \Drupal\update_test\TestFileTransferWithSettingsForm object.
    */
   public static function factory($jail, $settings) {
     return new static($jail);
diff --git a/core/modules/update/update.authorize.inc b/core/modules/update/update.authorize.inc
index 1c2cc60fb2e..4b830c00806 100644
--- a/core/modules/update/update.authorize.inc
+++ b/core/modules/update/update.authorize.inc
@@ -26,7 +26,7 @@
  *   A nested array of projects to install into the live webroot, keyed by
  *   project name. Each subarray contains the following keys:
  *   - project: The canonical project short name.
- *   - updater_name: The name of the Drupal\Core\Updater\Updater class to use
+ *   - updater_name: The name of the \Drupal\Core\Updater\Updater class to use
  *     for this project.
  *   - local_url: The locally installed location of new code to update with.
  *
@@ -79,7 +79,7 @@ function update_authorize_run_update($filetransfer, $projects) {
  *   The canonical project short name; i.e., the name of the module, theme, or
  *   profile.
  * @param string $updater_name
- *   The name of the Drupal\Core\Updater\Updater class to use for installing
+ *   The name of the \Drupal\Core\Updater\Updater class to use for installing
  *   this project.
  * @param string $local_url
  *   The URL to the locally installed temp directory where the project has
@@ -128,7 +128,7 @@ function update_authorize_run_install($filetransfer, $project, $updater_name, $l
  * @param string $project
  *   The canonical short name of the project being installed.
  * @param string $updater_name
- *   The name of the Drupal\Core\Updater\Updater class to use for installing
+ *   The name of the \Drupal\Core\Updater\Updater class to use for installing
  *   this project.
  * @param string $local_url
  *   The URL to the locally installed temp directory where the project has
diff --git a/core/modules/user/src/PermissionHandler.php b/core/modules/user/src/PermissionHandler.php
index 1f07b25d950..2b65ae2fb2a 100644
--- a/core/modules/user/src/PermissionHandler.php
+++ b/core/modules/user/src/PermissionHandler.php
@@ -38,7 +38,7 @@
  * permission_callbacks:
  *   # Each item in the array should return an associative array with one or
  *   # more permissions following the same keys as the permission defined above.
- *   - Drupal\filter\FilterPermissions::permissions
+ *   - \Drupal\filter\FilterPermissions::permissions
  * @endcode
  *
  * @see filter.permissions.yml
diff --git a/core/modules/user/src/Plugin/views/argument/Uid.php b/core/modules/user/src/Plugin/views/argument/Uid.php
index b2a022a2ac3..9c022b3c85e 100644
--- a/core/modules/user/src/Plugin/views/argument/Uid.php
+++ b/core/modules/user/src/Plugin/views/argument/Uid.php
@@ -23,7 +23,7 @@ class Uid extends NumericArgument {
   protected $storage;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/user/src/Plugin/views/field/Permissions.php b/core/modules/user/src/Plugin/views/field/Permissions.php
index 71aef597567..864a7298f81 100644
--- a/core/modules/user/src/Plugin/views/field/Permissions.php
+++ b/core/modules/user/src/Plugin/views/field/Permissions.php
@@ -33,7 +33,7 @@ class Permissions extends PrerenderList {
   protected $moduleHandler;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/user/src/Plugin/views/field/Roles.php b/core/modules/user/src/Plugin/views/field/Roles.php
index e7d9495bcad..3aa58b4f5c6 100644
--- a/core/modules/user/src/Plugin/views/field/Roles.php
+++ b/core/modules/user/src/Plugin/views/field/Roles.php
@@ -25,7 +25,7 @@ class Roles extends PrerenderList {
   protected $database;
 
   /**
-   * Constructs a Drupal\Component\Plugin\PluginBase object.
+   * Constructs a \Drupal\Component\Plugin\PluginBase object.
    *
    * @param array $configuration
    *   A configuration array containing information about the plugin instance.
diff --git a/core/modules/user/src/PrivateTempStoreFactory.php b/core/modules/user/src/PrivateTempStoreFactory.php
index 063a9207cf3..1143c7f4d3f 100644
--- a/core/modules/user/src/PrivateTempStoreFactory.php
+++ b/core/modules/user/src/PrivateTempStoreFactory.php
@@ -48,7 +48,7 @@ class PrivateTempStoreFactory {
   protected $expire;
 
   /**
-   * Constructs a Drupal\user\PrivateTempStoreFactory object.
+   * Constructs a \Drupal\user\PrivateTempStoreFactory object.
    *
    * @param \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $storage_factory
    *   The key/value store factory.
diff --git a/core/modules/user/src/SharedTempStoreFactory.php b/core/modules/user/src/SharedTempStoreFactory.php
index c1c48a93b5b..e4fc460967d 100644
--- a/core/modules/user/src/SharedTempStoreFactory.php
+++ b/core/modules/user/src/SharedTempStoreFactory.php
@@ -40,7 +40,7 @@ class SharedTempStoreFactory {
   protected $expire;
 
   /**
-   * Constructs a Drupal\user\SharedTempStoreFactory object.
+   * Constructs a \Drupal\user\SharedTempStoreFactory object.
    *
    * @param \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $storage_factory
    *   The key/value store factory.
diff --git a/core/modules/user/src/UserStorage.php b/core/modules/user/src/UserStorage.php
index 809f3e384b7..8d106a2d42b 100644
--- a/core/modules/user/src/UserStorage.php
+++ b/core/modules/user/src/UserStorage.php
@@ -9,7 +9,7 @@
 /**
  * Controller class for users.
  *
- * This extends the Drupal\Core\Entity\Sql\SqlContentEntityStorage class,
+ * This extends the \Drupal\Core\Entity\Sql\SqlContentEntityStorage class,
  * adding required special handling for user objects.
  */
 class UserStorage extends SqlContentEntityStorage implements UserStorageInterface {
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 4e48fba0307..53ff3ccdf47 100644
--- a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
+++ b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
@@ -59,7 +59,7 @@ public function testTitleQuery() {
       ->with($this->equalTo('user_role'))
       ->will($this->returnValue($role_storage));
 
-    // Set up a minimal container to satisfy Drupal\Core\Entity\Entity's
+    // Set up a minimal container to satisfy \Drupal\Core\Entity\Entity's
     // dependency on it.
     $container = new ContainerBuilder();
     $container->set('entity.manager', $entity_manager);
diff --git a/core/modules/user/user.api.php b/core/modules/user/user.api.php
index 364dd1ac634..772a5100a21 100644
--- a/core/modules/user/user.api.php
+++ b/core/modules/user/user.api.php
@@ -109,7 +109,7 @@ function hook_user_cancel_methods_alter(&$methods) {
  * that is displayed. Can be used to ensure user privacy in situations where
  * $account->getDisplayName() is too revealing.
  *
- * @param string|Drupal\Component\Render\MarkupInterface $name
+ * @param string|\Drupal\Component\Render\MarkupInterface $name
  *   The username that is displayed for a user. If a hook implementation changes
  *   this to an object implementing MarkupInterface it is the responsibility of
  *   the implementation to ensure the user's name is escaped properly. String
diff --git a/core/modules/views/src/Entity/View.php b/core/modules/views/src/Entity/View.php
index b69234c3bcb..f48ba32063b 100644
--- a/core/modules/views/src/Entity/View.php
+++ b/core/modules/views/src/Entity/View.php
@@ -86,7 +86,7 @@ class View extends ConfigEntityBase implements ViewEntityInterface {
   /**
    * Stores all display handlers of this view.
    *
-   * An array containing Drupal\views\Plugin\views\display\DisplayPluginBase
+   * An array containing \Drupal\views\Plugin\views\display\DisplayPluginBase
    * objects.
    *
    * @var array
diff --git a/core/modules/views/src/Plugin/views/PluginBase.php b/core/modules/views/src/Plugin/views/PluginBase.php
index 5f9c9788de3..ef196c411a9 100644
--- a/core/modules/views/src/Plugin/views/PluginBase.php
+++ b/core/modules/views/src/Plugin/views/PluginBase.php
@@ -566,7 +566,7 @@ protected function listLanguages($flags = LanguageInterface::STATE_ALL, array $c
       $name = $languages[LanguageInterface::LANGCODE_SITE_DEFAULT]->getName();
       // The language name may have already been translated, no need to
       // translate it again.
-      // @see Drupal\Core\Language::filterLanguages().
+      // @see \Drupal\Core\Language::filterLanguages().
       if (!$name instanceof TranslatableMarkup) {
         $name = $this->t($name);
       }
diff --git a/core/modules/views/src/Plugin/views/area/AreaPluginBase.php b/core/modules/views/src/Plugin/views/area/AreaPluginBase.php
index 476a808cd13..bde3bb8c723 100644
--- a/core/modules/views/src/Plugin/views/area/AreaPluginBase.php
+++ b/core/modules/views/src/Plugin/views/area/AreaPluginBase.php
@@ -33,7 +33,7 @@
   public $areaType;
 
   /**
-   * Overrides Drupal\views\Plugin\views\HandlerBase::init().
+   * Overrides \Drupal\views\Plugin\views\HandlerBase::init().
    *
    * Make sure that no result area handlers are set to be shown when the result
    * is empty.
diff --git a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
index 3f145195a3a..3c41c2c9bcd 100644
--- a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
+++ b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
@@ -74,7 +74,7 @@
   public $name_field;
 
   /**
-   * Overrides Drupal\views\Plugin\views\HandlerBase:init().
+   * Overrides \Drupal\views\Plugin\views\HandlerBase:init().
    */
   public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
     parent::init($view, $display, $options);
diff --git a/core/modules/views/src/Plugin/views/argument/StringArgument.php b/core/modules/views/src/Plugin/views/argument/StringArgument.php
index 6058d6618b6..1b2a64ed6ae 100644
--- a/core/modules/views/src/Plugin/views/argument/StringArgument.php
+++ b/core/modules/views/src/Plugin/views/argument/StringArgument.php
@@ -179,7 +179,7 @@ public function getFormula() {
     if ($this->options['case'] != 'none') {
       // Support case-insensitive substring comparisons for SQLite by using the
       // 'NOCASE_UTF8' collation.
-      // @see Drupal\Core\Database\Driver\sqlite\Connection::open()
+      // @see \Drupal\Core\Database\Driver\sqlite\Connection::open()
       if (Database::getConnection()->databaseType() == 'sqlite') {
         $formula .= ' COLLATE NOCASE_UTF8';
       }
diff --git a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
index ccf40f64e9f..41185d603f7 100644
--- a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
+++ b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
@@ -219,7 +219,7 @@ class JoinPluginBase extends PluginBase implements JoinPluginInterface {
   public $adjusted;
 
   /**
-   * Constructs a Drupal\views\Plugin\views\join\JoinPluginBase object.
+   * Constructs a \Drupal\views\Plugin\views\join\JoinPluginBase object.
    */
   public function __construct(array $configuration, $plugin_id, $plugin_definition) {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
diff --git a/core/modules/views/src/Plugin/views/style/Mapping.php b/core/modules/views/src/Plugin/views/style/Mapping.php
index 7db52478866..9a43d10c9d8 100644
--- a/core/modules/views/src/Plugin/views/style/Mapping.php
+++ b/core/modules/views/src/Plugin/views/style/Mapping.php
@@ -124,7 +124,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
   }
 
   /**
-   * Overrides Drupal\views\Plugin\views\style\StylePluginBase::render().
+   * Overrides \Drupal\views\Plugin\views\style\StylePluginBase::render().
    *
    * Provides the mapping definition as an available variable.
    */
diff --git a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
index 0b3dcc9a10a..7e65cba05fd 100644
--- a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
+++ b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
@@ -1267,7 +1267,7 @@ protected function setValidatedView(array $form, FormStateInterface $form_state,
   }
 
   /**
-   * Implements Drupal\views\Plugin\views\wizard\WizardInterface::validate().
+   * Implements \Drupal\views\Plugin\views\wizard\WizardInterface::validate().
    *
    * Instantiates the view from the form submission and validates its values.
    */
diff --git a/core/modules/views/src/ViewExecutable.php b/core/modules/views/src/ViewExecutable.php
index 82c1cb98328..88239ba5e83 100644
--- a/core/modules/views/src/ViewExecutable.php
+++ b/core/modules/views/src/ViewExecutable.php
@@ -207,7 +207,7 @@ class ViewExecutable {
   /**
    * The list of used displays of the view.
    *
-   * An array containing Drupal\views\Plugin\views\display\DisplayPluginBase
+   * An array containing \Drupal\views\Plugin\views\display\DisplayPluginBase
    * objects.
    *
    * @var \Drupal\views\DisplayPluginCollection
@@ -310,7 +310,7 @@ class ViewExecutable {
   /**
    * Stores the area handlers for the empty text which are initialized on this view.
    *
-   * An array containing Drupal\views\Plugin\views\area\AreaPluginBase objects.
+   * An array containing \Drupal\views\Plugin\views\area\AreaPluginBase objects.
    *
    * @var \Drupal\views\Plugin\views\area\AreaPluginBase[]
    */
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php
index 5bc7a190cd6..6c9966638e7 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php
@@ -11,7 +11,7 @@
 class FilterTest extends FilterPluginBase {
 
   /**
-   * Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
+   * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
    *
    * @return array
    */
@@ -23,7 +23,7 @@ protected function defineOptions() {
   }
 
   /**
-   * Overrides Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm().
+   * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm().
    *
    * @return array
    */
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
index cf430af25c0..2d89570e24f 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
@@ -80,7 +80,7 @@ public function ensureTable($table, $relationship = NULL, JoinPluginBase $join =
   }
 
   /**
-   * Implements Drupal\views\Plugin\views\query\QueryPluginBase::build().
+   * Implements \Drupal\views\Plugin\views\query\QueryPluginBase::build().
    *
    * @param \Drupal\views\ViewExecutable $view
    */
diff --git a/core/modules/views/tests/src/Functional/Handler/ArgumentStringTest.php b/core/modules/views/tests/src/Functional/Handler/ArgumentStringTest.php
index 17ece944c5c..91095f57d5b 100644
--- a/core/modules/views/tests/src/Functional/Handler/ArgumentStringTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/ArgumentStringTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\argument\StringArgument handler.
+ * Tests the core \Drupal\views\Plugin\views\argument\StringArgument handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php b/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
index 7ced4f7071e..3354fc03401 100644
--- a/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
@@ -8,7 +8,7 @@
 use Drupal\Tests\views\Functional\ViewTestBase;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\EntityOperations handler.
+ * Tests the core \Drupal\views\Plugin\views\field\EntityOperations handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php b/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
index ec3b52385fb..0fa38592528 100644
--- a/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
@@ -10,7 +10,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\filter\Date handler.
+ * Tests the core \Drupal\views\Plugin\views\filter\Date handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
index 3bbe6bf97c3..155e42b6cc0 100644
--- a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
@@ -84,7 +84,7 @@ public function testFieldInColumns() {
     // Ensure that both columns are in separate tds.
     // Check for class " views-field-job ", because just "views-field-job" won't
     // do: "views-field-job-1" would also contain "views-field-job".
-    // @see Drupal\system\Tests\Form\ElementTest::testButtonClasses().
+    // @see \Drupal\system\Tests\Form\ElementTest::testButtonClasses().
     $result = $this->xpath('//tbody/tr/td[contains(concat(" ", @class, " "), " views-field-job ")]');
     $this->assertTrue(count($result), 'Ensure there is a td with the class views-field-job');
     $result = $this->xpath('//tbody/tr/td[contains(concat(" ", @class, " "), " views-field-job-1 ")]');
diff --git a/core/modules/views/tests/src/Functional/Wizard/PagerTest.php b/core/modules/views/tests/src/Functional/Wizard/PagerTest.php
index c8c697c0814..7c96c648938 100644
--- a/core/modules/views/tests/src/Functional/Wizard/PagerTest.php
+++ b/core/modules/views/tests/src/Functional/Wizard/PagerTest.php
@@ -26,7 +26,7 @@ public function testPager() {
     $this->drupalGet($path_with_pager);
 
     // This technique for finding the existence of a pager
-    // matches that used in Drupal\views_ui\Tests\PreviewTest.php.
+    // matches that used in \Drupal\views_ui\Tests\PreviewTest.php.
     $elements = $this->xpath('//ul[contains(@class, :class)]/li', [':class' => 'pager__items']);
     $this->assertTrue(!empty($elements), 'Full pager found.');
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php b/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php
index 933a00099f2..50d7d444ec7 100644
--- a/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\argument\NullArgument handler.
+ * Tests the core \Drupal\views\Plugin\views\argument\NullArgument handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
index 0690fc12caf..6c9ad49f311 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\Boolean handler.
+ * Tests the core \Drupal\views\Plugin\views\field\Boolean handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
index b5c52fef772..34e4aab8612 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the Drupal\views\Plugin\views\field\Counter handler.
+ * Tests the \Drupal\views\Plugin\views\field\Counter handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php
index 599052dcbf1..34e40e7554f 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php
@@ -7,7 +7,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\Custom handler.
+ * Tests the core \Drupal\views\Plugin\views\field\Custom handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
index 833b5c99d19..f5e62b54204 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\Date handler.
+ * Tests the core \Drupal\views\Plugin\views\field\Date handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldDropbuttonTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldDropbuttonTest.php
index b789bd62ad3..bdb2a46b749 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldDropbuttonTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldDropbuttonTest.php
@@ -11,7 +11,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\Dropbutton handler.
+ * Tests the core \Drupal\views\Plugin\views\field\Dropbutton handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php
index 874f03d4fcc..4c294004f7c 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php
@@ -10,7 +10,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\EntityOperations handler.
+ * Tests the core \Drupal\views\Plugin\views\field\EntityOperations handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
index 892e82fce8c..1271aeb88a1 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\FileSize handler.
+ * Tests the core \Drupal\views\Plugin\views\field\FileSize handler.
  *
  * @group views
  * @see CommonXssUnitTest
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldNumericTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldNumericTest.php
index 6cb4817e582..0d255d0327b 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldNumericTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldNumericTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\Numeric handler.
+ * Tests the core \Drupal\views\Plugin\views\field\Numeric handler.
  *
  * @group views
  * @see \Drupal\views\Plugin\views\field\Numeric
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
index 02419f48479..38bef493509 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
@@ -13,7 +13,7 @@
 use Drupal\Core\Entity\Entity\EntityViewMode;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\RenderedEntity handler.
+ * Tests the core \Drupal\views\Plugin\views\field\RenderedEntity handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php
index 0814402ca6d..04c67f45dab 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php
@@ -7,7 +7,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\field\Url handler.
+ * Tests the core \Drupal\views\Plugin\views\field\Url handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
index 325da5106e2..eb330a79d80 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\filter\BooleanOperatorString
+ * Tests the core \Drupal\views\Plugin\views\filter\BooleanOperatorString
  * handler.
  *
  * @group views
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php
index 7cdd41f525d..3661420c840 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\filter\BooleanOperator handler.
+ * Tests the core \Drupal\views\Plugin\views\filter\BooleanOperator handler.
  *
  * @group views
  * @see \Drupal\views\Plugin\views\filter\BooleanOperator
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php
index d78f7c92e2b..9ea0168004d 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\filter\Equality handler.
+ * Tests the core \Drupal\views\Plugin\views\filter\Equality handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
index e02a8430c73..2a1c42f33a1 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\filter\InOperator handler.
+ * Tests the core \Drupal\views\Plugin\views\filter\InOperator handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
index c24cc6ff034..e07dbd367d3 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests the core Drupal\views\Plugin\views\filter\StringFilter handler.
+ * Tests the core \Drupal\views\Plugin\views\filter\StringFilter handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php b/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
index 2d1a2fcc2fc..c5601e97b03 100644
--- a/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
@@ -7,7 +7,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests for core Drupal\views\Plugin\views\sort\Date handler.
+ * Tests for core \Drupal\views\Plugin\views\sort\Date handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php b/core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
index 941ed8d9efa..54a2f58659f 100644
--- a/core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
@@ -8,7 +8,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests for core Drupal\views\Plugin\views\sort\Random handler.
+ * Tests for core \Drupal\views\Plugin\views\sort\Random handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/Handler/SortTest.php b/core/modules/views/tests/src/Kernel/Handler/SortTest.php
index 91560495fb8..68c4045e241 100644
--- a/core/modules/views/tests/src/Kernel/Handler/SortTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/SortTest.php
@@ -6,7 +6,7 @@
 use Drupal\views\Views;
 
 /**
- * Tests for core Drupal\views\Plugin\views\sort\SortPluginBase handler.
+ * Tests for core \Drupal\views\Plugin\views\sort\SortPluginBase handler.
  *
  * @group views
  */
diff --git a/core/modules/views/tests/src/Kernel/ModuleTest.php b/core/modules/views/tests/src/Kernel/ModuleTest.php
index 68612b78f40..ac681d80315 100644
--- a/core/modules/views/tests/src/Kernel/ModuleTest.php
+++ b/core/modules/views/tests/src/Kernel/ModuleTest.php
@@ -339,7 +339,7 @@ public function testViewsPreview() {
    * Helper to return an expected views option array.
    *
    * @param array $views
-   *   An array of Drupal\views\Entity\View objects for which to
+   *   An array of \Drupal\views\Entity\View objects for which to
    *   create an options array.
    *
    * @return array
diff --git a/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php b/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
index 34d426dc761..178c14b6933 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
@@ -32,7 +32,7 @@ public function testArgumentValidateNumeric() {
   /**
    * Tests the argument validator test plugin.
    *
-   * @see Drupal\views_test_data\Plugin\views\argument_validator\ArgumentValidatorTest
+   * @see \Drupal\views_test_data\Plugin\views\argument_validator\ArgumentValidatorTest
    */
   public function testArgumentValidatorPlugin() {
     $view = Views::getView('test_view');
diff --git a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
index b49d0c32fb7..f6e9c20c985 100644
--- a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
@@ -214,7 +214,7 @@ public function testSetDisplayWithInvalidDisplay() {
   public function testDisplays() {
     $view = Views::getView('test_executable_displays');
 
-    // Tests Drupal\views\ViewExecutable::initDisplay().
+    // Tests \Drupal\views\ViewExecutable::initDisplay().
     $view->initDisplay();
     $this->assertTrue($view->displayHandlers instanceof DisplayPluginCollection, 'The displayHandlers property has the right class.');
     // Tests the classes of the instances.
@@ -230,7 +230,7 @@ public function testDisplays() {
     $this->assertEqual(spl_object_hash($view->displayHandlers->get('page_1')->default_display), spl_object_hash($view->displayHandlers->get('default')));
     $this->assertEqual(spl_object_hash($view->displayHandlers->get('page_2')->default_display), spl_object_hash($view->displayHandlers->get('default')));
 
-    // Tests Drupal\views\ViewExecutable::setDisplay().
+    // Tests \Drupal\views\ViewExecutable::setDisplay().
     $view->setDisplay();
     $this->assertEqual($view->current_display, 'default', 'If setDisplay is called with no parameter the default display should be used.');
     $this->assertEqual(spl_object_hash($view->display_handler), spl_object_hash($view->displayHandlers->get('default')));
diff --git a/core/modules/views/tests/src/Kernel/ViewStorageTest.php b/core/modules/views/tests/src/Kernel/ViewStorageTest.php
index 7cf953af740..549ce781961 100644
--- a/core/modules/views/tests/src/Kernel/ViewStorageTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewStorageTest.php
@@ -202,7 +202,7 @@ protected function displayMethodTests() {
     ];
     $view = $this->controller->create($config);
 
-    // Tests Drupal\views\Entity\View::addDisplay()
+    // Tests \Drupal\views\Entity\View::addDisplay()
     $view = $this->controller->create([]);
     $random_title = $this->randomMachineName();
 
@@ -230,7 +230,7 @@ protected function displayMethodTests() {
     $this->assertEqual($displays['default']['display_title'], $random_title, 'Default display is defined with the new title');
     $this->assertEqual($displays['default']['position'], 0, 'Default displays are always in position zero');
 
-    // Tests Drupal\views\Entity\View::generateDisplayId(). Since
+    // Tests \Drupal\views\Entity\View::generateDisplayId(). Since
     // generateDisplayId() is protected, we have to use reflection to unit-test
     // it.
     $view = $this->controller->create([]);
diff --git a/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php b/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
index a08d0f9ef11..dc7cce14075 100644
--- a/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
+++ b/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
@@ -19,7 +19,7 @@
 abstract class GenericCacheBackendUnitTestBase extends KernelTestBase {
 
   /**
-   * Array of objects implementing Drupal\Core\Cache\CacheBackendInterface.
+   * Array of objects implementing \Drupal\Core\Cache\CacheBackendInterface.
    *
    * @var array
    */
@@ -125,7 +125,7 @@ protected function tearDown() {
   }
 
   /**
-   * Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
+   * Tests the get and set methods of \Drupal\Core\Cache\CacheBackendInterface.
    */
   public function testSetGet() {
     $backend = $this->getCacheBackend();
@@ -224,7 +224,7 @@ public function testSetGet() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::delete().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::delete().
    */
   public function testDelete() {
     $backend = $this->getCacheBackend();
@@ -280,7 +280,7 @@ public function testValueTypeIsKept() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::getMultiple().
    */
   public function testGetMultiple() {
     $backend = $this->getCacheBackend();
@@ -424,8 +424,8 @@ public function testSetMultiple() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::delete() and
-   * Drupal\Core\Cache\CacheBackendInterface::deleteMultiple().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::delete() and
+   * \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple().
    */
   public function testDeleteMultiple() {
     $backend = $this->getCacheBackend();
@@ -469,7 +469,7 @@ public function testDeleteMultiple() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::deleteAll().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::deleteAll().
    */
   public function testDeleteAll() {
     $backend_a = $this->getCacheBackend();
@@ -488,8 +488,8 @@ public function testDeleteAll() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and
-   * Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::invalidate() and
+   * \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
    */
   public function testInvalidate() {
     $backend = $this->getCacheBackend();
@@ -521,7 +521,7 @@ public function testInvalidate() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
    */
   public function testInvalidateTags() {
     $backend = $this->getCacheBackend();
@@ -578,7 +578,7 @@ public function testInvalidateTags() {
   }
 
   /**
-   * Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
+   * Test \Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
    */
   public function testInvalidateAll() {
     $backend_a = $this->getCacheBackend();
@@ -599,7 +599,7 @@ public function testInvalidateAll() {
   }
 
   /**
-   * Tests Drupal\Core\Cache\CacheBackendInterface::removeBin().
+   * Tests \Drupal\Core\Cache\CacheBackendInterface::removeBin().
    */
   public function testRemoveBin() {
     $backend_a = $this->getCacheBackend();
diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
index cd3ec4a1638..82a7bb5a0b3 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
@@ -233,7 +233,7 @@ public function testCountQueryRemovals() {
     // Check that the ordering clause is handled properly.
     $orderby = $query->getOrderBy();
     // The orderby string is different for PostgreSQL.
-    // @see Drupal\Core\Database\Driver\pgsql\Select::orderBy()
+    // @see \Drupal\Core\Database\Driver\pgsql\Select::orderBy()
     $db_type = Database::getConnection()->databaseType();
     $this->assertEqual($orderby['name'], ($db_type == 'pgsql' ? 'ASC NULLS FIRST' : 'ASC'), 'Query correctly sets ordering clause.');
     $orderby = $count->getOrderBy();
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
index 7d7ea76e90f..6b5e9460b96 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
@@ -716,7 +716,7 @@ public function testSingleActionCalls() {
   /**
    * Ensures that a new field and index on a shared table are created.
    *
-   * @see Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::createSharedTableSchema
+   * @see \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::createSharedTableSchema
    */
   public function testCreateFieldAndIndexOnSharedTable() {
     $this->addBaseField();
@@ -734,7 +734,7 @@ public function testCreateFieldAndIndexOnSharedTable() {
   /**
    * Ensures that a new entity level index is created when data exists.
    *
-   * @see Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::onEntityTypeUpdate
+   * @see \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::onEntityTypeUpdate
    */
   public function testCreateIndexUsingEntityStorageSchemaWithData() {
     // Save an entity.
diff --git a/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php b/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
index 6c18b6654cc..fbd9199f9e3 100644
--- a/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
@@ -85,7 +85,7 @@ public function testUriFunctions() {
     $this->assertFalse(file_uri_target('data:'), 'data: has no target.');
 
     // Test file_build_uri() and
-    // Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath().
+    // \Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath().
     $this->assertEqual(file_build_uri('foo/bar.txt'), 'public://foo/bar.txt', 'Expected scheme was added.');
     $this->assertEqual(\Drupal::service('stream_wrapper_manager')->getViaScheme('public')->getDirectoryPath(), PublicStream::basePath(), 'Expected default directory path was returned.');
     $this->assertEqual(\Drupal::service('stream_wrapper_manager')->getViaScheme('temporary')->getDirectoryPath(), $config->get('path.temporary'), 'Expected temporary directory path was returned.');
diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php
index abdedd9c037..8677fafa25e 100644
--- a/core/tests/Drupal/Tests/BrowserTestBase.php
+++ b/core/tests/Drupal/Tests/BrowserTestBase.php
@@ -32,7 +32,7 @@
  * Provides a test case for functional Drupal tests.
  *
  * Tests extending BrowserTestBase must exist in the
- * Drupal\Tests\yourmodule\Functional namespace and live in the
+ * \Drupal\Tests\yourmodule\Functional namespace and live in the
  * modules/yourmodule/tests/src/Functional directory.
  *
  * @ingroup testing
diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php
index 194f37f50eb..11773ee0687 100644
--- a/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php
+++ b/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php
@@ -19,7 +19,7 @@ class HWLDFWordAccumulatorTest extends TestCase {
    *
    * @covers ::getLines
    *
-   * @see Drupal\Component\Diff\Engine\HWLDFWordAccumulator::NBSP
+   * @see \Drupal\Component\Diff\Engine\HWLDFWordAccumulator::NBSP
    */
   public function testGetLinesEmpty() {
     $acc = new HWLDFWordAccumulator();
diff --git a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php
index caae2d82793..d5f90964b1e 100644
--- a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php
+++ b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php
@@ -8,7 +8,7 @@
 /**
  * Unit tests for the Gettext PO file header handling features.
  *
- * @see Drupal\Component\Gettext\PoHeader.
+ * @see \Drupal\Component\Gettext\PoHeader.
  *
  * @group Gettext
  */
diff --git a/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php b/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php
index c87af872b37..0a6ab993006 100644
--- a/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php
@@ -55,7 +55,7 @@ public function testRandomBytesFallback() {
 use  Drupal\Tests\Component\Utility\CryptRandomFallbackTest;
 
 /**
- * Defines a function in same namespace as Drupal\Component\Utility\Crypt.
+ * Defines a function in same namespace as \Drupal\Component\Utility\Crypt.
  *
  * Forces throwing an exception in this test environment because the function
  * in the namespace is used in preference to the global function.
diff --git a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
index 3638408a02a..9a1fbc1584a 100644
--- a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
@@ -92,7 +92,7 @@ public function testHtmlClass() {
     // Verify Drupal coding standards are enforced.
     $this->assertSame('class-name--ü', Html::getClass('CLASS NAME_[Ü]'), 'Enforce Drupal coding standards.');
 
-    // Test Html::getClass() handles Drupal\Component\Render\MarkupInterface
+    // Test Html::getClass() handles \Drupal\Component\Render\MarkupInterface
     // input.
     $markup = HtmlTestMarkup::create('CLASS_FROM_OBJECT');
     $this->assertSame('class-from-object', Html::getClass($markup), 'Markup object is converted to CSS class.');
diff --git a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
index 7f249d9bea1..bd753332815 100644
--- a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
@@ -63,7 +63,7 @@ public function testCheckPlain($text, $expected, $message) {
   }
 
   /**
-   * Tests Drupal\Component\Render\HtmlEscapedText.
+   * Tests \Drupal\Component\Render\HtmlEscapedText.
    *
    * Verifies that the result of SafeMarkup::checkPlain() is the same as using
    * HtmlEscapedText directly.
diff --git a/core/tests/Drupal/Tests/Component/Utility/VariableTest.php b/core/tests/Drupal/Tests/Component/Utility/VariableTest.php
index 3fda715c29f..34bb399d402 100644
--- a/core/tests/Drupal/Tests/Component/Utility/VariableTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/VariableTest.php
@@ -117,8 +117,8 @@ public function testExport($expected, $variable) {
 /**
  * No-op test class for VariableTest::testExport().
  *
- * @see Drupal\Tests\Component\Utility\VariableTest::testExport()
- * @see Drupal\Tests\Component\Utility\VariableTest::providerTestExport()
+ * @see \Drupal\Tests\Component\Utility\VariableTest::testExport()
+ * @see \Drupal\Tests\Component\Utility\VariableTest::providerTestExport()
  */
 class StubVariableTestClass {
 
diff --git a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
index d06c678bcd4..6bd645105f9 100644
--- a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
+++ b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
@@ -6,7 +6,7 @@
 use Drupal\Tests\UnitTestCase;
 
 /**
- * Tests the Drupal\Core\Template\Attribute functionality.
+ * Tests the \Drupal\Core\Template\Attribute functionality.
  *
  * @group Common
  */
diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php
index 74737b073bf..b38293680b4 100644
--- a/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php
+++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php
@@ -10,8 +10,8 @@
  * is being used to unit test Connection, so we don't need a functional database
  * but we do need a mock \PDO object.
  *
- * @see Drupal\Tests\Core\Database\ConnectionTest
- * @see Drupal\Core\Database\Connection
+ * @see \Drupal\Tests\Core\Database\ConnectionTest
+ * @see \Drupal\Core\Database\Connection
  * @see http://stackoverflow.com/questions/3138946/mocking-the-pdo-object-using-phpunit
  */
 class StubPDO extends \PDO {
diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php
index 35c236b2d11..4fc0a6487f4 100644
--- a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php
+++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php
@@ -13,7 +13,7 @@ class BarClass {
   /**
    * Storage for a protected BazClass object.
    *
-   * @var Drupal\Tests\Core\DependencyInjection\Fixture\BazClass
+   * @var \Drupal\Tests\Core\DependencyInjection\Fixture\BazClass
    */
   protected $baz;
 
diff --git a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
index 0d56516dd23..9d8da05c24d 100644
--- a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
@@ -570,7 +570,7 @@ public function testGet($expected, $field_name, $active_langcode, $fields) {
    *   - $include_computed value to pass to getFields().
    *   - Value to mock from all field definitions for isComputed().
    *   - Array of field names to return from mocked getFieldDefinitions(). A
-   *     Drupal\Core\Field\FieldDefinitionInterface object will be mocked for
+   *     \Drupal\Core\Field\FieldDefinitionInterface object will be mocked for
    *     each name.
    */
   public function providerGetFields() {
diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
index 6528d7327a9..8a263e0bc58 100644
--- a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
+++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
@@ -17,7 +17,7 @@ class ModuleRouteSubscriberTest extends UnitTestCase {
   /**
    * The mock module handler.
    *
-   * @var Drupal\Core\Extension\ModuleHandlerInterface|\PHPUnit_Framework_MockObject_MockObject
+   * @var \Drupal\Core\Extension\ModuleHandlerInterface|\PHPUnit_Framework_MockObject_MockObject
    */
   protected $moduleHandler;
 
diff --git a/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php b/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php
index 8d6bf813828..ef161e267c7 100644
--- a/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php
+++ b/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php
@@ -41,7 +41,7 @@ protected function setUp() {
   /**
    * Provides data for the Accept header filtering test.
    *
-   * @see Drupal\Tests\Core\Routing\AcceptHeaderMatcherTest::testAcceptFiltering()
+   * @see \Drupal\Tests\Core\Routing\AcceptHeaderMatcherTest::testAcceptFiltering()
    */
   public function acceptFilterProvider() {
     return [
diff --git a/core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php b/core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php
index 837db3ab0a4..0402df5c464 100644
--- a/core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php
@@ -14,7 +14,7 @@
 class KernelTestBaseTest extends UnitTestCase {
 
   /**
-   * @expectedDeprecation Drupal\KernelTests\KernelTestBase::isTestInIsolation() is deprecated in Drupal 8.4.x, for removal before the Drupal 9.0.0 release. KernelTestBase tests are always run in isolated processes.
+   * @expectedDeprecation \Drupal\KernelTests\KernelTestBase::isTestInIsolation() is deprecated in Drupal 8.4.x, for removal before the Drupal 9.0.0 release. KernelTestBase tests are always run in isolated processes.
    *
    * @covers ::isTestInIsolation
    */
diff --git a/core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php b/core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php
index 8ecb70ca2cf..9cc66504eed 100644
--- a/core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php
+++ b/core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php
@@ -12,7 +12,7 @@ class UnitTestCaseDeprecationTest extends UnitTestCase {
 
   /**
    * @covers ::getBlockMockWithMachineName
-   * @expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies on extensions. Set up mocks in individual tests.
+   * @expectedDeprecation \Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies on extensions. Set up mocks in individual tests.
    */
   public function testDeprecatedGetBlockMockWithMachineName() {
     $block_mock = $this->getBlockMockWithMachineName('test_name');
diff --git a/core/tests/TestSuites/TestSuiteBase.php b/core/tests/TestSuites/TestSuiteBase.php
index 581ea36714e..fa2960827ce 100644
--- a/core/tests/TestSuites/TestSuiteBase.php
+++ b/core/tests/TestSuites/TestSuiteBase.php
@@ -46,7 +46,7 @@ protected function addTestsBySuiteNamespace($root, $suite_namespace) {
     }
 
     // Extensions' tests will always be in the namespace
-    // Drupal\Tests\$extension_name\$suite_namespace\ and be in the
+    // \Drupal\Tests\$extension_name\$suite_namespace\ and be in the
     // $extension_path/tests/src/$suite_namespace directory. Not all extensions
     // will have all kinds of tests.
     foreach ($this->findExtensionDirectories($root) as $extension_name => $dir) {
