diff --git a/core/core.api.php b/core/core.api.php
index 3b07651..8272bbe 100644
--- a/core/core.api.php
+++ b/core/core.api.php
@@ -162,7 +162,7 @@
  *   with web services:
  *   - You should make requests using the 'http_client' service, which
  *     implements \GuzzleHttp\ClientInterface. See the
- *     @link container Services topic @endlink for more information on
+ * @link container Services topic @endlink for more information on
  *     services. If you cannot use dependency injection to retrieve this
  *     service, the \Drupal::httpClient() method is available. A good example
  *     of how to use this service can be found in
@@ -381,7 +381,7 @@
  *   translated) on an admin path like '/node/add/article' (when configured to
  *   be an admin path). Here's an example using the configurable_language config
  *   entity:
- *   @code
+ * @code
  *   mymodule.myroute:
  *     path: '/admin/mypath/{configurable_language}'
  *     defaults:
@@ -391,7 +391,7 @@
  *         configurable_language:
  *           type: entity:configurable_language
  *           with_config_overrides: TRUE
- *   @endcode
+ * @endcode
  *   With the route defined this way, the $configurable_language parameter to
  *   your controller method will come in translated to the current language.
  *   Without the parameter options section, it would be in the original
@@ -690,7 +690,7 @@
  *   information.
  * - Other code: There is a 'current_user' service, which can be injected into
  *   classes to provide access to the current user account (see the
- *   @link container Services and Dependency Injection topic @endlink for more
+ * @link container Services and Dependency Injection topic @endlink for more
  *   information on dependency injection). In code that cannot use dependency
  *   injection, you can access this service and retrieve the current user
  *   account object by calling \Drupal::currentUser(). Once you have a user
@@ -817,12 +817,12 @@
  *   access services, via a call to the global \Drupal class. This class has
  *   special methods for accessing commonly-used services, or you can call a
  *   generic method to access any service. Examples:
- *   @code
+ * @code
  *   // Retrieve the entity.manager service object (special method exists).
  *   $manager = \Drupal::entityManager();
  *   // Retrieve the service object for machine name 'foo.bar'.
  *   $foobar = \Drupal::service('foo.bar');
- *   @endcode
+ * @endcode
  *
  * As a note, you should always use dependency injection (via service arguments
  * or create()/createInstance() methods) if possible to instantiate services,
@@ -846,7 +846,7 @@
  *   services are provided by other modules and not Drupal Core, you'll want
  *   these modules to be dependencies of your module.
  * - Add an entry to a modulename.services.yml file for the service. See
- *   @ref sec_discover above, or existing *.services.yml files in Core, for the
+ * @ref sec_discover above, or existing *.services.yml files in Core, for the
  *   syntax; it will start with your machine name, refer to your default class,
  *   and list the services that need to be passed into your constructor.
  *
@@ -872,13 +872,13 @@
  * - The class needs to contain one method: alter(). This method does the
  *   actual work of telling Drupal to use your class instead of the default.
  *   Here's an example:
- *   @code
+ * @code
  *   public function alter(ContainerBuilder $container) {
  *     // Override the language_manager class with a new class.
  *     $definition = $container->getDefinition('language_manager');
  *     $definition->setClass('Drupal\my_module\MyLanguageManager');
  *   }
- *   @endcode
+ * @endcode
  *   Note that $container here is an instance of
  *   \Drupal\Core\DependencyInjection\ContainerBuilder.
  *
@@ -1036,7 +1036,7 @@
  *   short name), and add annotation of type
  *   \Drupal\Core\TypedData\Annotation\DataType to the documentation header.
  *   See the @link plugin_api Plugin API topic @endlink and the
- *   @link annotation Annotations topic @endlink for more information.
+ * @link annotation Annotations topic @endlink for more information.
  *
  * @section sec_using Using data types
  * The data types of the Typed Data API can be used in several ways, once they
@@ -1046,7 +1046,7 @@
  *   more information.
  * - In configuration schema files, you can use the unique ID ('id' annotation)
  *   from any DataType plugin class as the 'type' value for an entry. See the
- *   @link config_api Confuration API topic @endlink for more information.
+ * @link config_api Confuration API topic @endlink for more information.
  * - If you need to create a typed data object in code, first get the
  *   typed_data_manager service from the container or by calling
  *   \Drupal::typedDataManager(). Then pass the plugin ID to
@@ -1276,7 +1276,7 @@
  *   can be) human-edited, but is not Content, and is meant to be relatively
  *   permanent. Examples: the name of your site, the content types and views
  *   you have defined, etc. See
- *   @link config_api the Configuration API topic @endlink for more information.
+ * @link config_api the Configuration API topic @endlink for more information.
  *
  * @see cache
  * @see i18n
@@ -1295,7 +1295,7 @@
  *   template files, which alter the HTML markup and other raw output of the
  *   site; CSS files, which alter the styling applied to the HTML; and
  *   JavaScript, Flash, images, and other files. For more information, see the
- *   @link theme_render Theme system and render API topic @endlink and
+ * @link theme_render Theme system and render API topic @endlink and
  *   https://www.drupal.org/docs/8/theming
  * - Modules: Modules add to or alter the behavior and functionality of Drupal,
  *   by using one or more of the methods listed below. For more information
@@ -1313,13 +1313,13 @@
  *   See the @link hooks Hooks topic @endlink for more information.
  * - Plugins: Classes that a module defines, which are discovered and
  *   instantiated at specific times to add functionality. See the
- *   @link plugin_api Plugin API topic @endlink for more information.
+ * @link plugin_api Plugin API topic @endlink for more information.
  * - Entities: Special plugins that define entity types for storing new types
  *   of content or configuration in Drupal. See the
- *   @link entity_api Entity API topic @endlink for more information.
+ * @link entity_api Entity API topic @endlink for more information.
  * - Services: Classes that perform basic operations within Drupal, such as
  *   accessing the database and sending email. See the
- *   @link container Dependency Injection Container and Services topic @endlink
+ * @link container Dependency Injection Container and Services topic @endlink
  *   for more information.
  * - Routing: Providing or altering "routes", which are URLs that Drupal
  *   responds to, or altering routing behavior with event listener classes.
@@ -1457,18 +1457,18 @@
  *   namespace for discovery, set up the alter hook, and possibly set up
  *   caching. See classes that extend DefaultPluginManager for examples.
  * - Define a service for your plugin manager. See the
- *   @link container Services topic for more information. @endlink Your service
+ * @link container Services topic for more information. @endlink Your service
  *   definition should look something like this, referencing your manager
  *   class and the parent (default) plugin manager service to inherit
  *   constructor arguments:
- *   @code
+ * @code
  *   plugin.manager.mymodule:
  *     class: Drupal\mymodule\MyPluginManager
  *     parent: default_plugin_manager
- *   @endcode
+ * @endcode
  * - If your plugin is configurable, you will also need to define the
  *   configuration schema and possibly a configuration entity type. See the
- *   @link config_api Configuration API topic @endlink for more information.
+ * @link config_api Configuration API topic @endlink for more information.
  *
  * @subsection sub_collection Defining a plugin collection
  * Some configurable plugin types allow administrators to create zero or more
@@ -1494,7 +1494,7 @@
  *   defined. Usually, you'll want to extend the plugin base class, if one has
  *   been provided.
  * - Have the right annotation in its documentation header. See the
- *   @link annotation Annotation topic @endlink for more information about
+ * @link annotation Annotation topic @endlink for more information about
  *   annotation.
  * - Be in the right plugin namespace, in order to be discovered.
  * Often, the easiest way to make sure this happens is to find an existing
@@ -1554,7 +1554,7 @@
  *   the @link annotation Annotation topic @endlink for more information.
  * - Standard plugin discovery requires particular namespaces and annotation
  *   for most plugin classes. See the
- *   @link plugin_api Plugin API topic @endlink for more information.
+ * @link plugin_api Plugin API topic @endlink for more information.
  * - There are project-wide coding standards for OO code, including naming:
  *   https://www.drupal.org/node/608152
  * - Documentation standards for classes are covered on:
@@ -1608,7 +1608,7 @@
  *
  * Standards and best practices that developers should be aware of include:
  * - Security: https://www.drupal.org/writing-secure-code and the
- *   @link sanitization Sanitization functions topic @endlink
+ * @link sanitization Sanitization functions topic @endlink
  * - Coding standards: https://www.drupal.org/coding-standards
  *   and https://www.drupal.org/coding-standards/docs
  * - Accessibility: https://www.drupal.org/node/1637990 (modules) and
@@ -2277,7 +2277,7 @@ function hook_rebuild() {
  *     }
  *   </code>
  *   For more information on creating batches, see the
- *   @link batch Batch operations @endlink documentation.
+ * @link batch Batch operations @endlink documentation.
  *
  * @see callback_batch_operation()
  * @see \Drupal\Core\Config\ConfigImporter::initialize()
diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index ae2f891..c7d0dee 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -448,7 +448,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia
  *     safe. Non-safe strings will be escaped automatically.
  *   - message: The message string.
  *   So, the following is an example of the full return array structure:
- *   @code
+ * @code
  *     array(
  *       'status' => array(
  *         array(
@@ -461,7 +461,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia
  *         ),
  *       ),
  *     );
- *   @endcode
+ * @endcode
  *   If there are no messages set, the function returns NULL.
  *
  * @see drupal_get_messages()
diff --git a/core/includes/entity.inc b/core/includes/entity.inc
index c69c588..c8c164e 100644
--- a/core/includes/entity.inc
+++ b/core/includes/entity.inc
@@ -451,14 +451,14 @@ function entity_view_multiple(array $entities, $view_mode, $langcode = NULL, $re
  *
  * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
  *   If the display is available in configuration use:
- *   @code
+ * @code
  *   \Drupal::entityTypeManager()
  *     ->getStorage('entity_view_display')
  *     ->load($entity_type . '.' . $bundle . '.' . $view_mode);
- *   @endcode
+ * @endcode
  *   When the display is not available in configuration, you can create a new
  *   EntityViewDisplay object using:
- *   @code
+ * @code
  *   $values = array(
  *     'targetEntityType' => $entity_type,
  *     'bundle' => $bundle,
@@ -468,7 +468,7 @@ function entity_view_multiple(array $entities, $view_mode, $langcode = NULL, $re
  *   \Drupal::entityTypeManager()
  *     ->getStorage('entity_view_display')
  *     ->create($values);
- *   @endcode
+ * @endcode
  *
  * @see \Drupal\Core\Entity\EntityStorageInterface::create()
  * @see \Drupal\Core\Entity\EntityStorageInterface::load()
@@ -531,14 +531,14 @@ function entity_get_display($entity_type, $bundle, $view_mode) {
  *
  * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
  *   If the entity form display is available in configuration use:
- *   @code
+ * @code
  *     \Drupal::entityTypeManager()
  *       ->getStorage('entity_form_display')
  *       ->load($entity_type . '.' . $bundle . '.' . $form_mode);
- *   @endcode
+ * @endcode
  *   When the entity form display is not available in configuration, you can
  *   create a new EntityFormDisplay object using:
- *   @code
+ * @code
  *   $values = array(
  *    'targetEntityType' => $entity_type,
  *    'bundle' => $bundle,
@@ -548,7 +548,7 @@ function entity_get_display($entity_type, $bundle, $view_mode) {
  *   \Drupal::entityTypeManager()
  *     ->getStorage('entity_form_display')
  *     ->create($values);
- *   @endcode
+ * @endcode
  *
  * @see \Drupal\Core\Entity\EntityStorageInterface::create()
  * @see \Drupal\Core\Entity\EntityStorageInterface::load()
diff --git a/core/includes/file.inc b/core/includes/file.inc
index c338d5a..035342c 100644
--- a/core/includes/file.inc
+++ b/core/includes/file.inc
@@ -436,7 +436,7 @@ function file_valid_uri($uri) {
  *   will rename the file until the $destination is unique.
  * - Works around a PHP bug where copy() does not properly support streams if
  *   safe_mode or open_basedir are enabled.
- *   @see https://bugs.php.net/bug.php?id=60456
+ * @see https://bugs.php.net/bug.php?id=60456
  *
  * @param $source
  *   A string specifying the filepath or URI of the source file.
@@ -622,7 +622,7 @@ function file_destination($destination, $replace) {
  *   replace the file or rename the file based on the $replace parameter.
  * - Works around a PHP bug where rename() does not properly support streams if
  *   safe_mode or open_basedir are enabled.
- *   @see https://bugs.php.net/bug.php?id=60456
+ * @see https://bugs.php.net/bug.php?id=60456
  *
  * @param $source
  *   A string specifying the filepath or URI of the source file.
diff --git a/core/includes/form.inc b/core/includes/form.inc
index d99dca2..f2afd4e 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -671,19 +671,19 @@ function template_preprocess_form_element_label(&$variables) {
  *     item is an array consisting of the name of an implementation of
  *     callback_batch_operation() and an array of parameter.
  *     Example:
- *     @code
+ * @code
  *     array(
  *       array('callback_batch_operation_1', array($arg1)),
  *       array('callback_batch_operation_2', array($arg2_1, $arg2_2)),
  *     )
- *     @endcode
+ * @endcode
  *   - title: A safe, translated string to use as the title for the progress
  *     page. Defaults to t('Processing').
  *   - init_message: Message displayed while the processing is initialized.
  *     Defaults to t('Initializing.').
  *   - progress_message: Message displayed while processing the batch. Available
  *     placeholders are @current, @remaining, @total, @percentage, @estimate and
- *     @elapsed. Defaults to t('Completed @current of @total.').
+ * @elapsed. Defaults to t('Completed @current of @total.').
  *   - error_message: Message displayed if an error occurred while processing
  *     the batch. Defaults to t('An error has occurred.').
  *   - finished: Name of an implementation of callback_batch_finished(). This is
diff --git a/core/includes/install.inc b/core/includes/install.inc
index 3529d51..3f0891b 100644
--- a/core/includes/install.inc
+++ b/core/includes/install.inc
@@ -201,18 +201,18 @@ function drupal_get_database_types() {
  *   An array of settings that need to be updated. Multidimensional arrays
  *   are dumped up to a stdClass object. The object can have value, required
  *   and comment properties.
- *   @code
+ * @code
  *   $settings['config_directories'] = array(
  *     CONFIG_SYNC_DIRECTORY => (object) array(
  *       'value' => 'config_hash/sync',
  *       'required' => TRUE,
  *     ),
  *   );
- *   @endcode
+ * @endcode
  *   gets dumped as:
- *   @code
+ * @code
  *   $config_directories['sync'] = 'config_hash/sync'
- *   @endcode
+ * @endcode
  */
 function drupal_rewrite_settings($settings = [], $settings_file = NULL) {
   if (!isset($settings_file)) {
diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index ac085b4..670c8ea 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -844,7 +844,7 @@ function template_preprocess_image(&$variables) {
  *     - header: Indicates this cell is a header.
  *     - Any HTML attributes, such as "colspan", to apply to the table cell.
  *     Here's an example for $rows:
- *     @code
+ * @code
  *     $rows = array(
  *       // Simple row
  *       array(
@@ -855,7 +855,7 @@ function template_preprocess_image(&$variables) {
  *         'data' => array('Cell 1', array('data' => 'Cell 2', 'colspan' => 2)), 'class' => array('funky')
  *       ),
  *     );
- *     @endcode
+ * @endcode
  *   - footer: An array of table rows which will be printed within a <tfoot>
  *     tag, in the same format as the rows element (see above).
  *   - attributes: An array of HTML attributes to apply to the table tag.
@@ -869,7 +869,7 @@ function template_preprocess_image(&$variables) {
  *       set the "data" attribute with an array of columns, each of which is an
  *       associative array of HTML attributes.
  *     Here's an example for $colgroup:
- *     @code
+ * @code
  *     $colgroup = array(
  *       // <colgroup> with one <col> element.
  *       array(
@@ -887,7 +887,7 @@ function template_preprocess_image(&$variables) {
  *         'class' => array('jazzy'), // Attribute for the <colgroup> element.
  *       ),
  *     );
- *     @endcode
+ * @endcode
  *     These optional tags are used to group and set properties on columns
  *     within a table. For example, one may easily group three columns and
  *     apply same background style to all.
diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php
index 61982c3..fbfee71 100644
--- a/core/lib/Drupal.php
+++ b/core/lib/Drupal.php
@@ -601,9 +601,9 @@ public static function linkGenerator() {
    * @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
    *   Use \Drupal\Core\Link instead.
    *   Example:
-   *   @code
+   * @code
    *     $link = Link::fromTextAndUrl($text, $url);
-   *   @endcode
+   * @endcode
    */
   public static function l($text, Url $url) {
     return static::getContainer()->get('link_generator')->generate($text, $url);
diff --git a/core/lib/Drupal/Component/Datetime/DateTimePlus.php b/core/lib/Drupal/Component/Datetime/DateTimePlus.php
index 1161168..8cf32a4 100644
--- a/core/lib/Drupal/Component/Datetime/DateTimePlus.php
+++ b/core/lib/Drupal/Component/Datetime/DateTimePlus.php
@@ -129,7 +129,7 @@ class DateTimePlus {
    * @param \DateTime $datetime
    *   A DateTime object.
    * @param array $settings
-   *   @see __construct()
+   * @see __construct()
    *
    * @return static
    *   A new DateTimePlus object.
@@ -183,9 +183,9 @@ public static function createFromArray(array $date_parts, $timezone = NULL, $set
    * @param int $timestamp
    *   A UNIX timestamp.
    * @param mixed $timezone
-   *   @see __construct()
+   * @see __construct()
    * @param array $settings
-   *   @see __construct()
+   * @see __construct()
    *
    * @return static
    *   A new DateTimePlus object.
@@ -210,11 +210,11 @@ public static function createFromTimestamp($timestamp, $timezone = NULL, $settin
    *   to use things like negative years, which php's parser fails on, or
    *   any other specialized input with a known format. If provided the
    *   date will be created using the createFromFormat() method.
-   *   @see http://php.net/manual/datetime.createfromformat.php
+   * @see http://php.net/manual/datetime.createfromformat.php
    * @param mixed $time
-   *   @see __construct()
+   * @see __construct()
    * @param mixed $timezone
-   *   @see __construct()
+   * @see __construct()
    * @param array $settings
    *   - validate_format: (optional) Boolean choice to validate the
    *     created date using the input format. The format used in
@@ -223,7 +223,7 @@ public static function createFromTimestamp($timestamp, $timezone = NULL, $settin
    *     possible to a validation step to confirm that the date created
    *     from a format string exactly matches the input. This option
    *     indicates the format can be used for validation. Defaults to TRUE.
-   *   @see __construct()
+   * @see __construct()
    *
    * @return static
    *   A new DateTimePlus object.
@@ -280,7 +280,7 @@ public static function createFromFormat($format, $time, $timezone = NULL, $setti
    *   parameter and the current timezone are ignored when the $time parameter
    *   either is a UNIX timestamp (e.g. @946684800) or specifies a timezone
    *   (e.g. 2010-01-28T15:00:00+02:00).
-   *   @see http://php.net/manual/datetime.construct.php
+   * @see http://php.net/manual/datetime.construct.php
    * @param array $settings
    *   (optional) Keyed array of settings. Defaults to empty array.
    *   - langcode: (optional) String two letter language code used to control
diff --git a/core/lib/Drupal/Component/Graph/Graph.php b/core/lib/Drupal/Component/Graph/Graph.php
index b155faa..b5e9677 100644
--- a/core/lib/Drupal/Component/Graph/Graph.php
+++ b/core/lib/Drupal/Component/Graph/Graph.php
@@ -22,20 +22,20 @@ class Graph {
    *   an edge. Values of array elements are copied over.
    *
    *   Example:
-   *   @code
+   * @code
    *     $graph[1]['edges'][2] = 1;
    *     $graph[2]['edges'][3] = 1;
    *     $graph[2]['edges'][4] = 1;
    *     $graph[3]['edges'][4] = 1;
-   *   @endcode
+   * @endcode
    *
    *   On return you will also have:
-   *   @code
+   * @code
    *     $graph[1]['paths'][2] = 1;
    *     $graph[1]['paths'][3] = 1;
    *     $graph[2]['reverse_paths'][1] = 1;
    *     $graph[3]['reverse_paths'][1] = 1;
-   *   @endcode
+   * @endcode
    */
   public function __construct($graph) {
     $this->graph = $graph;
diff --git a/core/lib/Drupal/Component/Plugin/DependentPluginInterface.php b/core/lib/Drupal/Component/Plugin/DependentPluginInterface.php
index 44d65fc..4d50100 100644
--- a/core/lib/Drupal/Component/Plugin/DependentPluginInterface.php
+++ b/core/lib/Drupal/Component/Plugin/DependentPluginInterface.php
@@ -20,14 +20,14 @@
    * @return array
    *   An array of dependencies grouped by type (config, content, module,
    *   theme). For example:
-   *   @code
+   * @code
    *   array(
    *     'config' => array('user.role.anonymous', 'user.role.authenticated'),
    *     'content' => array('node:article:f0a189e6-55fb-47fb-8005-5bef81c44d6d'),
    *     'module' => array('node', 'user'),
    *     'theme' => array('seven'),
    *   );
-   *   @endcode
+   * @endcode
    *
    * @see \Drupal\Core\Config\Entity\ConfigDependencyManager
    * @see \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php
index 6e98928..ea40ba4 100644
--- a/core/lib/Drupal/Component/Render/FormattableMarkup.php
+++ b/core/lib/Drupal/Component/Render/FormattableMarkup.php
@@ -29,17 +29,17 @@
  * - Variable placeholders should not be used within the "<" and ">" of an
  *   HTML tag, such as in HTML attribute values. This would be a security
  *   risk. Examples:
- *   @code
+ * @code
  *     // Insecure (placeholder within "<" and ">"):
  *     $this->placeholderFormat('<@variable>text</@variable>', ['@variable' => $variable]);
  *     // Insecure (placeholder within "<" and ">"):
  *     $this->placeholderFormat('<a @variable>link text</a>', ['@variable' => $variable]);
  *     // Insecure (placeholder within "<" and ">"):
  *     $this->placeholderFormat('<a title="@variable">link text</a>', ['@variable' => $variable]);
- *   @endcode
+ * @endcode
  *   Only the "href" attribute is supported via the special ":variable"
  *   placeholder, to allow simple links to be inserted:
- *   @code
+ * @code
  *     // Secure (usage of ":variable" placeholder for href attribute):
  *     $this->placeholderFormat('<a href=":variable">link text</a>', [':variable' , $variable]);
  *     // Secure (usage of ":variable" placeholder for href attribute):
@@ -49,7 +49,7 @@
  *     $this->placeholderFormat('<a href="@variable">link text</a>', ['@variable' => $variable]);
  *     // Insecure ("@variable" placeholder within "<" and ">"):
  *     $this->placeholderFormat('<a href=":url" title="@variable">link text</a>', [':url' => $url, '@variable' => $variable]);
- *   @endcode
+ * @endcode
  * To build non-minimal HTML, use an HTML template language such as Twig,
  * rather than this class.
  *
@@ -136,24 +136,24 @@ public function jsonSerialize() {
    *     - A MarkupInterface object cast to a string, the replaced value in the
    *       returned string be forcibly sanitized using
    *       \Drupal\Component\Utility\Html::escape().
-   *       @code
+   * @code
    *         $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
-   *       @endcode
+   * @endcode
    *     Use this placeholder as the default choice for anything displayed on
    *     the site, but not within HTML attributes, JavaScript, or CSS. Doing so
    *     is a security risk.
    *   - %variable: Use when the replacement value is to be wrapped in <em>
    *     tags.
    *     A call like:
-   *     @code
+   * @code
    *       $string = "%output_text";
    *       $arguments = ['%output_text' => 'text output here.'];
    *       $this->placeholderFormat($string, $arguments);
-   *     @endcode
+   * @endcode
    *     makes the following HTML code:
-   *     @code
+   * @code
    *       <em class="placeholder">text output here.</em>
-   *     @endcode
+   * @endcode
    *     As with @variable, do not use this within HTML attributes, JavaScript,
    *     or CSS. Doing so is a security risk.
    *   - :variable: Return value is escaped with
@@ -161,12 +161,12 @@ public function jsonSerialize() {
    *     protocols using UrlHelper::stripDangerousProtocols(). Use this when
    *     using the "href" attribute, ensuring the attribute value is always
    *     wrapped in quotes:
-   *     @code
+   * @code
    *     // Secure (with quotes):
    *     $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
    *     // Insecure (without quotes):
    *     $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
-   *     @endcode
+   * @endcode
    *     When ":variable" comes from arbitrary user input, the result is secure,
    *     but not guaranteed to be a valid URL (which means the resulting output
    *     could fail HTML validation). To guarantee a valid URL, use
diff --git a/core/lib/Drupal/Component/Utility/SafeMarkup.php b/core/lib/Drupal/Component/Utility/SafeMarkup.php
index b2d00a3..1c4fb1e 100644
--- a/core/lib/Drupal/Component/Utility/SafeMarkup.php
+++ b/core/lib/Drupal/Component/Utility/SafeMarkup.php
@@ -10,7 +10,7 @@
  * Contains deprecated functionality related to sanitization of markup.
  *
  * @deprecated Will be removed before Drupal 9.0.0. Use the appropriate
- *   @link sanitization sanitization functions @endlink or the @link theme_render theme and render systems @endlink
+ * @link sanitization sanitization functions @endlink or the @link theme_render theme and render systems @endlink
  *   so that the output can can be themed, escaped, and altered properly.
  *
  * @see https://www.drupal.org/node/2549395
diff --git a/core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php b/core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php
index d46b87a..3e5270a 100644
--- a/core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php
+++ b/core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php
@@ -14,7 +14,7 @@
  *
  * This command is implemented by
  * Drupal.AjaxCommands.prototype.update_build_id() defined in misc/ajax.js.
- *O
+ * O
  * @ingroup ajax
  */
 class UpdateBuildIdCommand implements CommandInterface {
diff --git a/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php b/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
index c3c83e1..4ad049b 100644
--- a/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
+++ b/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
@@ -16,7 +16,7 @@
  *   use: https://www.drupal.org/node/145218.
  * - On IE, if only LINK tags and no @import statements are used, all the CSS
  *   files are downloaded in parallel, resulting in faster page load, but if
- *   @import statements are used and span across multiple STYLE tags, all the
+ * @import statements are used and span across multiple STYLE tags, all the
  *   ones from one STYLE tag must be downloaded before downloading begins for
  *   the next STYLE tag. Furthermore, IE7 does not support media declaration on
  *   the @import statement, so multiple STYLE tags must be used when different
diff --git a/core/lib/Drupal/Core/Asset/CssOptimizer.php b/core/lib/Drupal/Core/Asset/CssOptimizer.php
index 4ad7ba1..3c8eb7d 100644
--- a/core/lib/Drupal/Core/Asset/CssOptimizer.php
+++ b/core/lib/Drupal/Core/Asset/CssOptimizer.php
@@ -146,7 +146,7 @@ public function loadFile($file, $optimize = NULL, $reset_basepath = TRUE) {
    *
    * @param array $matches
    *   An array of matches by a preg_replace_callback() call that scans for
-   *   @import-ed CSS files, except for external CSS files.
+   * @import-ed CSS files, except for external CSS files.
    *
    * @return
    *   The contents of the CSS file at $matches[1], with corrected paths.
diff --git a/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php b/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
index 07df709..0049b47 100644
--- a/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
+++ b/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
@@ -234,15 +234,15 @@ public function buildByExtension($extension) {
    * - js: A list of JavaScript files to include. Each file is keyed by the file
    *   path. An item can have several attributes (like HTML
    *   attributes). For example:
-   *   @code
+   * @code
    *   js:
    *     path/js/file.js: { attributes: { defer: true } }
-   *   @endcode
+   * @endcode
    *   If the file has no special attributes, just use an empty object:
-   *   @code
+   * @code
    *   js:
    *     path/js/file.js: {}
-   *   @endcode
+   * @endcode
    *   The path of the file is relative to the module or theme directory, unless
    *   it starts with a /, in which case it is relative to the Drupal root. If
    *   the file path starts with //, it will be treated as a protocol-free,
@@ -257,11 +257,11 @@ public function buildByExtension($extension) {
    *   - state
    *   - theme
    *   Each category is itself a key for a sub-list of CSS files to include:
-   *   @code
+   * @code
    *   css:
    *     component:
    *       css/file.css: {}
-   *   @endcode
+   * @endcode
    *   Just like with JavaScript files, each CSS file is the key of an object
    *   that can define specific attributes. The format of the file path is the
    *   same as for the JavaScript files.
@@ -415,7 +415,7 @@ protected function isValidUri($string) {
    *   The containing library definition.
    * @param array $sub_key
    *   An array containing the sub-keys specifying the library asset, e.g.
-   *   @code['js']@endcode or @code['css', 'component']@endcode
+   * @code['js']@endcode or @code['css', 'component']@endcode
    * @param array $overrides
    *   Specifies the overrides, this is an array where the key is the asset to
    *   be overridden while the value is overriding asset.
diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
index 852305f..35404ea 100644
--- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
+++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
@@ -103,7 +103,7 @@ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []);
    *
    * @param array $items
    *   An array of cache items, keyed by cid. In the form:
-   *   @code
+   * @code
    *   $items = array(
    *     $cid => array(
    *       // Required, will be automatically serialized if not a string.
@@ -114,7 +114,7 @@ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []);
    *       'tags' => array(),
    *     ),
    *   );
-   *   @endcode
+   * @endcode
    */
   public function setMultiple(array $items);
 
diff --git a/core/lib/Drupal/Core/Config/Config.php b/core/lib/Drupal/Core/Config/Config.php
index 7299d5e..4d28f0f 100644
--- a/core/lib/Drupal/Core/Config/Config.php
+++ b/core/lib/Drupal/Core/Config/Config.php
@@ -309,13 +309,13 @@ public function getOriginal($key = '', $apply_overrides = TRUE) {
    * @param string $key
    *   (optional) A string that maps to a key within the configuration data.
    *   For instance in the following configuration array:
-   *   @code
+   * @code
    *   array(
    *     'foo' => array(
    *       'bar' => 'baz',
    *     ),
    *   );
-   *   @endcode
+   * @endcode
    *   A key of 'foo.bar' would map to the string 'baz'. However, a key of 'foo'
    *   would map to the array('bar' => 'baz').
    *   If not supplied TRUE will be returned if there are any overrides at all
diff --git a/core/lib/Drupal/Core/Config/ConfigBase.php b/core/lib/Drupal/Core/Config/ConfigBase.php
index 4f445ea..1786ac8 100644
--- a/core/lib/Drupal/Core/Config/ConfigBase.php
+++ b/core/lib/Drupal/Core/Config/ConfigBase.php
@@ -114,13 +114,13 @@ public static function validateName($name) {
    * @param string $key
    *   A string that maps to a key within the configuration data.
    *   For instance in the following configuration array:
-   *   @code
+   * @code
    *   array(
    *     'foo' => array(
    *       'bar' => 'baz',
    *     ),
    *   );
-   *   @endcode
+   * @endcode
    *   A key of 'foo.bar' would return the string 'baz'. However, a key of 'foo'
    *   would return array('bar' => 'baz').
    *   If no key is specified, then the entire data array is returned.
diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php
index b58f963..af7764b 100644
--- a/core/lib/Drupal/Core/Config/ConfigImporter.php
+++ b/core/lib/Drupal/Core/Config/ConfigImporter.php
@@ -27,9 +27,9 @@
  * - ConfigEvents::IMPORT_VALIDATE: Events listening can throw a
  *   \Drupal\Core\Config\ConfigImporterException to prevent an import from
  *   occurring.
- *   @see \Drupal\Core\EventSubscriber\ConfigImportSubscriber
+ * @see \Drupal\Core\EventSubscriber\ConfigImportSubscriber
  * - ConfigEvents::IMPORT: Events listening can react to a successful import.
- *   @see \Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber
+ * @see \Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber
  *
  * @see \Drupal\Core\Config\ConfigImporterEvent
  */
diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php b/core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php
index 237929d..afcf6af 100644
--- a/core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php
+++ b/core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php
@@ -355,7 +355,7 @@ public function setData(array $data) {
    *   The configuration dependency name.
    * @param array $dependencies
    *   The configuration dependencies. The array is structured like this:
-   *   @code
+   * @code
    *   array(
    *     'config' => array(
    *       // An array of configuration entity object names.
@@ -371,7 +371,7 @@ public function setData(array $data) {
    *       // An array of theme names.
    *     ),
    *   );
-   *   @endcode
+   * @endcode
    *
    * @return $this
    */
diff --git a/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php b/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
index cc96882..6161816 100644
--- a/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
+++ b/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
@@ -136,7 +136,7 @@ protected function deleteConfigKeyStore(ConfigEntityTypeInterface $entity_type,
    *
    * @param \Drupal\Core\Config\Config $config
    *   The configuration object.
-   *  @param string $key
+   * @param string $key
    *   The configuration key to look for.
    * @param string $get_method
    *   Which method on the config object to call to get the value. Either 'get'
diff --git a/core/lib/Drupal/Core/Database/Schema.php b/core/lib/Drupal/Core/Database/Schema.php
index aafe175..49d42ce 100644
--- a/core/lib/Drupal/Core/Database/Schema.php
+++ b/core/lib/Drupal/Core/Database/Schema.php
@@ -452,9 +452,9 @@ public function fieldExists($table, $column) {
    *   second is the maximum length in the index. For example, the following
    *   will use the full length of the `foo` field, but limit the `bar` field to
    *   4 characters:
-   *   @code
+   * @code
    *     $fields = ['foo', ['bar', 4]];
-   *   @endcode
+   * @endcode
    * @param array $spec
    *   The table specification for the table to be altered. This is used in
    *   order to be able to ensure that the index length is not too long.
@@ -468,7 +468,7 @@ public function fieldExists($table, $column) {
    *   complete table specification. However, in the edge case of the complete
    *   table specification not being available, we can pass in a partial table
    *   definition containing only the fields that apply to the index:
-   *   @code
+   * @code
    *   $spec = [
    *     // Example partial specification for a table:
    *     'fields' => [
@@ -484,7 +484,7 @@ public function fieldExists($table, $column) {
    *       'table_example_field' => ['example_field'],
    *     ],
    *   ];
-   *   @endcode
+   * @endcode
    *   Note that the above is a partial table definition and that we would
    *   usually pass a complete table definition as obtained through
    *   hook_schema() instead.
diff --git a/core/lib/Drupal/Core/Datetime/DrupalDateTime.php b/core/lib/Drupal/Core/Datetime/DrupalDateTime.php
index f921b45..9e30591 100644
--- a/core/lib/Drupal/Core/Datetime/DrupalDateTime.php
+++ b/core/lib/Drupal/Core/Datetime/DrupalDateTime.php
@@ -38,7 +38,7 @@ class DrupalDateTime extends DateTimePlus {
    *   timezone are ignored when the $time parameter either is a UNIX timestamp
    *   (e.g. @946684800) or specifies a timezone
    *   (e.g. 2010-01-28T15:00:00+02:00).
-   *   @see http://php.net/manual/datetime.construct.php
+   * @see http://php.net/manual/datetime.construct.php
    * @param array $settings
    *   - validate_format: (optional) Boolean choice to validate the
    *     created date using the input format. The format used in
diff --git a/core/lib/Drupal/Core/Entity/DependencyTrait.php b/core/lib/Drupal/Core/Entity/DependencyTrait.php
index 81112eb..a48bb36 100644
--- a/core/lib/Drupal/Core/Entity/DependencyTrait.php
+++ b/core/lib/Drupal/Core/Entity/DependencyTrait.php
@@ -49,7 +49,7 @@ protected function addDependency($type, $name) {
    *
    * @param array $dependencies
    *   An array of dependencies keyed by the type of dependency. One example:
-   *   @code
+   * @code
    *   array(
    *     'module' => array(
    *       'node',
@@ -57,7 +57,7 @@ protected function addDependency($type, $name) {
    *       'image',
    *     ),
    *   );
-   *   @endcode
+   * @endcode
    *
    * @see \Drupal\Core\Entity\DependencyTrait::addDependency
    */
diff --git a/core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php b/core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php
index 2265cd0..b0b24f7 100644
--- a/core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php
+++ b/core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php
@@ -23,17 +23,17 @@
    * @param string $operation
    *   (optional) The operation identifying the form variation to be returned.
    *   Defaults to 'default'. This is typically used in routing:
-   *   @code
+   * @code
    *   _entity_form: node.book_outline
-   *   @endcode
+   * @endcode
    *   where "book_outline" is the value of $operation. The class name for the
    *   form for each operation (edit, delete, etc.) can be found in the form
    *   section of the handlers entity annotation. For example:
-   *   @code
+   * @code
    *   handlers = {
    *     "form" = {
    *       "delete" = "Drupal\node\Form\NodeDeleteForm",
-   *   @endcode
+   * @endcode
    *   Alternatively, the form class can be set from hook_entity_type_build().
    * @param array $form_state_additions
    *   (optional) An associative array used to build the current state of the
diff --git a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php
index d4b0608..a584e94 100644
--- a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php
+++ b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php
@@ -52,24 +52,24 @@ public function getEntityTypeId();
    *   same delta within that field. In order to limit the condition to a
    *   specific item a numeric delta should be added between the field name and
    *   the column name.
-   *   @code
+   * @code
    *   ->condition('tags.5.value', 'news')
-   *   @endcode
+   * @endcode
    *   This will require condition to be satisfied on a specific delta of the
    *   field. The condition above will require the 6th value of the field to
    *   match the provided value. Further, it's possible to create a condition on
    *   the delta itself by using '%delta'. For example,
-   *   @code
+   * @code
    *   ->condition('tags.%delta', 5)
-   *   @endcode
+   * @endcode
    *   will find only entities which have at least six tags. Finally, the
    *   condition on the delta itself accompanied with a condition on the value
    *   will require the value to appear in the specific delta range. For
    *   example,
-   *   @code
+   * @code
    *   ->condition('tags.%delta', 0, '>'))
    *   ->condition('tags.%delta.value', 'news'))
-   *   @endcode
+   * @endcode
    *   will only find the "news" tag if it is not the first value. It should be
    *   noted that conditions on specific deltas and delta ranges are only
    *   supported when querying content entities.
diff --git a/core/lib/Drupal/Core/Entity/entity.api.php b/core/lib/Drupal/Core/Entity/entity.api.php
index 2b893fd..64ee02c 100644
--- a/core/lib/Drupal/Core/Entity/entity.api.php
+++ b/core/lib/Drupal/Core/Entity/entity.api.php
@@ -416,7 +416,7 @@
  *   information for the entity page; see node_uri() for an example. You will
  *   also need to add a corresponding route to your module's routing.yml file;
  *   see the entity.node.canonical route in node.routing.yml for an example, and see
- *   @ref sec_routes below for some notes.
+ * @ref sec_routes below for some notes.
  * - Optionally, instead of defining routes, routes can be auto generated by
  *   providing a route handler. See @ref sec_routes. Otherwise, define routes
  *   and links for the various URLs associated with the entity.
@@ -486,11 +486,11 @@
  *   more more on handlers and annotation). So, in this example, block.default
  *   refers to the 'default' form handler on the block entity type, whose
  *   annotation contains:
- *   @code
+ * @code
  *   handlers = {
  *     "form" = {
  *       "default" = "Drupal\block\BlockForm",
- *   @endcode
+ * @endcode
  * If instead of YAML you want to use a route provider class:
  * - \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider provides canonical,
  *   edit-form, and delete-form routes.
diff --git a/core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php b/core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php
index a82be6a..e4ae476 100644
--- a/core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php
+++ b/core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php
@@ -168,12 +168,12 @@ public function getDefault();
    *
    * @deprecated in Drupal 8.2.x-dev and will be removed before Drupal 9.0.0.
    *   Use
-   *   @code
+   * @code
    *     \Drupal::configFactory()
    *       ->getEditable('system.theme')
    *       ->set('default', $theme)
    *       ->save();
-   *   @endcode
+   * @endcode
    */
   public function setDefault($theme);
 
diff --git a/core/lib/Drupal/Core/Field/FieldItemInterface.php b/core/lib/Drupal/Core/Field/FieldItemInterface.php
index f23395c..fc308d2 100644
--- a/core/lib/Drupal/Core/Field/FieldItemInterface.php
+++ b/core/lib/Drupal/Core/Field/FieldItemInterface.php
@@ -399,14 +399,14 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state);
    * @return array
    *   An array of dependencies grouped by type (config, content, module,
    *   theme). For example:
-   *   @code
+   * @code
    *   array(
    *     'config' => array('user.role.anonymous', 'user.role.authenticated'),
    *     'content' => array('node:article:f0a189e6-55fb-47fb-8005-5bef81c44d6d'),
    *     'module' => array('node', 'user'),
    *     'theme' => array('seven'),
    *   );
-   *   @endcode
+   * @endcode
    *
    * @see \Drupal\Core\Config\Entity\ConfigDependencyManager
    * @see \Drupal\Core\Config\Entity\ConfigEntityInterface::getConfigDependencyName()
@@ -432,14 +432,14 @@ public static function calculateDependencies(FieldDefinitionInterface $field_def
    * @return array
    *   An array of dependencies grouped by type (config, content, module,
    *   theme). For example:
-   *   @code
+   * @code
    *   [
    *     'config' => ['user.role.anonymous', 'user.role.authenticated'],
    *     'content' => ['node:article:f0a189e6-55fb-47fb-8005-5bef81c44d6d'],
    *     'module' => ['node', 'user'],
    *     'theme' => ['seven'],
    *   ];
-   *   @endcode
+   * @endcode
    *
    * @see \Drupal\Core\Config\Entity\ConfigDependencyManager
    * @see \Drupal\Core\Config\Entity\ConfigEntityInterface::getConfigDependencyName()
diff --git a/core/lib/Drupal/Core/Form/FormBuilderInterface.php b/core/lib/Drupal/Core/Form/FormBuilderInterface.php
index ca79437..4dda257 100644
--- a/core/lib/Drupal/Core/Form/FormBuilderInterface.php
+++ b/core/lib/Drupal/Core/Form/FormBuilderInterface.php
@@ -157,16 +157,16 @@ public function rebuildForm($form_id, FormStateInterface &$form_state, $old_form
    *   should not be included here, but rather placed directly in the
    *   $form_state build info array so that the reference can be preserved. For
    *   example, a form builder function with the following signature:
-   *   @code
+   * @code
    *   function mymodule_form($form, FormStateInterface &$form_state, &$object) {
    *   }
-   *   @endcode
+   * @endcode
    *   would be called via self::submitForm() as follows:
-   *   @code
+   * @code
    *   $form_state->setValues($my_form_values);
    *   $form_state->addBuildInfo('args', [&$object]);
    *   \Drupal::formBuilder()->submitForm('mymodule_form', $form_state);
-   *   @endcode
+   * @endcode
    * For example:
    * @code
    * // register a new user
diff --git a/core/lib/Drupal/Core/Form/form.api.php b/core/lib/Drupal/Core/Form/form.api.php
index 554e271..660d6ab 100644
--- a/core/lib/Drupal/Core/Form/form.api.php
+++ b/core/lib/Drupal/Core/Form/form.api.php
@@ -37,11 +37,11 @@
  *     is not initially set when this callback is first called, which makes it
  *     useful for determining whether it is the first call of the callback or
  *     not:
- *     @code
+ * @code
  *       if (empty($context['sandbox'])) {
  *         // Perform set-up steps here.
  *       }
- *     @endcode
+ * @endcode
  *     The values in the sandbox are stored and updated in the database between
  *     http requests until the batch finishes processing. This avoids problems
  *     if the user navigates away from the page before the batch finishes.
diff --git a/core/lib/Drupal/Core/Image/ImageInterface.php b/core/lib/Drupal/Core/Image/ImageInterface.php
index 29d092a..32e8c4f 100644
--- a/core/lib/Drupal/Core/Image/ImageInterface.php
+++ b/core/lib/Drupal/Core/Image/ImageInterface.php
@@ -83,9 +83,9 @@ public function getToolkitId();
    * @param array $arguments
    *   (optional) An associative array of arguments to be passed to the toolkit
    *   operation; for instance,
-   *   @code
+   * @code
    *     ['width' => 50, 'height' => 100, 'upscale' => TRUE]
-   *   @endcode
+   * @endcode
    *   Defaults to an empty array.
    *
    * @return bool
diff --git a/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php b/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
index 300def9..fd735a6 100644
--- a/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
+++ b/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
@@ -42,8 +42,8 @@ public function __construct($site_path, RendererInterface $renderer) {
   }
 
   /**
-    * {@inheritdoc}
-    */
+   * {@inheritdoc}
+   */
   public static function create(ContainerInterface $container) {
     return new static(
       $container->get('site.path'),
diff --git a/core/lib/Drupal/Core/Language/language.api.php b/core/lib/Drupal/Core/Language/language.api.php
index 33c1ce6..7674e25 100644
--- a/core/lib/Drupal/Core/Language/language.api.php
+++ b/core/lib/Drupal/Core/Language/language.api.php
@@ -47,12 +47,12 @@
  *   for more information.
  * - For annotation, make sure that any text that is displayable in the UI
  *   is wrapped in \@Translation(). See the
- *   @link plugin_translatable Plugin translatables topic @endlink for more
+ * @link plugin_translatable Plugin translatables topic @endlink for more
  *   information.
  * - Content entities are translatable if they have
- *   @code
+ * @code
  *   translatable = TRUE,
- *   @endcode
+ * @endcode
  *   in their annotation. The use of entities to store user-editable content to
  *   be displayed in the site is highly recommended over creating your own
  *   method for storing, retrieving, displaying, and internationalizing content.
@@ -62,7 +62,7 @@
  *   (defined in core/misc/drupal.js) to translate UI text.
  * - If you are using a custom module, theme, etc. that is not hosted on
  *   Drupal.org, see
- *   @link interface_translation_properties Interface translation properties topic @endlink
+ * @link interface_translation_properties Interface translation properties topic @endlink
  *   for information on how to make sure your UI text is translatable.
  *
  * @section translation Translation
diff --git a/core/lib/Drupal/Core/Logger/LogMessageParserInterface.php b/core/lib/Drupal/Core/Logger/LogMessageParserInterface.php
index 321d0c0..a93639b 100644
--- a/core/lib/Drupal/Core/Logger/LogMessageParserInterface.php
+++ b/core/lib/Drupal/Core/Logger/LogMessageParserInterface.php
@@ -13,9 +13,9 @@
    * For a value to be considered as a placeholder should be in the following
    * formats:
    *   - PSR3 format:
-   *     @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message
+   * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message
    *   - Drupal specific string placeholder format:
-   *     @see \Drupal\Component\Utility\SafeMarkup::format()
+   * @see \Drupal\Component\Utility\SafeMarkup::format()
    *
    * Values in PSR3 format will be transformed to SafeMarkup::format() format.
    *
diff --git a/core/lib/Drupal/Core/Mail/MailInterface.php b/core/lib/Drupal/Core/Mail/MailInterface.php
index fbde1b8..9b449e1 100644
--- a/core/lib/Drupal/Core/Mail/MailInterface.php
+++ b/core/lib/Drupal/Core/Mail/MailInterface.php
@@ -41,7 +41,7 @@ public function format(array $message);
    *     'user_password_reset'.
    *   - to: The mail address or addresses where the message will be sent to.
    *     The formatting of this string will be validated with the
-   *     @link http://php.net/manual/filter.filters.validate.php PHP email validation filter. @endlink
+   * @link http://php.net/manual/filter.filters.validate.php PHP email validation filter. @endlink
    *     Some examples:
    *     - user@example.com
    *     - user@example.com, anotheruser@example.com
diff --git a/core/lib/Drupal/Core/Mail/MailManager.php b/core/lib/Drupal/Core/Mail/MailManager.php
index 348dcee..33d53e5 100644
--- a/core/lib/Drupal/Core/Mail/MailManager.php
+++ b/core/lib/Drupal/Core/Mail/MailManager.php
@@ -188,7 +188,7 @@ public function mail($module, $key, $to, $langcode, $params = [], $reply = NULL,
    * @param string $to
    *   The email address or addresses where the message will be sent to. The
    *   formatting of this string will be validated with the
-   *   @link http://php.net/manual/filter.filters.validate.php PHP email validation filter. @endlink
+   * @link http://php.net/manual/filter.filters.validate.php PHP email validation filter. @endlink
    *   Some examples are:
    *   - user@example.com
    *   - user@example.com, anotheruser@example.com
diff --git a/core/lib/Drupal/Core/Mail/MailManagerInterface.php b/core/lib/Drupal/Core/Mail/MailManagerInterface.php
index 0228fbc..c847920 100644
--- a/core/lib/Drupal/Core/Mail/MailManagerInterface.php
+++ b/core/lib/Drupal/Core/Mail/MailManagerInterface.php
@@ -93,7 +93,7 @@
    * @param string $to
    *   The email address or addresses where the message will be sent to. The
    *   formatting of this string will be validated with the
-   *   @link http://php.net/manual/filter.filters.validate.php PHP email validation filter. @endlink
+   * @link http://php.net/manual/filter.filters.validate.php PHP email validation filter. @endlink
    *   Some examples are:
    *   - user@example.com
    *   - user@example.com, anotheruser@example.com
diff --git a/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php b/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
index 0e36e13..82fe5e8 100644
--- a/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
+++ b/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
@@ -137,7 +137,7 @@ public function delete($id);
    * @return array
    *   An array with 2 elements:
    *   - tree: A fully built menu tree containing an array.
-   *     @see static::treeDataRecursive()
+   * @see static::treeDataRecursive()
    *   - route_names: An array of all route names used in the tree.
    */
   public function loadTreeData($menu_name, MenuTreeParameters $parameters);
diff --git a/core/lib/Drupal/Core/Menu/menu.api.php b/core/lib/Drupal/Core/Menu/menu.api.php
index f932cf9..970383c 100644
--- a/core/lib/Drupal/Core/Menu/menu.api.php
+++ b/core/lib/Drupal/Core/Menu/menu.api.php
@@ -378,9 +378,9 @@ function hook_local_tasks_alter(&$local_tasks) {
  * @param array $route_parameters
  *   The route parameters passed to each route_name of the contextual links.
  *   For example:
- *   @code
+ * @code
  *   array('node' => $node->id())
- *   @endcode
+ * @endcode
  *
  * @see \Drupal\Core\Menu\ContextualLinkManager
  *
@@ -447,7 +447,7 @@ function hook_system_breadcrumb_alter(\Drupal\Core\Breadcrumb\Breadcrumb &$bread
  *   - text: The link text for the anchor tag. If the hook implementation
  *     changes this text it needs to preserve the safeness of the original text.
  *     Using t() or \Drupal\Component\Utility\SafeMarkup::format() with
- *     @placeholder is recommended as this will escape the original text if
+ * @placeholder is recommended as this will escape the original text if
  *     necessary. If the resulting text is not marked safe it will be escaped.
  *   - url_is_active: Whether or not the link points to the currently active
  *     URL.
diff --git a/core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php b/core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php
index dca4acc..e289bbf 100644
--- a/core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php
+++ b/core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php
@@ -22,7 +22,7 @@
    *
    * @param string[] $context_ids
    *   Fully qualified context IDs, which looks like
-   *   @{service_id}:{unqualified_context_id}, so for example
+   * @{service_id}:{unqualified_context_id}, so for example
    *   node.node_route_context:node.
    *
    * @return \Drupal\Core\Plugin\Context\ContextInterface[]
diff --git a/core/lib/Drupal/Core/Render/Element/RenderElement.php b/core/lib/Drupal/Core/Render/Element/RenderElement.php
index 5a26db0..6db8b93 100644
--- a/core/lib/Drupal/Core/Render/Element/RenderElement.php
+++ b/core/lib/Drupal/Core/Render/Element/RenderElement.php
@@ -47,18 +47,18 @@
  *   #markup, #prefix, #suffix, etc.
  * - #attached: (array) Array of attachments associated with the element.
  *   See the "Attaching libraries in render arrays" section of the
- *   @link theme_render Render API topic @endlink for an overview, and
+ * @link theme_render Render API topic @endlink for an overview, and
  *   \Drupal\Core\Render\AttachmentsResponseProcessorInterface::processAttachments
  *   for a list of what this can contain. Besides this list, it may also contain
  *   a 'placeholders' element; see the Placeholders section of the
- *   @link theme_render Render API topic @endlink for an overview.
+ * @link theme_render Render API topic @endlink for an overview.
  * - #attributes: (array) HTML attributes for the element. The first-level
  *   keys are the attribute names, such as 'class', and the attributes are
  *   usually given as an array of string values to apply to that attribute
  *   (the rendering system will concatenate them together into a string in
  *   the HTML output).
  * - #cache: (array) Cache information. See the Caching section of the
- *   @link theme_render Render API topic @endlink for more information.
+ * @link theme_render Render API topic @endlink for more information.
  * - #children: (array, internal) Array of child elements of this element.
  *   Set and used during the rendering process.
  * - #create_placeholder: (bool) TRUE if the element has placeholders that
@@ -75,7 +75,7 @@
  *   simple: no properties except #lazy_builder, #cache, #weight, and
  *   #create_placeholder, and no children. A lazy builder callback typically
  *   generates #markup and/or placeholders; see the Placeholders section of the
- *   @link theme_render Render API topic @endlink for information about
+ * @link theme_render Render API topic @endlink for information about
  *   placeholders.
  * - #markup: (string) During rendering, this will be set to the HTML markup
  *   output. It can also be set on input, as a fallback if there is no
diff --git a/core/lib/Drupal/Core/Render/Element/Select.php b/core/lib/Drupal/Core/Render/Element/Select.php
index 300c244..58891db 100644
--- a/core/lib/Drupal/Core/Render/Element/Select.php
+++ b/core/lib/Drupal/Core/Render/Element/Select.php
@@ -26,7 +26,7 @@
  *     since all user agents automatically preselect the first available
  *     option. But people are used to this being the behavior of select
  *     controls.
- *     @todo Address the above issue in Drupal 8.
+ * @todo Address the above issue in Drupal 8.
  *   - If #required is not TRUE and this value is set (most commonly to an
  *     empty string), then an extra option (see #empty_option above)
  *     representing a "non-selection" is added with this as its value.
diff --git a/core/lib/Drupal/Core/Render/Element/Tableselect.php b/core/lib/Drupal/Core/Render/Element/Tableselect.php
index 24eb431..cae619b 100644
--- a/core/lib/Drupal/Core/Render/Element/Tableselect.php
+++ b/core/lib/Drupal/Core/Render/Element/Tableselect.php
@@ -115,7 +115,7 @@ public static function valueCallback(&$element, $input, FormStateInterface $form
    *   properties can include #attributes, which is added to the
    *   table row's HTML attributes; see table.html.twig. An example of per-row
    *   options:
-   *   @code
+   * @code
    *     $options = array(
    *       array(
    *         'title' => $this->t('How to Learn Drupal'),
@@ -141,7 +141,7 @@ public static function valueCallback(&$element, $input, FormStateInterface $form
    *       '#options' => $options,
    *       '#empty' => $this->t('No content available.'),
    *     );
-   *   @endcode
+   * @endcode
    *
    * @return array
    *   The processed element.
diff --git a/core/lib/Drupal/Core/Render/RendererInterface.php b/core/lib/Drupal/Core/Render/RendererInterface.php
index 5f8802d..ba6c9e6 100644
--- a/core/lib/Drupal/Core/Render/RendererInterface.php
+++ b/core/lib/Drupal/Core/Render/RendererInterface.php
@@ -232,16 +232,16 @@ public function renderPlaceholder($placeholder, array $elements);
    *     #theme_wrappers hook by setting the hook name as the key and an array
    *     of overrides as the value in #theme_wrappers array.
    *     For example, if we have a render element as follows:
-   *     @code
+   * @code
    *     array(
    *       '#theme' => 'image',
    *       '#attributes' => array('class' => array('foo')),
    *       '#theme_wrappers' => array('container'),
    *     );
-   *     @endcode
+   * @endcode
    *     and we need to pass the class 'bar' as an attribute for 'container', we
    *     can rewrite our element thus:
-   *     @code
+   * @code
    *     array(
    *       '#theme' => 'image',
    *       '#attributes' => array('class' => array('foo')),
@@ -251,7 +251,7 @@ public function renderPlaceholder($placeholder, array $elements);
    *         ),
    *       ),
    *     );
-   *      @endcode
+   * @endcode
    *   - If this element has an array of #post_render functions defined, they
    *     are called sequentially to modify the rendered #children. Unlike
    *     #pre_render functions, #post_render functions are passed both the
diff --git a/core/lib/Drupal/Core/Render/theme.api.php b/core/lib/Drupal/Core/Render/theme.api.php
index 754641c..42dd62b 100644
--- a/core/lib/Drupal/Core/Render/theme.api.php
+++ b/core/lib/Drupal/Core/Render/theme.api.php
@@ -183,22 +183,22 @@
  * - Conditional page-level assets (loaded on all pages where the theme is in
  *   use and a certain condition is met): these are attached in
  *   hook_page_attachments_alter(), e.g.:
- *   @code
+ * @code
  *   function THEME_page_attachments_alter(array &$page) {
  *     if ($some_condition) {
  *       $page['#attached']['library'][] = 'mytheme/something';
  *     }
  *   }
- *   @endcode
+ * @endcode
  * - Template-specific assets (loaded on all pages where a specific template is
  *   in use): these can be added by in preprocessing functions, using @code
  *   $variables['#attached'] @endcode, e.g.:
- *   @code
+ * @code
  *   function THEME_preprocess_menu_local_action(array &$variables) {
  *     // We require Modernizr's touch test for button styling.
  *     $variables['#attached']['library'][] = 'core/modernizr';
  *   }
- *   @endcode
+ * @endcode
  *
  * @see hooks
  * @see callbacks
@@ -265,7 +265,7 @@
  *   each of their theme hooks, normally in a Twig file. For more information
  *   and to discover available theme hooks, see the documentation of
  *   hook_theme() and the
- *   @link themeable Default theme implementations topic. @endlink
+ * @link themeable Default theme implementations topic. @endlink
  * - #markup: Specifies that the array provides HTML markup directly. Unless
  *   the markup is very simple, such as an explanation in a paragraph tag, it
  *   is normally preferable to use #theme or #type instead, so that the theme
@@ -284,7 +284,7 @@
  *   Xss::filter() would accept. If #plain_text is set, this value is ignored.
  *
  *   Usage example:
- *   @code
+ * @code
  *   $output['admin_filtered_string'] = [
  *     '#markup' => '<em>This is filtered using the admin tag list</em>',
  *   ];
@@ -295,10 +295,10 @@
  *   $output['escaped_string'] = [
  *     '#plain_text' => '<em>This is escaped</em>',
  *   ];
- *   @endcode
+ * @endcode
  *
- *   @see core.libraries.yml
- *   @see hook_theme()
+ * @see core.libraries.yml
+ * @see hook_theme()
  *
  * JavaScript and CSS assets are specified in the render array using the
  * #attached property (see @ref sec_attached).
@@ -1153,12 +1153,12 @@ function hook_page_bottom(array &$page_bottom) {
  *     differentiate the dynamic portion of the theme. For example, to allow
  *     forums to be themed individually, the pattern might be: 'forum__'. Then,
  *     when the forum is rendered, following render array can be used:
- *     @code
+ * @code
  *     $render_array = array(
  *       '#theme' => array('forum__' . $tid, 'forum'),
  *       '#forum' => $forum,
  *     );
- *     @endcode
+ * @endcode
  *   - preprocess functions: A list of functions used to preprocess this data.
  *     Ordinarily this won't be used; it's automatically filled in. By default,
  *     for a module this will be filled in as template_preprocess_HOOK. For
diff --git a/core/lib/Drupal/Core/Routing/routing.api.php b/core/lib/Drupal/Core/Routing/routing.api.php
index b505465..89c7eca 100644
--- a/core/lib/Drupal/Core/Routing/routing.api.php
+++ b/core/lib/Drupal/Core/Routing/routing.api.php
@@ -60,10 +60,10 @@
  *   - _controller: A callable, usually a method on a page controller class
  *     (see @ref sec_controller below for details).
  *   - _form: A form controller class. See the
- *     @link form_api Form API topic @endlink for more information about
+ * @link form_api Form API topic @endlink for more information about
  *     form controllers.
  *   - _entity_form: A form for editing an entity. See the
- *     @link entity_api Entity API topic @endlink for more information.
+ * @link entity_api Entity API topic @endlink for more information.
  * - The 'requirements' section is used in Drupal to give access permission
  *   instructions (it has other uses in the Symfony framework). Most
  *   routes have a simple permission-based access scheme, as shown in this
@@ -99,7 +99,7 @@
  * only requirement is that the method specified in your *.routing.yml file
  * returns:
  * - A render array (see the
- *   @link theme_render Theme and render topic @endlink for more information).
+ * @link theme_render Theme and render topic @endlink for more information).
  *   This render array is then rendered in the requested format (HTML, dialog,
  *   modal, AJAX are supported by default). In the case of HTML, it will be
  *   surrounded by blocks by default: the Block module is enabled by default,
diff --git a/core/lib/Drupal/Core/Session/SessionManager.php b/core/lib/Drupal/Core/Session/SessionManager.php
index 6071031..8e9bce8 100644
--- a/core/lib/Drupal/Core/Session/SessionManager.php
+++ b/core/lib/Drupal/Core/Session/SessionManager.php
@@ -80,7 +80,7 @@ class SessionManager extends NativeSessionStorage implements SessionManagerInter
    *   The session configuration interface.
    * @param \Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy|Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler|\SessionHandlerInterface|null $handler
    *   The object to register as a PHP session handler.
-   *   @see \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::setSaveHandler()
+   * @see \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::setSaveHandler()
    */
   public function __construct(RequestStack $request_stack, Connection $connection, MetadataBag $metadata_bag, SessionConfigurationInterface $session_configuration, $handler = NULL) {
     $options = [];
diff --git a/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php b/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
index c435f79..b02ce9f 100644
--- a/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
+++ b/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
@@ -56,7 +56,7 @@
    *     translate to a language other than what is used to display the page.
    *   - 'context' (defaults to the empty context): The context the source
    *     string belongs to. See the
-   *     @link i18n Internationalization topic @endlink for more information
+   * @link i18n Internationalization topic @endlink for more information
    *     about string contexts.
    *
    * @return \Drupal\Core\StringTranslation\TranslatableMarkup
diff --git a/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php b/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php
index 6a977b4..c56d1d4 100644
--- a/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php
+++ b/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php
@@ -34,7 +34,7 @@
    *     translate to a language other than what is used to display the page.
    *   - 'context' (defaults to the empty context): The context the source
    *     string belongs to. See the
-   *     @link i18n Internationalization topic @endlink for more information
+   * @link i18n Internationalization topic @endlink for more information
    *     about string contexts.
    *
    * @return \Drupal\Core\StringTranslation\TranslatableMarkup
diff --git a/core/lib/Drupal/Core/Url.php b/core/lib/Drupal/Core/Url.php
index 76dc46c..0bf8ab9 100644
--- a/core/lib/Drupal/Core/Url.php
+++ b/core/lib/Drupal/Core/Url.php
@@ -182,9 +182,9 @@ public static function fromRouteMatch(RouteMatchInterface $route_match) {
    *   to search for existing resources, but also may type one of these
    *   characters to link to (e.g.) a specific path on the site.
    *   (With regard to the URI specification, the user input is treated as a
-   *   @link https://tools.ietf.org/html/rfc3986#section-4.2 relative URI reference @endlink
+   * @link https://tools.ietf.org/html/rfc3986#section-4.2 relative URI reference @endlink
    *   where the relative part is of type
-   *   @link https://tools.ietf.org/html/rfc3986#section-3.3 path-abempty @endlink.)
+   * @link https://tools.ietf.org/html/rfc3986#section-3.3 path-abempty @endlink.)
    * @param array $options
    *   (optional) An array of options. See Url::fromUri() for details.
    *
diff --git a/core/lib/Drupal/Core/Utility/Token.php b/core/lib/Drupal/Core/Utility/Token.php
index a250d58..d80d6cd 100644
--- a/core/lib/Drupal/Core/Utility/Token.php
+++ b/core/lib/Drupal/Core/Utility/Token.php
@@ -163,11 +163,11 @@ public function __construct(ModuleHandlerInterface $module_handler, CacheBackend
    *   attached to the same render array that contains the token-replaced text,
    *   callers of this method are encouraged to pass in a BubbleableMetadata
    *   object and apply it to the corresponding render array. For example:
-   *   @code
+   * @code
    *     $bubbleable_metadata = new BubbleableMetadata();
    *     $build['#markup'] = $token_service->replace('Tokens: [node:nid] [current-user:uid]', ['node' => $node], [], $bubbleable_metadata);
    *     $bubbleable_metadata->applyTo($build);
-   *   @endcode
+   * @endcode
    *
    *   When the caller does not pass in a BubbleableMetadata object, this
    *   method creates a local one, and applies the collected metadata to the
diff --git a/core/lib/Drupal/Core/Utility/token.api.php b/core/lib/Drupal/Core/Utility/token.api.php
index 5916752..f1b6010 100644
--- a/core/lib/Drupal/Core/Utility/token.api.php
+++ b/core/lib/Drupal/Core/Utility/token.api.php
@@ -48,19 +48,19 @@
  *   'system.site') and related objects (e.g., $node->getOwner()),
  *   implementations of this hook must add the corresponding metadata.
  *   For example:
- *   @code
+ * @code
  *     $bubbleable_metadata->addCacheableDependency(\Drupal::config('system.site'));
  *     $bubbleable_metadata->addCacheableDependency($node->getOwner());
- *   @endcode
+ * @endcode
  *
  *   Additionally, implementations of this hook, must forward
  *   $bubbleable_metadata to the chained tokens that they invoke.
  *   For example:
- *   @code
+ * @code
  *     if ($created_tokens = $token_service->findWithPrefix($tokens, 'created')) {
  *       $replacements = $token_service->generate('date', $created_tokens, array('date' => $node->getCreatedTime()), $options, $bubbleable_metadata);
  *     }
- *   @endcode
+ * @endcode
  *
  * @return array
  *   An associative array of replacement values, keyed by the raw [type:token]
diff --git a/core/modules/block/block.api.php b/core/modules/block/block.api.php
index 4c7faf5..226479e 100644
--- a/core/modules/block/block.api.php
+++ b/core/modules/block/block.api.php
@@ -21,13 +21,13 @@
  * - Define a Block plugin by creating a new class that implements the
  *   \Drupal\Core\Block\BlockPluginInterface, in namespace Plugin\Block under your
  *   module namespace. For more information about creating plugins, see the
- *   @link plugin_api Plugin API topic. @endlink
+ * @link plugin_api Plugin API topic. @endlink
  * - Usually you will want to extend the \Drupal\Core\Block\BlockBase class, which
  *   provides a common configuration form and utility methods for getting and
  *   setting configuration in the block configuration entity.
  * - Block plugins use the annotations defined by
  *   \Drupal\Core\Block\Annotation\Block. See the
- *   @link annotation Annotations topic @endlink for more information about
+ * @link annotation Annotations topic @endlink for more information about
  *   annotations.
  *
  * The Block API also makes use of Condition plugins, for conditional block
diff --git a/core/modules/block/tests/src/Traits/BlockCreationTrait.php b/core/modules/block/tests/src/Traits/BlockCreationTrait.php
index fe0a379..b167d6f 100644
--- a/core/modules/block/tests/src/Traits/BlockCreationTrait.php
+++ b/core/modules/block/tests/src/Traits/BlockCreationTrait.php
@@ -20,11 +20,11 @@
    *   (optional) An associative array of settings for the block entity.
    *   Override the defaults by specifying the key and value in the array, for
    *   example:
-   *   @code
+   * @code
    *     $this->drupalPlaceBlock('system_powered_by_block', array(
    *       'label' => t('Hello, world!'),
    *     ));
-   *   @endcode
+   * @endcode
    *   The following defaults are provided:
    *   - label: Random string.
    *   - ID: Random string.
diff --git a/core/modules/comment/src/CommentManager.php b/core/modules/comment/src/CommentManager.php
index 80cc427..0301142 100644
--- a/core/modules/comment/src/CommentManager.php
+++ b/core/modules/comment/src/CommentManager.php
@@ -70,7 +70,7 @@ class CommentManager implements CommentManagerInterface {
    *   The string translation service.
    * @param \Drupal\Core\Routing\UrlGeneratorInterface $url_generator
    *   The url generator service.
-   *  @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
+   * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
    *   The module handler service.
    * @param \Drupal\Core\Session\AccountInterface $current_user
    *   The current user.
diff --git a/core/modules/contextual/src/Element/ContextualLinks.php b/core/modules/contextual/src/Element/ContextualLinks.php
index e5b58fb..8cd8e1c 100644
--- a/core/modules/contextual/src/Element/ContextualLinks.php
+++ b/core/modules/contextual/src/Element/ContextualLinks.php
@@ -44,7 +44,7 @@ public function getInfo() {
    *   the following keys:
    *   - route_parameters: The route parameters passed to the url generator.
    *   - metadata: Any additional data needed in order to alter the link.
-   *   @code
+   * @code
    *     array('#contextual_links' => array(
    *       'block' => array(
    *         'route_parameters' => array('block' => 'system.menu-tools'),
@@ -53,7 +53,7 @@ public function getInfo() {
    *         'route_parameters' => array('menu' => 'tools'),
    *       ),
    *     ))
-   *   @endcode
+   * @endcode
    *
    * @return array
    *   A renderable array representing contextual links.
diff --git a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
index e3b9daf..ce813c6 100644
--- a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
+++ b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
@@ -16,7 +16,7 @@
  *   field_types = {
  *     "datetime"
  *   }
- *)
+ * )
  */
 class DateTimeCustomFormatter extends DateTimeFormatterBase {
 
diff --git a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
index 8ddfdda..606484b 100644
--- a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
+++ b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
@@ -15,7 +15,7 @@
  *   field_types = {
  *     "datetime"
  *   }
- *)
+ * )
  */
 class DateTimePlainFormatter extends DateTimeFormatterBase {
 
diff --git a/core/modules/dblog/tests/src/Functional/DbLogTest.php b/core/modules/dblog/tests/src/Functional/DbLogTest.php
index 5b82282..c52a59d 100644
--- a/core/modules/dblog/tests/src/Functional/DbLogTest.php
+++ b/core/modules/dblog/tests/src/Functional/DbLogTest.php
@@ -245,7 +245,7 @@ protected function clearLogsEntries() {
    *   (optional) The log entry type.
    * @param string $severity
    *   (optional) The log entry severity.
-  */
+   */
   protected function filterLogsEntries($type = NULL, $severity = NULL) {
     $edit = [];
     if (isset($type)) {
diff --git a/core/modules/field/src/Tests/Number/NumberFieldTest.php b/core/modules/field/src/Tests/Number/NumberFieldTest.php
index 64da6c1..7739426 100644
--- a/core/modules/field/src/Tests/Number/NumberFieldTest.php
+++ b/core/modules/field/src/Tests/Number/NumberFieldTest.php
@@ -269,8 +269,8 @@ public function testNumberIntegerField() {
   }
 
   /**
-  * Test float field.
-  */
+   * Test float field.
+   */
   public function testNumberFloatField() {
     // Create a field with settings to validate.
     $field_name = Unicode::strtolower($this->randomMachineName());
diff --git a/core/modules/field_ui/src/Form/EntityDisplayFormBase.php b/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
index 06eed1f..f2cfe3c 100644
--- a/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
+++ b/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
@@ -75,7 +75,7 @@ public function getEntityFromRouteMatch(RouteMatchInterface $route_match, $entit
    *
    * @return array
    *   Example usage:
-   *   @code
+   * @code
    *     return array(
    *       'content' => array(
    *         // label for the region.
@@ -87,7 +87,7 @@ public function getEntityFromRouteMatch(RouteMatchInterface $route_match, $entit
    *         'message' => $this->t('No field is displayed.'),
    *       ),
    *     );
-   *   @endcode
+   * @endcode
    */
   public function getRegions() {
     return [
diff --git a/core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php b/core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php
index 8dba3b0..34cb269 100644
--- a/core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php
+++ b/core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php
@@ -16,7 +16,7 @@
  *   destination_module = "file"
  * )
  *
- *  @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use
+ * @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use
  * \Drupal\file\Plugin\migrate\field\d6\FileField instead.
  *
  * @see https://www.drupal.org/node/2751897
diff --git a/core/modules/file/src/Plugin/migrate/process/d6/CckFile.php b/core/modules/file/src/Plugin/migrate/process/d6/CckFile.php
index 7ebd157..3384d91 100644
--- a/core/modules/file/src/Plugin/migrate/process/d6/CckFile.php
+++ b/core/modules/file/src/Plugin/migrate/process/d6/CckFile.php
@@ -9,7 +9,7 @@
  *   id = "d6_cck_file"
  * )
  *
- *  @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use
+ * @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use
  * \Drupal\file\Plugin\migrate\process\d6\FieldFile instead.
  *
  * @see https://www.drupal.org/node/2751897
diff --git a/core/modules/file/src/Tests/FileFieldTestBase.php b/core/modules/file/src/Tests/FileFieldTestBase.php
index ba34c8f..bd8a57d 100644
--- a/core/modules/file/src/Tests/FileFieldTestBase.php
+++ b/core/modules/file/src/Tests/FileFieldTestBase.php
@@ -17,10 +17,10 @@
 abstract class FileFieldTestBase extends WebTestBase {
 
   /**
-  * Modules to enable.
-  *
-  * @var array
-  */
+   * Modules to enable.
+   *
+   * @var array
+   */
   public static $modules = ['node', 'file', 'file_module_test', 'field_ui'];
 
   /**
diff --git a/core/modules/file/tests/src/Functional/FileFieldTestBase.php b/core/modules/file/tests/src/Functional/FileFieldTestBase.php
index f3d1c22..832111c 100644
--- a/core/modules/file/tests/src/Functional/FileFieldTestBase.php
+++ b/core/modules/file/tests/src/Functional/FileFieldTestBase.php
@@ -16,10 +16,10 @@
   use FileFieldCreationTrait;
 
   /**
-  * Modules to enable.
-  *
-  * @var array
-  */
+   * Modules to enable.
+   *
+   * @var array
+   */
   public static $modules = ['node', 'file', 'file_module_test', 'field_ui'];
 
   /**
diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module
index 1497aba..0c27c53 100644
--- a/core/modules/filter/filter.module
+++ b/core/modules/filter/filter.module
@@ -408,7 +408,7 @@ function template_preprocess_text_format_wrapper(&$variables) {
  *   - tips: An array containing descriptions and a CSS ID in the form of
  *     'module-name/filter-id' (only used when $long is TRUE) for each
  *     filter in one or more text formats. Example:
- *     @code
+ * @code
  *       array(
  *         'Full HTML' => array(
  *           0 => array(
@@ -417,7 +417,7 @@ function template_preprocess_text_format_wrapper(&$variables) {
  *           ),
  *         ),
  *       );
- *     @endcode
+ * @endcode
  *   - long: (optional) Whether the passed-in filter tips contain extended
  *     explanations, i.e. intended to be output on the path 'filter/tips'
  *     (TRUE), or are in a short format, i.e. suitable to be displayed below a
diff --git a/core/modules/filter/src/Plugin/FilterInterface.php b/core/modules/filter/src/Plugin/FilterInterface.php
index cdbe276..94b34dd 100644
--- a/core/modules/filter/src/Plugin/FilterInterface.php
+++ b/core/modules/filter/src/Plugin/FilterInterface.php
@@ -205,7 +205,7 @@ public function process($text, $langcode);
    *   If no restrictions apply, then FALSE must be returned.
    *
    *   Here is a concrete example, for a very granular filter:
-   *     @code
+   * @code
    *     array(
    *       'allowed' => array(
    *         // Allows any attribute with any value on the <div> tag.
@@ -240,26 +240,26 @@ public function process($text, $langcode);
    *         ),
    *       )
    *     )
-   *     @endcode
+   * @endcode
    *
    *   A simpler example, for a very coarse filter:
-   *     @code
+   * @code
    *     array(
    *       'forbidden_tags' => array('iframe', 'script')
    *     )
-   *     @endcode
+   * @endcode
    *
    *   The simplest example possible: a filter that doesn't allow any HTML:
-   *     @code
+   * @code
    *     array(
    *       'allowed' => array()
    *     )
-   *     @endcode
+   * @endcode
    *
    *   And for a filter that applies no restrictions, i.e. allows any HTML:
-   *     @code
+   * @code
    *     FALSE
-   *     @endcode
+   * @endcode
    *
    * @see \Drupal\filter\Entity\FilterFormatInterface::getHtmlRestrictions()
    */
diff --git a/core/modules/filter/tests/src/Kernel/FilterKernelTest.php b/core/modules/filter/tests/src/Kernel/FilterKernelTest.php
index 7b0c029..867e379 100644
--- a/core/modules/filter/tests/src/Kernel/FilterKernelTest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterKernelTest.php
@@ -862,14 +862,14 @@ public function testUrlFilter() {
    *   each value is again an associative array whose keys are filter output
    *   strings and whose values are Booleans indicating whether the output is
    *   expected or not. For example:
-   *   @code
+   * @code
    *   $tests = array(
    *     'Input string' => array(
    *       '<p>Input string</p>' => TRUE,
    *       'Input string<br' => FALSE,
    *     ),
    *   );
-   *   @endcode
+   * @endcode
    */
   public function assertFilteredString($filter, $tests) {
     foreach ($tests as $source => $tasks) {
diff --git a/core/modules/help/help.api.php b/core/modules/help/help.api.php
index 8b4b1cc..56c4410 100644
--- a/core/modules/help/help.api.php
+++ b/core/modules/help/help.api.php
@@ -28,7 +28,7 @@
  * For detailed usage examples of:
  * - Module overview help, see content_translation_help(). Module overview
  *   help should follow
- *   @link https://www.drupal.org/node/632280 the standard help template. @endlink
+ * @link https://www.drupal.org/node/632280 the standard help template. @endlink
  * - Page-specific help using only routes, see book_help().
  * - Page-specific help using routes and $request, see block_help().
  *
diff --git a/core/modules/language/language.api.php b/core/modules/language/language.api.php
index ff04a8e..cfd2be6 100644
--- a/core/modules/language/language.api.php
+++ b/core/modules/language/language.api.php
@@ -28,7 +28,7 @@
  *     present and locked is TRUE then language-interface will be
  *     used.
  *
- *  @todo Rename the 'fixed' key to something more meaningful, for instance
+ * @todo Rename the 'fixed' key to something more meaningful, for instance
  *     'negotiation settings'. See https://www.drupal.org/node/2166879.
  *
  * @see hook_language_types_info_alter()
diff --git a/core/modules/locale/src/LocaleConfigSubscriber.php b/core/modules/locale/src/LocaleConfigSubscriber.php
index d06cb34..8674640 100644
--- a/core/modules/locale/src/LocaleConfigSubscriber.php
+++ b/core/modules/locale/src/LocaleConfigSubscriber.php
@@ -131,7 +131,7 @@ protected function updateLocaleStorage(StorableConfigBase $config, $langcode, ar
    *   The active configuration data or override data.
    * @param array|\Drupal\Core\StringTranslation\TranslatableMarkup[] $translatable
    *   The translatable array structure.
-   *   @see \Drupal\locale\LocaleConfigManager::getTranslatableData()
+   * @see \Drupal\locale\LocaleConfigManager::getTranslatableData()
    * @param string $langcode
    *   The language code to process the array with.
    * @param array $reference_config
diff --git a/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php b/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php
index a42d70f..b0898b4 100644
--- a/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php
+++ b/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php
@@ -35,7 +35,7 @@
    *   by FieldStorageDefinitionInterface::getSettings(). As an example, for a
    *   composite destination primary key that is defined by an integer and a
    *   string, the returned value might look like:
-   *   @code
+   * @code
    *     return [
    *       'id' => [
    *         'type' => 'integer',
@@ -48,27 +48,27 @@
    *         'is_ascii' => TRUE,
    *       ],
    *     ];
-   *   @endcode
+   * @endcode
    *   If 'type' points to a field plugin with multiple columns and needs to
    *   refer to a column different than 'value', the key of that column will be
    *   appended as a suffix to the plugin name, separated by dot ('.'). Example:
-   *   @code
+   * @code
    *     return [
    *       'format' => [
    *         'type' => 'text.format',
    *       ],
    *     ];
-   *   @endcode
+   * @endcode
    *   Additional custom keys/values, that are not part of field storage
    *   definition, can be passed in definitions:
-   *   @code
+   * @code
    *     return [
    *       'nid' => [
    *         'type' => 'integer',
    *         'custom_setting' => 'some_value',
    *       ],
    *     ];
-   *   @endcode
+   * @endcode
    *
    * @see \Drupal\Core\Field\FieldStorageDefinitionInterface::getSettings()
    * @see \Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem
diff --git a/core/modules/migrate/src/Plugin/MigrateSourceInterface.php b/core/modules/migrate/src/Plugin/MigrateSourceInterface.php
index 480e5ed..bcc0e10 100644
--- a/core/modules/migrate/src/Plugin/MigrateSourceInterface.php
+++ b/core/modules/migrate/src/Plugin/MigrateSourceInterface.php
@@ -59,7 +59,7 @@ public function __toString();
    *
    *   A composite source primary key that is defined by an integer and a string
    *   might look like this:
-   *   @code
+   * @code
    *     return [
    *       'id' => [
    *         'type' => 'integer',
@@ -72,18 +72,18 @@ public function __toString();
    *         'is_ascii' => TRUE,
    *       ],
    *     ];
-   *   @endcode
+   * @endcode
    *
    *   If 'type' points to a field plugin with multiple columns and needs to
    *   refer to a column different than 'value', the key of that column will be
    *   appended as a suffix to the plugin name, separated by dot ('.'). Example:
-   *   @code
+   * @code
    *     return [
    *       'format' => [
    *         'type' => 'text.format',
    *       ],
    *     ];
-   *   @endcode
+   * @endcode
    *
    *   Additional custom keys/values that are not part of field storage
    *   definition can be added as shown below. The most common setting
@@ -91,14 +91,14 @@ public function __toString();
    *   plugin in order to distinguish between ambiguous column names - for
    *   example, when a SQL source query joins two tables with the same column
    *   names.
-   *   @code
+   * @code
    *     return [
    *       'nid' => [
    *         'type' => 'integer',
    *         'alias' => 'n',
    *       ],
    *     ];
-   *   @endcode
+   * @endcode
    *
    * @see \Drupal\Core\Field\FieldStorageDefinitionInterface::getSettings()
    * @see \Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem
diff --git a/core/modules/migrate/src/Plugin/migrate/process/Download.php b/core/modules/migrate/src/Plugin/migrate/process/Download.php
index cfcba81..e7b0e45 100644
--- a/core/modules/migrate/src/Plugin/migrate/process/Download.php
+++ b/core/modules/migrate/src/Plugin/migrate/process/Download.php
@@ -22,7 +22,7 @@
  * - rename: (optional) If set, a unique destination URI is generated. If not
  *   set, the destination URI will be overwritten if it exists.
  * - guzzle_options: (optional)
- *   @link http://docs.guzzlephp.org/en/latest/request-options.html Array of request options for Guzzle. @endlink
+ * @link http://docs.guzzlephp.org/en/latest/request-options.html Array of request options for Guzzle. @endlink
  *
  * Examples:
  *
diff --git a/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php b/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php
index 9448ca2..b78e6be 100644
--- a/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php
+++ b/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php
@@ -13,7 +13,7 @@
  *
  * Available configuration keys
  * - from_format: The source format string as accepted by
- *   @link http://php.net/manual/datetime.createfromformat.php \DateTime::createFromFormat. @endlink
+ * @link http://php.net/manual/datetime.createfromformat.php \DateTime::createFromFormat. @endlink
  * - to_format: The destination format.
  * - timezone: (deprecated) String identifying the required time zone, see
  *   DateTimePlus::__construct(). The timezone configuration key is deprecated
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 ebd9334..5edf234 100644
--- a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
+++ b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
@@ -20,7 +20,7 @@ class DrupalSqlBaseTest extends MigrateTestCase {
 
   /**
    * @var \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase
-  */
+   */
   protected $base;
 
   /**
diff --git a/core/modules/node/node.post_update.php b/core/modules/node/node.post_update.php
index 43e3cd6..95d625a 100644
--- a/core/modules/node/node.post_update.php
+++ b/core/modules/node/node.post_update.php
@@ -8,8 +8,8 @@
 use Drupal\Core\Entity\Entity\EntityFormDisplay;
 
 /**
-* Load all form displays for nodes, add status with these settings, save.
-*/
+ * Load all form displays for nodes, add status with these settings, save.
+ */
 function node_post_update_configure_status_field_widget() {
   $query = \Drupal::entityQuery('entity_form_display')->condition('targetEntityType', 'node');
   $ids = $query->execute();
diff --git a/core/modules/node/src/NodePermissions.php b/core/modules/node/src/NodePermissions.php
index 1996360..99fc5f6 100644
--- a/core/modules/node/src/NodePermissions.php
+++ b/core/modules/node/src/NodePermissions.php
@@ -19,7 +19,7 @@ class NodePermissions {
    *
    * @return array
    *   The node type permissions.
-   *   @see \Drupal\user\PermissionHandlerInterface::getPermissions()
+   * @see \Drupal\user\PermissionHandlerInterface::getPermissions()
    */
   public function nodeTypePermissions() {
     $perms = [];
diff --git a/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php b/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php
index c26f3b9..152b9e4 100644
--- a/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php
+++ b/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php
@@ -13,8 +13,8 @@
 class EntityNodeType extends EntityConfigBase {
 
   /**
-     * {@inheritdoc}
-     */
+   * {@inheritdoc}
+   */
   public function import(Row $row, array $old_destination_id_values = []) {
     $entity_ids = parent::import($row, $old_destination_id_values);
     if ($row->getDestinationProperty('create_body')) {
diff --git a/core/modules/node/tests/src/Traits/NodeCreationTrait.php b/core/modules/node/tests/src/Traits/NodeCreationTrait.php
index 6e0cf6a..7d4566f 100644
--- a/core/modules/node/tests/src/Traits/NodeCreationTrait.php
+++ b/core/modules/node/tests/src/Traits/NodeCreationTrait.php
@@ -43,20 +43,20 @@ public function getNodeByTitle($title, $reset = FALSE) {
    *   (optional) An associative array of settings for the node, as used in
    *   entity_create(). Override the defaults by specifying the key and value
    *   in the array, for example:
-   *   @code
+   * @code
    *     $this->drupalCreateNode(array(
    *       'title' => t('Hello, world!'),
    *       'type' => 'article',
    *     ));
-   *   @endcode
+   * @endcode
    *   The following defaults are provided:
    *   - body: Random string using the default filter format:
-   *     @code
+   * @code
    *       $settings['body'][0] = array(
    *         'value' => $this->randomMachineName(32),
    *         'format' => filter_default_format(),
    *       );
-   *     @endcode
+   * @endcode
    *   - title: Random string.
    *   - type: 'page'.
    *   - uid: The currently logged in user, or anonymous.
diff --git a/core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php b/core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php
index a96fd7a..1eae9ef 100644
--- a/core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php
+++ b/core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php
@@ -3,10 +3,10 @@
 namespace Drupal\Tests\options\Functional;
 
 /**
-* Tests the options allowed values api.
+ * Tests the options allowed values api.
  *
  * @group options
-*/
+ */
 class OptionsDynamicValuesApiTest extends OptionsDynamicValuesTestBase {
 
   /**
diff --git a/core/modules/page_cache/tests/modules/page_cache_form_test.module b/core/modules/page_cache/tests/modules/page_cache_form_test.module
index eb76d4d..d923fdd 100644
--- a/core/modules/page_cache/tests/modules/page_cache_form_test.module
+++ b/core/modules/page_cache/tests/modules/page_cache_form_test.module
@@ -8,8 +8,8 @@
 use Drupal\Core\Form\FormStateInterface;
 
 /**
-* Implements hook_form_FORM_ID_alter().
-*/
+ * Implements hook_form_FORM_ID_alter().
+ */
 function page_cache_form_test_form_page_cache_form_test_alter(&$form, FormStateInterface $form_state, $form_id) {
   // This runs earlier than system_form_alter() so we fore-go the immutability
   // check to the process callback, by which time system_form_alter() has run.
diff --git a/core/modules/rdf/rdf.module b/core/modules/rdf/rdf.module
index 8d43298..484dd90 100644
--- a/core/modules/rdf/rdf.module
+++ b/core/modules/rdf/rdf.module
@@ -145,7 +145,7 @@ function rdf_get_namespaces() {
  * @param array $mapping
  *   An array containing a mandatory 'properties' key and optional 'datatype',
  *   'datatype_callback' and 'type' keys. For example:
- *   @code
+ * @code
  *     array(
  *       'properties' => array('schema:interactionCount'),
  *       'datatype' => 'xsd:integer',
@@ -156,7 +156,7 @@ function rdf_get_namespaces() {
  *         ),
  *       ),
  *     );
- *   @endcode
+ * @endcode
  * @param mixed $data
  *   (optional) A value that needs to be converted by the provided callback
  *   function.
diff --git a/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
index fc78691..c8dc799 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
@@ -24,8 +24,8 @@ class DateTimeFieldRdfaTest extends FieldRdfaTestBase {
   protected $testValue = '2014-01-28T06:01:01';
 
   /**
-  * {@inheritdoc}
-  */
+   * {@inheritdoc}
+   */
   public static $modules = ['datetime'];
 
   protected function setUp() {
diff --git a/core/modules/search/src/Plugin/views/filter/Search.php b/core/modules/search/src/Plugin/views/filter/Search.php
index d387d53..aa5cd13 100644
--- a/core/modules/search/src/Plugin/views/filter/Search.php
+++ b/core/modules/search/src/Plugin/views/filter/Search.php
@@ -27,9 +27,9 @@ class Search extends FilterPluginBase {
 
   /**
    * A search query to use for parsing search keywords.
-    *
-    * @var \Drupal\search\ViewsSearchQuery
-    */
+   *
+   * @var \Drupal\search\ViewsSearchQuery
+   */
   protected $searchQuery = NULL;
 
   /**
diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module
index 0e0ea2a..220c6ad 100644
--- a/core/modules/simpletest/simpletest.module
+++ b/core/modules/simpletest/simpletest.module
@@ -572,7 +572,7 @@ function simpletest_log_read($test_id, $database_prefix, $test_class) {
  * @return array[]
  *   An array of tests keyed with the groups, and then keyed by test classes.
  *   For example:
- *   @code
+ * @code
  *     $groups['Block'] => array(
  *       'BlockTestCase' => array(
  *         'name' => 'Block functionality',
@@ -580,7 +580,7 @@ function simpletest_log_read($test_id, $database_prefix, $test_class) {
  *         'group' => 'Block',
  *       ),
  *     );
- *   @endcode
+ * @endcode
  *
  * @deprecated in Drupal 8.3.x, for removal before 9.0.0 release. Use
  *   \Drupal::service('test_discovery')->getTestClasses($extension, $types)
diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php
index 441b239..f8aa7b6 100644
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php
@@ -433,12 +433,12 @@ protected function restoreBatch() {
    * @param array $values
    *   Array of values containing the untranslated string and its translation.
    *   For example:
-   *   @code
+   * @code
    *   array(
    *     '' => array('Sunday' => 'domingo'),
    *     'Long month name' => array('March' => 'marzo'),
    *   );
-   *   @endcode
+   * @endcode
    *   Pass an empty array to remove all existing custom translations for the
    *   given $langcode.
    */
@@ -884,7 +884,7 @@ protected function drupalGetXHR($path, array $options = [], array $headers = [])
    *   NULL to post to the current page. For multi-stage forms you can set the
    *   path to NULL and have it post to the last received page. Example:
    *
-   *   @code
+   * @code
    *   // First step in form.
    *   $edit = array(...);
    *   $this->drupalPostForm('some_url', $edit, t('Save'));
@@ -892,7 +892,7 @@ protected function drupalGetXHR($path, array $options = [], array $headers = [])
    *   // Second step in form.
    *   $edit = array(...);
    *   $this->drupalPostForm(NULL, $edit, t('Save'));
-   *   @endcode
+   * @endcode
    * @param $edit
    *   Field data in an associative array. Changes the current input fields
    *   (where possible) to the values indicated.
@@ -900,23 +900,23 @@ protected function drupalGetXHR($path, array $options = [], array $headers = [])
    *   When working with form tests, the keys for an $edit element should match
    *   the 'name' parameter of the HTML of the form. For example, the 'body'
    *   field for a node has the following HTML:
-   *   @code
+   * @code
    *   <textarea id="edit-body-und-0-value" class="text-full form-textarea
    *    resize-vertical" placeholder="" cols="60" rows="9"
    *    name="body[0][value]"></textarea>
-   *   @endcode
+   * @endcode
    *   When testing this field using an $edit parameter, the code becomes:
-   *   @code
+   * @code
    *   $edit["body[0][value]"] = 'My test value';
-   *   @endcode
+   * @endcode
    *
    *   A checkbox can be set to TRUE to be checked and should be set to FALSE to
    *   be unchecked. Multiple select fields can be tested using 'name[]' and
    *   setting each of the desired values in an array:
-   *   @code
+   * @code
    *   $edit = array();
    *   $edit['name[]'] = array('value1', 'value2');
-   *   @endcode
+   * @endcode
    * @param $submit
    *   Value of the submit button whose click is to be emulated. For example,
    *   t('Save'). The processing of the request depends on this value. For
diff --git a/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php b/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
index dcb6983..37aa18e 100644
--- a/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
+++ b/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
@@ -12,10 +12,10 @@
 class NodeStatisticsDatabaseStorage implements StatisticsStorageInterface {
 
   /**
-  * The database connection used.
-  *
-  * @var \Drupal\Core\Database\Connection
-  */
+   * The database connection used.
+   *
+   * @var \Drupal\Core\Database\Connection
+   */
   protected $connection;
 
   /**
diff --git a/core/modules/system/src/Form/SiteMaintenanceModeForm.php b/core/modules/system/src/Form/SiteMaintenanceModeForm.php
index 58b1f1a..e5a7b36 100644
--- a/core/modules/system/src/Form/SiteMaintenanceModeForm.php
+++ b/core/modules/system/src/Form/SiteMaintenanceModeForm.php
@@ -24,10 +24,10 @@ class SiteMaintenanceModeForm extends ConfigFormBase {
   protected $state;
 
   /**
-  * The permission handler.
-  *
-  * @var \Drupal\user\PermissionHandlerInterface
-  */
+   * The permission handler.
+   *
+   * @var \Drupal\user\PermissionHandlerInterface
+   */
   protected $permissionHandler;
 
   /**
diff --git a/core/modules/system/tests/modules/entity_test/src/EntityTestPermissions.php b/core/modules/system/tests/modules/entity_test/src/EntityTestPermissions.php
index ccb66cf..9afa5a6 100644
--- a/core/modules/system/tests/modules/entity_test/src/EntityTestPermissions.php
+++ b/core/modules/system/tests/modules/entity_test/src/EntityTestPermissions.php
@@ -17,7 +17,7 @@ class EntityTestPermissions {
    *
    * @return array
    *   An array of entity_test_bundle permissions.
-   *   @see \Drupal\user\PermissionHandlerInterface::getPermissions()
+   * @see \Drupal\user\PermissionHandlerInterface::getPermissions()
    */
   public function entityTestBundlePermissions() {
     $perms = [];
diff --git a/core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php b/core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php
index 93be201..15f0f60 100644
--- a/core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php
+++ b/core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php
@@ -13,9 +13,9 @@ class TestExtension extends \Twig_Extension {
    * @return array
    *   A key/value array that defines custom Twig functions. The key denotes the
    *   function name used in the tag, e.g.:
-   *   @code
+   * @code
    *   {{ testfunc() }}
-   *   @endcode
+   * @endcode
    *
    *   The value is a standard PHP callback that defines what the function does.
    */
@@ -31,9 +31,9 @@ public function getFunctions() {
    * @return array
    *   A key/value array that defines custom Twig filters. The key denotes the
    *   filter name used in the tag, e.g.:
-   *   @code
+   * @code
    *   {{ foo|testfilter }}
-   *   @endcode
+   * @endcode
    *
    *   The value is a standard PHP callback that defines what the filter does.
    */
diff --git a/core/modules/taxonomy/src/Plugin/views/argument/VocabularyVid.php b/core/modules/taxonomy/src/Plugin/views/argument/VocabularyVid.php
index 3527ee5..a4b525d 100644
--- a/core/modules/taxonomy/src/Plugin/views/argument/VocabularyVid.php
+++ b/core/modules/taxonomy/src/Plugin/views/argument/VocabularyVid.php
@@ -16,10 +16,10 @@
 class VocabularyVid extends NumericArgument {
 
   /**
-    * The vocabulary storage.
-    *
-    * @var \Drupal\taxonomy\VocabularyStorageInterface
-    */
+   * The vocabulary storage.
+   *
+   * @var \Drupal\taxonomy\VocabularyStorageInterface
+   */
   protected $vocabularyStorage;
 
   /**
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 0318b8e..c3c2f23 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
@@ -14,13 +14,13 @@
 class TrackerNodeTest extends MigrateSqlSourceTestBase {
 
   /**
-  * {@inheritdoc}
-  */
+   * {@inheritdoc}
+   */
   public static $modules = ['tracker', 'migrate_drupal'];
 
   /**
-  * {@inheritdoc}
-  */
+   * {@inheritdoc}
+   */
   public function providerSource() {
     $tests = [];
 
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 ffcee93..24c22c4 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
@@ -14,13 +14,13 @@
 class TrackerUserTest extends MigrateSqlSourceTestBase {
 
   /**
-  * {@inheritdoc}
-  */
+   * {@inheritdoc}
+   */
   public static $modules = ['tracker', 'migrate_drupal'];
 
   /**
-  * {@inheritdoc}
-  */
+   * {@inheritdoc}
+   */
   public function providerSource() {
     $tests = [];
 
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 2d7d24a..db20a83 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -1119,7 +1119,7 @@ function user_role_load($rid) {
  *   value that evaluates to TRUE will cause the permission to be granted.
  *   Any value that evaluates to FALSE will cause the permission to be
  *   revoked.
- *   @code
+ * @code
  *     array(
  *       'administer nodes' => 0,                // Revoke 'administer nodes'
  *       'administer blocks' => FALSE,           // Revoke 'administer blocks'
@@ -1127,7 +1127,7 @@ function user_role_load($rid) {
  *       'access content' => TRUE,               // Grant 'access content'
  *       'access comments' => 'access comments', // Grant 'access comments'
  *     )
- *   @endcode
+ * @endcode
  *   Existing permissions are not changed, unless specified in $permissions.
  *
  * @see user_role_grant_permissions()
diff --git a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php
index 9759ae5..f20a4ac 100644
--- a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php
+++ b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php
@@ -22,7 +22,7 @@
  *   \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase class.
  * - Exposed form plugins are annotated with
  *   \Drupal\views\Annotation\ViewsExposedForm annotation. See the
- *   @link annotation Annotations topic @endlink for more information about
+ * @link annotation Annotations topic @endlink for more information about
  *   annotations.
  * - They must be in namespace directory Plugin\views\exposed_form.
  */
diff --git a/core/modules/views/src/Plugin/views/field/Boolean.php b/core/modules/views/src/Plugin/views/field/Boolean.php
index 75f097e..ffc740a 100644
--- a/core/modules/views/src/Plugin/views/field/Boolean.php
+++ b/core/modules/views/src/Plugin/views/field/Boolean.php
@@ -17,11 +17,11 @@
  * Definition terms:
  *   - output formats: An array where the first entry is displayed on boolean true
  *      and the second is displayed on boolean false. An example for sticky is:
- *      @code
+ * @code
  *      'output formats' => array(
  *        'sticky' => array(t('Sticky'), ''),
  *      ),
- *      @endcode
+ * @endcode
  *
  * @ingroup views_field_handlers
  *
diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
index ef23c8d..00e0bb1 100644
--- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
+++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
@@ -31,12 +31,12 @@
  * field section to affect how the field handler will behave:
  * - additional fields: An array of fields that should be added to the query.
  *   The array is in one of these forms:
- *   @code
+ * @code
  *   // Simple form, for fields within the same table.
  *   array('identifier' => fieldname)
  *   // Form for fields in a different table.
  *   array('identifier' => array('table' => tablename, 'field' => fieldname))
- *   @endcode
+ * @endcode
  *   As many fields as are necessary may be in this array.
  * - click sortable: If TRUE (default), this field may be click sorted.
  *
@@ -157,7 +157,7 @@ public function query() {
    *   field alias used. The value is either a string in which case it's
    *   assumed to be a field on this handler's table; or it's an array in the
    *   form of
-   *   @code array('table' => $tablename, 'field' => $fieldname) @endcode
+   * @code array('table' => $tablename, 'field' => $fieldname) @endcode
    */
   protected function addAdditionalFields($fields = NULL) {
     if (!isset($fields)) {
diff --git a/core/modules/views/src/Plugin/views/query/QueryPluginBase.php b/core/modules/views/src/Plugin/views/query/QueryPluginBase.php
index 83e0bcf..416241a 100644
--- a/core/modules/views/src/Plugin/views/query/QueryPluginBase.php
+++ b/core/modules/views/src/Plugin/views/query/QueryPluginBase.php
@@ -192,7 +192,7 @@ public function setGroupOperator($type = 'AND') {
 
   /**
    * Loads all entities contained in the passed-in $results.
-   *.
+   * .
    * If the entity belongs to the base table, then it gets stored in
    * $result->_entity. Otherwise, it gets stored in
    * $result->_relationship_entities[$relationship_id];
diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php
index 09a754b..8389672 100644
--- a/core/modules/views/src/Plugin/views/query/Sql.php
+++ b/core/modules/views/src/Plugin/views/query/Sql.php
@@ -1538,7 +1538,7 @@ public function execute(ViewExecutable $view) {
 
   /**
    * Loads all entities contained in the passed-in $results.
-   *.
+   * .
    * If the entity belongs to the base table, then it gets stored in
    * $result->_entity. Otherwise, it gets stored in
    * $result->_relationship_entities[$relationship_id];
diff --git a/core/modules/views/src/Plugin/views/style/StylePluginBase.php b/core/modules/views/src/Plugin/views/style/StylePluginBase.php
index 1d6b491..59eabbd 100644
--- a/core/modules/views/src/Plugin/views/style/StylePluginBase.php
+++ b/core/modules/views/src/Plugin/views/style/StylePluginBase.php
@@ -541,7 +541,7 @@ public function renderGroupingSets($sets) {
    *   The grouped record set.
    *   A nested set structure is generated if multiple grouping fields are used.
    *
-   *   @code
+   * @code
    *   array(
    *     'grouping_field_1:grouping_1' => array(
    *       'group' => 'grouping_field_1:content_1',
@@ -562,7 +562,7 @@ public function renderGroupingSets($sets) {
    *       // ...
    *     ),
    *   )
-   *   @endcode
+   * @endcode
    */
   public function renderGrouping($records, $groupings = [], $group_rendered = NULL) {
     // This is for backward compatibility, when $groupings was a string
diff --git a/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php b/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
index 1a9f32e..00f8122 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
@@ -67,11 +67,11 @@ public function testViewsBlock() {
    *   (optional) An associative array of settings for the block entity.
    *   Override the defaults by specifying the key and value in the array, for
    *   example:
-   *   @code
+   * @code
    *     $this->createBlock('system_powered_by_block', array(
    *       'label' => t('Hello, world!'),
    *     ));
-   *   @endcode
+   * @endcode
    *   The following defaults are provided:
    *   - label: Random string.
    *   - id: Random string.
diff --git a/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php b/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
index 0822eb8..10c6958 100644
--- a/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
@@ -266,8 +266,8 @@ protected function assertNoGroupedFilterErrors($message = '', $group = 'Other')
   }
 
   /**
-  * Tests the configuration of grouped exposed filters.
-  */
+   * Tests the configuration of grouped exposed filters.
+   */
   public function testExposedGroupedFilter() {
     // Click the Expose filter button.
     $this->drupalPostForm('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/filter/type', [], t('Expose filter'));
diff --git a/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php b/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
index 3265e1a..658b0b4 100644
--- a/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
+++ b/core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
@@ -10,10 +10,10 @@
 class UnsavedPreviewTest extends UITestBase {
 
   /**
-    * Views used by this test.
-    *
-    * @var array
-    */
+   * Views used by this test.
+   *
+   * @var array
+   */
   public static $testViews = ['content'];
 
   /**
diff --git a/core/modules/workflows/src/Entity/Workflow.php b/core/modules/workflows/src/Entity/Workflow.php
index 2450fb7..b8d04f8 100644
--- a/core/modules/workflows/src/Entity/Workflow.php
+++ b/core/modules/workflows/src/Entity/Workflow.php
@@ -145,7 +145,7 @@ protected function getPluginCollection() {
    *   An array of workflow objects of the provided workflow type, indexed by
    *   their IDs.
    *
-   *  @see \Drupal\workflows\Annotation\WorkflowType
+   * @see \Drupal\workflows\Annotation\WorkflowType
    */
   public static function loadMultipleByType($type) {
     return self::loadMultiple(\Drupal::entityQuery('workflow')->condition('type', $type)->execute());
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 7dcb3ba..b1fecb1 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -48,6 +48,7 @@
     <exclude name="Drupal.Commenting.DocComment.TagGroupSpacing"/>
     <exclude name="Drupal.Commenting.DocComment.MissingShort"/>
   </rule>
+  <rule ref="Drupal.Commenting.DocCommentAlignment"/>
   <rule ref="Drupal.Commenting.DocCommentStar"/>
   <rule ref="Drupal.Commenting.FileComment"/>
   <rule ref="Drupal.Commenting.FunctionComment">
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php
index d49d46e..69d01fd 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php
@@ -64,8 +64,8 @@ protected function tearDown() {
   }
 
   /**
-    * {@inheritdoc}
-    */
+   * {@inheritdoc}
+   */
   protected function getMinkDriverArgs() {
     return getenv('MINK_DRIVER_ARGS_PHANTOMJS') ?: parent::getMinkDriverArgs();
   }
diff --git a/core/tests/Drupal/KernelTests/Component/Utility/SafeMarkupKernelTest.php b/core/tests/Drupal/KernelTests/Component/Utility/SafeMarkupKernelTest.php
index 8fab307..72ccc7c 100644
--- a/core/tests/Drupal/KernelTests/Component/Utility/SafeMarkupKernelTest.php
+++ b/core/tests/Drupal/KernelTests/Component/Utility/SafeMarkupKernelTest.php
@@ -10,7 +10,7 @@
  * Provides a test covering integration of SafeMarkup with other systems.
  *
  * @group Utility
-*/
+ */
 class SafeMarkupKernelTest extends KernelTestBase {
 
   /**
diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php
index 3260f6e..b71bd8b 100644
--- a/core/tests/Drupal/Tests/BrowserTestBase.php
+++ b/core/tests/Drupal/Tests/BrowserTestBase.php
@@ -400,7 +400,7 @@ protected function initBrowserOutputFile() {
    * be overridden in a derived class so it is possible to use a different
    * value for a subset of tests, e.g. the JavaScript tests.
    *
-   *  @return string|false
+   * @return string|false
    *   The JSON-encoded argument string. False if it is not set.
    */
   protected function getMinkDriverArgs() {
@@ -892,7 +892,7 @@ protected function submitForm(array $edit, $submit, $form_html_id = NULL) {
    *   NULL to post to the current page. For multi-stage forms you can set the
    *   path to NULL and have it post to the last received page. Example:
    *
-   *   @code
+   * @code
    *   // First step in form.
    *   $edit = array(...);
    *   $this->drupalPostForm('some_url', $edit, 'Save');
@@ -900,7 +900,7 @@ protected function submitForm(array $edit, $submit, $form_html_id = NULL) {
    *   // Second step in form.
    *   $edit = array(...);
    *   $this->drupalPostForm(NULL, $edit, 'Save');
-   *   @endcode
+   * @endcode
    * @param array $edit
    *   Field data in an associative array. Changes the current input fields
    *   (where possible) to the values indicated.
@@ -908,24 +908,24 @@ protected function submitForm(array $edit, $submit, $form_html_id = NULL) {
    *   When working with form tests, the keys for an $edit element should match
    *   the 'name' parameter of the HTML of the form. For example, the 'body'
    *   field for a node has the following HTML:
-   *   @code
+   * @code
    *   <textarea id="edit-body-und-0-value" class="text-full form-textarea
    *    resize-vertical" placeholder="" cols="60" rows="9"
    *    name="body[0][value]"></textarea>
-   *   @endcode
+   * @endcode
    *   When testing this field using an $edit parameter, the code becomes:
-   *   @code
+   * @code
    *   $edit["body[0][value]"] = 'My test value';
-   *   @endcode
+   * @endcode
    *
    *   A checkbox can be set to TRUE to be checked and should be set to FALSE to
    *   be unchecked. Multiple select fields can be tested using 'name[]' and
    *   setting each of the desired values in an array:
-   *   @code
+   * @code
    *   $edit = array();
    *   $edit['name[]'] = array('value1', 'value2');
-   *   @endcode
-   *   @todo change $edit to disallow NULL as a value for Drupal 9.
+   * @endcode
+   * @todo change $edit to disallow NULL as a value for Drupal 9.
    *     https://www.drupal.org/node/2802401
    * @param string $submit
    *   Value of the submit button whose click is to be emulated. For example,
diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
index b89d351..22b4f1e 100644
--- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
+++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
@@ -162,9 +162,9 @@ public function testTimestamp($input, array $initial, array $transform) {
    * @param string $input
    *   Input argument for DateTimePlus().
    * @param array $initial
-   *   @see testTimestamp()
+   * @see testTimestamp()
    * @param array $transform
-   *   @see testTimestamp()
+   * @see testTimestamp()
    *
    * @dataProvider providerTestDateTimestamp
    */
@@ -183,9 +183,9 @@ public function testDateTimestamp($input, array $initial, array $transform) {
    * @input mixed $input
    *   The original input passed to the test method.
    * @param array $initial
-   *   @see testTimestamp()
+   * @see testTimestamp()
    * @param array $transform
-   *   @see testTimestamp()
+   * @see testTimestamp()
    */
   public function assertDateTimestamp($date, $input, $initial, $transform) {
     // Check format.
diff --git a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
index 2fef35f..8db45f1 100644
--- a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
@@ -37,8 +37,8 @@ protected function setUp() {
   }
 
   /**
- * Tests the processOutbound() method with no _csrf_token route requirement.
- */
+   * Tests the processOutbound() method with no _csrf_token route requirement.
+   */
   public function testProcessOutboundNoRequirement() {
     $this->csrfToken->expects($this->never())
       ->method('get');
diff --git a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
index 8d0f252..a745e50 100644
--- a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
@@ -340,8 +340,8 @@ public function testSetWithoutData() {
   }
 
   /**
- * @covers ::getProperties
- */
+   * @covers ::getProperties
+   */
   public function testGetProperties() {
     $fields = $this->entityAdapter->getProperties();
     $this->assertInstanceOf('Drupal\Core\Field\FieldItemListInterface', $fields['id']);
