diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index 33b1769..ac9da99 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -622,13 +622,13 @@ function template_preprocess_datetime_wrapper(&$variables) {
  *     http://juicystudio.com/article/screen-readers-display-none.php and
  *     http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
  *
- * Unfortunately links templates duplicate the "active" class handling of l()
- * and LinkGenerator::generate() because it needs to be able to set the "active"
- * class not on the links themselves ("a" tags), but on the list items ("li"
- * tags) that contain the links. This is necessary for CSS to be able to style
- * list items differently when the link is active, since CSS does not yet allow
- * one to style list items only if it contains a certain element with a certain
- * class. I.e. we cannot yet convert this jQuery selector to a CSS selector:
+ *   Unfortunately links templates duplicate the "active" class handling of l()
+ *   and LinkGenerator::generate() because it needs to be able to set the "active"
+ *   class not on the links themselves ("a" tags), but on the list items ("li"
+ *   tags) that contain the links. This is necessary for CSS to be able to style
+ *   list items differently when the link is active, since CSS does not yet allow
+ *   one to style list items only if it contains a certain element with a certain
+ *   class. I.e. we cannot yet convert this jQuery selector to a CSS selector:
  *   jQuery('li:has("a.is-active")')
  *
  * @see \Drupal\Core\Utility\LinkGenerator
diff --git a/core/lib/Drupal/Component/Diff/DiffFormatter.php b/core/lib/Drupal/Component/Diff/DiffFormatter.php
index 5dc9e1b..275dbc0 100644
--- a/core/lib/Drupal/Component/Diff/DiffFormatter.php
+++ b/core/lib/Drupal/Component/Diff/DiffFormatter.php
@@ -108,7 +108,10 @@ public function format(Diff $diff) {
     return $end;
   }
 
-  protected function _block($xbeg, $xlen, $ybeg, $ylen, &$edits) {
+  /**
+ *
+ */
+protected function _block($xbeg, $xlen, $ybeg, $ylen, &$edits) {
     $this->_start_block($this->_block_header($xbeg, $xlen, $ybeg, $ylen));
     foreach ($edits as $edit) {
       if ($edit->type == 'copy') {
@@ -130,17 +133,26 @@ protected function _block($xbeg, $xlen, $ybeg, $ylen, &$edits) {
     $this->_end_block();
   }
 
-  protected function _start_diff() {
+  /**
+ *
+ */
+protected function _start_diff() {
     ob_start();
   }
 
-  protected function _end_diff() {
+  /**
+ *
+ */
+protected function _end_diff() {
     $val = ob_get_contents();
     ob_end_clean();
     return $val;
   }
 
-  protected function _block_header($xbeg, $xlen, $ybeg, $ylen) {
+  /**
+ *
+ */
+protected function _block_header($xbeg, $xlen, $ybeg, $ylen) {
     if ($xlen > 1) {
       $xbeg .= "," . ($xbeg + $xlen - 1);
     }
@@ -151,34 +163,55 @@ protected function _block_header($xbeg, $xlen, $ybeg, $ylen) {
     return $xbeg . ($xlen ? ($ylen ? 'c' : 'd') : 'a') . $ybeg;
   }
 
-  protected function _start_block($header) {
+  /**
+ *
+ */
+protected function _start_block($header) {
     if ($this->show_header) {
       echo $header . "\n";
     }
   }
 
-  protected function _end_block() {
+  /**
+ *
+ */
+protected function _end_block() {
   }
 
-  protected function _lines($lines, $prefix = ' ') {
+  /**
+ *
+ */
+protected function _lines($lines, $prefix = ' ') {
     foreach ($lines as $line) {
       echo "$prefix $line\n";
     }
   }
 
-  protected function _context($lines) {
+  /**
+ *
+ */
+protected function _context($lines) {
     $this->_lines($lines);
   }
 
-  protected function _added($lines) {
+  /**
+ *
+ */
+protected function _added($lines) {
     $this->_lines($lines, '>');
   }
 
-  protected function _deleted($lines) {
+  /**
+ *
+ */
+protected function _deleted($lines) {
     $this->_lines($lines, '<');
   }
 
-  protected function _changed($orig, $closing) {
+  /**
+ *
+ */
+protected function _changed($orig, $closing) {
     $this->_deleted($orig);
     echo "---\n";
     $this->_added($closing);
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php
index 78ec76a..f9737db 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php
@@ -33,7 +33,10 @@ class DiffEngine {
 
   const MAX_XREF_LENGTH = 10000;
 
-  public function diff($from_lines, $to_lines) {
+  /**
+ *
+ */
+public function diff($from_lines, $to_lines) {
 
     $n_from = sizeof($from_lines);
     $n_to = sizeof($to_lines);
@@ -240,7 +243,10 @@ protected function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) {
     return array($this->lcs, $seps);
   }
 
-  protected function _lcs_pos($ypos) {
+  /**
+ *
+ */
+protected function _lcs_pos($ypos) {
 
     $end = $this->lcs;
     if ($end == 0 || $ypos > $this->seq[$end]) {
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOp.php b/core/lib/Drupal/Component/Diff/Engine/DiffOp.php
index 120ac9e..1632e27 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffOp.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffOp.php
@@ -12,15 +12,24 @@ class DiffOp {
   var $orig;
   var $closing;
 
-  public function reverse() {
+  /**
+ *
+ */
+public function reverse() {
     trigger_error('pure virtual', E_USER_ERROR);
   }
 
-  public function norig() {
+  /**
+ *
+ */
+public function norig() {
     return $this->orig ? sizeof($this->orig) : 0;
   }
 
-  public function nclosing() {
+  /**
+ *
+ */
+public function nclosing() {
     return $this->closing ? sizeof($this->closing) : 0;
   }
 }
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php
index 2def622..a9fabb0 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php
@@ -10,12 +10,18 @@
 class DiffOpAdd extends DiffOp {
   var $type = 'add';
 
-  public function __construct($lines) {
+  /**
+ *
+ */
+public function __construct($lines) {
     $this->closing = $lines;
     $this->orig = FALSE;
   }
 
-  public function reverse() {
+  /**
+ *
+ */
+public function reverse() {
     return new DiffOpDelete($this->closing);
   }
 }
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php
index 404b996..269f01c 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php
@@ -10,12 +10,18 @@
 class DiffOpChange extends DiffOp {
   var $type = 'change';
 
-  public function __construct($orig, $closing) {
+  /**
+ *
+ */
+public function __construct($orig, $closing) {
     $this->orig = $orig;
     $this->closing = $closing;
   }
 
-  public function reverse() {
+  /**
+ *
+ */
+public function reverse() {
     return new DiffOpChange($this->closing, $this->orig);
   }
 }
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php
index 9792fb0..1ec44fe 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php
@@ -10,7 +10,10 @@
 class DiffOpCopy extends DiffOp {
   var $type = 'copy';
 
-  public function __construct($orig, $closing = FALSE) {
+  /**
+ *
+ */
+public function __construct($orig, $closing = FALSE) {
     if (!is_array($closing)) {
       $closing = $orig;
     }
@@ -18,7 +21,10 @@ public function __construct($orig, $closing = FALSE) {
     $this->closing = $closing;
   }
 
-  public function reverse() {
+  /**
+ *
+ */
+public function reverse() {
     return new DiffOpCopy($this->closing, $this->orig);
   }
 }
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php
index 3b3b567..32f10aa 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php
@@ -10,12 +10,18 @@
 class DiffOpDelete extends DiffOp {
   var $type = 'delete';
 
-  public function __construct($lines) {
+  /**
+ *
+ */
+public function __construct($lines) {
     $this->orig = $lines;
     $this->closing = FALSE;
   }
 
-  public function reverse() {
+  /**
+ *
+ */
+public function reverse() {
     return new DiffOpAdd($this->orig);
   }
 }
diff --git a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php
index f5cba32..4d4e437 100644
--- a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php
+++ b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php
@@ -29,7 +29,10 @@ class HWLDFWordAccumulator {
 
   protected $tag = '';
 
-  protected function _flushGroup($new_tag) {
+  /**
+ *
+ */
+protected function _flushGroup($new_tag) {
     if ($this->group !== '') {
       if ($this->tag == 'mark') {
         $this->line = $this->line . '<span class="diffchange">' . $this->group . '</span>';
@@ -42,7 +45,10 @@ protected function _flushGroup($new_tag) {
     $this->tag = $new_tag;
   }
 
-  protected function _flushLine($new_tag) {
+  /**
+ *
+ */
+protected function _flushLine($new_tag) {
     $this->_flushGroup($new_tag);
     if ($this->line != '') {
       array_push($this->lines, $this->line);
@@ -54,7 +60,10 @@ protected function _flushLine($new_tag) {
     $this->line = '';
   }
 
-  public function addWords($words, $tag = '') {
+  /**
+ *
+ */
+public function addWords($words, $tag = '') {
     if ($tag != $this->tag) {
       $this->_flushGroup($tag);
     }
@@ -72,7 +81,10 @@ public function addWords($words, $tag = '') {
     }
   }
 
-  public function getLines() {
+  /**
+ *
+ */
+public function getLines() {
     $this->_flushLine('~done');
     return $this->lines;
   }
diff --git a/core/lib/Drupal/Component/Diff/WordLevelDiff.php b/core/lib/Drupal/Component/Diff/WordLevelDiff.php
index c9114bc..b6c20ce 100644
--- a/core/lib/Drupal/Component/Diff/WordLevelDiff.php
+++ b/core/lib/Drupal/Component/Diff/WordLevelDiff.php
@@ -14,14 +14,20 @@ class WordLevelDiff extends MappedDiff {
 
   const MAX_LINE_LENGTH = 10000;
 
-  public function __construct($orig_lines, $closing_lines) {
+  /**
+ *
+ */
+public function __construct($orig_lines, $closing_lines) {
     list($orig_words, $orig_stripped) = $this->_split($orig_lines);
     list($closing_words, $closing_stripped) = $this->_split($closing_lines);
 
     parent::__construct($orig_words, $closing_words, $orig_stripped, $closing_stripped);
   }
 
-  protected function _split($lines) {
+  /**
+ *
+ */
+protected function _split($lines) {
     $words = array();
     $stripped = array();
     $first = TRUE;
@@ -49,7 +55,10 @@ protected function _split($lines) {
     return array($words, $stripped);
   }
 
-  public function orig() {
+  /**
+ *
+ */
+public function orig() {
     $orig = new HWLDFWordAccumulator();
 
     foreach ($this->edits as $edit) {
@@ -64,7 +73,10 @@ public function orig() {
     return $lines;
   }
 
-  public function closing() {
+  /**
+ *
+ */
+public function closing() {
     $closing = new HWLDFWordAccumulator();
 
     foreach ($this->edits as $edit) {
diff --git a/core/lib/Drupal/Component/Gettext/PoItem.php b/core/lib/Drupal/Component/Gettext/PoItem.php
index 4ffa0b4..3841355 100644
--- a/core/lib/Drupal/Component/Gettext/PoItem.php
+++ b/core/lib/Drupal/Component/Gettext/PoItem.php
@@ -160,7 +160,7 @@ function getComment() {
   /**
    * Set the comment of this translation.
    *
-   * @param String $comment
+   * @param string $comment
    */
   function setComment($comment) {
     $this->_comment = $comment;
diff --git a/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php b/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
index 1d90af7..6fb0dd7 100644
--- a/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
+++ b/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
@@ -142,7 +142,10 @@ public function removeInstanceId($instance_id) {
     $this->remove($instance_id);
   }
 
-  public function getIterator() {
+  /**
+ *
+ */
+public function getIterator() {
     $instances = [];
     foreach ($this->getInstanceIds() as $instance_id) {
       $instances[$instance_id] = $this->get($instance_id);
diff --git a/core/lib/Drupal/Core/Ajax/DataCommand.php b/core/lib/Drupal/Core/Ajax/DataCommand.php
index fe838ca..8ef446a 100644
--- a/core/lib/Drupal/Core/Ajax/DataCommand.php
+++ b/core/lib/Drupal/Core/Ajax/DataCommand.php
@@ -48,7 +48,8 @@ class DataCommand implements CommandInterface {
    *   A CSS selector for the elements to which the data will be attached.
    * @param string $name
    *   The key of the data to be attached to elements matched by the selector.
-   * @param type $value
+   * @param string or int or object... $valueThe
+ *   value of the data to be attached to elements matched by the selector.
    *   The value of the data to be attached to elements matched by the selector.
    */
   public function __construct($selector, $name, $value) {
diff --git a/core/lib/Drupal/Core/Archiver/ArchiveTar.php b/core/lib/Drupal/Core/Archiver/ArchiveTar.php
index 24085ce..5f83605 100644
--- a/core/lib/Drupal/Core/Archiver/ArchiveTar.php
+++ b/core/lib/Drupal/Core/Archiver/ArchiveTar.php
@@ -601,7 +601,7 @@ public function addString($p_filename, $p_string, $p_datetime = false, $p_params
      * @param string $p_remove_path Part of the memorized path that can be
      *                               removed if present at the beginning of
      *                               the file/dir path.
-     * @param boolean $p_preserve Preserve user/group ownership of files
+     * @param bool $p_preserve
      *
      * @return boolean true on success, false on error.
      * @see    extractList()
@@ -661,7 +661,7 @@ public function extractInString($p_filename)
      * @param string $p_remove_path Part of the memorized path that can be
      *                               removed if present at the beginning of
      *                               the file/dir path.
-     * @param boolean $p_preserve Preserve user/group ownership of files
+     * @param bool $p_preserve
      *
      * @return true on success, false on error.
      * @see    extractModify()
@@ -1026,7 +1026,7 @@ public function _cleanFile()
 
     /**
      * @param mixed $p_binary_data
-     * @param integer $p_len
+     * @param int $p_len
      * @return bool
      */
     public function _writeBlock($p_binary_data, $p_len = null)
diff --git a/core/lib/Drupal/Core/Asset/CssOptimizer.php b/core/lib/Drupal/Core/Asset/CssOptimizer.php
index f473544..c4a2380 100644
--- a/core/lib/Drupal/Core/Asset/CssOptimizer.php
+++ b/core/lib/Drupal/Core/Asset/CssOptimizer.php
@@ -240,9 +240,9 @@ protected function processCss($contents, $optimize = FALSE) {
    *   An array of matches by a preg_replace_callback() call that scans for
    *   url() references in CSS files, except for external or absolute ones.
    *
-   * Note: the only reason this method is public is so color.module can call it;
-   * it is not on the AssetOptimizerInterface, so future refactorings can make
-   * it protected.
+   *   Note: the only reason this method is public is so color.module can call it;
+   *   it is not on the AssetOptimizerInterface, so future refactorings can make
+   *   it protected.
    *
    * @return string
    *   The file path.
diff --git a/core/lib/Drupal/Core/Config/StorableConfigBase.php b/core/lib/Drupal/Core/Config/StorableConfigBase.php
index 80a0fb6..25010e6 100644
--- a/core/lib/Drupal/Core/Config/StorableConfigBase.php
+++ b/core/lib/Drupal/Core/Config/StorableConfigBase.php
@@ -65,7 +65,7 @@
    *   it conforms to schema. Generally this is only used during module and
    *   theme installation.
    *
-   * Must invalidate the cache tags associated with the configuration object.
+   *   Must invalidate the cache tags associated with the configuration object.
    *
    * @return $this
    *
diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
index dead7ab..140b919 100644
--- a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
+++ b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
@@ -194,21 +194,33 @@ public function __destruct() {
     }
   }
 
-  public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
+  /**
+ *
+ */
+public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
     return $this->query($query . ' LIMIT ' . (int) $from . ', ' . (int) $count, $args, $options);
   }
 
-  public function queryTemporary($query, array $args = array(), array $options = array()) {
+  /**
+ *
+ */
+public function queryTemporary($query, array $args = array(), array $options = array()) {
     $tablename = $this->generateTemporaryTableName();
     $this->query('CREATE TEMPORARY TABLE {' . $tablename . '} Engine=MEMORY ' . $query, $args, $options);
     return $tablename;
   }
 
-  public function driver() {
+  /**
+ *
+ */
+public function driver() {
     return 'mysql';
   }
 
-  public function databaseType() {
+  /**
+ *
+ */
+public function databaseType() {
     return 'mysql';
   }
 
@@ -234,12 +246,18 @@ public function createDatabase($database) {
     }
   }
 
-  public function mapConditionOperator($operator) {
+  /**
+ *
+ */
+public function mapConditionOperator($operator) {
     // We don't want to override any of the defaults.
     return NULL;
   }
 
-  public function nextId($existing_id = 0) {
+  /**
+ *
+ */
+public function nextId($existing_id = 0) {
     $new_id = $this->query('INSERT INTO {sequences} () VALUES ()', array(), array('return' => Database::RETURN_INSERT_ID));
     // This should only happen after an import or similar event.
     if ($existing_id >= $new_id) {
@@ -257,7 +275,10 @@ public function nextId($existing_id = 0) {
     return $new_id;
   }
 
-  public function nextIdDelete() {
+  /**
+ *
+ */
+public function nextIdDelete() {
     // While we want to clean up the table to keep it up from occupying too
     // much storage and memory, we must keep the highest value in the table
     // because InnoDB uses an in-memory auto-increment counter as long as the
diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php b/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php
index 130d46a..3cf32f5 100644
--- a/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php
+++ b/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php
@@ -9,7 +9,10 @@
  */
 class Insert extends QueryInsert {
 
-  public function execute() {
+  /**
+ *
+ */
+public function execute() {
     if (!$this->preExecute()) {
       return NULL;
     }
@@ -37,7 +40,10 @@ public function execute() {
     return $last_insert_id;
   }
 
-  public function __toString() {
+  /**
+ *
+ */
+public function __toString() {
     // Create a sanitized comment string to prepend to the query.
     $comments = $this->connection->makeComment($this->comments);
 
diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
index 107495b..28d62d0 100644
--- a/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
+++ b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
@@ -226,7 +226,10 @@ protected function processField($field) {
     return $field;
   }
 
-  public function getFieldTypeMap() {
+  /**
+ *
+ */
+public function getFieldTypeMap() {
     // Put :normal last so it gets preserved by array_flip. This makes
     // it much easier for modules (such as schema.module) to map
     // database types back into schema types.
@@ -269,7 +272,10 @@ public function getFieldTypeMap() {
     return $map;
   }
 
-  protected function createKeysSql($spec) {
+  /**
+ *
+ */
+protected function createKeysSql($spec) {
     $keys = array();
 
     if (!empty($spec['primary key'])) {
@@ -353,7 +359,10 @@ protected function shortenIndex(&$index) {
     }
   }
 
-  protected function createKeySql($fields) {
+  /**
+ *
+ */
+protected function createKeySql($fields) {
     $return = array();
     foreach ($fields as $field) {
       if (is_array($field)) {
@@ -366,7 +375,10 @@ protected function createKeySql($fields) {
     return implode(', ', $return);
   }
 
-  public function renameTable($table, $new_name) {
+  /**
+ *
+ */
+public function renameTable($table, $new_name) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot rename @table to @table_new: table @table doesn't exist.", array('@table' => $table, '@table_new' => $new_name)));
     }
@@ -378,7 +390,10 @@ public function renameTable($table, $new_name) {
     return $this->connection->query('ALTER TABLE {' . $table . '} RENAME TO `' . $info['table'] . '`');
   }
 
-  public function dropTable($table) {
+  /**
+ *
+ */
+public function dropTable($table) {
     if (!$this->tableExists($table)) {
       return FALSE;
     }
@@ -387,7 +402,10 @@ public function dropTable($table) {
     return TRUE;
   }
 
-  public function addField($table, $field, $spec, $keys_new = array()) {
+  /**
+ *
+ */
+public function addField($table, $field, $spec, $keys_new = array()) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add field @table.@field: table doesn't exist.", array('@field' => $field, '@table' => $table)));
     }
@@ -417,7 +435,10 @@ public function addField($table, $field, $spec, $keys_new = array()) {
     }
   }
 
-  public function dropField($table, $field) {
+  /**
+ *
+ */
+public function dropField($table, $field) {
     if (!$this->fieldExists($table, $field)) {
       return FALSE;
     }
@@ -426,7 +447,10 @@ public function dropField($table, $field) {
     return TRUE;
   }
 
-  public function fieldSetDefault($table, $field, $default) {
+  /**
+ *
+ */
+public function fieldSetDefault($table, $field, $default) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot set default value of field @table.@field: field doesn't exist.", array('@table' => $table, '@field' => $field)));
     }
@@ -434,7 +458,10 @@ public function fieldSetDefault($table, $field, $default) {
     $this->connection->query('ALTER TABLE {' . $table . '} ALTER COLUMN `' . $field . '` SET DEFAULT ' . $this->escapeDefaultValue($default));
   }
 
-  public function fieldSetNoDefault($table, $field) {
+  /**
+ *
+ */
+public function fieldSetNoDefault($table, $field) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot remove default value of field @table.@field: field doesn't exist.", array('@table' => $table, '@field' => $field)));
     }
@@ -442,14 +469,20 @@ public function fieldSetNoDefault($table, $field) {
     $this->connection->query('ALTER TABLE {' . $table . '} ALTER COLUMN `' . $field . '` DROP DEFAULT');
   }
 
-  public function indexExists($table, $name) {
+  /**
+ *
+ */
+public function indexExists($table, $name) {
     // Returns one row for each column in the index. Result is string or FALSE.
     // Details at http://dev.mysql.com/doc/refman/5.0/en/show-index.html
     $row = $this->connection->query('SHOW INDEX FROM {' . $table . '} WHERE key_name = ' . $this->connection->quote($name))->fetchAssoc();
     return isset($row['Key_name']);
   }
 
-  public function addPrimaryKey($table, $fields) {
+  /**
+ *
+ */
+public function addPrimaryKey($table, $fields) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add primary key to table @table: table doesn't exist.", array('@table' => $table)));
     }
@@ -460,7 +493,10 @@ public function addPrimaryKey($table, $fields) {
     $this->connection->query('ALTER TABLE {' . $table . '} ADD PRIMARY KEY (' . $this->createKeySql($fields) . ')');
   }
 
-  public function dropPrimaryKey($table) {
+  /**
+ *
+ */
+public function dropPrimaryKey($table) {
     if (!$this->indexExists($table, 'PRIMARY')) {
       return FALSE;
     }
@@ -469,7 +505,10 @@ public function dropPrimaryKey($table) {
     return TRUE;
   }
 
-  public function addUniqueKey($table, $name, $fields) {
+  /**
+ *
+ */
+public function addUniqueKey($table, $name, $fields) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add unique key @name to table @table: table doesn't exist.", array('@table' => $table, '@name' => $name)));
     }
@@ -480,7 +519,10 @@ public function addUniqueKey($table, $name, $fields) {
     $this->connection->query('ALTER TABLE {' . $table . '} ADD UNIQUE KEY `' . $name . '` (' . $this->createKeySql($fields) . ')');
   }
 
-  public function dropUniqueKey($table, $name) {
+  /**
+ *
+ */
+public function dropUniqueKey($table, $name) {
     if (!$this->indexExists($table, $name)) {
       return FALSE;
     }
@@ -506,7 +548,10 @@ public function addIndex($table, $name, $fields, array $spec) {
     $this->connection->query('ALTER TABLE {' . $table . '} ADD INDEX `' . $name . '` (' . $this->createKeySql($indexes[$name]) . ')');
   }
 
-  public function dropIndex($table, $name) {
+  /**
+ *
+ */
+public function dropIndex($table, $name) {
     if (!$this->indexExists($table, $name)) {
       return FALSE;
     }
@@ -515,7 +560,10 @@ public function dropIndex($table, $name) {
     return TRUE;
   }
 
-  public function changeField($table, $field, $field_new, $spec, $keys_new = array()) {
+  /**
+ *
+ */
+public function changeField($table, $field, $field_new, $spec, $keys_new = array()) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot change the definition of field @table.@name: field doesn't exist.", array('@table' => $table, '@name' => $field)));
     }
@@ -530,7 +578,10 @@ public function changeField($table, $field, $field_new, $spec, $keys_new = array
     $this->connection->query($sql);
   }
 
-  public function prepareComment($comment, $length = NULL) {
+  /**
+ *
+ */
+public function prepareComment($comment, $length = NULL) {
     // Truncate comment to maximum comment length.
     if (isset($length)) {
       // Add table prefixes before truncating.
@@ -559,7 +610,10 @@ public function getComment($table, $column = NULL) {
     return preg_replace('/; InnoDB free:.*$/', '', $comment);
   }
 
-  public function tableExists($table) {
+  /**
+ *
+ */
+public function tableExists($table) {
     // The information_schema table is very slow to query under MySQL 5.0.
     // Instead, we try to select from the table in question.  If it fails,
     // the most likely reason is that it does not exist. That is dramatically
@@ -576,7 +630,10 @@ public function tableExists($table) {
     }
   }
 
-  public function fieldExists($table, $column) {
+  /**
+ *
+ */
+public function fieldExists($table, $column) {
     // The information_schema table is very slow to query under MySQL 5.0.
     // Instead, we try to select from the table and field in question. If it
     // fails, the most likely reason is that it does not exist. That is
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
index ef54471..7811805 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
@@ -167,7 +167,10 @@ public function query($query, array $args = array(), $options = array()) {
     return $return;
   }
 
-  public function prepareQuery($query) {
+  /**
+ *
+ */
+public function prepareQuery($query) {
     // mapConditionOperator converts LIKE operations to ILIKE for consistency
     // with MySQL. However, Postgres does not support ILIKE on bytea (blobs)
     // fields.
@@ -178,11 +181,17 @@ public function prepareQuery($query) {
     return parent::prepareQuery(preg_replace('/ ([^ ]+) +(I*LIKE|NOT +I*LIKE) /i', ' ${1}::text ${2} ', $query));
   }
 
-  public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
+  /**
+ *
+ */
+public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
     return $this->query($query . ' LIMIT ' . (int) $count . ' OFFSET ' . (int) $from, $args, $options);
   }
 
-  public function queryTemporary($query, array $args = array(), array $options = array()) {
+  /**
+ *
+ */
+public function queryTemporary($query, array $args = array(), array $options = array()) {
     $tablename = $this->generateTemporaryTableName();
     $this->query('CREATE TEMPORARY TABLE {' . $tablename . '} AS ' . $query, $args, $options);
     return $tablename;
@@ -258,11 +267,17 @@ public function escapeTable($table) {
     return $escaped;
   }
 
-  public function driver() {
+  /**
+ *
+ */
+public function driver() {
     return 'pgsql';
   }
 
-  public function databaseType() {
+  /**
+ *
+ */
+public function databaseType() {
     return 'pgsql';
   }
 
@@ -296,7 +311,10 @@ public function createDatabase($database) {
     }
   }
 
-  public function mapConditionOperator($operator) {
+  /**
+ *
+ */
+public function mapConditionOperator($operator) {
     static $specials = array(
       // In PostgreSQL, 'LIKE' is case-sensitive. For case-insensitive LIKE
       // statements, we need to use ILIKE instead.
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php
index 6b9be78..cd03450 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php
@@ -15,7 +15,10 @@
  */
 class Insert extends QueryInsert {
 
-  public function execute() {
+  /**
+ *
+ */
+public function execute() {
     if (!$this->preExecute()) {
       return NULL;
     }
@@ -121,7 +124,10 @@ public function execute() {
     return $last_insert_id;
   }
 
-  public function __toString() {
+  /**
+ *
+ */
+public function __toString() {
     // Create a sanitized comment string to prepend to the query.
     $comments = $this->connection->makeComment($this->comments);
 
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
index 937678e..18381d9 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
@@ -404,7 +404,10 @@ function getFieldTypeMap() {
     return $map;
   }
 
-  protected function _createKeySql($fields) {
+  /**
+ *
+ */
+protected function _createKeySql($fields) {
     $return = array();
     foreach ($fields as $field) {
       if (is_array($field)) {
@@ -446,7 +449,10 @@ public function tableExists($table) {
     return (bool) $this->connection->query("SELECT 1 FROM pg_tables WHERE schemaname = :schema AND tablename = :table", array(':schema' => $prefixInfo['schema'], ':table' => $prefixInfo['table']))->fetchField();
   }
 
-  function renameTable($table, $new_name) {
+  /**
+ *
+ */
+function renameTable($table, $new_name) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot rename @table to @table_new: table @table doesn't exist.", array('@table' => $table, '@table_new' => $new_name)));
     }
@@ -500,7 +506,10 @@ function renameTable($table, $new_name) {
     $this->resetTableInformation($table);
   }
 
-  public function dropTable($table) {
+  /**
+ *
+ */
+public function dropTable($table) {
     if (!$this->tableExists($table)) {
       return FALSE;
     }
@@ -510,7 +519,10 @@ public function dropTable($table) {
     return TRUE;
   }
 
-  public function addField($table, $field, $spec, $new_keys = array()) {
+  /**
+ *
+ */
+public function addField($table, $field, $spec, $new_keys = array()) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add field @table.@field: table doesn't exist.", array('@field' => $field, '@table' => $table)));
     }
@@ -544,7 +556,10 @@ public function addField($table, $field, $spec, $new_keys = array()) {
     $this->resetTableInformation($table);
   }
 
-  public function dropField($table, $field) {
+  /**
+ *
+ */
+public function dropField($table, $field) {
     if (!$this->fieldExists($table, $field)) {
       return FALSE;
     }
@@ -554,7 +569,10 @@ public function dropField($table, $field) {
     return TRUE;
   }
 
-  public function fieldSetDefault($table, $field, $default) {
+  /**
+ *
+ */
+public function fieldSetDefault($table, $field, $default) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot set default value of field @table.@field: field doesn't exist.", array('@table' => $table, '@field' => $field)));
     }
@@ -564,7 +582,10 @@ public function fieldSetDefault($table, $field, $default) {
     $this->connection->query('ALTER TABLE {' . $table . '} ALTER COLUMN "' . $field . '" SET DEFAULT ' . $default);
   }
 
-  public function fieldSetNoDefault($table, $field) {
+  /**
+ *
+ */
+public function fieldSetNoDefault($table, $field) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot remove default value of field @table.@field: field doesn't exist.", array('@table' => $table, '@field' => $field)));
     }
@@ -572,7 +593,10 @@ public function fieldSetNoDefault($table, $field) {
     $this->connection->query('ALTER TABLE {' . $table . '} ALTER COLUMN "' . $field . '" DROP DEFAULT');
   }
 
-  public function indexExists($table, $name) {
+  /**
+ *
+ */
+public function indexExists($table, $name) {
     // Details http://www.postgresql.org/docs/9.1/interactive/view-pg-indexes.html
     $index_name = $this->ensureIdentifiersLength($table, $name, 'idx');
     // Remove leading and trailing quotes because the index name is in a WHERE
@@ -612,7 +636,10 @@ public function constraintExists($table, $name) {
     return (bool) $this->connection->query("SELECT 1 FROM pg_constraint WHERE conname = '$constraint_name'")->fetchField();
   }
 
-  public function addPrimaryKey($table, $fields) {
+  /**
+ *
+ */
+public function addPrimaryKey($table, $fields) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add primary key to table @table: table doesn't exist.", array('@table' => $table)));
     }
@@ -624,7 +651,10 @@ public function addPrimaryKey($table, $fields) {
     $this->resetTableInformation($table);
   }
 
-  public function dropPrimaryKey($table) {
+  /**
+ *
+ */
+public function dropPrimaryKey($table) {
     if (!$this->constraintExists($table, 'pkey')) {
       return FALSE;
     }
@@ -634,7 +664,10 @@ public function dropPrimaryKey($table) {
     return TRUE;
   }
 
-  function addUniqueKey($table, $name, $fields) {
+  /**
+ *
+ */
+function addUniqueKey($table, $name, $fields) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add unique key @name to table @table: table doesn't exist.", array('@table' => $table, '@name' => $name)));
     }
@@ -646,7 +679,10 @@ function addUniqueKey($table, $name, $fields) {
     $this->resetTableInformation($table);
   }
 
-  public function dropUniqueKey($table, $name) {
+  /**
+ *
+ */
+public function dropUniqueKey($table, $name) {
     if (!$this->constraintExists($table, $name . '__key')) {
       return FALSE;
     }
@@ -671,7 +707,10 @@ public function addIndex($table, $name, $fields, array $spec) {
     $this->resetTableInformation($table);
   }
 
-  public function dropIndex($table, $name) {
+  /**
+ *
+ */
+public function dropIndex($table, $name) {
     if (!$this->indexExists($table, $name)) {
       return FALSE;
     }
@@ -681,7 +720,10 @@ public function dropIndex($table, $name) {
     return TRUE;
   }
 
-  public function changeField($table, $field, $field_new, $spec, $new_keys = array()) {
+  /**
+ *
+ */
+public function changeField($table, $field, $field_new, $spec, $new_keys = array()) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot change the definition of field @table.@name: field doesn't exist.", array('@table' => $table, '@name' => $field)));
     }
@@ -790,13 +832,19 @@ public function changeField($table, $field, $field_new, $spec, $new_keys = array
     $this->resetTableInformation($table);
   }
 
-  protected function _createIndexSql($table, $name, $fields) {
+  /**
+ *
+ */
+protected function _createIndexSql($table, $name, $fields) {
     $query = 'CREATE INDEX ' . $this->ensureIdentifiersLength($table, $name, 'idx') . ' ON {' . $table . '} (';
     $query .= $this->_createKeySql($fields) . ')';
     return $query;
   }
 
-  protected function _createKeys($table, $new_keys) {
+  /**
+ *
+ */
+protected function _createKeys($table, $new_keys) {
     if (isset($new_keys['primary key'])) {
       $this->addPrimaryKey($table, $new_keys['primary key']);
     }
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
index 2537963..0c7aaf05 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
@@ -14,7 +14,10 @@
  */
 class Select extends QuerySelect {
 
-  public function orderRandom() {
+  /**
+ *
+ */
+public function orderRandom() {
     $alias = $this->addExpression('RANDOM()', 'random_field');
     $this->orderBy($alias);
     return $this;
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php
index f631952..6abbcf0 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php
@@ -11,7 +11,10 @@
  */
 class Update extends QueryUpdate {
 
-  public function execute() {
+  /**
+ *
+ */
+public function execute() {
     $max_placeholder = 0;
     $blobs = array();
     $blob_count = 0;
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
index 182498b..14859f1 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
@@ -319,11 +319,17 @@ protected function handleQueryException(\PDOException $e, $query, array $args =
     parent::handleQueryException($e, $query, $args, $options);
   }
 
-  public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
+  /**
+ *
+ */
+public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
     return $this->query($query . ' LIMIT ' . (int) $from . ', ' . (int) $count, $args, $options);
   }
 
-  public function queryTemporary($query, array $args = array(), array $options = array()) {
+  /**
+ *
+ */
+public function queryTemporary($query, array $args = array(), array $options = array()) {
     // Generate a new temporary table name and protect it from prefixing.
     // SQLite requires that temporary tables to be non-qualified.
     $tablename = $this->generateTemporaryTableName();
@@ -335,11 +341,17 @@ public function queryTemporary($query, array $args = array(), array $options = a
     return $tablename;
   }
 
-  public function driver() {
+  /**
+ *
+ */
+public function driver() {
     return 'sqlite';
   }
 
-  public function databaseType() {
+  /**
+ *
+ */
+public function databaseType() {
     return 'sqlite';
   }
 
@@ -359,7 +371,10 @@ public function createDatabase($database) {
     }
   }
 
-  public function mapConditionOperator($operator) {
+  /**
+ *
+ */
+public function mapConditionOperator($operator) {
     // We don't want to override any of the defaults.
     static $specials = array(
       'LIKE' => array('postfix' => " ESCAPE '\\'"),
@@ -377,7 +392,10 @@ public function prepareQuery($query) {
     return $this->prepare($this->prefixTables($query));
   }
 
-  public function nextId($existing_id = 0) {
+  /**
+ *
+ */
+public function nextId($existing_id = 0) {
     $this->startTransaction();
     // We can safely use literal queries here instead of the slower query
     // builder because if a given database breaks here then it can simply
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php
index 506e655..db000a0 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php
@@ -13,7 +13,10 @@
  */
 class Insert extends QueryInsert {
 
-  public function execute() {
+  /**
+ *
+ */
+public function execute() {
     if (!$this->preExecute()) {
       return NULL;
     }
@@ -25,7 +28,10 @@ public function execute() {
     }
   }
 
-  public function __toString() {
+  /**
+ *
+ */
+public function __toString() {
     // Create a sanitized comment string to prepend to the query.
     $comments = $this->connection->makeComment($this->comments);
 
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
index cbe01da..b57a762 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
@@ -22,14 +22,20 @@ class Schema extends DatabaseSchema {
    */
   protected $defaultSchema = 'main';
 
-  public function tableExists($table) {
+  /**
+ *
+ */
+public function tableExists($table) {
     $info = $this->getPrefixInfo($table);
 
     // Don't use {} around sqlite_master table.
     return (bool) $this->connection->query('SELECT 1 FROM ' . $info['schema'] . '.sqlite_master WHERE type = :type AND name = :name', array(':type' => 'table', ':name' => $info['table']))->fetchField();
   }
 
-  public function fieldExists($table, $column) {
+  /**
+ *
+ */
+public function fieldExists($table, $column) {
     $schema = $this->introspectSchema($table);
     return !empty($schema['fields'][$column]);
   }
@@ -247,7 +253,10 @@ public function getFieldTypeMap() {
     return $map;
   }
 
-  public function renameTable($table, $new_name) {
+  /**
+ *
+ */
+public function renameTable($table, $new_name) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot rename @table to @table_new: table @table doesn't exist.", array('@table' => $table, '@table_new' => $new_name)));
     }
@@ -284,7 +293,10 @@ public function renameTable($table, $new_name) {
     }
   }
 
-  public function dropTable($table) {
+  /**
+ *
+ */
+public function dropTable($table) {
     if (!$this->tableExists($table)) {
       return FALSE;
     }
@@ -293,7 +305,10 @@ public function dropTable($table) {
     return TRUE;
   }
 
-  public function addField($table, $field, $specification, $keys_new = array()) {
+  /**
+ *
+ */
+public function addField($table, $field, $specification, $keys_new = array()) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add field @table.@field: table doesn't exist.", array('@field' => $field, '@table' => $table)));
     }
@@ -484,7 +499,10 @@ protected function introspectSchema($table) {
     return $schema;
   }
 
-  public function dropField($table, $field) {
+  /**
+ *
+ */
+public function dropField($table, $field) {
     if (!$this->fieldExists($table, $field)) {
       return FALSE;
     }
@@ -515,7 +533,10 @@ public function dropField($table, $field) {
     return TRUE;
   }
 
-  public function changeField($table, $field, $field_new, $spec, $keys_new = array()) {
+  /**
+ *
+ */
+public function changeField($table, $field, $field_new, $spec, $keys_new = array()) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot change the definition of field @table.@name: field doesn't exist.", array('@table' => $table, '@name' => $field)));
     }
@@ -598,13 +619,19 @@ public function addIndex($table, $name, $fields, array $spec) {
     }
   }
 
-  public function indexExists($table, $name) {
+  /**
+ *
+ */
+public function indexExists($table, $name) {
     $info = $this->getPrefixInfo($table);
 
     return $this->connection->query('PRAGMA ' . $info['schema'] . '.index_info(' . $info['table'] . '_' . $name . ')')->fetchField() != '';
   }
 
-  public function dropIndex($table, $name) {
+  /**
+ *
+ */
+public function dropIndex($table, $name) {
     if (!$this->indexExists($table, $name)) {
       return FALSE;
     }
@@ -615,7 +642,10 @@ public function dropIndex($table, $name) {
     return TRUE;
   }
 
-  public function addUniqueKey($table, $name, $fields) {
+  /**
+ *
+ */
+public function addUniqueKey($table, $name, $fields) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add unique key @name to table @table: table doesn't exist.", array('@table' => $table, '@name' => $name)));
     }
@@ -630,7 +660,10 @@ public function addUniqueKey($table, $name, $fields) {
     }
   }
 
-  public function dropUniqueKey($table, $name) {
+  /**
+ *
+ */
+public function dropUniqueKey($table, $name) {
     if (!$this->indexExists($table, $name)) {
       return FALSE;
     }
@@ -641,7 +674,10 @@ public function dropUniqueKey($table, $name) {
     return TRUE;
   }
 
-  public function addPrimaryKey($table, $fields) {
+  /**
+ *
+ */
+public function addPrimaryKey($table, $fields) {
     if (!$this->tableExists($table)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot add primary key to table @table: table doesn't exist.", array('@table' => $table)));
     }
@@ -657,7 +693,10 @@ public function addPrimaryKey($table, $fields) {
     $this->alterTable($table, $old_schema, $new_schema);
   }
 
-  public function dropPrimaryKey($table) {
+  /**
+ *
+ */
+public function dropPrimaryKey($table) {
     $old_schema = $this->introspectSchema($table);
     $new_schema = $old_schema;
 
@@ -670,7 +709,10 @@ public function dropPrimaryKey($table) {
     return TRUE;
   }
 
-  public function fieldSetDefault($table, $field, $default) {
+  /**
+ *
+ */
+public function fieldSetDefault($table, $field, $default) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot set default value of field @table.@field: field doesn't exist.", array('@table' => $table, '@field' => $field)));
     }
@@ -682,7 +724,10 @@ public function fieldSetDefault($table, $field, $default) {
     $this->alterTable($table, $old_schema, $new_schema);
   }
 
-  public function fieldSetNoDefault($table, $field) {
+  /**
+ *
+ */
+public function fieldSetNoDefault($table, $field) {
     if (!$this->fieldExists($table, $field)) {
       throw new SchemaObjectDoesNotExistException(t("Cannot remove default value of field @table.@field: field doesn't exist.", array('@table' => $table, '@field' => $field)));
     }
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
index be400ad..f036328 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
@@ -8,7 +8,10 @@
  * SQLite implementation of \Drupal\Core\Database\Query\Select.
  */
 class Select extends QuerySelect {
-  public function forUpdate($set = TRUE) {
+  /**
+ *
+ */
+public function forUpdate($set = TRUE) {
     // SQLite does not support FOR UPDATE so nothing to do.
     return $this;
   }
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php
index 6cd3b9e..8b05b82 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php
@@ -11,7 +11,10 @@
  * exactly the effect (it is implemented by DROPing the table).
  */
 class Truncate extends QueryTruncate {
-  public function __toString() {
+  /**
+ *
+ */
+public function __toString() {
     // Create a sanitized comment string to prepend to the query.
     $comments = $this->connection->makeComment($this->comments);
 
diff --git a/core/lib/Drupal/Core/Database/Query/Merge.php b/core/lib/Drupal/Core/Database/Query/Merge.php
index 7d60278..5ee8295 100644
--- a/core/lib/Drupal/Core/Database/Query/Merge.php
+++ b/core/lib/Drupal/Core/Database/Query/Merge.php
@@ -349,7 +349,10 @@ public function key($field, $value = NULL) {
   public function __toString() {
   }
 
-  public function execute() {
+  /**
+ *
+ */
+public function execute() {
     // Default options for merge queries.
     $this->queryOptions += array(
       'throw_exception' => TRUE,
diff --git a/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php b/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php
index 478ca30..9a19ed9 100644
--- a/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php
+++ b/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php
@@ -44,7 +44,10 @@ class PagerSelectExtender extends SelectExtender {
    */
   protected $customCountQuery = FALSE;
 
-  public function __construct(SelectInterface $query, Connection $connection) {
+  /**
+ *
+ */
+public function __construct(SelectInterface $query, Connection $connection) {
     parent::__construct($query, $connection);
 
     // Add pager tag. Do this here to ensure that it is always added before
diff --git a/core/lib/Drupal/Core/Database/Query/SelectExtender.php b/core/lib/Drupal/Core/Database/Query/SelectExtender.php
index 8cd5755..87a77a2 100644
--- a/core/lib/Drupal/Core/Database/Query/SelectExtender.php
+++ b/core/lib/Drupal/Core/Database/Query/SelectExtender.php
@@ -33,7 +33,10 @@ class SelectExtender implements SelectInterface {
    */
   protected $placeholder = 0;
 
-  public function __construct(SelectInterface $query, Connection $connection) {
+  /**
+ *
+ */
+public function __construct(SelectInterface $query, Connection $connection) {
     $this->uniqueIdentifier = uniqid('', TRUE);
     $this->query = $query;
     $this->connection = $connection;
diff --git a/core/lib/Drupal/Core/Database/Query/TableSortExtender.php b/core/lib/Drupal/Core/Database/Query/TableSortExtender.php
index febb66c..8eea10e 100644
--- a/core/lib/Drupal/Core/Database/Query/TableSortExtender.php
+++ b/core/lib/Drupal/Core/Database/Query/TableSortExtender.php
@@ -14,7 +14,10 @@ class TableSortExtender extends SelectExtender {
    */
   protected $header = array();
 
-  public function __construct(SelectInterface $query, Connection $connection) {
+  /**
+ *
+ */
+public function __construct(SelectInterface $query, Connection $connection) {
     parent::__construct($query, $connection);
 
     // Add convenience tag to mark that this is an extended query. We have to
diff --git a/core/lib/Drupal/Core/Database/RowCountException.php b/core/lib/Drupal/Core/Database/RowCountException.php
index daf1940..375e480 100644
--- a/core/lib/Drupal/Core/Database/RowCountException.php
+++ b/core/lib/Drupal/Core/Database/RowCountException.php
@@ -7,7 +7,10 @@
  */
 class RowCountException extends \RuntimeException implements DatabaseException {
 
-  public function __construct($message = NULL, $code = 0, \Exception $previous = NULL) {
+  /**
+ *
+ */
+public function __construct($message = NULL, $code = 0, \Exception $previous = NULL) {
     if (!isset($message)) {
       $message = "rowCount() is supported for DELETE, INSERT, or UPDATE statements performed with structured query builders only, since they would not be portable across database engines otherwise. If the query builders are not sufficient, set the 'return' option to Database::RETURN_AFFECTED to get the number of affected rows.";
     }
diff --git a/core/lib/Drupal/Core/Database/Schema.php b/core/lib/Drupal/Core/Database/Schema.php
index fcd824d..95647aa 100644
--- a/core/lib/Drupal/Core/Database/Schema.php
+++ b/core/lib/Drupal/Core/Database/Schema.php
@@ -38,7 +38,10 @@
    */
   protected $uniqueIdentifier;
 
-  public function __construct($connection) {
+  /**
+ *
+ */
+public function __construct($connection) {
     $this->uniqueIdentifier = uniqid('', TRUE);
     $this->connection = $connection;
   }
diff --git a/core/lib/Drupal/Core/Database/Statement.php b/core/lib/Drupal/Core/Database/Statement.php
index d448532..b6891cb 100644
--- a/core/lib/Drupal/Core/Database/Statement.php
+++ b/core/lib/Drupal/Core/Database/Statement.php
@@ -31,7 +31,10 @@ class Statement extends \PDOStatement implements StatementInterface {
    */
   public $allowRowCount = FALSE;
 
-  protected function __construct(Connection $dbh) {
+  /**
+ *
+ */
+protected function __construct(Connection $dbh) {
     $this->dbh = $dbh;
     $this->setFetchMode(\PDO::FETCH_OBJ);
   }
diff --git a/core/lib/Drupal/Core/Database/StatementPrefetch.php b/core/lib/Drupal/Core/Database/StatementPrefetch.php
index ab6236a..eb83e51 100644
--- a/core/lib/Drupal/Core/Database/StatementPrefetch.php
+++ b/core/lib/Drupal/Core/Database/StatementPrefetch.php
@@ -126,7 +126,10 @@ class StatementPrefetch implements \Iterator, StatementInterface {
    */
   public $allowRowCount = FALSE;
 
-  public function __construct(\PDO $pdo_connection, Connection $connection, $query, array $driver_options = array()) {
+  /**
+ *
+ */
+public function __construct(\PDO $pdo_connection, Connection $connection, $query, array $driver_options = array()) {
     $this->pdoConnection = $pdo_connection;
     $this->dbh = $connection;
     $this->queryString = $query;
@@ -387,7 +390,10 @@ public function fetch($fetch_style = NULL, $cursor_orientation = \PDO::FETCH_ORI
     }
   }
 
-  public function fetchColumn($index = 0) {
+  /**
+ *
+ */
+public function fetchColumn($index = 0) {
     if (isset($this->currentRow) && isset($this->columnNames[$index])) {
       // We grab the value directly from $this->data, and format it.
       $return = $this->currentRow[$this->columnNames[$index]];
diff --git a/core/lib/Drupal/Core/Database/Transaction.php b/core/lib/Drupal/Core/Database/Transaction.php
index 5798343..13ec13c 100644
--- a/core/lib/Drupal/Core/Database/Transaction.php
+++ b/core/lib/Drupal/Core/Database/Transaction.php
@@ -45,7 +45,10 @@ class Transaction {
    */
   protected $name;
 
-  public function __construct(Connection $connection, $name = NULL) {
+  /**
+ *
+ */
+public function __construct(Connection $connection, $name = NULL) {
     $this->connection = $connection;
     // If there is no transaction depth, then no transaction has started. Name
     // the transaction 'drupal_transaction'.
@@ -63,7 +66,10 @@ public function __construct(Connection $connection, $name = NULL) {
     $this->connection->pushTransaction($this->name);
   }
 
-  public function __destruct() {
+  /**
+ *
+ */
+public function __destruct() {
     // If we rolled back then the transaction would have already been popped.
     if (!$this->rolledBack) {
       $this->connection->popTransaction($this->name);
diff --git a/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php b/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php
index 55f8fce..06f7e1f 100644
--- a/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php
+++ b/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php
@@ -42,7 +42,10 @@ class YamlFileLoader
     protected $fileCache;
 
 
-    public function __construct(ContainerBuilder $container)
+    /**
+ *
+ */
+public function __construct(ContainerBuilder $container)
     {
         $this->container = $container;
         $this->fileCache = FileCacheFactory::get('container_yaml_loader');
@@ -51,7 +54,7 @@ public function __construct(ContainerBuilder $container)
     /**
      * Loads a Yaml file.
      *
-     * @param mixed  $file The resource
+     * @param mixed $file
      */
     public function load($file)
     {
@@ -98,7 +101,7 @@ public function load($file)
     /**
      * Parses definitions
      *
-     * @param array  $content
+     * @param array $content
      * @param string $file
      */
     private function parseDefinitions($content, $file)
@@ -120,7 +123,7 @@ private function parseDefinitions($content, $file)
      * Parses a definition.
      *
      * @param string $id
-     * @param array  $service
+     * @param array $service
      * @param string $file
      *
      * @throws InvalidArgumentException When tags are invalid
@@ -335,7 +338,7 @@ protected function loadFile($file)
     /**
      * Validates a YAML file.
      *
-     * @param mixed  $content
+     * @param mixed $content
      * @param string $file
      *
      * @return array
diff --git a/core/lib/Drupal/Core/Entity/EntityStorageBase.php b/core/lib/Drupal/Core/Entity/EntityStorageBase.php
index 70e4f7c..77eda9d 100644
--- a/core/lib/Drupal/Core/Entity/EntityStorageBase.php
+++ b/core/lib/Drupal/Core/Entity/EntityStorageBase.php
@@ -159,7 +159,8 @@ protected function setStaticCache(array $entities) {
    * @param string $hook
    *   One of 'presave', 'insert', 'update', 'predelete', 'delete', or
    *   'revision_delete'.
-   * @param \Drupal\Core\Entity\EntityInterface  $entity
+   * @param \Drupal\Core\Entity\EntityInterface $entityThe
+ *   entity object.
    *   The entity object.
    */
   protected function invokeHook($hook, EntityInterface $entity) {
diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php b/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
index 91c5efa..64d26f2 100644
--- a/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
+++ b/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
@@ -279,7 +279,10 @@ protected function ensureFieldTable($index_prefix, &$field, $type, $langcode, $b
     return $this->fieldTables[$index_prefix . $field_name];
   }
 
-  protected function addJoin($type, $table, $join_condition, $langcode) {
+  /**
+ *
+ */
+protected function addJoin($type, $table, $join_condition, $langcode) {
     $arguments = array();
     if ($langcode) {
       $entity_type_id = $this->sqlQuery->getMetaData('entity_type');
diff --git a/core/lib/Drupal/Core/Entity/entity.api.php b/core/lib/Drupal/Core/Entity/entity.api.php
index ca1835e..901bc21 100644
--- a/core/lib/Drupal/Core/Entity/entity.api.php
+++ b/core/lib/Drupal/Core/Entity/entity.api.php
@@ -1272,9 +1272,9 @@ function hook_entity_query_alter(\Drupal\Core\Entity\Query\QueryInterface $query
  * @param $view_mode
  *   The view mode the entity is rendered in.
  *
- * The module may add elements to $build prior to rendering. The
- * structure of $build is a renderable array as expected by
- * drupal_render().
+ *   The module may add elements to $build prior to rendering. The
+ *   structure of $build is a renderable array as expected by
+ *   drupal_render().
  *
  * @see hook_entity_view_alter()
  * @see hook_ENTITY_TYPE_view()
@@ -1306,9 +1306,9 @@ function hook_entity_view(array &$build, \Drupal\Core\Entity\EntityInterface $en
  * @param $view_mode
  *   The view mode the entity is rendered in.
  *
- * The module may add elements to $build prior to rendering. The
- * structure of $build is a renderable array as expected by
- * drupal_render().
+ *   The module may add elements to $build prior to rendering. The
+ *   structure of $build is a renderable array as expected by
+ *   drupal_render().
  *
  * @see hook_ENTITY_TYPE_view_alter()
  * @see hook_entity_view()
diff --git a/core/lib/Drupal/Core/Field/FieldItemListInterface.php b/core/lib/Drupal/Core/Field/FieldItemListInterface.php
index abeb9f2..6efd6d4 100644
--- a/core/lib/Drupal/Core/Field/FieldItemListInterface.php
+++ b/core/lib/Drupal/Core/Field/FieldItemListInterface.php
@@ -181,12 +181,14 @@ public function deleteRevision();
    */
   public function view($display_options = array());
 
-  /*
-   * Populates a specified number of field items with valid sample data.
-   *
-   * @param int $count
-   *   The number of items to create.
-   */
+  /**
+ *
+ *Populates a specified number of field items with valid sample data.
+ *
+ *@param int $count
+    The number of items to create.
+ 
+ */
   public function generateSampleItems($count = 1);
 
   /**
diff --git a/core/lib/Drupal/Core/Locale/CountryManager.php b/core/lib/Drupal/Core/Locale/CountryManager.php
index ac7f1bf..fb32a94 100644
--- a/core/lib/Drupal/Core/Locale/CountryManager.php
+++ b/core/lib/Drupal/Core/Locale/CountryManager.php
@@ -21,11 +21,13 @@ class CountryManager implements CountryManagerInterface {
    */
   protected $countries;
 
-  /*
-   * Constructor.
-   *
-   * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
-   */
+  /**
+ *
+ *Constructor.
+ *
+ *@param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
+ 
+ */
   public function __construct(ModuleHandlerInterface $module_handler) {
     $this->moduleHandler = $module_handler;
   }
diff --git a/core/lib/Drupal/Core/Lock/LockBackendInterface.php b/core/lib/Drupal/Core/Lock/LockBackendInterface.php
index 4b99ccc..eef492c 100644
--- a/core/lib/Drupal/Core/Lock/LockBackendInterface.php
+++ b/core/lib/Drupal/Core/Lock/LockBackendInterface.php
@@ -68,7 +68,8 @@
    *
    * @param string $name
    *   Lock name. Limit of name's length is 255 characters.
-   * @param float $timeout = 30.0
+   * @param float $timeout
+ *   = 30.0
    *   (optional) Lock lifetime in seconds.
    *
    * @return bool
@@ -95,7 +96,8 @@ public function lockMayBeAvailable($name);
    *
    * @param string $name
    *   Lock name currently being locked.
-   * @param int $delay = 30
+   * @param int $delay
+ *   = 30
    *   Milliseconds to wait for.
    *
    * @return bool
diff --git a/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php b/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php
index 5848bc3..3b994e1 100644
--- a/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php
+++ b/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php
@@ -17,7 +17,8 @@
    *
    * @param \Drupal\Component\Plugin\Context\ContextInterface[] $contexts
    *   An array of contexts.
-   * @param array $definitions .
+   * @param array $definitions
+ *   .
    *   An array of plugin definitions.
    *
    * @return array
diff --git a/core/lib/Drupal/Core/Render/Element/Button.php b/core/lib/Drupal/Core/Render/Element/Button.php
index e75c55e..7b08afb 100644
--- a/core/lib/Drupal/Core/Render/Element/Button.php
+++ b/core/lib/Drupal/Core/Render/Element/Button.php
@@ -74,8 +74,8 @@ public static function processButton(&$element, FormStateInterface $form_state,
    *   An associative array containing the properties of the element.
    *   Properties used: #attributes, #button_type, #name, #value.
    *
-   * The #button_type property accepts any value, though core themes have CSS that
-   * styles the following button_types appropriately: 'primary', 'danger'.
+   *   The #button_type property accepts any value, though core themes have CSS that
+   *   styles the following button_types appropriately: 'primary', 'danger'.
    *
    * @return array
    *   The $element with prepared variables ready for input.html.twig.
diff --git a/core/lib/Drupal/Core/Render/Element/Date.php b/core/lib/Drupal/Core/Render/Element/Date.php
index e318a23..23cb6e5 100644
--- a/core/lib/Drupal/Core/Render/Element/Date.php
+++ b/core/lib/Drupal/Core/Render/Element/Date.php
@@ -78,7 +78,7 @@ public static function processDate(&$element, FormStateInterface $form_state, &$
    *   Properties used: #title, #value, #options, #description, #required,
    *   #attributes, #id, #name, #type, #min, #max, #step, #value, #size.
    *
-   * Note: The input "name" attribute needs to be sanitized before output, which
+   *   Note: The input "name" attribute needs to be sanitized before output, which
    *       is currently done by initializing Drupal\Core\Template\Attribute with
    *       all the attributes.
    *
diff --git a/core/lib/Drupal/Core/Render/Element/Fieldgroup.php b/core/lib/Drupal/Core/Render/Element/Fieldgroup.php
index a1bc1ee..d6ce0b0 100644
--- a/core/lib/Drupal/Core/Render/Element/Fieldgroup.php
+++ b/core/lib/Drupal/Core/Render/Element/Fieldgroup.php
@@ -18,7 +18,10 @@
  */
 class Fieldgroup extends Fieldset {
 
-  public function getInfo() {
+  /**
+ *
+ */
+public function getInfo() {
     return array(
       '#attributes' => array('class' => array('fieldgroup')),
     ) + parent::getInfo();
diff --git a/core/lib/Drupal/Core/Render/Element/Radio.php b/core/lib/Drupal/Core/Render/Element/Radio.php
index 58086fb..124e7c8 100644
--- a/core/lib/Drupal/Core/Render/Element/Radio.php
+++ b/core/lib/Drupal/Core/Render/Element/Radio.php
@@ -45,7 +45,7 @@ public function getInfo() {
    *   Properties used: #required, #return_value, #value, #attributes, #title,
    *   #description.
    *
-   * Note: The input "name" attribute needs to be sanitized before output, which
+   *   Note: The input "name" attribute needs to be sanitized before output, which
    *       is currently done by initializing Drupal\Core\Template\Attribute with
    *       all the attributes.
    *
diff --git a/core/lib/Drupal/Core/Routing/RouteProvider.php b/core/lib/Drupal/Core/Routing/RouteProvider.php
index 96a33a4..b1ff886 100644
--- a/core/lib/Drupal/Core/Routing/RouteProvider.php
+++ b/core/lib/Drupal/Core/Routing/RouteProvider.php
@@ -134,7 +134,8 @@ public function __construct(Connection $connection, StateInterface $state, Curre
    * very large route sets to be filtered down to likely candidates, which
    * may then be filtered in memory more completely.
    *
-   * @param Request $request A request against which to match.
+   * @param Request $request
+ *   A request against which to match.
    *
    * @return \Symfony\Component\Routing\RouteCollection with all urls that
    *      could potentially match $request. Empty collection if nothing can
diff --git a/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php b/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php
index 9a314ed..c324b3a 100644
--- a/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php
+++ b/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php
@@ -34,7 +34,8 @@ public function getPathFromRoute($name, $parameters = array());
    *
    * @param string|\Symfony\Component\Routing\Route $name
    *   The route name or a route object.
-   * @param array  $parameters
+   * @param array $parametersAn
+ *   associative array of parameter names and values.
    *   An associative array of parameter names and values.
    * @param array $options
    *   (optional) An associative array of additional options, with the following
diff --git a/core/lib/Drupal/Core/Routing/UrlMatcher.php b/core/lib/Drupal/Core/Routing/UrlMatcher.php
index 9056903..56ad3cb 100644
--- a/core/lib/Drupal/Core/Routing/UrlMatcher.php
+++ b/core/lib/Drupal/Core/Routing/UrlMatcher.php
@@ -32,7 +32,10 @@ public function __construct(CurrentPathStack $current_path) {
     $this->currentPath = $current_path;
   }
 
-  public function finalMatch(RouteCollection $collection, Request $request) {
+  /**
+ *
+ */
+public function finalMatch(RouteCollection $collection, Request $request) {
     $this->routes = $collection;
     $context = new RequestContext();
     $context->fromRequest($request);
diff --git a/core/lib/Drupal/Core/Theme/ThemeManagerInterface.php b/core/lib/Drupal/Core/Theme/ThemeManagerInterface.php
index aba617a..2c97b0d 100644
--- a/core/lib/Drupal/Core/Theme/ThemeManagerInterface.php
+++ b/core/lib/Drupal/Core/Theme/ThemeManagerInterface.php
@@ -114,7 +114,7 @@ public function setActiveTheme(ActiveTheme $active_theme);
    *   (optional) An additional variable that is passed by reference. If more
    *   context needs to be provided to implementations, then this should be an
    *   associative array as described above.
-   * Execute the alter hook on the current theme.
+   *   Execute the alter hook on the current theme.
    *
    * @see \Drupal\Core\Extension\ModuleHandlerInterface
    */
diff --git a/core/lib/Drupal/Core/Url.php b/core/lib/Drupal/Core/Url.php
index 0f5b4e5..a6eb310 100644
--- a/core/lib/Drupal/Core/Url.php
+++ b/core/lib/Drupal/Core/Url.php
@@ -249,11 +249,11 @@ public static function fromUserInput($user_input, $options = []) {
    *     defined, the current scheme is used, so the user stays on HTTP or HTTPS
    *     respectively. TRUE enforces HTTPS and FALSE enforces HTTP.
    *
-   * Note: the internal: scheme should be avoided except when processing actual
-   * user input that may or may not correspond to a Drupal route. Normally use
-   * Url::fromRoute() for code linking to any any Drupal page.
+   *   Note: the internal: scheme should be avoided except when processing actual
+   *   user input that may or may not correspond to a Drupal route. Normally use
+   *   Url::fromRoute() for code linking to any any Drupal page.
    *
-   * You can call access() on the returned object to do access checking.
+   *   You can call access() on the returned object to do access checking.
    *
    * @return \Drupal\Core\Url
    *   A new Url object with properties depending on the URI scheme.
diff --git a/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php b/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php
index 34d24b1..4eb1ed1 100644
--- a/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php
+++ b/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class ActionLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array('action' => 'core/modules/action');
     parent::setUp();
   }
diff --git a/core/modules/aggregator/src/Tests/AddFeedTest.php b/core/modules/aggregator/src/Tests/AddFeedTest.php
index 37ed483..2246e1b 100644
--- a/core/modules/aggregator/src/Tests/AddFeedTest.php
+++ b/core/modules/aggregator/src/Tests/AddFeedTest.php
@@ -9,7 +9,10 @@
  */
 class AddFeedTest extends AggregatorTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/aggregator/src/Tests/AggregatorRenderingTest.php b/core/modules/aggregator/src/Tests/AggregatorRenderingTest.php
index dff5c9f..19c5ec5 100644
--- a/core/modules/aggregator/src/Tests/AggregatorRenderingTest.php
+++ b/core/modules/aggregator/src/Tests/AggregatorRenderingTest.php
@@ -18,7 +18,10 @@ class AggregatorRenderingTest extends AggregatorTestBase {
    */
   public static $modules = array('block', 'test_page_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php b/core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
index e39d28a..f008434 100644
--- a/core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
+++ b/core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
@@ -43,9 +43,11 @@ protected function setUp() {
     $this->fieldName = 'title';
   }
 
-  /*
-   * Tests the formatter output.
-   */
+  /**
+ *
+ *Tests the formatter output.
+ 
+ */
   public function testStringFormatter() {
     // Create an aggregator feed.
     $aggregator_feed = Feed::create([
diff --git a/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php b/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
index 022b793..fb726e1 100644
--- a/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
+++ b/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
@@ -110,6 +110,9 @@ public function testSettingsForm() {
 namespace {
   // @todo Delete after https://www.drupal.org/node/1858196 is in.
   if (!function_exists('drupal_set_message')) {
-    function drupal_set_message() {}
+    /**
+ *
+ */
+function drupal_set_message() {}
   }
 }
diff --git a/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php b/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php
index 4595844..c59c4d7 100644
--- a/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php
+++ b/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php
@@ -423,7 +423,10 @@ class BigPipePlaceholderTestCase {
    */
   public $embeddedHtmlResponse;
 
-  public function __construct(array $render_array, $placeholder, array $placeholder_render_array) {
+  /**
+ *
+ */
+public function __construct(array $render_array, $placeholder, array $placeholder_render_array) {
     $this->renderArray = $render_array;
     $this->placeholder = $placeholder;
     $this->placeholderRenderArray = $placeholder_render_array;
diff --git a/core/modules/big_pipe/src/Tests/BigPipeTest.php b/core/modules/big_pipe/src/Tests/BigPipeTest.php
index 9ae960b..7419ccd 100644
--- a/core/modules/big_pipe/src/Tests/BigPipeTest.php
+++ b/core/modules/big_pipe/src/Tests/BigPipeTest.php
@@ -269,7 +269,10 @@ public function testBigPipeNoJs() {
     unlink(\Drupal::root() . '/' . $this->siteDirectory . '/error.log');
   }
 
-  protected function assertBigPipeResponseHeadersPresent() {
+  /**
+ *
+ */
+protected function assertBigPipeResponseHeadersPresent() {
     $this->pass('Verifying BigPipe response headers…', 'Debug');
     $this->assertTrue(FALSE !== strpos($this->drupalGetHeader('Cache-Control'), 'private'), 'Cache-Control header set to "private".');
     $this->assertEqual('no-store, content="BigPipe/1.0"', $this->drupalGetHeader('Surrogate-Control'));
diff --git a/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php b/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php
index 9123129..940297d 100644
--- a/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php
+++ b/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php
@@ -38,7 +38,10 @@ public function testNonHtmlResponse($response_class) {
     $big_pipe_response_attachments_processor->processAttachments($non_html_response);
   }
 
-  function nonHtmlResponseProvider() {
+  /**
+ *
+ */
+function nonHtmlResponseProvider() {
     return [
       'AjaxResponse, which implements AttachmentsInterface' => [AjaxResponse::class],
       'A dummy that implements AttachmentsInterface' => [get_class($this->prophesize(AttachmentsInterface::class)->reveal())],
@@ -84,7 +87,10 @@ public function testHtmlResponse(array $attachments) {
     $this->assertEquals('processed', $processed_big_pipe_response->getContent(), 'Content of returned (processed) response object MUST be changed.');
   }
 
-  public function attachmentsProvider() {
+  /**
+ *
+ */
+public function attachmentsProvider() {
     $typical_cases = [
       'no attachments' => [[]],
       'libraries' => [['library' => ['core/drupal']]],
diff --git a/core/modules/block/src/Tests/BlockCacheTest.php b/core/modules/block/src/Tests/BlockCacheTest.php
index f774539..786b69a 100644
--- a/core/modules/block/src/Tests/BlockCacheTest.php
+++ b/core/modules/block/src/Tests/BlockCacheTest.php
@@ -47,7 +47,10 @@ class BlockCacheTest extends WebTestBase {
    */
   protected $block;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an admin user, log in and enable test blocks.
diff --git a/core/modules/block/src/Tests/BlockHiddenRegionTest.php b/core/modules/block/src/Tests/BlockHiddenRegionTest.php
index b7d44ad..ccc8b2d 100644
--- a/core/modules/block/src/Tests/BlockHiddenRegionTest.php
+++ b/core/modules/block/src/Tests/BlockHiddenRegionTest.php
@@ -24,7 +24,10 @@ class BlockHiddenRegionTest extends WebTestBase {
    */
   public static $modules = array('block', 'block_test', 'search');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create administrative user.
diff --git a/core/modules/block/src/Tests/BlockHookOperationTest.php b/core/modules/block/src/Tests/BlockHookOperationTest.php
index 1f3b55d..c53f36a 100644
--- a/core/modules/block/src/Tests/BlockHookOperationTest.php
+++ b/core/modules/block/src/Tests/BlockHookOperationTest.php
@@ -19,7 +19,10 @@ class BlockHookOperationTest extends WebTestBase {
    */
   public static $modules = array('block', 'entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $permissions = array(
@@ -31,9 +34,11 @@ protected function setUp() {
     $this->drupalLogin($admin_user);
   }
 
-  /*
-   * Tests the block list to see if the test_operation link is added.
-   */
+  /**
+ *
+ *Tests the block list to see if the test_operation link is added.
+ 
+ */
   public function testBlockOperationAlter() {
     // Add a test block, any block will do.
     // Set the machine name so the test_operation link can be built later.
diff --git a/core/modules/block/src/Tests/BlockHtmlTest.php b/core/modules/block/src/Tests/BlockHtmlTest.php
index baf5d4b..e088960 100644
--- a/core/modules/block/src/Tests/BlockHtmlTest.php
+++ b/core/modules/block/src/Tests/BlockHtmlTest.php
@@ -18,7 +18,10 @@ class BlockHtmlTest extends WebTestBase {
    */
   public static $modules = array('block', 'block_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->rootUser);
diff --git a/core/modules/block/src/Tests/BlockInstallTest.php b/core/modules/block/src/Tests/BlockInstallTest.php
index 55f4b8a..f5439e8 100644
--- a/core/modules/block/src/Tests/BlockInstallTest.php
+++ b/core/modules/block/src/Tests/BlockInstallTest.php
@@ -11,7 +11,10 @@
  */
 class BlockInstallTest extends WebTestBase {
 
-  public function testCacheTagInvalidationUponInstallation() {
+  /**
+ *
+ */
+public function testCacheTagInvalidationUponInstallation() {
     // Warm the page cache.
     $this->drupalGet('');
     $this->assertNoText('Powered by Drupal');
diff --git a/core/modules/block/src/Tests/BlockInvalidRegionTest.php b/core/modules/block/src/Tests/BlockInvalidRegionTest.php
index 6ab5daf..15165f7 100644
--- a/core/modules/block/src/Tests/BlockInvalidRegionTest.php
+++ b/core/modules/block/src/Tests/BlockInvalidRegionTest.php
@@ -20,7 +20,10 @@ class BlockInvalidRegionTest extends WebTestBase {
    */
   public static $modules = array('block', 'block_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create an admin user.
     $admin_user = $this->drupalCreateUser(array(
diff --git a/core/modules/block/src/Tests/BlockLanguageCacheTest.php b/core/modules/block/src/Tests/BlockLanguageCacheTest.php
index 20de4f6..c71d5f2 100644
--- a/core/modules/block/src/Tests/BlockLanguageCacheTest.php
+++ b/core/modules/block/src/Tests/BlockLanguageCacheTest.php
@@ -27,7 +27,10 @@ class BlockLanguageCacheTest extends WebTestBase {
    */
   protected $langcodes = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create test languages.
diff --git a/core/modules/block/src/Tests/BlockLanguageTest.php b/core/modules/block/src/Tests/BlockLanguageTest.php
index a2bf249..f485185 100644
--- a/core/modules/block/src/Tests/BlockLanguageTest.php
+++ b/core/modules/block/src/Tests/BlockLanguageTest.php
@@ -25,7 +25,10 @@ class BlockLanguageTest extends WebTestBase {
    */
   public static $modules = array('language', 'block', 'content_translation');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a new user, allow him to manage the blocks and the languages.
diff --git a/core/modules/block/src/Tests/BlockRenderOrderTest.php b/core/modules/block/src/Tests/BlockRenderOrderTest.php
index 13b7fa3..146fd3e 100644
--- a/core/modules/block/src/Tests/BlockRenderOrderTest.php
+++ b/core/modules/block/src/Tests/BlockRenderOrderTest.php
@@ -19,7 +19,10 @@ class BlockRenderOrderTest extends WebTestBase {
    */
   public static $modules = array('node', 'block');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create a test user.
     $end_user = $this->drupalCreateUser(array(
diff --git a/core/modules/block/src/Tests/BlockTestBase.php b/core/modules/block/src/Tests/BlockTestBase.php
index 49a7f75..89742fe 100644
--- a/core/modules/block/src/Tests/BlockTestBase.php
+++ b/core/modules/block/src/Tests/BlockTestBase.php
@@ -31,7 +31,10 @@
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Use the test page as the front page.
diff --git a/core/modules/block/src/Tests/BlockUiTest.php b/core/modules/block/src/Tests/BlockUiTest.php
index 5d38cd6..64ee322 100644
--- a/core/modules/block/src/Tests/BlockUiTest.php
+++ b/core/modules/block/src/Tests/BlockUiTest.php
@@ -40,7 +40,10 @@ class BlockUiTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create and log in an administrative user.
     $this->adminUser = $this->drupalCreateUser(array(
diff --git a/core/modules/block/src/Tests/Views/DisplayBlockTest.php b/core/modules/block/src/Tests/Views/DisplayBlockTest.php
index faf68c4..219d9ec 100644
--- a/core/modules/block/src/Tests/Views/DisplayBlockTest.php
+++ b/core/modules/block/src/Tests/Views/DisplayBlockTest.php
@@ -35,7 +35,10 @@ class DisplayBlockTest extends ViewTestBase {
    */
   public static $testViews = array('test_view_block', 'test_view_block2');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('block_test_views'));
diff --git a/core/modules/block/tests/modules/block_test/src/Controller/TestMultipleFormController.php b/core/modules/block/tests/modules/block_test/src/Controller/TestMultipleFormController.php
index 27f7a17..4771970 100644
--- a/core/modules/block/tests/modules/block_test/src/Controller/TestMultipleFormController.php
+++ b/core/modules/block/tests/modules/block_test/src/Controller/TestMultipleFormController.php
@@ -10,7 +10,10 @@
  */
 class TestMultipleFormController  extends ControllerBase {
 
-  public function testMultipleForms() {
+  /**
+ *
+ */
+public function testMultipleForms() {
     $form_state = new FormState();
     $build = [
       'form1' => $this->formBuilder()->buildForm('\Drupal\block_test\Form\TestForm', $form_state),
diff --git a/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php b/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
index 6dfc66c..82afa73 100644
--- a/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
+++ b/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
@@ -30,7 +30,10 @@ class BlockStorageUnitTest extends KernelTestBase {
    */
   protected $controller;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->controller = $this->container->get('entity_type.manager')->getStorage('block');
diff --git a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php
index aab11fe..3419b8b 100644
--- a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php
+++ b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php
@@ -115,7 +115,10 @@ public function testGetVisibleBlocksPerRegion(array $blocks_config, array $expec
     $this->assertEquals($expected_blocks, $result);
   }
 
-  public function providerBlocksConfig() {
+  /**
+ *
+ */
+public function providerBlocksConfig() {
     $blocks_config = array(
       'block1' => array(
         AccessResult::allowed(), 'top', 0
diff --git a/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php b/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php
index c47d65a..712419d 100644
--- a/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php
+++ b/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php
@@ -20,7 +20,10 @@ class CategoryAutocompleteTest extends UnitTestCase {
    */
   protected $autocompleteController;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $block_manager = $this->getMock('Drupal\Core\Block\BlockManagerInterface');
     $block_manager->expects($this->any())
       ->method('getCategories')
diff --git a/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php b/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
index a513c4e..fe4faad 100644
--- a/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
+++ b/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
@@ -12,7 +12,10 @@
  */
 class BlockLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array('block' => 'core/modules/block');
     parent::setUp();
 
diff --git a/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php b/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
index 7701eca..6ab8d90 100644
--- a/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
+++ b/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
@@ -65,7 +65,10 @@ public function setUpDisplayVariant($configuration = array(), $definition = arra
       ->getMock();
   }
 
-  public function providerBuild() {
+  /**
+ *
+ */
+public function providerBuild() {
     $blocks_config = array(
       'block1' => array(
         // region, is main content block, is messages block, is title block
diff --git a/core/modules/block_content/src/Tests/BlockContentTypeTest.php b/core/modules/block_content/src/Tests/BlockContentTypeTest.php
index e73aa2a..7c18de7 100644
--- a/core/modules/block_content/src/Tests/BlockContentTypeTest.php
+++ b/core/modules/block_content/src/Tests/BlockContentTypeTest.php
@@ -36,7 +36,10 @@ class BlockContentTypeTest extends BlockContentTestBase {
    */
   protected $autoCreateBasicBlockType = FALSE;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/block_content/src/Tests/PageEditTest.php b/core/modules/block_content/src/Tests/PageEditTest.php
index 4a3fb90..68d623f 100644
--- a/core/modules/block_content/src/Tests/PageEditTest.php
+++ b/core/modules/block_content/src/Tests/PageEditTest.php
@@ -12,7 +12,10 @@
  */
 class PageEditTest extends BlockContentTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php b/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
index 65d33c88..1fe3c75 100644
--- a/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
+++ b/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
@@ -36,7 +36,10 @@
    */
   public static $modules = array('block', 'block_content', 'block_content_test_views');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp($import_test_views);
     // Ensure the basic bundle exists. This is provided by the standard profile.
     $this->createBlockContentType(array('id' => 'basic'));
diff --git a/core/modules/block_content/src/Tests/Views/FieldTypeTest.php b/core/modules/block_content/src/Tests/Views/FieldTypeTest.php
index f14653f..ee28c3b 100644
--- a/core/modules/block_content/src/Tests/Views/FieldTypeTest.php
+++ b/core/modules/block_content/src/Tests/Views/FieldTypeTest.php
@@ -18,7 +18,10 @@ class FieldTypeTest extends BlockContentTestBase {
    */
   public static $testViews = array('test_field_type');
 
-  public function testFieldType() {
+  /**
+ *
+ */
+public function testFieldType() {
     $block_content = $this->createBlockContent();
     $expected_result[] = array(
       'id' => $block_content->id(),
diff --git a/core/modules/block_content/src/Tests/Views/RevisionRelationshipsTest.php b/core/modules/block_content/src/Tests/Views/RevisionRelationshipsTest.php
index 516705d..c986e62 100644
--- a/core/modules/block_content/src/Tests/Views/RevisionRelationshipsTest.php
+++ b/core/modules/block_content/src/Tests/Views/RevisionRelationshipsTest.php
@@ -29,7 +29,10 @@ class RevisionRelationshipsTest extends ViewTestBase {
    */
   public static $testViews = array('test_block_content_revision_id', 'test_block_content_revision_revision_id');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     BlockContentType::create(array(
       'id' => 'basic',
diff --git a/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php b/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
index 3ab934c..cb3a412 100644
--- a/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
+++ b/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
@@ -12,7 +12,10 @@
  */
 class BlockContentLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array(
       'block' => 'core/modules/block',
       'block_content' => 'core/modules/block_content',
diff --git a/core/modules/book/src/BookManagerInterface.php b/core/modules/book/src/BookManagerInterface.php
index 8f21942..0184218 100644
--- a/core/modules/book/src/BookManagerInterface.php
+++ b/core/modules/book/src/BookManagerInterface.php
@@ -138,8 +138,8 @@ public function bookTreeCollectNodeLinks(&$tree, &$node_links);
    * @param array $link
    *   A book link.
    *
-   * Note: copied from _menu_link_translate() in menu.inc, but reduced to the
-   * minimal code that's used.
+   *   Note: copied from _menu_link_translate() in menu.inc, but reduced to the
+   *   minimal code that's used.
    */
   public function bookLinkTranslate(&$link);
 
@@ -208,7 +208,10 @@ public function saveBookLink(array $link, $new);
    */
   public function getLinkDefaults($nid);
 
-  public function getBookParents(array $item, array $parent = array());
+  /**
+ *
+ */
+public function getBookParents(array $item, array $parent = array());
 
   /**
    * Builds the common elements of the book form for the node and outline forms.
diff --git a/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php b/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php
index 927241f..3b72d20 100644
--- a/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php
+++ b/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class BookLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array(
       'book' => 'core/modules/book',
       'node' => 'core/modules/node',
diff --git a/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php b/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
index 7683ea1..19b6cd6 100644
--- a/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
+++ b/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
@@ -18,7 +18,10 @@ class BreakpointDiscoveryTest extends KernelTestBase {
    */
   public static $modules = array('system', 'breakpoint', 'breakpoint_module_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('breakpoint_theme_test'));
   }
diff --git a/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php b/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
index bdd5cd9..82f6de2 100644
--- a/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
+++ b/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
@@ -42,7 +42,10 @@ class BreakpointTest extends UnitTestCase {
    */
   protected $stringTranslation;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->stringTranslation = $this->getMock('Drupal\Core\StringTranslation\TranslationInterface');
diff --git a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php
index 77115e6..83ac390 100644
--- a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php
+++ b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php
@@ -29,7 +29,10 @@ class CKEditorAdminTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create text format.
diff --git a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
index f50dc8b..da6e9d7 100644
--- a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
+++ b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
@@ -34,7 +34,10 @@ class CKEditorLoadingTest extends WebTestBase {
    */
   protected $normalUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create text format, associate CKEditor.
@@ -194,7 +197,10 @@ protected function testLoadingWithoutInternalButtons() {
     $this->assertTrue(isset($editor_settings['disallowedContent']));
   }
 
-  protected function getThingsToCheck() {
+  /**
+ *
+ */
+protected function getThingsToCheck() {
     $settings = $this->getDrupalSettings();
     return array(
       // JavaScript settings.
diff --git a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php
index 92c448b..61b4399 100644
--- a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php
+++ b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php
@@ -27,7 +27,10 @@ class CKEditorPluginManagerTest extends KernelTestBase {
    */
   protected $manager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Install the Filter module.
diff --git a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php
index 15e56b0..2aab1f3 100644
--- a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php
+++ b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php
@@ -35,7 +35,10 @@ class CKEditorTest extends KernelTestBase {
    */
   protected $manager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Install the Filter module.
@@ -427,7 +430,10 @@ protected function assertCKEditorLanguage($langcode = 'fr') {
     $this->assertEqual($settings['language'], $langcode);
   }
 
-  protected function getDefaultInternalConfig() {
+  /**
+ *
+ */
+protected function getDefaultInternalConfig() {
     return array(
       'customConfig' => '',
       'pasteFromWordPromptCleanup' => TRUE,
@@ -438,7 +444,10 @@ protected function getDefaultInternalConfig() {
     );
   }
 
-  protected function getDefaultAllowedContentConfig() {
+  /**
+ *
+ */
+protected function getDefaultAllowedContentConfig() {
     return [
       'h2' => ['attributes' => 'id', 'styles' => FALSE, 'classes' => FALSE],
       'h3' => ['attributes' => FALSE, 'styles' => FALSE, 'classes' => FALSE],
@@ -453,13 +462,19 @@ protected function getDefaultAllowedContentConfig() {
     ];
   }
 
-  protected function getDefaultDisallowedContentConfig() {
+  /**
+ *
+ */
+protected function getDefaultDisallowedContentConfig() {
     return array(
       '*' => array('attributes' => 'on*'),
     );
   }
 
-  protected function getDefaultToolbarConfig() {
+  /**
+ *
+ */
+protected function getDefaultToolbarConfig() {
     return array(
       array(
         'name' => 'Formatting',
@@ -485,7 +500,10 @@ protected function getDefaultToolbarConfig() {
     );
   }
 
-  protected function getDefaultContentsCssConfig() {
+  /**
+ *
+ */
+protected function getDefaultContentsCssConfig() {
     return array(
       file_url_transform_relative(file_create_url('core/modules/ckeditor/css/ckeditor-iframe.css')),
       file_url_transform_relative(file_create_url('core/modules/system/css/components/align.module.css')),
diff --git a/core/modules/comment/src/Plugin/views/argument/UserUid.php b/core/modules/comment/src/Plugin/views/argument/UserUid.php
index cd384d5..84a9e26 100644
--- a/core/modules/comment/src/Plugin/views/argument/UserUid.php
+++ b/core/modules/comment/src/Plugin/views/argument/UserUid.php
@@ -48,7 +48,10 @@ public static function create(ContainerInterface $container, array $configuratio
     return new static($configuration, $plugin_id, $plugin_definition, $container->get('database'));
   }
 
-  function title() {
+  /**
+ *
+ */
+function title() {
     if (!$this->argument) {
       $title = \Drupal::config('user.settings')->get('anonymous');
     }
@@ -62,7 +65,10 @@ function title() {
     return $title;
   }
 
-  protected function defaultActions($which = NULL) {
+  /**
+ *
+ */
+protected function defaultActions($which = NULL) {
     // Disallow summary views on this argument.
     if (!$which) {
       $actions = parent::defaultActions();
@@ -76,7 +82,10 @@ protected function defaultActions($which = NULL) {
     }
   }
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $this->ensureMyTable();
 
     // Use the table definition to correctly add this user ID condition.
diff --git a/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php b/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
index a3788e0..3b5b8be 100644
--- a/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
+++ b/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
@@ -13,7 +13,10 @@
  */
 class StatisticsLastUpdated extends Date {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $this->node_table = $this->query->ensureTable('node_field_data', $this->relationship);
     $this->field_alias = $this->query->addField(NULL, "GREATEST(" . $this->node_table . ".changed, " . $this->tableAlias . ".last_comment_timestamp)", $this->tableAlias . '_' . $this->field);
diff --git a/core/modules/comment/src/Plugin/views/filter/NodeComment.php b/core/modules/comment/src/Plugin/views/filter/NodeComment.php
index e34584f..93a3b99 100644
--- a/core/modules/comment/src/Plugin/views/filter/NodeComment.php
+++ b/core/modules/comment/src/Plugin/views/filter/NodeComment.php
@@ -14,7 +14,10 @@
  */
 class NodeComment extends InOperator {
 
-  public function getValueOptions() {
+  /**
+ *
+ */
+public function getValueOptions() {
     $this->valueOptions = array(
       CommentItemInterface::HIDDEN => $this->t('Hidden'),
       CommentItemInterface::CLOSED => $this->t('Closed'),
diff --git a/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php b/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
index 046edf4..30130e1 100644
--- a/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
+++ b/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
@@ -13,7 +13,10 @@
  */
 class StatisticsLastUpdated extends Date {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $this->node_table = $this->query->ensureTable('node', $this->relationship);
 
diff --git a/core/modules/comment/src/Plugin/views/filter/UserUid.php b/core/modules/comment/src/Plugin/views/filter/UserUid.php
index adee320..59f9721 100644
--- a/core/modules/comment/src/Plugin/views/filter/UserUid.php
+++ b/core/modules/comment/src/Plugin/views/filter/UserUid.php
@@ -14,7 +14,10 @@
  */
 class UserUid extends FilterPluginBase {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
 
     $subselect = db_select('comment_field_data', 'c');
diff --git a/core/modules/comment/src/Plugin/views/row/Rss.php b/core/modules/comment/src/Plugin/views/row/Rss.php
index d528040..8ffaf52 100644
--- a/core/modules/comment/src/Plugin/views/row/Rss.php
+++ b/core/modules/comment/src/Plugin/views/row/Rss.php
@@ -39,7 +39,10 @@ class Rss extends RssPluginBase {
    */
   protected $entityTypeId = 'comment';
 
-  public function preRender($result) {
+  /**
+ *
+ */
+public function preRender($result) {
     $cids = array();
 
     foreach ($result as $row) {
@@ -59,7 +62,10 @@ public function buildOptionsForm_summary_options() {
     return $options;
   }
 
-  public function render($row) {
+  /**
+ *
+ */
+public function render($row) {
     global $base_url;
 
     $cid = $row->{$this->field_alias};
diff --git a/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php b/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
index 863b3a4..9ebd24b 100644
--- a/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
+++ b/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
@@ -14,7 +14,10 @@
  */
 class StatisticsLastCommentName extends SortPluginBase {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $definition = array(
       'table' => 'users_field_data',
diff --git a/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php b/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php
index 0f9c055..78491e6 100644
--- a/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php
+++ b/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php
@@ -13,7 +13,10 @@
  */
 class StatisticsLastUpdated extends Date {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $this->node_table = $this->query->ensureTable('node', $this->relationship);
     $this->field_alias = $this->query->addOrderBy(NULL, "GREATEST(" . $this->node_table . ".changed, " . $this->tableAlias . ".last_comment_timestamp)", $this->options['order'], $this->tableAlias . '_' . $this->field);
diff --git a/core/modules/comment/src/Plugin/views/sort/Thread.php b/core/modules/comment/src/Plugin/views/sort/Thread.php
index 1984934..b5fe567 100644
--- a/core/modules/comment/src/Plugin/views/sort/Thread.php
+++ b/core/modules/comment/src/Plugin/views/sort/Thread.php
@@ -13,7 +13,10 @@
  */
 class Thread extends SortPluginBase {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
 
     //Read comment_render() in comment.module for an explanation of the
diff --git a/core/modules/comment/src/Tests/CommentAdminTest.php b/core/modules/comment/src/Tests/CommentAdminTest.php
index f6dc5c6..4e24856 100644
--- a/core/modules/comment/src/Tests/CommentAdminTest.php
+++ b/core/modules/comment/src/Tests/CommentAdminTest.php
@@ -12,7 +12,10 @@
  */
 class CommentAdminTest extends CommentTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/comment/src/Tests/CommentAnonymousTest.php b/core/modules/comment/src/Tests/CommentAnonymousTest.php
index 660d754..3ebd440 100644
--- a/core/modules/comment/src/Tests/CommentAnonymousTest.php
+++ b/core/modules/comment/src/Tests/CommentAnonymousTest.php
@@ -11,7 +11,10 @@
  */
 class CommentAnonymousTest extends CommentTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Enable anonymous and authenticated user comments.
diff --git a/core/modules/comment/src/Tests/CommentBlockTest.php b/core/modules/comment/src/Tests/CommentBlockTest.php
index de92238..80f619f 100644
--- a/core/modules/comment/src/Tests/CommentBlockTest.php
+++ b/core/modules/comment/src/Tests/CommentBlockTest.php
@@ -19,7 +19,10 @@ class CommentBlockTest extends CommentTestBase {
    */
   public static $modules = array('block', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Update admin user to have the 'administer blocks' permission.
     $this->adminUser = $this->drupalCreateUser(array(
diff --git a/core/modules/comment/src/Tests/CommentBookTest.php b/core/modules/comment/src/Tests/CommentBookTest.php
index b23028b..9c205c9 100644
--- a/core/modules/comment/src/Tests/CommentBookTest.php
+++ b/core/modules/comment/src/Tests/CommentBookTest.php
@@ -23,7 +23,10 @@ class CommentBookTest extends WebTestBase {
    */
   public static $modules = array('book', 'comment');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create comment field on book.
diff --git a/core/modules/comment/src/Tests/CommentCSSTest.php b/core/modules/comment/src/Tests/CommentCSSTest.php
index f015f3f..058eead 100644
--- a/core/modules/comment/src/Tests/CommentCSSTest.php
+++ b/core/modules/comment/src/Tests/CommentCSSTest.php
@@ -14,7 +14,10 @@
  */
 class CommentCSSTest extends CommentTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Allow anonymous users to see comments.
diff --git a/core/modules/comment/src/Tests/CommentLanguageTest.php b/core/modules/comment/src/Tests/CommentLanguageTest.php
index c60f827..c8a4a1f 100644
--- a/core/modules/comment/src/Tests/CommentLanguageTest.php
+++ b/core/modules/comment/src/Tests/CommentLanguageTest.php
@@ -27,7 +27,10 @@ class CommentLanguageTest extends WebTestBase {
    */
   public static $modules = array('node', 'language', 'language_test', 'comment_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article'));
diff --git a/core/modules/comment/src/Tests/CommentLinksAlterTest.php b/core/modules/comment/src/Tests/CommentLinksAlterTest.php
index 22ff587..cc15a44 100644
--- a/core/modules/comment/src/Tests/CommentLinksAlterTest.php
+++ b/core/modules/comment/src/Tests/CommentLinksAlterTest.php
@@ -11,7 +11,10 @@ class CommentLinksAlterTest extends CommentTestBase {
 
   public static $modules = array('comment_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Enable comment_test.module's hook_comment_links_alter() implementation.
diff --git a/core/modules/comment/src/Tests/CommentNodeAccessTest.php b/core/modules/comment/src/Tests/CommentNodeAccessTest.php
index 4b28b33..f89d2fa 100644
--- a/core/modules/comment/src/Tests/CommentNodeAccessTest.php
+++ b/core/modules/comment/src/Tests/CommentNodeAccessTest.php
@@ -21,7 +21,10 @@ class CommentNodeAccessTest extends CommentTestBase {
    */
   public static $modules = array('node_access_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_rebuild();
diff --git a/core/modules/comment/src/Tests/CommentStatisticsTest.php b/core/modules/comment/src/Tests/CommentStatisticsTest.php
index 0c370d1..aff672c 100644
--- a/core/modules/comment/src/Tests/CommentStatisticsTest.php
+++ b/core/modules/comment/src/Tests/CommentStatisticsTest.php
@@ -20,7 +20,10 @@ class CommentStatisticsTest extends CommentTestBase {
    */
   protected $webUser2;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a second user to post comments.
diff --git a/core/modules/comment/src/Tests/CommentTestBase.php b/core/modules/comment/src/Tests/CommentTestBase.php
index f4beadc..0d5a9b9 100644
--- a/core/modules/comment/src/Tests/CommentTestBase.php
+++ b/core/modules/comment/src/Tests/CommentTestBase.php
@@ -45,7 +45,10 @@
    */
   protected $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an article content type only if it does not yet exist, so that
diff --git a/core/modules/comment/src/Tests/CommentTranslationUITest.php b/core/modules/comment/src/Tests/CommentTranslationUITest.php
index b6fc4b9..231cc23 100644
--- a/core/modules/comment/src/Tests/CommentTranslationUITest.php
+++ b/core/modules/comment/src/Tests/CommentTranslationUITest.php
@@ -48,7 +48,10 @@ class CommentTranslationUITest extends ContentTranslationUITestBase {
    */
   public static $modules = array('language', 'content_translation', 'node', 'comment');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->entityTypeId = 'comment';
     $this->nodeBundle = 'article';
     $this->bundle = 'comment_article';
diff --git a/core/modules/comment/src/Tests/CommentUninstallTest.php b/core/modules/comment/src/Tests/CommentUninstallTest.php
index 4d86df9..6b5ed92 100644
--- a/core/modules/comment/src/Tests/CommentUninstallTest.php
+++ b/core/modules/comment/src/Tests/CommentUninstallTest.php
@@ -22,7 +22,10 @@ class CommentUninstallTest extends WebTestBase {
    */
   public static $modules = array('comment', 'node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setup();
 
     // Create an article content type.
diff --git a/core/modules/comment/src/Tests/Views/ArgumentUserUIDTest.php b/core/modules/comment/src/Tests/Views/ArgumentUserUIDTest.php
index 63a0082..e0ac670 100644
--- a/core/modules/comment/src/Tests/Views/ArgumentUserUIDTest.php
+++ b/core/modules/comment/src/Tests/Views/ArgumentUserUIDTest.php
@@ -20,7 +20,10 @@ class ArgumentUserUIDTest extends CommentTestBase {
    */
   public static $testViews = array('test_comment_user_uid');
 
-  function testCommentUserUIDTest() {
+  /**
+ *
+ */
+function testCommentUserUIDTest() {
     // Add an additional comment which is not created by the user.
     $new_user = User::create(['name' => 'new user']);
     $new_user->save();
diff --git a/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php b/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php
index f26d3e9..04edb5f 100644
--- a/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php
+++ b/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php
@@ -31,7 +31,10 @@ class CommentFieldFilterTest extends CommentTestBase {
    */
   public $commentTitles = array();
 
-  function setUp() {
+  /**
+ *
+ */
+function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(['access comments']));
 
diff --git a/core/modules/comment/src/Tests/Views/CommentRestExportTest.php b/core/modules/comment/src/Tests/Views/CommentRestExportTest.php
index a3d7e2d..4d8876b 100644
--- a/core/modules/comment/src/Tests/Views/CommentRestExportTest.php
+++ b/core/modules/comment/src/Tests/Views/CommentRestExportTest.php
@@ -24,7 +24,10 @@ class CommentRestExportTest extends CommentTestBase {
    */
   public static $modules = ['node', 'comment', 'comment_test_views', 'rest', 'hal'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Add another anonymous comment.
     $comment = array(
diff --git a/core/modules/comment/src/Tests/Views/CommentTestBase.php b/core/modules/comment/src/Tests/Views/CommentTestBase.php
index d687488..f1acc31 100644
--- a/core/modules/comment/src/Tests/Views/CommentTestBase.php
+++ b/core/modules/comment/src/Tests/Views/CommentTestBase.php
@@ -56,7 +56,10 @@
    */
   protected $comment;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('comment_test_views'));
diff --git a/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php b/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
index ff151c6..fac764b 100644
--- a/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
+++ b/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
@@ -59,7 +59,10 @@ class DefaultViewRecentCommentsTest extends ViewTestBase {
    */
   public $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a new content type
diff --git a/core/modules/comment/src/Tests/Views/FilterUserUIDTest.php b/core/modules/comment/src/Tests/Views/FilterUserUIDTest.php
index ee8281b..c24d59a 100644
--- a/core/modules/comment/src/Tests/Views/FilterUserUIDTest.php
+++ b/core/modules/comment/src/Tests/Views/FilterUserUIDTest.php
@@ -22,7 +22,10 @@ class FilterUserUIDTest extends CommentTestBase {
    */
   public static $testViews = array('test_comment_user_uid');
 
-  function testCommentUserUIDTest() {
+  /**
+ *
+ */
+function testCommentUserUIDTest() {
     $view = Views::getView('test_comment_user_uid');
     $view->setDisplay();
     $view->removeHandler('default', 'argument', 'uid_touch');
diff --git a/core/modules/comment/tests/src/Kernel/CommentItemTest.php b/core/modules/comment/tests/src/Kernel/CommentItemTest.php
index d0c4813..216fee0 100644
--- a/core/modules/comment/tests/src/Kernel/CommentItemTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentItemTest.php
@@ -24,7 +24,10 @@ class CommentItemTest extends FieldKernelTestBase {
    */
   public static $modules = ['comment', 'entity_test', 'user'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('comment', ['comment_entity_statistics']);
     $this->installConfig(['comment']);
diff --git a/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php b/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
index ed56cc9..aafe33c 100644
--- a/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
@@ -27,7 +27,10 @@ class CommentStringIdEntitiesTest extends KernelTestBase {
     'text',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('comment');
     $this->installSchema('comment', array('comment_entity_statistics'));
diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php b/core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php
index 5167503..1a72247 100644
--- a/core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php
+++ b/core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php
@@ -39,7 +39,10 @@
    */
   protected $userStorage;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp($import_test_views);
 
     ViewTestData::createTestViews(get_class($this), ['comment_test_views']);
diff --git a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
index 898e0ab..79c2e48 100644
--- a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
+++ b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
@@ -323,7 +323,10 @@ protected function getMockNode($has_field, $comment_status, $form_location, $com
 
 namespace {
   if (!function_exists('history_read')) {
-    function history_read() {
+    /**
+ *
+ */
+function history_read() {
       return 0;
     }
   }
diff --git a/core/modules/config/src/Tests/ConfigImportAllTest.php b/core/modules/config/src/Tests/ConfigImportAllTest.php
index a7623a9..b029ac4 100644
--- a/core/modules/config/src/Tests/ConfigImportAllTest.php
+++ b/core/modules/config/src/Tests/ConfigImportAllTest.php
@@ -33,7 +33,10 @@ class ConfigImportAllTest extends ModuleTestBase {
    */
   protected $profile = 'standard';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array('synchronize configuration'));
diff --git a/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php b/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php
index 0c74c7f..852f445 100644
--- a/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php
+++ b/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php
@@ -32,7 +32,10 @@ class ConfigImportInstallProfileTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array('synchronize configuration'));
diff --git a/core/modules/config/src/Tests/ConfigImportUITest.php b/core/modules/config/src/Tests/ConfigImportUITest.php
index afa9b99..c243783 100644
--- a/core/modules/config/src/Tests/ConfigImportUITest.php
+++ b/core/modules/config/src/Tests/ConfigImportUITest.php
@@ -28,7 +28,10 @@ class ConfigImportUITest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array('synchronize configuration'));
@@ -362,7 +365,10 @@ public function testImportValidation() {
     $this->assertNotEqual($new_site_name, $this->config('system.site')->get('name'));
   }
 
-  public function testConfigUninstallConfigException() {
+  /**
+ *
+ */
+public function testConfigUninstallConfigException() {
     $sync = $this->container->get('config.storage.sync');
 
     $core_extension = $this->config('core.extension')->get();
@@ -377,7 +383,10 @@ public function testConfigUninstallConfigException() {
     $this->assertText('Can not uninstall the Configuration module as part of a configuration synchronization through the user interface.');
   }
 
-  function prepareSiteNameUpdate($new_site_name) {
+  /**
+ *
+ */
+function prepareSiteNameUpdate($new_site_name) {
     $sync = $this->container->get('config.storage.sync');
     // Create updated configuration object.
     $config_data = $this->config('system.site')->get();
diff --git a/core/modules/config/src/Tests/ConfigImportUploadTest.php b/core/modules/config/src/Tests/ConfigImportUploadTest.php
index 445ca9f..62ef31e 100644
--- a/core/modules/config/src/Tests/ConfigImportUploadTest.php
+++ b/core/modules/config/src/Tests/ConfigImportUploadTest.php
@@ -25,7 +25,10 @@ class ConfigImportUploadTest extends WebTestBase {
    */
   public static $modules = array('config');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array('import configuration'));
diff --git a/core/modules/config/src/Tests/ConfigInstallProfileUnmetDependenciesTest.php b/core/modules/config/src/Tests/ConfigInstallProfileUnmetDependenciesTest.php
index 349ad9c..7ced31f 100644
--- a/core/modules/config/src/Tests/ConfigInstallProfileUnmetDependenciesTest.php
+++ b/core/modules/config/src/Tests/ConfigInstallProfileUnmetDependenciesTest.php
@@ -27,7 +27,10 @@ class ConfigInstallProfileUnmetDependenciesTest extends InstallerTestBase {
    */
   protected $expectedException = FALSE;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // Copy the testing_config_overrides install profile so we can change the
     // configuration to include a dependency that can not be met. File API
     // functions are not available yet.
diff --git a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php
index 37cdae8..384da78 100644
--- a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php
+++ b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php
@@ -23,7 +23,10 @@ class ConfigSingleImportExportTest extends WebTestBase {
     'config_test'
   ];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php b/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php
index 7dd8d7d..4d8a08e 100644
--- a/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php
+++ b/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class ConfigLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array('config' => 'core/modules/config');
     parent::setUp();
   }
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php
index ceb69d0..0d467f0 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php
@@ -18,7 +18,10 @@ class ConfigTranslationDateFormatUiTest extends WebTestBase {
     'system'
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Enable additional languages.
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php
index 648f047..0163004 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php
@@ -33,7 +33,10 @@ class ConfigTranslationFormTest extends WebTestBase {
    */
   protected $langcode;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $definitions = \Drupal::service('plugin.manager.config_translation.mapper')->getDefinitions();
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php
index 7daa305..c58cb8b 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php
@@ -58,7 +58,10 @@ protected function getPo($langcode) {
 ENDPO;
   }
 
-  public function testConfigTranslation() {
+  /**
+ *
+ */
+public function testConfigTranslation() {
     $this->drupalPostForm('admin/config/regional/language/add', ['predefined_langcode' => 'en'], t('Add custom language'));
     $this->drupalPostForm('admin/config/regional/language/add', ['predefined_langcode' => 'fr'], t('Add custom language'));
 
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
index c260e63..541ba5b 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
@@ -49,7 +49,10 @@ class ConfigTranslationListUiTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $permissions = array(
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php
index e7c58fd..2abe711 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php
@@ -44,7 +44,10 @@ class ConfigTranslationOverviewTest extends WebTestBase {
    */
   protected $localeStorage;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $permissions = array(
       'translate configuration',
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
index 908b925..b835a55 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
@@ -70,7 +70,10 @@ class ConfigTranslationUiTest extends WebTestBase {
    */
   protected $localeStorage;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $translator_permissions = [
       'translate configuration',
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php
index ab51a43..c8fb8da 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php
@@ -33,7 +33,10 @@ class ConfigTranslationUiThemeTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $admin_permissions = [
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationViewListUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationViewListUiTest.php
index bccbd88..cfc553d 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationViewListUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationViewListUiTest.php
@@ -25,7 +25,10 @@ class ConfigTranslationViewListUiTest extends UITestBase {
    */
   public static $modules = array('config_translation', 'views_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $permissions = array(
diff --git a/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php
index dc56e8d..332a81a 100644
--- a/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php
+++ b/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php
@@ -49,7 +49,10 @@ class ConfigEntityMapperTest extends UnitTestCase {
    */
   protected $languageManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->entityManager = $this->getMock('Drupal\Core\Entity\EntityManagerInterface');
 
     $this->entity = $this->getMock('Drupal\Core\Config\Entity\ConfigEntityInterface');
diff --git a/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php b/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php
index 10bbf7d..aef8dc3 100644
--- a/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php
+++ b/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php
@@ -30,7 +30,10 @@ class ConfigMapperManagerTest extends UnitTestCase {
    */
   protected $typedConfigManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $language = new Language(array('id' => 'en'));
     $language_manager = $this->getMock('Drupal\Core\Language\LanguageManagerInterface');
     $language_manager->expects($this->once())
diff --git a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
index 4d5765f..1a2c640 100644
--- a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
+++ b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
@@ -88,7 +88,10 @@ class ConfigNamesMapperTest extends UnitTestCase {
    */
   protected $languageManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->routeProvider = $this->getMock('Drupal\Core\Routing\RouteProviderInterface');
 
     $this->pluginDefinition = array(
diff --git a/core/modules/contact/src/Tests/ContactPersonalTest.php b/core/modules/contact/src/Tests/ContactPersonalTest.php
index 0dd692d..d6c7f48 100644
--- a/core/modules/contact/src/Tests/ContactPersonalTest.php
+++ b/core/modules/contact/src/Tests/ContactPersonalTest.php
@@ -43,7 +43,10 @@ class ContactPersonalTest extends WebTestBase {
    */
   private $contactUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an admin user.
diff --git a/core/modules/contact/src/Tests/Views/ContactFieldsTest.php b/core/modules/contact/src/Tests/Views/ContactFieldsTest.php
index 819558c..e71d69d 100644
--- a/core/modules/contact/src/Tests/Views/ContactFieldsTest.php
+++ b/core/modules/contact/src/Tests/Views/ContactFieldsTest.php
@@ -28,7 +28,10 @@ class ContactFieldsTest extends ViewTestBase {
    */
   protected $fieldStorage;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->fieldStorage = FieldStorageConfig::create(array(
diff --git a/core/modules/contact/tests/src/Kernel/MessageEntityTest.php b/core/modules/contact/tests/src/Kernel/MessageEntityTest.php
index 70ddea1..0e464fd 100644
--- a/core/modules/contact/tests/src/Kernel/MessageEntityTest.php
+++ b/core/modules/contact/tests/src/Kernel/MessageEntityTest.php
@@ -25,7 +25,10 @@ class MessageEntityTest extends EntityKernelTestBase {
     'contact_test',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(array('contact', 'contact_test'));
   }
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php b/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php
index efbd3c1..8597e92 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php
@@ -57,7 +57,10 @@ class ContentTranslationContextualLinksTest extends WebTestBase {
    */
   protected $profile = 'testing';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Set up an additional language.
     $this->langcodes = array(\Drupal::languageManager()->getDefaultLanguage()->getId(), 'es');
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php b/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php
index 03f30a1..406fc2c 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php
@@ -13,7 +13,10 @@ class ContentTranslationEntityBundleUITest extends WebTestBase {
 
   public static $modules = array('language', 'content_translation', 'node', 'comment', 'field_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $user = $this->drupalCreateUser(array('access administration pages', 'administer languages', 'administer content translation', 'administer content types'));
     $this->drupalLogin($user);
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
index d7490c0..eb9d1e3 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
@@ -26,7 +26,10 @@ class ContentTranslationSettingsTest extends WebTestBase {
    */
   public static $modules = array('language', 'content_translation', 'node', 'comment', 'field_ui', 'entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Set up two content types to test fields shared between different
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
index 5f881a7..9cb68bc 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
@@ -35,7 +35,10 @@ class ContentTranslationSyncImageTest extends ContentTranslationTestBase {
    */
   public static $modules = array('language', 'content_translation', 'entity_test', 'image', 'field_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->files = $this->drupalGetTestFiles('image');
   }
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php b/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
index 5d9a8d0..923868f 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
@@ -81,7 +81,10 @@
    */
   protected $manager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->setupLanguages();
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
index f3c4c53..026acfa 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
@@ -28,7 +28,10 @@ class ContentTranslationWorkflowsTest extends ContentTranslationTestBase {
    */
   public static $modules = array('language', 'content_translation', 'entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->setupEntity();
   }
diff --git a/core/modules/content_translation/src/Tests/Views/TranslationLinkTest.php b/core/modules/content_translation/src/Tests/Views/TranslationLinkTest.php
index 4f53895..682d104 100644
--- a/core/modules/content_translation/src/Tests/Views/TranslationLinkTest.php
+++ b/core/modules/content_translation/src/Tests/Views/TranslationLinkTest.php
@@ -29,7 +29,10 @@ class TranslationLinkTest extends ContentTranslationTestBase {
    */
   public static $modules = array('content_translation_test_views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // @todo Use entity_type once it is has multilingual Views integration.
     $this->entityTypeId = 'user';
 
diff --git a/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php b/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php
index eb52e50..e54e638 100644
--- a/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php
+++ b/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php
@@ -56,7 +56,10 @@ class ContentTranslationSyncUnitTest extends KernelTestBase {
 
   public static $modules = array('language', 'content_translation');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->synchronizer = new FieldTranslationSynchronizer($this->container->get('entity.manager'));
diff --git a/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php b/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php
index 63dad2f..c5d2cef 100644
--- a/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php
+++ b/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class ContentTranslationLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array(
       'content_translation' => 'core/modules/content_translation',
       'node' => 'core/modules/node',
diff --git a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php
index eef4d80..b0c5c3a 100644
--- a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php
+++ b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php
@@ -44,7 +44,10 @@ class ContextualDynamicContextTest extends WebTestBase {
    */
   public static $modules = array('contextual', 'node', 'views', 'views_ui', 'language', 'menu_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php b/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
index bba2c33..2a0a440 100644
--- a/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
+++ b/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
@@ -23,7 +23,10 @@ class DateTimeItemTest extends FieldKernelTestBase {
    */
   public static $modules = array('datetime');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a field with settings to validate.
diff --git a/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php b/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php
index 6a74f1e..ad5e7e6 100644
--- a/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php
+++ b/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php
@@ -20,7 +20,10 @@ class DbLogResourceTest extends RESTTestBase {
    */
   public static $modules = array('hal', 'dblog');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Enable REST API for the watchdog resource.
     $this->enableService('dblog');
diff --git a/core/modules/editor/src/Tests/EditorAdminTest.php b/core/modules/editor/src/Tests/EditorAdminTest.php
index 89d528c..64b88b4 100644
--- a/core/modules/editor/src/Tests/EditorAdminTest.php
+++ b/core/modules/editor/src/Tests/EditorAdminTest.php
@@ -29,7 +29,10 @@ class EditorAdminTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Add text format.
diff --git a/core/modules/editor/src/Tests/EditorLoadingTest.php b/core/modules/editor/src/Tests/EditorLoadingTest.php
index 88055e9..49170f2 100644
--- a/core/modules/editor/src/Tests/EditorLoadingTest.php
+++ b/core/modules/editor/src/Tests/EditorLoadingTest.php
@@ -43,7 +43,10 @@ class EditorLoadingTest extends WebTestBase {
    */
   protected $privilegedUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Let there be T-rex.
@@ -266,7 +269,10 @@ public function testSupportedElementTypes() {
     $this->assertFalse(count($specific_format_selector) === 1, 'A single text format selector exists on the page and has the "editor" class and a "data-editor-for" attribute with the correct value.');
   }
 
-  protected function getThingsToCheck($field_name, $type = 'textarea') {
+  /**
+ *
+ */
+protected function getThingsToCheck($field_name, $type = 'textarea') {
     $settings = $this->getDrupalSettings();
     return array(
       // JavaScript settings.
diff --git a/core/modules/editor/src/Tests/EditorSecurityTest.php b/core/modules/editor/src/Tests/EditorSecurityTest.php
index 0d6840b..7e69dc7 100644
--- a/core/modules/editor/src/Tests/EditorSecurityTest.php
+++ b/core/modules/editor/src/Tests/EditorSecurityTest.php
@@ -71,7 +71,10 @@ class EditorSecurityTest extends WebTestBase {
    */
   protected $privilegedUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create 5 text formats, to cover all potential use cases:
diff --git a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
index 4de9eca..09eb06c 100644
--- a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
+++ b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
@@ -28,7 +28,10 @@ class QuickEditIntegrationLoadingTest extends WebTestBase {
    */
   protected static $basicPermissions = array('access content', 'create article content', 'use text format filtered_html', 'access contextual links');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a text format.
diff --git a/core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php b/core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php
index a8379d1..de83181 100644
--- a/core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php
+++ b/core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php
@@ -25,7 +25,10 @@ class EditorFileUsageTest extends EntityKernelTestBase {
    */
   public static $modules = array('editor', 'editor_test', 'node', 'file');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('file');
     $this->installSchema('node', array('node_access'));
diff --git a/core/modules/editor/tests/src/Kernel/EditorManagerTest.php b/core/modules/editor/tests/src/Kernel/EditorManagerTest.php
index b6077a5..41eae19 100644
--- a/core/modules/editor/tests/src/Kernel/EditorManagerTest.php
+++ b/core/modules/editor/tests/src/Kernel/EditorManagerTest.php
@@ -27,7 +27,10 @@ class EditorManagerTest extends KernelTestBase {
    */
   protected $editorManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Install the Filter module.
diff --git a/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php b/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php
index 5e47c36..5730bdf 100644
--- a/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php
+++ b/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php
@@ -63,7 +63,10 @@ class QuickEditIntegrationTest extends QuickEditTestBase {
    */
   protected $fieldName;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Install the Filter module.
diff --git a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php
index d19758e..391773e 100644
--- a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php
+++ b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php
@@ -19,7 +19,10 @@ class StandardTest extends UnitTestCase {
    */
   protected $format;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
 
     // Mock text format configuration entity object.
     $this->format = $this->getMockBuilder('\Drupal\filter\Entity\FilterFormat')
diff --git a/core/modules/field/src/Entity/FieldStorageConfig.php b/core/modules/field/src/Entity/FieldStorageConfig.php
index ba36e83..12480b1 100644
--- a/core/modules/field/src/Entity/FieldStorageConfig.php
+++ b/core/modules/field/src/Entity/FieldStorageConfig.php
@@ -232,9 +232,9 @@ class FieldStorageConfig extends ConfigEntityBase implements FieldStorageConfigI
    *   - entity_type: required.
    *   - type: required.
    *
-   * In most cases, Field entities are created via
-   * FieldStorageConfig::create($values)), where $values is the same
-   * parameter as in this constructor.
+   *   In most cases, Field entities are created via
+   *   FieldStorageConfig::create($values)), where $values is the same
+   *   parameter as in this constructor.
    *
    * @see entity_create()
    */
diff --git a/core/modules/field/src/Tests/Email/EmailFieldTest.php b/core/modules/field/src/Tests/Email/EmailFieldTest.php
index b8401fb..6518144 100644
--- a/core/modules/field/src/Tests/Email/EmailFieldTest.php
+++ b/core/modules/field/src/Tests/Email/EmailFieldTest.php
@@ -35,7 +35,10 @@ class EmailFieldTest extends WebTestBase {
    */
   protected $field;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser(array(
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php
index 0f35fde..1faa302 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php
@@ -35,7 +35,10 @@ class EntityReferenceAutoCreateTest extends WebTestBase {
    */
   protected $referencedType;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create "referencing" and "referenced" node types.
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php
index 4524c88..869fd63 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php
@@ -32,7 +32,10 @@ class EntityReferenceFieldDefaultValueTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create default content type.
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
index d93b2ac..53c583b 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
@@ -117,7 +117,10 @@ class EntityReferenceFieldTranslatedReferenceViewTest extends WebTestBase {
     'node',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->labelOfNotTranslatedReference = $this->randomMachineName();
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
index b638d4c..9f07aae 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
@@ -37,7 +37,10 @@ class EntityReferenceFileUploadTest extends WebTestBase {
    */
   protected $nodeId;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create "referencing" and "referenced" node types.
diff --git a/core/modules/field/src/Tests/FieldAccessTest.php b/core/modules/field/src/Tests/FieldAccessTest.php
index 0907a46..de1520d 100644
--- a/core/modules/field/src/Tests/FieldAccessTest.php
+++ b/core/modules/field/src/Tests/FieldAccessTest.php
@@ -33,7 +33,10 @@ class FieldAccessTest extends FieldTestBase {
    */
   protected $testViewFieldValue;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('view test_view_field content'));
diff --git a/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php b/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php
index e7f5a4c..6f66e5b 100644
--- a/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php
+++ b/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php
@@ -45,7 +45,10 @@ protected function setUp() {
 
   }
 
-  public function testDefaultValueCallbackForm() {
+  /**
+ *
+ */
+public function testDefaultValueCallbackForm() {
     // Create a field and storage for checking.
     /** @var \Drupal\field\Entity\FieldStorageConfig $field_storage */
     FieldStorageConfig::create([
diff --git a/core/modules/field/src/Tests/FieldHelpTest.php b/core/modules/field/src/Tests/FieldHelpTest.php
index 1103320..9022d98 100644
--- a/core/modules/field/src/Tests/FieldHelpTest.php
+++ b/core/modules/field/src/Tests/FieldHelpTest.php
@@ -26,7 +26,10 @@ class FieldHelpTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create the admin user.
diff --git a/core/modules/field/src/Tests/FieldImportDeleteUninstallUiTest.php b/core/modules/field/src/Tests/FieldImportDeleteUninstallUiTest.php
index bfc135e..9d16f07 100644
--- a/core/modules/field/src/Tests/FieldImportDeleteUninstallUiTest.php
+++ b/core/modules/field/src/Tests/FieldImportDeleteUninstallUiTest.php
@@ -24,7 +24,10 @@ class FieldImportDeleteUninstallUiTest extends FieldTestBase {
    */
   public static $modules = array('entity_test', 'telephone', 'config', 'filter', 'datetime');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser(array('synchronize configuration')));
diff --git a/core/modules/field/src/Tests/FormTest.php b/core/modules/field/src/Tests/FormTest.php
index 51c80b3..2a9540b 100644
--- a/core/modules/field/src/Tests/FormTest.php
+++ b/core/modules/field/src/Tests/FormTest.php
@@ -54,7 +54,10 @@ class FormTest extends FieldTestBase {
    */
   protected $field;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('view test entity', 'administer entity_test content'));
@@ -90,7 +93,10 @@ protected function setUp() {
     );
   }
 
-  function testFieldFormSingle() {
+  /**
+ *
+ */
+function testFieldFormSingle() {
     $field_storage = $this->fieldStorageSingle;
     $field_name = $field_storage['field_name'];
     $this->field['field_name'] = $field_name;
@@ -193,7 +199,10 @@ function testFieldFormDefaultValue() {
     $this->assertTrue($entity->{$field_name}->isEmpty(), 'Field is now empty.');
   }
 
-  function testFieldFormSingleRequired() {
+  /**
+ *
+ */
+function testFieldFormSingleRequired() {
     $field_storage = $this->fieldStorageSingle;
     $field_name = $field_storage['field_name'];
     $this->field['field_name'] = $field_name;
@@ -230,14 +239,15 @@ function testFieldFormSingleRequired() {
     $this->assertRaw(t('@name field is required.', array('@name' => $this->field['label'])), 'Required field with no value fails validation');
   }
 
-//  function testFieldFormMultiple() {
-//    $this->field = $this->field_multiple;
-//    $field_name = $this->field['field_name'];
-//    $this->instance['field_name'] = $field_name;
-//    FieldStorageConfig::create($this->field)->save();
-//    FieldConfig::create($this->instance)->save();
-//  }
-
+/**
+ *function testFieldFormMultiple() {
+ *$this->field = $this->field_multiple;
+ *$field_name = $this->field['field_name'];
+ *$this->instance['field_name'] = $field_name;
+ *FieldStorageConfig::create($this->field)->save();
+ *FieldConfig::create($this->instance)->save();
+ *}
+ */
   function testFieldFormUnlimited() {
     $field_storage = $this->fieldStorageUnlimited;
     $field_name = $field_storage['field_name'];
@@ -396,7 +406,10 @@ function testFieldFormMultivalueWithRequiredRadio() {
     $this->assertNoField("{$field_name}[2][value]", 'No extraneous widget is displayed');
   }
 
-  function testFieldFormJSAddMore() {
+  /**
+ *
+ */
+function testFieldFormJSAddMore() {
     $field_storage = $this->fieldStorageUnlimited;
     $field_name = $field_storage['field_name'];
     $this->field['field_name'] = $field_name;
diff --git a/core/modules/field/src/Tests/NestedFormTest.php b/core/modules/field/src/Tests/NestedFormTest.php
index 94ec485..f66d0a7 100644
--- a/core/modules/field/src/Tests/NestedFormTest.php
+++ b/core/modules/field/src/Tests/NestedFormTest.php
@@ -19,7 +19,10 @@ class NestedFormTest extends FieldTestBase {
    */
   public static $modules = array('field_test', 'entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('view test entity', 'administer entity_test content'));
diff --git a/core/modules/field/src/Tests/Number/NumberFieldTest.php b/core/modules/field/src/Tests/Number/NumberFieldTest.php
index 342f6dd..814f036 100644
--- a/core/modules/field/src/Tests/Number/NumberFieldTest.php
+++ b/core/modules/field/src/Tests/Number/NumberFieldTest.php
@@ -22,7 +22,10 @@ class NumberFieldTest extends WebTestBase {
    */
   public static $modules = array('node', 'entity_test', 'field_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(array(
       'view test entity',
diff --git a/core/modules/field/src/Tests/String/StringFieldTest.php b/core/modules/field/src/Tests/String/StringFieldTest.php
index 9284426..8d7f6a3 100644
--- a/core/modules/field/src/Tests/String/StringFieldTest.php
+++ b/core/modules/field/src/Tests/String/StringFieldTest.php
@@ -28,7 +28,10 @@ class StringFieldTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array('view test entity', 'administer entity_test content'));
diff --git a/core/modules/field/src/Tests/TranslationWebTest.php b/core/modules/field/src/Tests/TranslationWebTest.php
index 397e1c1..c6c226b 100644
--- a/core/modules/field/src/Tests/TranslationWebTest.php
+++ b/core/modules/field/src/Tests/TranslationWebTest.php
@@ -49,7 +49,10 @@ class TranslationWebTest extends FieldTestBase {
    */
   protected $field;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->fieldName = Unicode::strtolower($this->randomMachineName() . '_field_name');
diff --git a/core/modules/field/src/Tests/Views/FieldTestBase.php b/core/modules/field/src/Tests/Views/FieldTestBase.php
index 0f977a8..1a6f0ae 100644
--- a/core/modules/field/src/Tests/Views/FieldTestBase.php
+++ b/core/modules/field/src/Tests/Views/FieldTestBase.php
@@ -42,7 +42,10 @@
    */
   public $fields;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Ensure the page node type exists.
@@ -54,7 +57,10 @@ protected function setUp() {
     ViewTestData::createTestViews(get_class($this), array('field_test_views'));
   }
 
-  function setUpFieldStorages($amount = 3, $type = 'string') {
+  /**
+ *
+ */
+function setUpFieldStorages($amount = 3, $type = 'string') {
     // Create three fields.
     $field_names = array();
     for ($i = 0; $i < $amount; $i++) {
@@ -69,7 +75,10 @@ function setUpFieldStorages($amount = 3, $type = 'string') {
     return $field_names;
   }
 
-  function setUpFields($bundle = 'page') {
+  /**
+ *
+ */
+function setUpFields($bundle = 'page') {
     foreach ($this->fieldStorages as $key => $field_storage) {
       $this->fields[$key] = FieldConfig::create([
         'field_storage' => $field_storage,
diff --git a/core/modules/field/src/Tests/Views/HandlerFieldFieldTest.php b/core/modules/field/src/Tests/Views/HandlerFieldFieldTest.php
index 303eb2f..1260842 100644
--- a/core/modules/field/src/Tests/Views/HandlerFieldFieldTest.php
+++ b/core/modules/field/src/Tests/Views/HandlerFieldFieldTest.php
@@ -123,14 +123,20 @@ protected function prepareView(ViewExecutable $view) {
     }
   }
 
-  public function testFieldRender() {
+  /**
+ *
+ */
+public function testFieldRender() {
     $this->_testSimpleFieldRender();
     $this->_testInaccessibleFieldRender();
     $this->_testFormatterSimpleFieldRender();
     $this->_testMultipleFieldRender();
   }
 
-  public function _testSimpleFieldRender() {
+  /**
+ *
+ */
+public function _testSimpleFieldRender() {
     $view = Views::getView('test_view_fieldapi');
     $this->prepareView($view);
     $this->executeView($view);
@@ -146,7 +152,10 @@ public function _testSimpleFieldRender() {
     }
   }
 
-  public function _testInaccessibleFieldRender() {
+  /**
+ *
+ */
+public function _testInaccessibleFieldRender() {
     $view = Views::getView('test_view_fieldapi');
     $this->prepareView($view);
     $this->executeView($view);
@@ -184,7 +193,10 @@ public function _testFormatterSimpleFieldRender() {
     }
   }
 
-  public function _testMultipleFieldRender() {
+  /**
+ *
+ */
+public function _testMultipleFieldRender() {
     $view = Views::getView('test_view_fieldapi');
     $field_name = $this->fieldStorages[3]->getName();
 
diff --git a/core/modules/field/src/Tests/reEnableModuleFieldTest.php b/core/modules/field/src/Tests/reEnableModuleFieldTest.php
index b718e75..e5fe8cb 100644
--- a/core/modules/field/src/Tests/reEnableModuleFieldTest.php
+++ b/core/modules/field/src/Tests/reEnableModuleFieldTest.php
@@ -26,7 +26,10 @@ class reEnableModuleFieldTest extends WebTestBase {
     'telephone'
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'article'));
diff --git a/core/modules/field/tests/src/Kernel/BulkDeleteTest.php b/core/modules/field/tests/src/Kernel/BulkDeleteTest.php
index 41fedfc..fb64755 100644
--- a/core/modules/field/tests/src/Kernel/BulkDeleteTest.php
+++ b/core/modules/field/tests/src/Kernel/BulkDeleteTest.php
@@ -87,7 +87,10 @@ function checkHooksInvocations($expected_hooks, $actual_hooks) {
     }
   }
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->fieldStorages = array();
diff --git a/core/modules/field/tests/src/Kernel/DisplayApiTest.php b/core/modules/field/tests/src/Kernel/DisplayApiTest.php
index d9a0a87..3ef1ce8 100644
--- a/core/modules/field/tests/src/Kernel/DisplayApiTest.php
+++ b/core/modules/field/tests/src/Kernel/DisplayApiTest.php
@@ -61,7 +61,10 @@ class DisplayApiTest extends FieldKernelTestBase {
    */
   public static $modules = ['system'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a field and its storage.
diff --git a/core/modules/field/tests/src/Kernel/Email/EmailItemTest.php b/core/modules/field/tests/src/Kernel/Email/EmailItemTest.php
index 8b1d145..cb3a56e 100644
--- a/core/modules/field/tests/src/Kernel/Email/EmailItemTest.php
+++ b/core/modules/field/tests/src/Kernel/Email/EmailItemTest.php
@@ -16,7 +16,10 @@
  */
 class EmailItemTest extends FieldKernelTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an email field storage and field for validation.
diff --git a/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php b/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
index 4894a11..ebfc6ef 100644
--- a/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
+++ b/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
@@ -60,7 +60,10 @@ class EntityReferenceFormatterTest extends EntityKernelTestBase {
    */
   protected $unsavedReferencedEntity;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Use Classy theme for testing markup output.
diff --git a/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php b/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
index ba96bc9..eb49957 100644
--- a/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
@@ -13,7 +13,10 @@
  */
 class FieldAttachOtherTest extends FieldKernelTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->container->get('router.builder')->rebuild();
     $this->installEntitySchema('entity_test_rev');
diff --git a/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php b/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
index b641952..24fbba5 100644
--- a/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
@@ -13,7 +13,10 @@
  */
 class FieldAttachStorageTest extends FieldKernelTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('entity_test_rev');
   }
diff --git a/core/modules/field/tests/src/Kernel/FieldCrudTest.php b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
index 6f6a285..21cae51 100644
--- a/core/modules/field/tests/src/Kernel/FieldCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
@@ -37,7 +37,10 @@ class FieldCrudTest extends FieldKernelTestBase {
    */
   protected $fieldDefinition;
 
-  function setUp() {
+  /**
+ *
+ */
+function setUp() {
     parent::setUp();
 
     $this->fieldStorageDefinition = array(
diff --git a/core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php b/core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
index 1f63e14..9acdf4a 100644
--- a/core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
@@ -23,7 +23,10 @@ class FieldImportDeleteUninstallTest extends FieldKernelTestBase {
    */
   public static $modules = array('telephone');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Module uninstall requires users_data tables.
     // @see drupal_flush_all_caches()
diff --git a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
index da1948c..cbce244 100644
--- a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
@@ -363,7 +363,10 @@ function testDelete() {
     }
   }
 
-  function testUpdateFieldType() {
+  /**
+ *
+ */
+function testUpdateFieldType() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => 'field_type',
       'entity_type' => 'entity_test',
diff --git a/core/modules/field/tests/src/Kernel/FieldValidationTest.php b/core/modules/field/tests/src/Kernel/FieldValidationTest.php
index 3715832..6d4c15a 100644
--- a/core/modules/field/tests/src/Kernel/FieldValidationTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldValidationTest.php
@@ -24,7 +24,10 @@ class FieldValidationTest extends FieldKernelTestBase {
    */
   private $entity;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a field and storage of type 'test_field', on the 'entity_test'
diff --git a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php
index c9cf010..9a32711 100644
--- a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php
+++ b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php
@@ -76,7 +76,8 @@ protected function createType($id) {
    *   The expected field label.
    * @param string $expected_field_type
    *   The expected field type.
-   * @param boolean $is_required
+   * @param bool $is_requiredWhether
+ *   or not the field is required.
    *   Whether or not the field is required.
    */
   protected function assertEntity($id, $expected_label, $expected_field_type, $is_required) {
diff --git a/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php b/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
index 7b66aa3..7532105 100644
--- a/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
+++ b/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
@@ -23,7 +23,10 @@ class NumberItemTest extends FieldKernelTestBase {
    */
   public static $modules = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create number field storages and fields for validation.
diff --git a/core/modules/field/tests/src/Kernel/ShapeItemTest.php b/core/modules/field/tests/src/Kernel/ShapeItemTest.php
index a792124..1939fd2 100644
--- a/core/modules/field/tests/src/Kernel/ShapeItemTest.php
+++ b/core/modules/field/tests/src/Kernel/ShapeItemTest.php
@@ -29,7 +29,10 @@ class ShapeItemTest extends FieldKernelTestBase {
    */
   protected $fieldName = 'field_shape';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a 'shape' field and storage for validation.
diff --git a/core/modules/field/tests/src/Kernel/TestItemTest.php b/core/modules/field/tests/src/Kernel/TestItemTest.php
index c53b42a..ca86558 100644
--- a/core/modules/field/tests/src/Kernel/TestItemTest.php
+++ b/core/modules/field/tests/src/Kernel/TestItemTest.php
@@ -30,7 +30,10 @@ class TestItemTest extends FieldKernelTestBase {
    */
   protected $fieldName = 'field_test';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a 'test_field' field and storage for validation.
diff --git a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
index 2ac2692..d65cd93 100644
--- a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
+++ b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
@@ -315,11 +315,17 @@ public function testGetType() {
  */
 class DependencyFieldItem {
 
-  public static function calculateDependencies(FieldDefinitionInterface $definition) {
+  /**
+ *
+ */
+public static function calculateDependencies(FieldDefinitionInterface $definition) {
     return ['module' => ['test_module3']];
   }
 
-  public static function onDependencyRemoval($field_config, $dependencies) {
+  /**
+ *
+ */
+public static function onDependencyRemoval($field_config, $dependencies) {
   }
 
 }
diff --git a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php
index b2950e7..e100597 100644
--- a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php
+++ b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php
@@ -33,7 +33,10 @@ protected function setUp() {
 
   }
 
-  function testIndentation() {
+  /**
+ *
+ */
+function testIndentation() {
     $this->drupalGet('admin/structure/types/manage/page/display');
     $this->assertRaw('js-indentation indentation');
   }
diff --git a/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.module b/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.module
index 562168f..a528aeb 100644
--- a/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.module
+++ b/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.module
@@ -54,6 +54,9 @@ function field_ui_test_form_entity_view_display_edit_form_alter(&$form, FormStat
 
 }
 
+/**
+ *
+ */
 function field_ui_test_region_callback($row) {
   return 'content';
 }
diff --git a/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php b/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
index 0a9ff85..29aa0da 100644
--- a/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
@@ -31,7 +31,10 @@ class EntityDisplayTest extends KernelTestBase {
    */
   public static $modules = array('field_ui', 'field', 'entity_test', 'user', 'text', 'field_test', 'node', 'system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('node');
     $this->installEntitySchema('user');
diff --git a/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php b/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
index 660064f..9b8ec0f 100644
--- a/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
@@ -22,7 +22,10 @@ class EntityFormDisplayTest extends KernelTestBase {
    */
   public static $modules = ['field_ui', 'field', 'entity_test', 'field_test', 'user', 'text'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
   }
 
diff --git a/core/modules/file/src/Plugin/views/filter/Status.php b/core/modules/file/src/Plugin/views/filter/Status.php
index d9a3ccd..1f48094 100644
--- a/core/modules/file/src/Plugin/views/filter/Status.php
+++ b/core/modules/file/src/Plugin/views/filter/Status.php
@@ -13,7 +13,10 @@
  */
 class Status extends InOperator {
 
-  public function getValueOptions() {
+  /**
+ *
+ */
+public function getValueOptions() {
     if (!isset($this->valueOptions)) {
       $this->valueOptions = _views_file_status();
     }
diff --git a/core/modules/file/src/Tests/DownloadTest.php b/core/modules/file/src/Tests/DownloadTest.php
index 745743c..80e3fe0 100644
--- a/core/modules/file/src/Tests/DownloadTest.php
+++ b/core/modules/file/src/Tests/DownloadTest.php
@@ -8,7 +8,10 @@
  * @group file
  */
 class DownloadTest extends FileManagedTestBase {
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Clear out any hook calls.
     file_test_reset();
diff --git a/core/modules/file/src/Tests/FileFieldTestBase.php b/core/modules/file/src/Tests/FileFieldTestBase.php
index a725099..b430824 100644
--- a/core/modules/file/src/Tests/FileFieldTestBase.php
+++ b/core/modules/file/src/Tests/FileFieldTestBase.php
@@ -27,7 +27,10 @@
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->adminUser = $this->drupalCreateUser(array('access content', 'access administration pages', 'administer site configuration', 'administer users', 'administer permissions', 'administer content types', 'administer node fields', 'administer node display', 'administer nodes', 'bypass node access'));
     $this->drupalLogin($this->adminUser);
diff --git a/core/modules/file/src/Tests/FileListingTest.php b/core/modules/file/src/Tests/FileListingTest.php
index 78a7602..b516697 100644
--- a/core/modules/file/src/Tests/FileListingTest.php
+++ b/core/modules/file/src/Tests/FileListingTest.php
@@ -26,7 +26,10 @@ class FileListingTest extends FileFieldTestBase {
    */
   protected $baseUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('access files overview', 'bypass node access'));
diff --git a/core/modules/file/src/Tests/FileManagedTestBase.php b/core/modules/file/src/Tests/FileManagedTestBase.php
index 6eeb81f..f777d22 100644
--- a/core/modules/file/src/Tests/FileManagedTestBase.php
+++ b/core/modules/file/src/Tests/FileManagedTestBase.php
@@ -19,7 +19,10 @@
    */
   public static $modules = array('file_test', 'file');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Clear out any hook calls.
     file_test_reset();
diff --git a/core/modules/file/src/Tests/FilePrivateTest.php b/core/modules/file/src/Tests/FilePrivateTest.php
index 9355de1..e98b3c6 100644
--- a/core/modules/file/src/Tests/FilePrivateTest.php
+++ b/core/modules/file/src/Tests/FilePrivateTest.php
@@ -21,7 +21,10 @@ class FilePrivateTest extends FileFieldTestBase {
    */
   public static $modules = array('node_access_test', 'field_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     node_access_test_add_field(NodeType::load('article'));
     node_access_rebuild();
diff --git a/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php b/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php
index 64a49be..c8511de 100644
--- a/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php
+++ b/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php
@@ -16,7 +16,10 @@ class RemoteFileSaveUploadTest extends SaveUploadTest {
    */
   public static $modules = array('file_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/file/src/Tests/SaveUploadTest.php b/core/modules/file/src/Tests/SaveUploadTest.php
index 0f0f5ec..e63dbd1 100644
--- a/core/modules/file/src/Tests/SaveUploadTest.php
+++ b/core/modules/file/src/Tests/SaveUploadTest.php
@@ -41,7 +41,10 @@ class SaveUploadTest extends FileManagedTestBase {
    */
   protected $imageExtension;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $account = $this->drupalCreateUser(array('access site reports'));
     $this->drupalLogin($account);
diff --git a/core/modules/file/src/Tests/Views/RelationshipUserFileDataTest.php b/core/modules/file/src/Tests/Views/RelationshipUserFileDataTest.php
index db49ae1..628d990 100644
--- a/core/modules/file/src/Tests/Views/RelationshipUserFileDataTest.php
+++ b/core/modules/file/src/Tests/Views/RelationshipUserFileDataTest.php
@@ -30,7 +30,10 @@ class RelationshipUserFileDataTest extends ViewTestBase {
    */
   public static $testViews = array('test_file_user_file_data');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create the user profile field and instance.
diff --git a/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php b/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php
index fd6da2e..f9d2609 100644
--- a/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php
+++ b/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php
@@ -25,7 +25,10 @@ public function getDescription() {
     return t('Dummy wrapper for simpletest (readonly).');
   }
 
-  function getDirectoryPath() {
+  /**
+ *
+ */
+function getDirectoryPath() {
     return \Drupal::service('site.path') . '/files';
   }
 
diff --git a/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php b/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php
index 7736751..880cb7d 100644
--- a/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php
+++ b/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php
@@ -27,7 +27,10 @@ public function getDescription() {
     return t('Dummy wrapper for simpletest (remote).');
   }
 
-  function realpath() {
+  /**
+ *
+ */
+function realpath() {
     return FALSE;
   }
 }
diff --git a/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php b/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php
index 8ae028a..00dddfa 100644
--- a/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php
+++ b/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php
@@ -25,7 +25,10 @@ public function getDescription() {
     return t('Dummy wrapper for simpletest.');
   }
 
-  function getDirectoryPath() {
+  /**
+ *
+ */
+function getDirectoryPath() {
     return \Drupal::service('site.path') . '/files';
   }
 
diff --git a/core/modules/file/tests/src/Kernel/FileItemTest.php b/core/modules/file/tests/src/Kernel/FileItemTest.php
index 8827fb0..0826d56 100644
--- a/core/modules/file/tests/src/Kernel/FileItemTest.php
+++ b/core/modules/file/tests/src/Kernel/FileItemTest.php
@@ -39,7 +39,10 @@ class FileItemTest extends FieldKernelTestBase {
    */
   protected $directory;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('file');
diff --git a/core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php b/core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
index 4db377d..deafbaf 100644
--- a/core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
+++ b/core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
@@ -20,7 +20,10 @@
    */
   public static $modules = array('file_test', 'file', 'system', 'field', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Clear out any hook calls.
     file_test_reset();
diff --git a/core/modules/file/tests/src/Kernel/Migrate/EntityFileTest.php b/core/modules/file/tests/src/Kernel/Migrate/EntityFileTest.php
index 08e9fcb..06e8474 100644
--- a/core/modules/file/tests/src/Kernel/Migrate/EntityFileTest.php
+++ b/core/modules/file/tests/src/Kernel/Migrate/EntityFileTest.php
@@ -248,7 +248,10 @@ class TestEntityFile extends EntityFile {
    */
   public $storage;
 
-  public function __construct($configuration = []) {
+  /**
+ *
+ */
+public function __construct($configuration = []) {
     $configuration +=  array(
       'source_base_path' => '',
       'source_path_property' => 'filepath',
diff --git a/core/modules/file/tests/src/Kernel/SaveTest.php b/core/modules/file/tests/src/Kernel/SaveTest.php
index d5a3eef..aca6d0f 100644
--- a/core/modules/file/tests/src/Kernel/SaveTest.php
+++ b/core/modules/file/tests/src/Kernel/SaveTest.php
@@ -10,7 +10,10 @@
  * @group file
  */
 class SaveTest extends FileManagedUnitTestBase {
-  function testFileSave() {
+  /**
+ *
+ */
+function testFileSave() {
     // Create a new file entity.
     $file = File::create(array(
       'uid' => 1,
diff --git a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php
index 95efbaf..4bc0136 100644
--- a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php
+++ b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php
@@ -9,7 +9,10 @@
  * @group file
  */
 class SpaceUsedTest extends FileManagedUnitTestBase {
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create records for a couple of users with different sizes.
diff --git a/core/modules/file/tests/src/Kernel/ValidatorTest.php b/core/modules/file/tests/src/Kernel/ValidatorTest.php
index 961958b..cb1bb11 100644
--- a/core/modules/file/tests/src/Kernel/ValidatorTest.php
+++ b/core/modules/file/tests/src/Kernel/ValidatorTest.php
@@ -25,7 +25,10 @@ class ValidatorTest extends FileManagedUnitTestBase {
    */
   protected $nonImage;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->image = File::create();
diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
index bfbdc32..a8756e2 100644
--- a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
+++ b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
@@ -18,7 +18,10 @@ class FileUriTest extends MigrateTestCase {
     'id' => 'test',
   ];
 
-  public function testPublic() {
+  /**
+ *
+ */
+public function testPublic() {
     $value = [
       'sites/default/files/foo.jpg',
       'sites/default/files',
@@ -28,7 +31,10 @@ public function testPublic() {
     $this->assertEquals('public://foo.jpg', $this->doTransform($value));
   }
 
-  public function testPublicUnknownBasePath() {
+  /**
+ *
+ */
+public function testPublicUnknownBasePath() {
     $value = [
       '/path/to/public/files/foo.jpg',
       'sites/default/files',
@@ -38,7 +44,10 @@ public function testPublicUnknownBasePath() {
     $this->assertEquals('public://path/to/public/files/foo.jpg', $this->doTransform($value));
   }
 
-  public function testPrivate() {
+  /**
+ *
+ */
+public function testPrivate() {
     $value = [
       'sites/default/files/baz.gif',
       'sites/default/files',
@@ -48,7 +57,10 @@ public function testPrivate() {
     $this->assertEquals('private://baz.gif', $this->doTransform($value));
   }
 
-  public function testPrivateUnknownBasePath() {
+  /**
+ *
+ */
+public function testPrivateUnknownBasePath() {
     $value = [
       '/path/to/private/files/baz.gif',
       'sites/default/files',
@@ -58,7 +70,10 @@ public function testPrivateUnknownBasePath() {
     $this->assertEquals('private://path/to/private/files/baz.gif', $this->doTransform($value));
   }
 
-  public function testTemporary() {
+  /**
+ *
+ */
+public function testTemporary() {
     $value = [
       '/tmp/bar.png',
       'sites/default/files',
@@ -68,7 +83,10 @@ public function testTemporary() {
     $this->assertEquals('temporary://bar.png', $this->doTransform($value));
   }
 
-  protected function doTransform(array $value) {
+  /**
+ *
+ */
+protected function doTransform(array $value) {
     $executable = new MigrateExecutable($this->getMigration(), new MigrateMessage());
     $row = new Row([], []);
 
diff --git a/core/modules/filter/src/Tests/FilterFormatAccessTest.php b/core/modules/filter/src/Tests/FilterFormatAccessTest.php
index 4d2da61..f458997 100644
--- a/core/modules/filter/src/Tests/FilterFormatAccessTest.php
+++ b/core/modules/filter/src/Tests/FilterFormatAccessTest.php
@@ -63,7 +63,10 @@ class FilterFormatAccessTest extends WebTestBase {
    */
   protected $disallowedFormat;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
index c7a2ee3..9b5ee43 100644
--- a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
+++ b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
@@ -30,7 +30,10 @@ class FilterHtmlImageSecureTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Setup Filtered HTML text format.
diff --git a/core/modules/filter/src/Tests/FilterSecurityTest.php b/core/modules/filter/src/Tests/FilterSecurityTest.php
index 4ea141c..b3461fd 100644
--- a/core/modules/filter/src/Tests/FilterSecurityTest.php
+++ b/core/modules/filter/src/Tests/FilterSecurityTest.php
@@ -29,7 +29,10 @@ class FilterSecurityTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page node type.
diff --git a/core/modules/filter/tests/src/Kernel/FilterAPITest.php b/core/modules/filter/tests/src/Kernel/FilterAPITest.php
index 49dde8a..bbae689 100644
--- a/core/modules/filter/tests/src/Kernel/FilterAPITest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterAPITest.php
@@ -21,7 +21,10 @@ class FilterAPITest extends EntityKernelTestBase {
 
   public static $modules = array('system', 'filter', 'filter_test', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installConfig(array('system', 'filter', 'filter_test'));
diff --git a/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php b/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php
index 4b3684b..7f5ec5a 100644
--- a/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php
@@ -14,7 +14,10 @@ class FilterDefaultConfigTest extends KernelTestBase {
 
   public static $modules = array('system', 'user', 'filter', 'filter_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Drupal\filter\FilterPermissions::permissions() builds a URL to output
diff --git a/core/modules/filter/tests/src/Kernel/FilterUnitTest.php b/core/modules/filter/tests/src/Kernel/FilterUnitTest.php
index c4744bb..bdbae73 100644
--- a/core/modules/filter/tests/src/Kernel/FilterUnitTest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterUnitTest.php
@@ -29,7 +29,10 @@ class FilterUnitTest extends KernelTestBase {
    */
   protected $filters;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(array('system'));
 
@@ -863,7 +866,7 @@ function testUrlFilter() {
    *   strings and whose values are Booleans indicating whether the output is
    *   expected or not.
    *
-   * For example:
+   *   For example:
    * @code
    * $tests = array(
    *   'Input string' => array(
diff --git a/core/modules/forum/src/Tests/ForumBlockTest.php b/core/modules/forum/src/Tests/ForumBlockTest.php
index 6b1399b..38254ba 100644
--- a/core/modules/forum/src/Tests/ForumBlockTest.php
+++ b/core/modules/forum/src/Tests/ForumBlockTest.php
@@ -25,7 +25,10 @@ class ForumBlockTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create users.
diff --git a/core/modules/forum/src/Tests/ForumIndexTest.php b/core/modules/forum/src/Tests/ForumIndexTest.php
index 64fe0d1..019fc31 100644
--- a/core/modules/forum/src/Tests/ForumIndexTest.php
+++ b/core/modules/forum/src/Tests/ForumIndexTest.php
@@ -18,7 +18,10 @@ class ForumIndexTest extends WebTestBase {
    */
   public static $modules = array('taxonomy', 'comment', 'forum');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a test user.
diff --git a/core/modules/forum/src/Tests/ForumNodeAccessTest.php b/core/modules/forum/src/Tests/ForumNodeAccessTest.php
index 8eda252..1b2b7f7 100644
--- a/core/modules/forum/src/Tests/ForumNodeAccessTest.php
+++ b/core/modules/forum/src/Tests/ForumNodeAccessTest.php
@@ -19,7 +19,10 @@ class ForumNodeAccessTest extends WebTestBase {
    */
   public static $modules = array('node', 'comment', 'forum', 'taxonomy', 'tracker', 'node_access_test', 'block');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     node_access_rebuild();
     node_access_test_add_field(NodeType::load('forum'));
diff --git a/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php b/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php
index 5502574..bed7cce 100644
--- a/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php
+++ b/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php
@@ -27,7 +27,10 @@ class ForumIntegrationTest extends ViewTestBase {
    */
   public static $testViews = array('test_forum_index');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('forum_test_views'));
diff --git a/core/modules/help/src/Tests/HelpBlockTest.php b/core/modules/help/src/Tests/HelpBlockTest.php
index 3a7a172..0513f82 100644
--- a/core/modules/help/src/Tests/HelpBlockTest.php
+++ b/core/modules/help/src/Tests/HelpBlockTest.php
@@ -23,7 +23,10 @@ class HelpBlockTest extends WebTestBase {
    */
   protected $helpBlock;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->helpBlock = $this->placeBlock('help_block');
   }
diff --git a/core/modules/help/src/Tests/HelpTest.php b/core/modules/help/src/Tests/HelpTest.php
index 6cb3991..4e490e2 100644
--- a/core/modules/help/src/Tests/HelpTest.php
+++ b/core/modules/help/src/Tests/HelpTest.php
@@ -37,7 +37,10 @@ class HelpTest extends WebTestBase {
    */
   protected $anyUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->getModuleList();
diff --git a/core/modules/help/src/Tests/NoHelpTest.php b/core/modules/help/src/Tests/NoHelpTest.php
index 9d087b7..7671ae6 100644
--- a/core/modules/help/src/Tests/NoHelpTest.php
+++ b/core/modules/help/src/Tests/NoHelpTest.php
@@ -25,7 +25,10 @@ class NoHelpTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->adminUser = $this->drupalCreateUser(array('access administration pages'));
   }
diff --git a/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php b/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php
index ce77f83..7920241 100644
--- a/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php
+++ b/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php
@@ -42,7 +42,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['comments'] = array('default' => FALSE);
@@ -50,7 +53,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     if (\Drupal::moduleHandler()->moduleExists('comment')) {
       $form['comments'] = array(
@@ -61,7 +67,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     // Only add ourselves to the query if logged in.
     if (\Drupal::currentUser()->isAnonymous()) {
       return;
diff --git a/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php b/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
index 5803c92..516b309 100644
--- a/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
+++ b/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
@@ -30,7 +30,10 @@ public function usesGroupBy() {
     return FALSE;
   }
 
-  public function buildExposeForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildExposeForm(&$form, FormStateInterface $form_state) {
     parent::buildExposeForm($form, $form_state);
     // @todo There are better ways of excluding required and multiple (object flags)
     unset($form['expose']['required']);
@@ -38,7 +41,10 @@ public function buildExposeForm(&$form, FormStateInterface $form_state) {
     unset($form['expose']['remember']);
   }
 
-  protected function valueForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueForm(&$form, FormStateInterface $form_state) {
     // Only present a checkbox for the exposed filter itself. There's no way
     // to tell the difference between not checked and the default value, so
     // specifying the default value via the views UI is meaningless.
@@ -57,7 +63,10 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     // This can only work if we're authenticated in.
     if (!\Drupal::currentUser()->isAuthenticated()) {
       return;
@@ -90,7 +99,10 @@ public function query() {
     $this->query->addWhereExpression($this->options['group'], "($field IS NULL AND ($node.changed > (***CURRENT_TIME*** - $limit) $clause)) OR $field < $node.changed $clause2");
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     if (!empty($this->options['exposed'])) {
       return $this->t('exposed');
     }
diff --git a/core/modules/history/src/Tests/HistoryTest.php b/core/modules/history/src/Tests/HistoryTest.php
index 9e5d970..9c53d5d 100644
--- a/core/modules/history/src/Tests/HistoryTest.php
+++ b/core/modules/history/src/Tests/HistoryTest.php
@@ -33,7 +33,10 @@ class HistoryTest extends WebTestBase {
    */
   protected $testNode;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/image/src/Tests/ImageEffectsTest.php b/core/modules/image/src/Tests/ImageEffectsTest.php
index e568070..ead7da2 100644
--- a/core/modules/image/src/Tests/ImageEffectsTest.php
+++ b/core/modules/image/src/Tests/ImageEffectsTest.php
@@ -25,7 +25,10 @@ class ImageEffectsTest extends ToolkitTestBase {
    */
   protected $manager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->manager = $this->container->get('plugin.manager.image.effect');
   }
diff --git a/core/modules/image/src/Tests/ImageFieldTestBase.php b/core/modules/image/src/Tests/ImageFieldTestBase.php
index 6081d32..91de0f0 100644
--- a/core/modules/image/src/Tests/ImageFieldTestBase.php
+++ b/core/modules/image/src/Tests/ImageFieldTestBase.php
@@ -38,7 +38,10 @@
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page and Article node types.
diff --git a/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php b/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php
index fc71e18..72b36f2 100644
--- a/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php
+++ b/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php
@@ -24,7 +24,10 @@ class ImageStylesPathAndUrlTest extends WebTestBase {
    */
   protected $style;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->style = ImageStyle::create(array('name' => 'style_foo', 'label' => $this->randomString()));
diff --git a/core/modules/image/src/Tests/ImageThemeFunctionTest.php b/core/modules/image/src/Tests/ImageThemeFunctionTest.php
index bf0a4cd..9b76458 100644
--- a/core/modules/image/src/Tests/ImageThemeFunctionTest.php
+++ b/core/modules/image/src/Tests/ImageThemeFunctionTest.php
@@ -37,7 +37,10 @@ class ImageThemeFunctionTest extends WebTestBase {
    */
   protected $imageFactory;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     FieldStorageConfig::create(array(
diff --git a/core/modules/image/src/Tests/Views/RelationshipUserImageDataTest.php b/core/modules/image/src/Tests/Views/RelationshipUserImageDataTest.php
index f9381d4..28b14a9 100644
--- a/core/modules/image/src/Tests/Views/RelationshipUserImageDataTest.php
+++ b/core/modules/image/src/Tests/Views/RelationshipUserImageDataTest.php
@@ -30,7 +30,10 @@ class RelationshipUserImageDataTest extends ViewTestBase {
    */
   public static $testViews = array('test_image_user_image_data');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create the user profile field and instance.
diff --git a/core/modules/image/tests/modules/image_module_test/image_module_test.module b/core/modules/image/tests/modules/image_module_test/image_module_test.module
index df71375..2bd430d 100644
--- a/core/modules/image/tests/modules/image_module_test/image_module_test.module
+++ b/core/modules/image/tests/modules/image_module_test/image_module_test.module
@@ -7,6 +7,9 @@
 
 use Drupal\image\ImageStyleInterface;
 
+/**
+ *
+ */
 function image_module_test_file_download($uri) {
   $default_uri = \Drupal::state()->get('image.test_file_download') ?: FALSE;
   if ($default_uri == $uri) {
diff --git a/core/modules/image/tests/src/Kernel/ImageItemTest.php b/core/modules/image/tests/src/Kernel/ImageItemTest.php
index 3321b20..389f8c9 100644
--- a/core/modules/image/tests/src/Kernel/ImageItemTest.php
+++ b/core/modules/image/tests/src/Kernel/ImageItemTest.php
@@ -37,7 +37,10 @@ class ImageItemTest extends FieldKernelTestBase {
    */
   protected $imageFactory;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('file');
diff --git a/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php b/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php
index 6533090..b740d9e 100644
--- a/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php
+++ b/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php
@@ -42,7 +42,10 @@ class DenyPrivateImageStyleDownloadTest extends UnitTestCase {
    */
   protected $routeMatch;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->routeMatch = $this->getMock('Drupal\Core\Routing\RouteMatchInterface');
     $this->policy = new DenyPrivateImageStyleDownload($this->routeMatch);
     $this->response = new Response();
diff --git a/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php b/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php
index 3cc00f9..66f2c70 100644
--- a/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php
+++ b/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php
@@ -14,7 +14,10 @@ class AdminPathEntityConverterLanguageTest extends WebTestBase {
 
   public static $modules = array('language', 'language_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $permissions = array(
       'access administration pages',
diff --git a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php
index f92514b..b1b761d 100644
--- a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php
+++ b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php
@@ -13,7 +13,10 @@ class LanguageBlockSettingsVisibilityTest extends WebTestBase {
 
   public static $modules = array('block', 'language');
 
-  public function testUnnecessaryLanguageSettingsVisibility() {
+  /**
+ *
+ */
+public function testUnnecessaryLanguageSettingsVisibility() {
     $admin_user = $this->drupalCreateUser(array('administer languages', 'access administration pages', 'administer blocks'));
     $this->drupalLogin($admin_user);
     $this->drupalPostForm('admin/config/regional/language/add', array('predefined_langcode' => 'hu'), t('Add language'));
diff --git a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php
index 21288a2..c9bec6f 100644
--- a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php
+++ b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php
@@ -22,7 +22,10 @@ class LanguageConfigurationElementTest extends WebTestBase {
    */
   public static $modules = array('taxonomy', 'node', 'language', 'language_elements_test', 'field_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $user = $this->drupalCreateUser(array('access administration pages', 'administer languages', 'administer content types'));
     $this->drupalLogin($user);
diff --git a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php
index 1f79604..fdb0341 100644
--- a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php
+++ b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php
@@ -18,7 +18,10 @@ class LanguagePathMonolingualTest extends WebTestBase {
    */
   public static $modules = ['block', 'language', 'path'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/language/src/Tests/LanguageSwitchingTest.php b/core/modules/language/src/Tests/LanguageSwitchingTest.php
index c076e6f..1a4e5b7 100644
--- a/core/modules/language/src/Tests/LanguageSwitchingTest.php
+++ b/core/modules/language/src/Tests/LanguageSwitchingTest.php
@@ -22,7 +22,10 @@ class LanguageSwitchingTest extends WebTestBase {
    */
   public static $modules = array('locale', 'locale_test', 'language', 'block', 'language_test', 'menu_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
index 7e19d4f..3a02896 100644
--- a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
+++ b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
@@ -50,7 +50,10 @@ class LanguageUILanguageNegotiationTest extends WebTestBase {
    */
   public static $modules = array('locale', 'language_test', 'block', 'user', 'content_translation');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $admin_user = $this->drupalCreateUser(array('administer languages', 'translate interface', 'access administration pages', 'administer blocks'));
@@ -341,7 +344,10 @@ function testUILanguageNegotiation() {
     }
   }
 
-  protected function runTest($test) {
+  /**
+ *
+ */
+protected function runTest($test) {
     $test += array('path_options' => []);
     if (!empty($test['language_negotiation'])) {
       $method_weights = array_flip($test['language_negotiation']);
diff --git a/core/modules/language/src/Tests/LanguageUrlRewritingTest.php b/core/modules/language/src/Tests/LanguageUrlRewritingTest.php
index 5cd80dc..4a557df 100644
--- a/core/modules/language/src/Tests/LanguageUrlRewritingTest.php
+++ b/core/modules/language/src/Tests/LanguageUrlRewritingTest.php
@@ -30,7 +30,10 @@ class LanguageUrlRewritingTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php b/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
index 92b2a04..a38bc02 100644
--- a/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
+++ b/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
@@ -34,7 +34,10 @@ class LanguageConditionTest extends KernelTestBase {
    */
   public static $modules = array('system', 'language');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installConfig(array('language'));
diff --git a/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php b/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
index fb62f48..e276dd6 100644
--- a/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
+++ b/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
@@ -31,7 +31,10 @@ class EntityUrlLanguageTest extends LanguageTestBase {
    */
   protected $entity;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test');
diff --git a/core/modules/language/tests/src/Kernel/Views/LanguageTestBase.php b/core/modules/language/tests/src/Kernel/Views/LanguageTestBase.php
index cb5d473..64e3171 100644
--- a/core/modules/language/tests/src/Kernel/Views/LanguageTestBase.php
+++ b/core/modules/language/tests/src/Kernel/Views/LanguageTestBase.php
@@ -17,7 +17,10 @@
    */
   public static $modules = array('system', 'language');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
     $this->installConfig(array('language'));
 
diff --git a/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php b/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
index 0382187..b91c423 100644
--- a/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
+++ b/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
@@ -144,7 +144,10 @@ public function testDefaultLangcode(ContentLanguageSettings $config, $expected)
     $this->assertSame($expected, $config->getDefaultLangcode());
   }
 
-  public function providerDefaultLangcode() {
+  /**
+ *
+ */
+public function providerDefaultLangcode() {
     $langcode = $this->randomMachineName();
     $config = new ContentLanguageSettings(array(
       'target_entity_type_id' => 'test_entity_type',
@@ -173,7 +176,10 @@ public function testLanguageAlterable(ContentLanguageSettings $config, $expected
     $this->assertSame($expected, $config->isLanguageAlterable());
   }
 
-  public function providerLanguageAlterable() {
+  /**
+ *
+ */
+public function providerLanguageAlterable() {
     $alterableConfig = new ContentLanguageSettings(array(
       'target_entity_type_id' => 'test_entity_type',
       'target_bundle' => 'test_bundle',
@@ -207,7 +213,10 @@ public function testIsDefaultConfiguration(ContentLanguageSettings $config, $exp
     $this->assertSame($expected, $config->isDefaultConfiguration());
   }
 
-  public function providerIsDefaultConfiguration() {
+  /**
+ *
+ */
+public function providerIsDefaultConfiguration() {
     $alteredLanguage= new ContentLanguageSettings(array(
       'target_entity_type_id' => 'test_entity_type',
       'target_bundle' => 'test_bundle',
@@ -270,7 +279,10 @@ public function testLoadByEntityTypeBundle($config_id, ContentLanguageSettings $
     $this->assertSame($expected_language_alterable, $config->isLanguageAlterable());
   }
 
-  public function providerLoadByEntityTypeBundle() {
+  /**
+ *
+ */
+public function providerLoadByEntityTypeBundle() {
     $alteredLanguage= new ContentLanguageSettings(array(
       'target_entity_type_id' => 'test_entity_type',
       'target_bundle' => 'test_bundle',
diff --git a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
index 4fa83a4..6806f98 100644
--- a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
+++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
@@ -256,7 +256,10 @@ public function providerTestDomain() {
 // @todo Remove as part of https://www.drupal.org/node/2481833.
 namespace {
   if (!function_exists('base_path')) {
-    function base_path() {
+    /**
+ *
+ */
+function base_path() {
       return '/';
     }
   }
diff --git a/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php b/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php
index 1f711ae..8cfbe19 100644
--- a/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php
+++ b/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class LanguageLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array(
       'language' => 'core/modules/language',
     );
diff --git a/core/modules/link/src/Tests/LinkFieldTest.php b/core/modules/link/src/Tests/LinkFieldTest.php
index 639f519..0d73fe2 100644
--- a/core/modules/link/src/Tests/LinkFieldTest.php
+++ b/core/modules/link/src/Tests/LinkFieldTest.php
@@ -39,7 +39,10 @@ class LinkFieldTest extends WebTestBase {
    */
   protected $field;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser([
diff --git a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php
index b80624f..30e5939 100644
--- a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php
+++ b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php
@@ -64,7 +64,10 @@ protected function setUp() {
 
   }
 
-  public function testLinkViewsTokens() {
+  /**
+ *
+ */
+public function testLinkViewsTokens() {
     // Array of URI's to test.
     $uris = [
       'http://www.drupal.org' => 'Drupal.org',
diff --git a/core/modules/link/tests/src/Kernel/LinkItemTest.php b/core/modules/link/tests/src/Kernel/LinkItemTest.php
index 617c025..57bf433 100644
--- a/core/modules/link/tests/src/Kernel/LinkItemTest.php
+++ b/core/modules/link/tests/src/Kernel/LinkItemTest.php
@@ -25,7 +25,10 @@ class LinkItemTest extends FieldKernelTestBase {
    */
   public static $modules = array('link');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a generic, external, and internal link fields for validation.
diff --git a/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php b/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php
index b16ba18..df12af4 100644
--- a/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php
+++ b/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php
@@ -20,7 +20,10 @@ class LocaleJavascriptTranslationTest extends WebTestBase {
    */
   public static $modules = array('locale', 'locale_test');
 
-  public function testFileParsing() {
+  /**
+ *
+ */
+public function testFileParsing() {
     $filename = __DIR__ . '/../../tests/locale_test.js';
 
     // Parse the file to look for source strings.
diff --git a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php
index 1f790b6..bcbee76 100644
--- a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php
+++ b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php
@@ -205,10 +205,12 @@ public function testStringTranslation() {
     $this->assertNoText(t('No strings available.'), 'The translation has been removed');
   }
 
-  /*
-   * Adds a language and checks that the JavaScript translation files are
-   * properly created and rebuilt on deletion.
-   */
+  /**
+ *
+ *Adds a language and checks that the JavaScript translation files are
+ *properly created and rebuilt on deletion.
+ 
+ */
   public function testJavaScriptTranslation() {
     $user = $this->drupalCreateUser(array('translate interface', 'administer languages', 'access administration pages'));
     $this->drupalLogin($user);
diff --git a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php
index 4dd7913..f9528b7 100644
--- a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php
+++ b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php
@@ -13,7 +13,10 @@ class LocaleUpdateDevelopmentReleaseTest extends WebTestBase {
 
   public static $modules = array('locale', 'locale_test_development_release');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     module_load_include('compare.inc', 'locale');
     $admin_user = $this->drupalCreateUser(array('administer modules', 'administer languages', 'access administration pages', 'translate interface'));
@@ -21,7 +24,10 @@ protected function setUp() {
     $this->drupalPostForm('admin/config/regional/language/add', array('predefined_langcode' => 'hu'), t('Add language'));
   }
 
-  public function testLocaleUpdateDevelopmentRelease() {
+  /**
+ *
+ */
+public function testLocaleUpdateDevelopmentRelease() {
     $projects = locale_translation_build_projects();
     $this->verbose($projects['drupal']->info['version']);
     $this->assertEqual($projects['drupal']->info['version'], '8.0.x', 'The branch of the core dev release.');
diff --git a/core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php b/core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
index e88f49c..f7ecbbc 100644
--- a/core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
+++ b/core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
@@ -21,7 +21,10 @@ class LocaleConfigurableLanguageManagerTest extends KernelTestBase {
    */
   public static $modules = ['language', 'locale'];
 
-  public function testGetLanguages() {
+  /**
+ *
+ */
+public function testGetLanguages() {
     $this->installSchema('locale', ['locales_source', 'locales_target', 'locales_location']);
     $default_language = new ConfigurableLanguage(['label' => $this->randomMachineName(), 'id' => 'default', 'weight' => 0], 'configurable_language');
     $default_language->save();
diff --git a/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php b/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
index 20a4018..c54a07c 100644
--- a/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
+++ b/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
@@ -7,7 +7,10 @@
  */
 class Routes {
 
-  public function dynamic() {
+  /**
+ *
+ */
+public function dynamic() {
     return \Drupal::state()->get('menu_link_content_dynamic_route.routes', []);
   }
 
diff --git a/core/modules/menu_ui/src/Tests/MenuLanguageTest.php b/core/modules/menu_ui/src/Tests/MenuLanguageTest.php
index 948ccbf..8bf9a65 100644
--- a/core/modules/menu_ui/src/Tests/MenuLanguageTest.php
+++ b/core/modules/menu_ui/src/Tests/MenuLanguageTest.php
@@ -23,7 +23,10 @@ class MenuLanguageTest extends MenuWebTestBase {
    */
   public static $modules = array('language');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser(array('access administration pages', 'administer menu')));
diff --git a/core/modules/menu_ui/src/Tests/MenuNodeTest.php b/core/modules/menu_ui/src/Tests/MenuNodeTest.php
index cdc0b12..10aff0e 100644
--- a/core/modules/menu_ui/src/Tests/MenuNodeTest.php
+++ b/core/modules/menu_ui/src/Tests/MenuNodeTest.php
@@ -28,7 +28,10 @@ class MenuNodeTest extends WebTestBase {
    */
   public static $modules = array('menu_ui', 'test_page_test', 'node', 'block', 'locale', 'language', 'content_translation');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('system_menu_block:main');
diff --git a/core/modules/menu_ui/src/Tests/MenuTest.php b/core/modules/menu_ui/src/Tests/MenuTest.php
index 45bf16f..b320f53 100644
--- a/core/modules/menu_ui/src/Tests/MenuTest.php
+++ b/core/modules/menu_ui/src/Tests/MenuTest.php
@@ -61,7 +61,10 @@ class MenuTest extends MenuWebTestBase {
    */
   protected $items;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/menu_ui/tests/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php b/core/modules/menu_ui/tests/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php
index f87bc5f..511b759 100644
--- a/core/modules/menu_ui/tests/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php
+++ b/core/modules/menu_ui/tests/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php
@@ -22,7 +22,10 @@ protected function setUp() {
     $this->executeMigration('menu_settings');
   }
 
-  public function testMigration() {
+  /**
+ *
+ */
+public function testMigration() {
     $this->assertTrue(\Drupal::config('menu_ui.settings')->get('override_parent_selector'));
   }
 
diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
index d08e035..65c7fc7 100644
--- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
+++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
@@ -108,11 +108,17 @@ class EntityTestDestination extends EntityContentBase {
 
   private $entity = NULL;
 
-  public function setEntity($entity) {
+  /**
+ *
+ */
+public function setEntity($entity) {
     $this->entity = $entity;
   }
 
-  protected function getEntity(Row $row, array $old_destination_id_values) {
+  /**
+ *
+ */
+protected function getEntity(Row $row, array $old_destination_id_values) {
     return $this->entity;
   }
 }
diff --git a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
index f1e288e..e2b643e 100644
--- a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
+++ b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
@@ -42,7 +42,10 @@ class EntityRevisionTest extends UnitTestCase {
    */
   protected $fieldTypeManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Setup mocks to be used when creating a revision destination.
diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
index c12478b..e0dfc30 100644
--- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
+++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
@@ -53,14 +53,23 @@ public function testImport() {
 class TestPerComponentEntityDisplay extends ComponentEntityDisplayBase {
   const MODE_NAME = 'view_mode';
   protected $testValues;
-  public function __construct($entity) {
+  /**
+ *
+ */
+public function __construct($entity) {
     $this->entity = $entity;
   }
-  protected function getEntity($entity_type, $bundle, $view_mode) {
+  /**
+ *
+ */
+protected function getEntity($entity_type, $bundle, $view_mode) {
     $this->testValues = func_get_args();
     return $this->entity;
   }
-  public function getTestValues() {
+  /**
+ *
+ */
+public function getTestValues() {
     return $this->testValues;
   }
 }
diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
index a99af42..2f50960 100644
--- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
+++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
@@ -53,14 +53,23 @@ public function testImport() {
 class TestPerComponentEntityFormDisplay extends PerComponentEntityFormDisplay {
   const MODE_NAME = 'form_mode';
   protected $testValues;
-  public function __construct($entity) {
+  /**
+ *
+ */
+public function __construct($entity) {
     $this->entity = $entity;
   }
-  protected function getEntity($entity_type, $bundle, $form_mode) {
+  /**
+ *
+ */
+protected function getEntity($entity_type, $bundle, $form_mode) {
     $this->testValues = func_get_args();
     return $this->entity;
   }
-  public function getTestValues() {
+  /**
+ *
+ */
+public function getTestValues() {
     return $this->testValues;
   }
 }
diff --git a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php
index 92d1f7c..66145da 100644
--- a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php
@@ -45,10 +45,16 @@ public function testCallbackWithClassMethod() {
 }
 
 class TestCallback extends Callback {
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
   }
 
-  public function setCallable($callable) {
+  /**
+ *
+ */
+public function setCallable($callable) {
     $this->configuration['callable'] = $callable;
   }
 
diff --git a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php
index d13c33b..d81c3b9 100644
--- a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php
@@ -52,7 +52,10 @@ public function testConcatWithDelimiter() {
 }
 
 class TestConcat extends Concat {
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
   }
 
   /**
diff --git a/core/modules/migrate/tests/src/Unit/process/GetTest.php b/core/modules/migrate/tests/src/Unit/process/GetTest.php
index bdbb551..0f0471a 100644
--- a/core/modules/migrate/tests/src/Unit/process/GetTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/GetTest.php
@@ -109,9 +109,15 @@ public function testIntegerValues() {
 namespace Drupal\migrate\Plugin\migrate\process;
 
 class TestGet extends Get {
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
   }
-  public function setSource($source) {
+  /**
+ *
+ */
+public function setSource($source) {
     $this->configuration['source'] = $source;
   }
 }
diff --git a/core/modules/node/node.api.php b/core/modules/node/node.api.php
index 11689c3..fc8f2b6 100644
--- a/core/modules/node/node.api.php
+++ b/core/modules/node/node.api.php
@@ -213,9 +213,9 @@ function hook_node_access_records(\Drupal\node\NodeInterface $node) {
  * @param \Drupal\node\NodeInterface $node
  *   The node for which the grants were acquired.
  *
- * The preferred use of this hook is in a module that bridges multiple node
- * access modules with a configurable behavior, as shown in the example with the
- * 'is_preview' field.
+ *   The preferred use of this hook is in a module that bridges multiple node
+ *   access modules with a configurable behavior, as shown in the example with the
+ *   'is_preview' field.
  *
  * @see hook_node_access_records()
  * @see hook_node_grants()
diff --git a/core/modules/node/src/Plugin/Search/NodeSearch.php b/core/modules/node/src/Plugin/Search/NodeSearch.php
index 3bf7ced..b5838cb 100644
--- a/core/modules/node/src/Plugin/Search/NodeSearch.php
+++ b/core/modules/node/src/Plugin/Search/NodeSearch.php
@@ -621,9 +621,11 @@ public function searchFormAlter(array &$form, FormStateInterface $form_state) {
     }
   }
 
-  /*
-   * {@inheritdoc}
-   */
+  /**
+ *
+ *{@inheritdoc}
+ 
+ */
   public function buildSearchUrlQuery(FormStateInterface $form_state) {
     // Read keyword and advanced search information from the form values,
     // and put these into the GET parameters.
diff --git a/core/modules/node/src/Plugin/views/argument/Type.php b/core/modules/node/src/Plugin/views/argument/Type.php
index 641b163..c5b5e59 100644
--- a/core/modules/node/src/Plugin/views/argument/Type.php
+++ b/core/modules/node/src/Plugin/views/argument/Type.php
@@ -67,7 +67,10 @@ function title() {
     return $this->node_type($this->argument);
   }
 
-  function node_type($type_name) {
+  /**
+ *
+ */
+function node_type($type_name) {
     $type = $this->nodeTypeStorage->load($type_name);
     $output = $type ? $type->label() : $this->t('Unknown content type');
     return $output;
diff --git a/core/modules/node/src/Plugin/views/argument/UidRevision.php b/core/modules/node/src/Plugin/views/argument/UidRevision.php
index 9a19fe3..68ebdcb 100644
--- a/core/modules/node/src/Plugin/views/argument/UidRevision.php
+++ b/core/modules/node/src/Plugin/views/argument/UidRevision.php
@@ -12,7 +12,10 @@
  */
 class UidRevision extends Uid {
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $this->ensureMyTable();
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression(0, "$this->tableAlias.revision_uid = $placeholder OR ((SELECT COUNT(DISTINCT vid) FROM {node_revision} nr WHERE nfr.revision_uid = $placeholder AND nr.nid = $this->tableAlias.nid) > 0)", array($placeholder => $this->argument));
diff --git a/core/modules/node/src/Plugin/views/filter/Access.php b/core/modules/node/src/Plugin/views/filter/Access.php
index 4b34afe..afb099c 100644
--- a/core/modules/node/src/Plugin/views/filter/Access.php
+++ b/core/modules/node/src/Plugin/views/filter/Access.php
@@ -14,9 +14,18 @@
  */
 class Access extends FilterPluginBase {
 
-  public function adminSummary() { }
-  protected function operatorForm(&$form, FormStateInterface $form_state) { }
-  public function canExpose() {
+  /**
+ *
+ */
+public function adminSummary() { }
+  /**
+ *
+ */
+protected function operatorForm(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function canExpose() {
     return FALSE;
   }
 
diff --git a/core/modules/node/src/Plugin/views/filter/Status.php b/core/modules/node/src/Plugin/views/filter/Status.php
index 194df7a..87ab02b 100644
--- a/core/modules/node/src/Plugin/views/filter/Status.php
+++ b/core/modules/node/src/Plugin/views/filter/Status.php
@@ -14,13 +14,25 @@
  */
 class Status extends FilterPluginBase {
 
-  public function adminSummary() { }
+  /**
+ *
+ */
+public function adminSummary() { }
 
-  protected function operatorForm(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+protected function operatorForm(&$form, FormStateInterface $form_state) { }
 
-  public function canExpose() { return FALSE; }
+  /**
+ *
+ */
+public function canExpose() { return FALSE; }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $table = $this->ensureMyTable();
     $this->query->addWhereExpression($this->options['group'], "$table.status = 1 OR ($table.uid = ***CURRENT_USER*** AND ***CURRENT_USER*** <> 0 AND ***VIEW_OWN_UNPUBLISHED_NODES*** = 1) OR ***BYPASS_NODE_ACCESS*** = 1");
   }
diff --git a/core/modules/node/src/Plugin/views/filter/UidRevision.php b/core/modules/node/src/Plugin/views/filter/UidRevision.php
index ce588b7..b159142 100644
--- a/core/modules/node/src/Plugin/views/filter/UidRevision.php
+++ b/core/modules/node/src/Plugin/views/filter/UidRevision.php
@@ -13,7 +13,10 @@
  */
 class UidRevision extends Name {
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $this->ensureMyTable();
 
     $placeholder = $this->placeholder() . '[]';
diff --git a/core/modules/node/src/Plugin/views/row/Rss.php b/core/modules/node/src/Plugin/views/row/Rss.php
index c2a5f0a..e6802e1 100644
--- a/core/modules/node/src/Plugin/views/row/Rss.php
+++ b/core/modules/node/src/Plugin/views/row/Rss.php
@@ -68,12 +68,18 @@ public function buildOptionsForm_summary_options() {
     return $options;
   }
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     $options = $this->buildOptionsForm_summary_options();
     return $options[$this->options['view_mode']];
   }
 
-  public function preRender($values) {
+  /**
+ *
+ */
+public function preRender($values) {
     $nids = array();
     foreach ($values as $row) {
       $nids[] = $row->{$this->field_alias};
@@ -83,7 +89,10 @@ public function preRender($values) {
     }
   }
 
-  public function render($row) {
+  /**
+ *
+ */
+public function render($row) {
     global $base_url;
 
     $nid = $row->{$this->field_alias};
diff --git a/core/modules/node/src/Tests/Migrate/d7/NodeMigrateDeriverTest.php b/core/modules/node/src/Tests/Migrate/d7/NodeMigrateDeriverTest.php
index e57dcbd..4976623 100644
--- a/core/modules/node/src/Tests/Migrate/d7/NodeMigrateDeriverTest.php
+++ b/core/modules/node/src/Tests/Migrate/d7/NodeMigrateDeriverTest.php
@@ -13,7 +13,10 @@ class NodeMigrateDeriverTest extends MigrateDrupal7TestBase {
 
   public static $modules = ['node'];
 
-  public function testBuilder() {
+  /**
+ *
+ */
+public function testBuilder() {
     $process = $this->getMigration('d7_node:test_content_type')->getProcess();
     $this->assertIdentical('field_boolean', $process['field_boolean'][0]['source']);
     $this->assertIdentical('field_email', $process['field_email'][0]['source']);
diff --git a/core/modules/node/src/Tests/NodeAccessBaseTableTest.php b/core/modules/node/src/Tests/NodeAccessBaseTableTest.php
index e84fc0e..147a706 100644
--- a/core/modules/node/src/Tests/NodeAccessBaseTableTest.php
+++ b/core/modules/node/src/Tests/NodeAccessBaseTableTest.php
@@ -60,7 +60,10 @@ class NodeAccessBaseTableTest extends NodeTestBase {
    */
   protected $nidsVisible;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_test_add_field(NodeType::load('article'));
diff --git a/core/modules/node/src/Tests/NodeAccessFieldTest.php b/core/modules/node/src/Tests/NodeAccessFieldTest.php
index e3a7754..86d8697 100644
--- a/core/modules/node/src/Tests/NodeAccessFieldTest.php
+++ b/core/modules/node/src/Tests/NodeAccessFieldTest.php
@@ -40,7 +40,10 @@ class NodeAccessFieldTest extends NodeTestBase {
    */
   protected $fieldName;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_rebuild();
diff --git a/core/modules/node/src/Tests/NodeAccessLanguageAwareCombinationTest.php b/core/modules/node/src/Tests/NodeAccessLanguageAwareCombinationTest.php
index acf9217..a935a16 100644
--- a/core/modules/node/src/Tests/NodeAccessLanguageAwareCombinationTest.php
+++ b/core/modules/node/src/Tests/NodeAccessLanguageAwareCombinationTest.php
@@ -45,7 +45,10 @@ class NodeAccessLanguageAwareCombinationTest extends NodeTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_test_add_field(NodeType::load('page'));
diff --git a/core/modules/node/src/Tests/NodeAccessLanguageAwareTest.php b/core/modules/node/src/Tests/NodeAccessLanguageAwareTest.php
index ea5a883..0b8747a 100644
--- a/core/modules/node/src/Tests/NodeAccessLanguageAwareTest.php
+++ b/core/modules/node/src/Tests/NodeAccessLanguageAwareTest.php
@@ -44,7 +44,10 @@ class NodeAccessLanguageAwareTest extends NodeTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create the 'private' field, which allows the node to be marked as private
diff --git a/core/modules/node/src/Tests/NodeAccessLanguageTest.php b/core/modules/node/src/Tests/NodeAccessLanguageTest.php
index 5d55a5b..14517fa 100644
--- a/core/modules/node/src/Tests/NodeAccessLanguageTest.php
+++ b/core/modules/node/src/Tests/NodeAccessLanguageTest.php
@@ -22,7 +22,10 @@ class NodeAccessLanguageTest extends NodeTestBase {
    */
   public static $modules = array('language', 'node_access_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_test_add_field(NodeType::load('page'));
diff --git a/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php b/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php
index c1bc0eb..4746a70 100644
--- a/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php
+++ b/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php
@@ -25,7 +25,10 @@ class NodeAccessMenuLinkTest extends NodeTestBase {
    */
   protected $contentAdminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('system_menu_block:main');
diff --git a/core/modules/node/src/Tests/NodeAccessPagerTest.php b/core/modules/node/src/Tests/NodeAccessPagerTest.php
index cfd351b..1e8bd63 100644
--- a/core/modules/node/src/Tests/NodeAccessPagerTest.php
+++ b/core/modules/node/src/Tests/NodeAccessPagerTest.php
@@ -23,7 +23,10 @@ class NodeAccessPagerTest extends WebTestBase {
    */
   public static $modules = array('node_access_test', 'comment', 'forum');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_rebuild();
diff --git a/core/modules/node/src/Tests/NodeAccessRebuildTest.php b/core/modules/node/src/Tests/NodeAccessRebuildTest.php
index b6c3723..c1c9b2c 100644
--- a/core/modules/node/src/Tests/NodeAccessRebuildTest.php
+++ b/core/modules/node/src/Tests/NodeAccessRebuildTest.php
@@ -15,7 +15,10 @@ class NodeAccessRebuildTest extends NodeTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('administer site configuration', 'access administration pages', 'access site reports'));
diff --git a/core/modules/node/src/Tests/NodeAccessTest.php b/core/modules/node/src/Tests/NodeAccessTest.php
index 9913c38..6b5f8d1 100644
--- a/core/modules/node/src/Tests/NodeAccessTest.php
+++ b/core/modules/node/src/Tests/NodeAccessTest.php
@@ -13,7 +13,10 @@
  * @todo Cover hook_node_access in a separate test class.
  */
 class NodeAccessTest extends NodeTestBase {
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Clear permissions for authenticated users.
     $this->config('user.role.' . RoleInterface::AUTHENTICATED_ID)->set('permissions', array())->save();
diff --git a/core/modules/node/src/Tests/NodeAdminTest.php b/core/modules/node/src/Tests/NodeAdminTest.php
index 1717bb1..613c9b1 100644
--- a/core/modules/node/src/Tests/NodeAdminTest.php
+++ b/core/modules/node/src/Tests/NodeAdminTest.php
@@ -45,7 +45,10 @@ class NodeAdminTest extends NodeTestBase {
    */
   public static $modules = array('views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Remove the "view own unpublished content" permission which is set
diff --git a/core/modules/node/src/Tests/NodeBlockFunctionalTest.php b/core/modules/node/src/Tests/NodeBlockFunctionalTest.php
index a73185f..0dca493 100644
--- a/core/modules/node/src/Tests/NodeBlockFunctionalTest.php
+++ b/core/modules/node/src/Tests/NodeBlockFunctionalTest.php
@@ -37,7 +37,10 @@ class NodeBlockFunctionalTest extends NodeTestBase {
    */
   public static $modules = array('block', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create users and test node.
diff --git a/core/modules/node/src/Tests/NodeCreationTest.php b/core/modules/node/src/Tests/NodeCreationTest.php
index 5071056..16d2b52 100644
--- a/core/modules/node/src/Tests/NodeCreationTest.php
+++ b/core/modules/node/src/Tests/NodeCreationTest.php
@@ -23,7 +23,10 @@ class NodeCreationTest extends NodeTestBase {
    */
   public static $modules = array('node_test_exception', 'dblog', 'test_page_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('create page content', 'edit own page content'));
diff --git a/core/modules/node/src/Tests/NodeEditFormTest.php b/core/modules/node/src/Tests/NodeEditFormTest.php
index 659567d..ef2a540 100644
--- a/core/modules/node/src/Tests/NodeEditFormTest.php
+++ b/core/modules/node/src/Tests/NodeEditFormTest.php
@@ -40,7 +40,10 @@ class NodeEditFormTest extends NodeTestBase {
    */
   public static $modules = ['block', 'node', 'datetime'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array('edit own page content', 'create page content'));
diff --git a/core/modules/node/src/Tests/NodeFieldMultilingualTest.php b/core/modules/node/src/Tests/NodeFieldMultilingualTest.php
index e9a96a9..9b43905 100644
--- a/core/modules/node/src/Tests/NodeFieldMultilingualTest.php
+++ b/core/modules/node/src/Tests/NodeFieldMultilingualTest.php
@@ -22,7 +22,10 @@ class NodeFieldMultilingualTest extends WebTestBase {
    */
   public static $modules = array('node', 'language');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page node type.
@@ -97,9 +100,11 @@ function testMultilingualNodeForm() {
     $this->assertRaw($body_value, 'Body correctly displayed using English as requested language');
   }
 
-  /*
-   * Tests multilingual field display settings.
-   */
+  /**
+ *
+ *Tests multilingual field display settings.
+ 
+ */
   function testMultilingualDisplaySettings() {
     // Create "Basic page" content.
     $title_key = 'title[0][value]';
diff --git a/core/modules/node/src/Tests/NodeFormButtonsTest.php b/core/modules/node/src/Tests/NodeFormButtonsTest.php
index bf555d6..6245cc6 100644
--- a/core/modules/node/src/Tests/NodeFormButtonsTest.php
+++ b/core/modules/node/src/Tests/NodeFormButtonsTest.php
@@ -25,7 +25,10 @@ class NodeFormButtonsTest extends NodeTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a user that has no access to change the state of the node.
diff --git a/core/modules/node/src/Tests/NodeLoadMultipleTest.php b/core/modules/node/src/Tests/NodeLoadMultipleTest.php
index d7c4360..377505b 100644
--- a/core/modules/node/src/Tests/NodeLoadMultipleTest.php
+++ b/core/modules/node/src/Tests/NodeLoadMultipleTest.php
@@ -18,7 +18,10 @@ class NodeLoadMultipleTest extends NodeTestBase {
    */
   public static $modules = array('views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $web_user = $this->drupalCreateUser(array('create article content', 'create page content'));
     $this->drupalLogin($web_user);
diff --git a/core/modules/node/src/Tests/NodePostSettingsTest.php b/core/modules/node/src/Tests/NodePostSettingsTest.php
index 3cfca2a..14c352e 100644
--- a/core/modules/node/src/Tests/NodePostSettingsTest.php
+++ b/core/modules/node/src/Tests/NodePostSettingsTest.php
@@ -10,7 +10,10 @@
  */
 class NodePostSettingsTest extends NodeTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('create page content', 'administer content types', 'access user profiles'));
diff --git a/core/modules/node/src/Tests/NodeQueryAlterTest.php b/core/modules/node/src/Tests/NodeQueryAlterTest.php
index 2f1b11b..c8b4247 100644
--- a/core/modules/node/src/Tests/NodeQueryAlterTest.php
+++ b/core/modules/node/src/Tests/NodeQueryAlterTest.php
@@ -26,7 +26,10 @@ class NodeQueryAlterTest extends NodeTestBase {
    */
   protected $noAccessUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     node_access_rebuild();
diff --git a/core/modules/node/src/Tests/NodeRSSContentTest.php b/core/modules/node/src/Tests/NodeRSSContentTest.php
index 27870bd..12f00a3 100644
--- a/core/modules/node/src/Tests/NodeRSSContentTest.php
+++ b/core/modules/node/src/Tests/NodeRSSContentTest.php
@@ -20,7 +20,10 @@ class NodeRSSContentTest extends NodeTestBase {
    */
   public static $modules = array('node_test', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Use bypass node access permission here, because the test class uses
diff --git a/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php b/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php
index 1f5c9b7..f294441 100644
--- a/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php
+++ b/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php
@@ -37,7 +37,10 @@ class NodeRevisionPermissionsTest extends NodeTestBase {
     'delete' => 'delete page revisions',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $types = array('page', 'article');
diff --git a/core/modules/node/src/Tests/NodeRevisionsAllTest.php b/core/modules/node/src/Tests/NodeRevisionsAllTest.php
index f7b81bc..75e29e2 100644
--- a/core/modules/node/src/Tests/NodeRevisionsAllTest.php
+++ b/core/modules/node/src/Tests/NodeRevisionsAllTest.php
@@ -13,7 +13,10 @@ class NodeRevisionsAllTest extends NodeTestBase {
   protected $revisionLogs;
   protected $profile = "standard";
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $node_storage = $this->container->get('entity.manager')->getStorage('node');
     // Create and log in user.
diff --git a/core/modules/node/src/Tests/NodeSaveTest.php b/core/modules/node/src/Tests/NodeSaveTest.php
index 9c7d70f..6ac6e5b 100644
--- a/core/modules/node/src/Tests/NodeSaveTest.php
+++ b/core/modules/node/src/Tests/NodeSaveTest.php
@@ -25,7 +25,10 @@ class NodeSaveTest extends NodeTestBase {
    */
   public static $modules = array('node_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a user that is allowed to post; we'll use this to test the submission.
diff --git a/core/modules/node/src/Tests/NodeSyndicateBlockTest.php b/core/modules/node/src/Tests/NodeSyndicateBlockTest.php
index 31b216f..cdbb6a9 100644
--- a/core/modules/node/src/Tests/NodeSyndicateBlockTest.php
+++ b/core/modules/node/src/Tests/NodeSyndicateBlockTest.php
@@ -16,7 +16,10 @@ class NodeSyndicateBlockTest extends NodeTestBase {
    */
   public static $modules = array('block');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a user and log in.
diff --git a/core/modules/node/src/Tests/NodeTranslationUITest.php b/core/modules/node/src/Tests/NodeTranslationUITest.php
index b4dce56..a96e811 100644
--- a/core/modules/node/src/Tests/NodeTranslationUITest.php
+++ b/core/modules/node/src/Tests/NodeTranslationUITest.php
@@ -44,7 +44,10 @@ class NodeTranslationUITest extends ContentTranslationUITestBase {
    */
   protected $profile = 'standard';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->entityTypeId = 'node';
     $this->bundle = 'article';
     parent::setUp();
diff --git a/core/modules/node/src/Tests/NodeTypeInitialLanguageTest.php b/core/modules/node/src/Tests/NodeTypeInitialLanguageTest.php
index 73bfdb3..b7d9f8a 100644
--- a/core/modules/node/src/Tests/NodeTypeInitialLanguageTest.php
+++ b/core/modules/node/src/Tests/NodeTypeInitialLanguageTest.php
@@ -18,7 +18,10 @@ class NodeTypeInitialLanguageTest extends NodeTestBase {
    */
   public static $modules = array('language', 'field_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('bypass node access', 'administer content types', 'administer node fields', 'administer node form display', 'administer node display', 'administer languages'));
diff --git a/core/modules/node/src/Tests/NodeTypeTranslationTest.php b/core/modules/node/src/Tests/NodeTypeTranslationTest.php
index f86ccc4..b30a953 100644
--- a/core/modules/node/src/Tests/NodeTypeTranslationTest.php
+++ b/core/modules/node/src/Tests/NodeTypeTranslationTest.php
@@ -48,7 +48,10 @@ class NodeTypeTranslationTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $admin_permissions = array(
diff --git a/core/modules/node/src/Tests/PagePreviewTest.php b/core/modules/node/src/Tests/PagePreviewTest.php
index 9777ccc..48e1c9c 100644
--- a/core/modules/node/src/Tests/PagePreviewTest.php
+++ b/core/modules/node/src/Tests/PagePreviewTest.php
@@ -37,7 +37,10 @@ class PagePreviewTest extends NodeTestBase {
    */
   protected $fieldName;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->addDefaultCommentField('node', 'page');
 
diff --git a/core/modules/node/src/Tests/Views/FrontPageTest.php b/core/modules/node/src/Tests/Views/FrontPageTest.php
index b27c416..aec3ab2 100644
--- a/core/modules/node/src/Tests/Views/FrontPageTest.php
+++ b/core/modules/node/src/Tests/Views/FrontPageTest.php
@@ -39,7 +39,10 @@ class FrontPageTest extends ViewTestBase {
    */
   public static $modules = array('node', 'contextual');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->nodeStorage = $this->container->get('entity.manager')
diff --git a/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php b/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php
index 6822807..7605ba6 100644
--- a/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php
+++ b/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php
@@ -30,7 +30,10 @@ class NodeFieldFilterTest extends NodeTestBase {
    */
   public $nodeTitles = [];
 
-  function setUp() {
+  /**
+ *
+ */
+function setUp() {
     parent::setUp();
 
     // Create Page content type.
diff --git a/core/modules/node/src/Tests/Views/NodeTestBase.php b/core/modules/node/src/Tests/Views/NodeTestBase.php
index 6701b41..fc9d1c5 100644
--- a/core/modules/node/src/Tests/Views/NodeTestBase.php
+++ b/core/modules/node/src/Tests/Views/NodeTestBase.php
@@ -17,7 +17,10 @@
    */
   public static $modules = array('node_test_views');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp($import_test_views);
 
     if ($import_test_views) {
diff --git a/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php b/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
index f4b34f1..4e6384f 100644
--- a/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
+++ b/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
@@ -20,7 +20,10 @@ class RevisionRelationshipsTest extends ViewTestBase {
    */
   public static $modules = array('node' , 'node_test_views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('node_test_views'));
diff --git a/core/modules/node/src/Tests/Views/RowPluginTest.php b/core/modules/node/src/Tests/Views/RowPluginTest.php
index d13e526..51ed93e 100644
--- a/core/modules/node/src/Tests/Views/RowPluginTest.php
+++ b/core/modules/node/src/Tests/Views/RowPluginTest.php
@@ -33,7 +33,10 @@ class RowPluginTest extends NodeTestBase {
    */
   protected $nodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'article'));
diff --git a/core/modules/node/tests/src/Kernel/NodeBodyFieldStorageTest.php b/core/modules/node/tests/src/Kernel/NodeBodyFieldStorageTest.php
index 6c1faf3..c7d7376 100644
--- a/core/modules/node/tests/src/Kernel/NodeBodyFieldStorageTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeBodyFieldStorageTest.php
@@ -21,7 +21,10 @@ class NodeBodyFieldStorageTest extends KernelTestBase {
    */
   public static $modules = ['user', 'system', 'field', 'node', 'text', 'filter'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('system', 'sequences');
     // Necessary for module uninstall.
diff --git a/core/modules/node/tests/src/Kernel/NodeConditionTest.php b/core/modules/node/tests/src/Kernel/NodeConditionTest.php
index 07986cc..48b9942 100644
--- a/core/modules/node/tests/src/Kernel/NodeConditionTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeConditionTest.php
@@ -15,7 +15,10 @@ class NodeConditionTest extends EntityKernelTestBase {
 
   public static $modules = array('node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create the node bundles required for testing.
diff --git a/core/modules/node/tests/src/Kernel/NodeListBuilderTest.php b/core/modules/node/tests/src/Kernel/NodeListBuilderTest.php
index 0a0f145..3dab021 100644
--- a/core/modules/node/tests/src/Kernel/NodeListBuilderTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeListBuilderTest.php
@@ -17,7 +17,10 @@ class NodeListBuilderTest extends KernelTestBase {
    */
   public static $modules = ['node', 'user'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('node');
diff --git a/core/modules/node/tests/src/Kernel/NodeOwnerTest.php b/core/modules/node/tests/src/Kernel/NodeOwnerTest.php
index d21d5ad..7169eb8 100644
--- a/core/modules/node/tests/src/Kernel/NodeOwnerTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeOwnerTest.php
@@ -21,7 +21,10 @@ class NodeOwnerTest extends EntityKernelTestBase {
    */
   public static $modules = array('node', 'language');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create the node bundles required for testing.
diff --git a/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php b/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
index 8ceb7a7..7bc59c7 100644
--- a/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
+++ b/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
@@ -40,7 +40,10 @@ protected function setUp($import_test_views = TRUE) {
     }
   }
 
-  public function testRevisionCreateTimestampView() {
+  /**
+ *
+ */
+public function testRevisionCreateTimestampView() {
     $node_type = NodeType::create([
       'type' => 'article',
       'label' => 'Article',
diff --git a/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php b/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php
index 42ab01d..4b9ef01 100644
--- a/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php
+++ b/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php
@@ -42,7 +42,10 @@ class DenyNodePreviewTest extends UnitTestCase {
    */
   protected $routeMatch;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->routeMatch = $this->getMock('Drupal\Core\Routing\RouteMatchInterface');
     $this->policy = new DenyNodePreview($this->routeMatch);
     $this->response = new Response();
diff --git a/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php b/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php
index 9015758..775ac4d 100644
--- a/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php
+++ b/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php
@@ -33,7 +33,10 @@
    */
   protected $fieldStorage;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $field_name = 'test_options';
diff --git a/core/modules/options/src/Tests/OptionsFieldUITest.php b/core/modules/options/src/Tests/OptionsFieldUITest.php
index d2c11f0..9fcf2a5 100644
--- a/core/modules/options/src/Tests/OptionsFieldUITest.php
+++ b/core/modules/options/src/Tests/OptionsFieldUITest.php
@@ -48,7 +48,10 @@ class OptionsFieldUITest extends FieldTestBase {
    */
   protected $adminPath;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create test user.
diff --git a/core/modules/options/src/Tests/OptionsFloatFieldImportTest.php b/core/modules/options/src/Tests/OptionsFloatFieldImportTest.php
index 7b642e8..6fbfc5e 100644
--- a/core/modules/options/src/Tests/OptionsFloatFieldImportTest.php
+++ b/core/modules/options/src/Tests/OptionsFloatFieldImportTest.php
@@ -20,7 +20,10 @@ class OptionsFloatFieldImportTest extends FieldTestBase {
    */
   public static $modules = array('node', 'options', 'field_ui', 'config', 'options_config_install_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create test user.
diff --git a/core/modules/options/src/Tests/OptionsWidgetsTest.php b/core/modules/options/src/Tests/OptionsWidgetsTest.php
index 23f0f0d..1226778 100644
--- a/core/modules/options/src/Tests/OptionsWidgetsTest.php
+++ b/core/modules/options/src/Tests/OptionsWidgetsTest.php
@@ -36,7 +36,10 @@ class OptionsWidgetsTest extends FieldTestBase {
   protected $card2;
 
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Field storage with cardinality 1.
diff --git a/core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php b/core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
index 9f53e63..124f34a 100644
--- a/core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
+++ b/core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
@@ -42,7 +42,10 @@
    */
   protected $fieldNames;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
     $this->mockStandardInstall();
 
diff --git a/core/modules/page_cache/tests/modules/page_cache_form_test.install b/core/modules/page_cache/tests/modules/page_cache_form_test.install
index ecd7db8..b923457 100644
--- a/core/modules/page_cache/tests/modules/page_cache_form_test.install
+++ b/core/modules/page_cache/tests/modules/page_cache_form_test.install
@@ -6,6 +6,9 @@
  * Install hooks for page_cache_form_test.
  */
 
+/**
+ *
+ */
 function page_cache_form_test_install() {
   // Set an explicit module weight, to ensure that the form alter hook is
   // always called after page_cache_form_alter().
diff --git a/core/modules/path/src/Tests/PathAdminTest.php b/core/modules/path/src/Tests/PathAdminTest.php
index 906ce64..2c7fc8b 100644
--- a/core/modules/path/src/Tests/PathAdminTest.php
+++ b/core/modules/path/src/Tests/PathAdminTest.php
@@ -16,7 +16,10 @@ class PathAdminTest extends PathTestBase {
    */
   public static $modules = array('path');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create test user and log in.
diff --git a/core/modules/path/src/Tests/PathAliasTest.php b/core/modules/path/src/Tests/PathAliasTest.php
index e6b1738..e802a82 100644
--- a/core/modules/path/src/Tests/PathAliasTest.php
+++ b/core/modules/path/src/Tests/PathAliasTest.php
@@ -21,7 +21,10 @@ class PathAliasTest extends PathTestBase {
    */
   public static $modules = array('path');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create test user and log in.
diff --git a/core/modules/path/src/Tests/PathLanguageTest.php b/core/modules/path/src/Tests/PathLanguageTest.php
index 028d359..44849be 100644
--- a/core/modules/path/src/Tests/PathLanguageTest.php
+++ b/core/modules/path/src/Tests/PathLanguageTest.php
@@ -23,7 +23,10 @@ class PathLanguageTest extends PathTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $permissions = array(
diff --git a/core/modules/path/src/Tests/PathLanguageUiTest.php b/core/modules/path/src/Tests/PathLanguageUiTest.php
index e09b4ec..6992331 100644
--- a/core/modules/path/src/Tests/PathLanguageUiTest.php
+++ b/core/modules/path/src/Tests/PathLanguageUiTest.php
@@ -16,7 +16,10 @@ class PathLanguageUiTest extends PathTestBase {
    */
   public static $modules = array('path', 'locale', 'locale_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/path/src/Tests/PathNodeFormTest.php b/core/modules/path/src/Tests/PathNodeFormTest.php
index 79b43a7..a5932cf 100644
--- a/core/modules/path/src/Tests/PathNodeFormTest.php
+++ b/core/modules/path/src/Tests/PathNodeFormTest.php
@@ -16,7 +16,10 @@ class PathNodeFormTest extends PathTestBase {
    */
   public static $modules = array('node', 'path');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create test user and log in.
diff --git a/core/modules/path/src/Tests/PathTaxonomyTermTest.php b/core/modules/path/src/Tests/PathTaxonomyTermTest.php
index faeceab..b3e9ac0 100644
--- a/core/modules/path/src/Tests/PathTaxonomyTermTest.php
+++ b/core/modules/path/src/Tests/PathTaxonomyTermTest.php
@@ -18,7 +18,10 @@ class PathTaxonomyTermTest extends PathTestBase {
    */
   public static $modules = array('taxonomy');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a Tags vocabulary for the Article node type.
diff --git a/core/modules/path/src/Tests/PathTestBase.php b/core/modules/path/src/Tests/PathTestBase.php
index c16c4d1..52f3f28 100644
--- a/core/modules/path/src/Tests/PathTestBase.php
+++ b/core/modules/path/src/Tests/PathTestBase.php
@@ -16,7 +16,10 @@
    */
   public static $modules = array('node', 'path');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page and Article node types.
diff --git a/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php b/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
index df64a5c..f8dd58a 100644
--- a/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
+++ b/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
@@ -20,7 +20,10 @@ class PathNoCanonicalLinkTest extends KernelTestBase {
    */
   public static $modules = array('path', 'content_translation_test', 'language', 'entity_test', 'user', 'system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test');
diff --git a/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php b/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php
index a88490a..ccd2793 100644
--- a/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php
+++ b/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php
@@ -68,7 +68,10 @@ class QuickEditAutocompleteTermTest extends WebTestBase {
    */
   protected $editorUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array(
diff --git a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php
index b9ebf12..02709f6 100644
--- a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php
+++ b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php
@@ -49,7 +49,10 @@ class QuickEditLoadingTest extends WebTestBase {
    */
   protected $editorUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a text format.
diff --git a/core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php b/core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php
index 18a86f8..6cc373d 100644
--- a/core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php
+++ b/core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php
@@ -26,7 +26,10 @@ class EditorSelectionTest extends QuickEditTestBase {
    */
   protected $editorSelector;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->editorManager = $this->container->get('plugin.manager.quickedit.editor');
diff --git a/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php b/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
index ce9a977..4a8796b 100644
--- a/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
+++ b/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
@@ -48,7 +48,10 @@ class MetadataGeneratorTest extends QuickEditTestBase {
    */
   protected $accessChecker;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->editorManager = $this->container->get('plugin.manager.quickedit.editor');
diff --git a/core/modules/rdf/src/Tests/CommentAttributesTest.php b/core/modules/rdf/src/Tests/CommentAttributesTest.php
index f6cae2f..a5ebdd2 100644
--- a/core/modules/rdf/src/Tests/CommentAttributesTest.php
+++ b/core/modules/rdf/src/Tests/CommentAttributesTest.php
@@ -36,7 +36,10 @@ class CommentAttributesTest extends CommentTestBase {
    */
   protected $nodeUri;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Enables anonymous user comments.
diff --git a/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php b/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php
index 48653a5..ecb9769 100644
--- a/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php
+++ b/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php
@@ -33,7 +33,10 @@ class EntityReferenceFieldAttributesTest extends TaxonomyTestBase {
    */
   protected $vocabulary;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array('bypass node access', 'administer taxonomy'));
diff --git a/core/modules/rdf/src/Tests/FileFieldAttributesTest.php b/core/modules/rdf/src/Tests/FileFieldAttributesTest.php
index 34e76ae..d05671d 100644
--- a/core/modules/rdf/src/Tests/FileFieldAttributesTest.php
+++ b/core/modules/rdf/src/Tests/FileFieldAttributesTest.php
@@ -40,7 +40,10 @@ class FileFieldAttributesTest extends FileFieldTestBase {
    */
   protected $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $node_storage = $this->container->get('entity.manager')->getStorage('node');
     $this->fieldName = strtolower($this->randomMachineName());
diff --git a/core/modules/rdf/src/Tests/ImageFieldAttributesTest.php b/core/modules/rdf/src/Tests/ImageFieldAttributesTest.php
index cce663b..dcc48bc 100644
--- a/core/modules/rdf/src/Tests/ImageFieldAttributesTest.php
+++ b/core/modules/rdf/src/Tests/ImageFieldAttributesTest.php
@@ -42,7 +42,10 @@ class ImageFieldAttributesTest extends ImageFieldTestBase {
    */
   protected $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->fieldName = 'field_image';
diff --git a/core/modules/rdf/src/Tests/NodeAttributesTest.php b/core/modules/rdf/src/Tests/NodeAttributesTest.php
index bcc5d50..20933e3 100644
--- a/core/modules/rdf/src/Tests/NodeAttributesTest.php
+++ b/core/modules/rdf/src/Tests/NodeAttributesTest.php
@@ -18,7 +18,10 @@ class NodeAttributesTest extends NodeTestBase {
    */
   public static $modules = array('rdf');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     rdf_get_mapping('node', 'article')
diff --git a/core/modules/rdf/src/Tests/StandardProfileTest.php b/core/modules/rdf/src/Tests/StandardProfileTest.php
index 1c72d71..6159980 100644
--- a/core/modules/rdf/src/Tests/StandardProfileTest.php
+++ b/core/modules/rdf/src/Tests/StandardProfileTest.php
@@ -102,7 +102,10 @@ class StandardProfileTest extends WebTestBase {
    */
   protected $commenterUri;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Use Classy theme for testing markup output.
diff --git a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php
index 8e18035..e24aa70 100644
--- a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php
+++ b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php
@@ -25,7 +25,10 @@ class TaxonomyAttributesTest extends TaxonomyTestBase {
    */
   protected $vocabulary;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->vocabulary = $this->createVocabulary();
diff --git a/core/modules/rdf/src/Tests/UserAttributesTest.php b/core/modules/rdf/src/Tests/UserAttributesTest.php
index c68dd99..27e4c00 100644
--- a/core/modules/rdf/src/Tests/UserAttributesTest.php
+++ b/core/modules/rdf/src/Tests/UserAttributesTest.php
@@ -18,7 +18,10 @@ class UserAttributesTest extends WebTestBase {
    */
   public static $modules = array('rdf', 'node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     rdf_get_mapping('user', 'user')
       ->setBundleMapping(array(
diff --git a/core/modules/rdf/tests/src/Kernel/CrudTest.php b/core/modules/rdf/tests/src/Kernel/CrudTest.php
index 39dddc4..61e173e 100644
--- a/core/modules/rdf/tests/src/Kernel/CrudTest.php
+++ b/core/modules/rdf/tests/src/Kernel/CrudTest.php
@@ -33,7 +33,10 @@ class CrudTest extends KernelTestBase {
    */
   protected $bundle;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->prefix = 'rdf.mapping';
     $this->entityType = $this->bundle = 'entity_test';
diff --git a/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
index d4f9325..2cc2222 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
@@ -28,7 +28,10 @@ class DateTimeFieldRdfaTest extends FieldRdfaTestBase {
   */
   public static $modules = array('datetime');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->createTestField();
diff --git a/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php
index 7d69c19..55c28a2 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php
@@ -21,7 +21,10 @@ class EmailFieldRdfaTest extends FieldRdfaTestBase {
    */
   public static $modules = array('text');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->createTestField();
diff --git a/core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php
index cefa7e0..9c2261a 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php
@@ -46,7 +46,10 @@ class EntityReferenceRdfaTest extends FieldRdfaTestBase {
    */
   public static $modules = ['text', 'filter'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test_rev');
diff --git a/core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php b/core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
index 4ef7a57..317841e 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
@@ -21,7 +21,10 @@ class FieldRdfaDatatypeCallbackTest extends FieldRdfaTestBase {
    */
   public static $modules = array('text', 'filter');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->createTestField();
diff --git a/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php
index 6174572..f37f79f 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php
@@ -30,7 +30,10 @@ class StringFieldRdfaTest extends FieldRdfaTestBase {
    */
   protected $testSummary = 'test_summary_value';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->createTestField();
diff --git a/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php
index e26bd79..862e482 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php
@@ -28,7 +28,10 @@ class TelephoneFieldRdfaTest extends FieldRdfaTestBase {
    */
   public static $modules = array('telephone', 'text');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->createTestField();
diff --git a/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php
index 594b1b7..d0be837 100644
--- a/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php
+++ b/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php
@@ -35,7 +35,10 @@ class TextFieldRdfaTest extends FieldRdfaTestBase {
    */
   public static $modules = array('text', 'filter');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installConfig(array('filter'));
diff --git a/core/modules/rest/src/Tests/CreateTest.php b/core/modules/rest/src/Tests/CreateTest.php
index 035480b..3c07a27 100644
--- a/core/modules/rest/src/Tests/CreateTest.php
+++ b/core/modules/rest/src/Tests/CreateTest.php
@@ -32,7 +32,10 @@ class CreateTest extends RESTTestBase {
    */
   protected $serializer;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->addDefaultCommentField('node', 'resttest');
     // Get the 'serializer' service.
diff --git a/core/modules/rest/src/Tests/RESTTestBase.php b/core/modules/rest/src/Tests/RESTTestBase.php
index 099957e..1fbc745 100644
--- a/core/modules/rest/src/Tests/RESTTestBase.php
+++ b/core/modules/rest/src/Tests/RESTTestBase.php
@@ -53,7 +53,10 @@
    */
   public static $modules = array('rest', 'entity_test', 'node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->defaultFormat = 'hal_json';
     $this->defaultMimeType = 'application/hal+json';
diff --git a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
index f642d2d..8b79969 100644
--- a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
+++ b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
@@ -52,7 +52,10 @@ class StyleSerializerTest extends PluginTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('rest_test_views'));
diff --git a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
index aa01d15..0370b62 100644
--- a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
+++ b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
@@ -107,7 +107,10 @@ public function testSerialization($data) {
     $this->assertEquals(json_encode($data), $handler_response->getContent());
   }
 
-  public function providerTestSerialization() {
+  /**
+ *
+ */
+public function providerTestSerialization() {
     return [
       [NULL],
       [''],
@@ -130,5 +133,8 @@ class StubRequestHandlerResourcePlugin extends ResourceBase {
 
   /** stub methods so they can be prophesied. */
   function get() {}
-  function patch() {}
+  /**
+ *
+ */
+function patch() {}
 }
diff --git a/core/modules/search/src/Plugin/SearchPluginBase.php b/core/modules/search/src/Plugin/SearchPluginBase.php
index c7beea8..c247d85 100644
--- a/core/modules/search/src/Plugin/SearchPluginBase.php
+++ b/core/modules/search/src/Plugin/SearchPluginBase.php
@@ -129,9 +129,11 @@ public function suggestedTitle() {
     return $this->t('Search');
   }
 
-  /*
-   * {@inheritdoc}
-   */
+  /**
+ *
+ *{@inheritdoc}
+ 
+ */
   public function buildSearchUrlQuery(FormStateInterface $form_state) {
     // Grab the keywords entered in the form and put them as 'keys' in the GET.
     $keys = trim($form_state->getValue('keys'));
@@ -140,9 +142,11 @@ public function buildSearchUrlQuery(FormStateInterface $form_state) {
     return $query;
   }
 
-  /*
-   * {@inheritdoc}
-   */
+  /**
+ *
+ *{@inheritdoc}
+ 
+ */
   public function getHelp() {
     // This default search help is appropriate for plugins like NodeSearch
     // that use the SearchQuery class.
diff --git a/core/modules/search/src/Tests/SearchAdvancedSearchFormTest.php b/core/modules/search/src/Tests/SearchAdvancedSearchFormTest.php
index 9bd13bd..e8766da 100644
--- a/core/modules/search/src/Tests/SearchAdvancedSearchFormTest.php
+++ b/core/modules/search/src/Tests/SearchAdvancedSearchFormTest.php
@@ -16,7 +16,10 @@ class SearchAdvancedSearchFormTest extends SearchTestBase {
    */
   protected $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create and log in user.
     $test_user = $this->drupalCreateUser(array('access content', 'search content', 'use advanced search', 'administer nodes'));
diff --git a/core/modules/search/src/Tests/SearchBlockTest.php b/core/modules/search/src/Tests/SearchBlockTest.php
index 7d42a85..cee059d 100644
--- a/core/modules/search/src/Tests/SearchBlockTest.php
+++ b/core/modules/search/src/Tests/SearchBlockTest.php
@@ -16,7 +16,10 @@ class SearchBlockTest extends SearchTestBase {
    */
   public static $modules = array('block');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/search/src/Tests/SearchCommentCountToggleTest.php b/core/modules/search/src/Tests/SearchCommentCountToggleTest.php
index 3e19fb2..548c7a3 100644
--- a/core/modules/search/src/Tests/SearchCommentCountToggleTest.php
+++ b/core/modules/search/src/Tests/SearchCommentCountToggleTest.php
@@ -42,7 +42,10 @@ class SearchCommentCountToggleTest extends SearchTestBase {
    */
   protected $searchableNodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create searching user.
diff --git a/core/modules/search/src/Tests/SearchCommentTest.php b/core/modules/search/src/Tests/SearchCommentTest.php
index acce26e..b6e2463 100644
--- a/core/modules/search/src/Tests/SearchCommentTest.php
+++ b/core/modules/search/src/Tests/SearchCommentTest.php
@@ -52,7 +52,10 @@ class SearchCommentTest extends SearchTestBase {
    */
   protected $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $full_html_format = FilterFormat::create(array(
diff --git a/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php b/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php
index 7279ade..6dcaad7 100644
--- a/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php
+++ b/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php
@@ -32,7 +32,10 @@ class SearchConfigSettingsFormTest extends SearchTestBase {
    */
   protected $searchNode;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Log in as a user that can create and search content.
diff --git a/core/modules/search/src/Tests/SearchDateIntervalTest.php b/core/modules/search/src/Tests/SearchDateIntervalTest.php
index 30f26bd..bcd48db 100644
--- a/core/modules/search/src/Tests/SearchDateIntervalTest.php
+++ b/core/modules/search/src/Tests/SearchDateIntervalTest.php
@@ -18,7 +18,10 @@ class SearchDateIntervalTest extends SearchTestBase {
    */
   public static $modules = ['language', 'search_date_query_alter'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/search/src/Tests/SearchEmbedFormTest.php b/core/modules/search/src/Tests/SearchEmbedFormTest.php
index b62706b..f975c61 100644
--- a/core/modules/search/src/Tests/SearchEmbedFormTest.php
+++ b/core/modules/search/src/Tests/SearchEmbedFormTest.php
@@ -30,7 +30,10 @@ class SearchEmbedFormTest extends SearchTestBase {
    */
   protected $submitCount = 0;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a user and a node, and update the search index.
diff --git a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php
index 731d0ea..f5b1b48 100644
--- a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php
+++ b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php
@@ -29,7 +29,10 @@ class SearchKeywordsConditionsTest extends SearchTestBase {
    */
   protected $searchingUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create searching user.
diff --git a/core/modules/search/src/Tests/SearchLanguageTest.php b/core/modules/search/src/Tests/SearchLanguageTest.php
index f359a99..2510bfa 100644
--- a/core/modules/search/src/Tests/SearchLanguageTest.php
+++ b/core/modules/search/src/Tests/SearchLanguageTest.php
@@ -26,7 +26,10 @@ class SearchLanguageTest extends SearchTestBase {
    */
   protected $searchableNodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
@@ -86,7 +89,10 @@ protected function setUp() {
     search_update_totals();
   }
 
-  function testLanguages() {
+  /**
+ *
+ */
+function testLanguages() {
     // Add predefined language.
     $edit = array('predefined_langcode' => 'fr');
     $this->drupalPostForm('admin/config/regional/language/add', $edit, t('Add language'));
diff --git a/core/modules/search/src/Tests/SearchMultilingualEntityTest.php b/core/modules/search/src/Tests/SearchMultilingualEntityTest.php
index efbf7d9..60fbc55 100644
--- a/core/modules/search/src/Tests/SearchMultilingualEntityTest.php
+++ b/core/modules/search/src/Tests/SearchMultilingualEntityTest.php
@@ -28,7 +28,10 @@ class SearchMultilingualEntityTest extends SearchTestBase {
 
   public static $modules = array('language', 'locale', 'comment');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a user who can administer search, do searches, see the status
diff --git a/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php b/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php
index a8b5369..ce9fb65 100644
--- a/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php
+++ b/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php
@@ -16,7 +16,10 @@ class SearchNodeDiacriticsTest extends SearchTestBase {
    */
   public $testUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     node_access_rebuild();
 
diff --git a/core/modules/search/src/Tests/SearchNodePunctuationTest.php b/core/modules/search/src/Tests/SearchNodePunctuationTest.php
index 77449ba..b068930 100644
--- a/core/modules/search/src/Tests/SearchNodePunctuationTest.php
+++ b/core/modules/search/src/Tests/SearchNodePunctuationTest.php
@@ -16,7 +16,10 @@ class SearchNodePunctuationTest extends SearchTestBase {
    */
   public $testUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     node_access_rebuild();
 
diff --git a/core/modules/search/src/Tests/SearchNodeUpdateAndDeletionTest.php b/core/modules/search/src/Tests/SearchNodeUpdateAndDeletionTest.php
index e73ca86..5d6eb91 100644
--- a/core/modules/search/src/Tests/SearchNodeUpdateAndDeletionTest.php
+++ b/core/modules/search/src/Tests/SearchNodeUpdateAndDeletionTest.php
@@ -23,7 +23,10 @@ class SearchNodeUpdateAndDeletionTest extends SearchTestBase {
    */
   public $testUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a test user and log in.
diff --git a/core/modules/search/src/Tests/SearchNumberMatchingTest.php b/core/modules/search/src/Tests/SearchNumberMatchingTest.php
index 179c9ae..619cb96 100644
--- a/core/modules/search/src/Tests/SearchNumberMatchingTest.php
+++ b/core/modules/search/src/Tests/SearchNumberMatchingTest.php
@@ -44,7 +44,10 @@ class SearchNumberMatchingTest extends SearchTestBase {
    */
   protected $nodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->testUser = $this->drupalCreateUser(array('search content', 'access content', 'administer nodes', 'access site reports'));
diff --git a/core/modules/search/src/Tests/SearchNumbersTest.php b/core/modules/search/src/Tests/SearchNumbersTest.php
index 4ddb831..73cc54c 100644
--- a/core/modules/search/src/Tests/SearchNumbersTest.php
+++ b/core/modules/search/src/Tests/SearchNumbersTest.php
@@ -50,7 +50,10 @@ class SearchNumbersTest extends SearchTestBase {
    */
   protected $nodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->testUser = $this->drupalCreateUser(array('search content', 'access content', 'administer nodes', 'access site reports'));
diff --git a/core/modules/search/src/Tests/SearchPageOverrideTest.php b/core/modules/search/src/Tests/SearchPageOverrideTest.php
index 0401720..a323ac6 100644
--- a/core/modules/search/src/Tests/SearchPageOverrideTest.php
+++ b/core/modules/search/src/Tests/SearchPageOverrideTest.php
@@ -26,7 +26,10 @@ class SearchPageOverrideTest extends SearchTestBase {
    */
   public $searchUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Log in as a user that can create and search content.
@@ -34,7 +37,10 @@ protected function setUp() {
     $this->drupalLogin($this->searchUser);
   }
 
-  function testSearchPageHook() {
+  /**
+ *
+ */
+function testSearchPageHook() {
     $keys = 'bike shed ' . $this->randomMachineName();
     $this->drupalGet("search/dummy_path", array('query' => array('keys' => $keys)));
     $this->assertText('Dummy search snippet', 'Dummy search snippet is shown');
diff --git a/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php b/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php
index e260251..5a34242 100644
--- a/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php
+++ b/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php
@@ -23,7 +23,10 @@ class SearchPreprocessLangcodeTest extends SearchTestBase {
    */
   protected $node;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(array(
diff --git a/core/modules/search/src/Tests/SearchRankingTest.php b/core/modules/search/src/Tests/SearchRankingTest.php
index ff8299c..7a3a6b7 100644
--- a/core/modules/search/src/Tests/SearchRankingTest.php
+++ b/core/modules/search/src/Tests/SearchRankingTest.php
@@ -30,7 +30,10 @@ class SearchRankingTest extends SearchTestBase {
    */
   public static $modules = array('statistics', 'comment');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a plugin instance.
@@ -40,7 +43,10 @@ protected function setUp() {
     $this->drupalLogin($this->drupalCreateUser(array('post comments', 'skip comment approval', 'create page content', 'administer search')));
   }
 
-  public function testRankings() {
+  /**
+ *
+ */
+public function testRankings() {
     // Add a comment field.
     $this->addDefaultCommentField('node', 'page');
 
diff --git a/core/modules/search/src/Tests/SearchSetLocaleTest.php b/core/modules/search/src/Tests/SearchSetLocaleTest.php
index d098c47..b387719 100644
--- a/core/modules/search/src/Tests/SearchSetLocaleTest.php
+++ b/core/modules/search/src/Tests/SearchSetLocaleTest.php
@@ -23,7 +23,10 @@ class SearchSetLocaleTest extends SearchTestBase {
    */
   protected $nodeSearchPlugin;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a plugin instance.
diff --git a/core/modules/search/src/Tests/SearchTestBase.php b/core/modules/search/src/Tests/SearchTestBase.php
index 0a605c6..bd691e7 100644
--- a/core/modules/search/src/Tests/SearchTestBase.php
+++ b/core/modules/search/src/Tests/SearchTestBase.php
@@ -17,7 +17,10 @@
    */
   public static $modules = array('node', 'search', 'dblog');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page and Article node types.
diff --git a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php
index 767a81b..6701976 100644
--- a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php
+++ b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php
@@ -273,12 +273,18 @@ public function testSortSearchPages() {
 }
 
 class TestSearchPage extends SearchPage {
-  public function __construct(array $values) {
+  /**
+ *
+ */
+public function __construct(array $values) {
     foreach ($values as $key => $value) {
       $this->$key = $value;
     }
   }
-  public function label($langcode = NULL) {
+  /**
+ *
+ */
+public function label($langcode = NULL) {
     return $this->label;
   }
 }
diff --git a/core/modules/serialization/src/Tests/EntityResolverTest.php b/core/modules/serialization/src/Tests/EntityResolverTest.php
index 6fca3c7..a112d03 100644
--- a/core/modules/serialization/src/Tests/EntityResolverTest.php
+++ b/core/modules/serialization/src/Tests/EntityResolverTest.php
@@ -28,7 +28,10 @@ class EntityResolverTest extends NormalizerTestBase {
    */
   protected $format = 'hal_json';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     \Drupal::service('router.builder')->rebuild();
diff --git a/core/modules/serialization/src/Tests/EntitySerializationTest.php b/core/modules/serialization/src/Tests/EntitySerializationTest.php
index 90cd1c5..effb89e 100644
--- a/core/modules/serialization/src/Tests/EntitySerializationTest.php
+++ b/core/modules/serialization/src/Tests/EntitySerializationTest.php
@@ -54,7 +54,10 @@ class EntitySerializationTest extends NormalizerTestBase {
    */
   protected $entityClass = 'Drupal\entity_test\Entity\EntityTest';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // User create needs sequence table.
diff --git a/core/modules/serialization/src/Tests/NormalizerTestBase.php b/core/modules/serialization/src/Tests/NormalizerTestBase.php
index fc272f7..6b63baa 100644
--- a/core/modules/serialization/src/Tests/NormalizerTestBase.php
+++ b/core/modules/serialization/src/Tests/NormalizerTestBase.php
@@ -15,7 +15,10 @@
    */
   public static $modules = array('serialization', 'system', 'field', 'entity_test', 'text', 'filter', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test_mulrev');
diff --git a/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php b/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php
index 34beb2d..856c8ed 100644
--- a/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php
+++ b/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php
@@ -36,7 +36,8 @@ public function normalize($object, $format = NULL, array $context = array()) {
   /**
    * Checks whether format is supported by this normalizer.
    *
-   * @param mixed  $data
+   * @param mixed $dataData
+ *   to normalize.
    *   Data to normalize.
    * @param string $format
    *   Format the normalization result will be encoded as.
diff --git a/core/modules/serialization/tests/src/Kernel/SerializationTest.php b/core/modules/serialization/tests/src/Kernel/SerializationTest.php
index cd8ba96..3bd976c 100644
--- a/core/modules/serialization/tests/src/Kernel/SerializationTest.php
+++ b/core/modules/serialization/tests/src/Kernel/SerializationTest.php
@@ -26,7 +26,10 @@ class SerializationTest extends KernelTestBase {
    */
   protected $serializer;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->serializer = $this->container->get('serializer');
   }
diff --git a/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php b/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
index ea38aa9..8d296ae 100644
--- a/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
+++ b/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
@@ -30,7 +30,10 @@ class XmlEncoderTest extends UnitTestCase {
    */
   protected $testArray = array('test' => 'test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->baseEncoder = $this->getMock('Symfony\Component\Serializer\Encoder\XmlEncoder');
     $this->encoder = new XmlEncoder();
     $this->encoder->setBaseEncoder($this->baseEncoder);
diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
index dc14d6f..ced11dc 100644
--- a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
+++ b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
@@ -78,69 +78,132 @@ class TestComplexData implements \IteratorAggregate, ComplexDataInterface {
 
   private $values;
 
-  public function __construct(array $values = []) {
+  /**
+ *
+ */
+public function __construct(array $values = []) {
     $this->values = $values;
   }
 
-  public function getIterator() {
+  /**
+ *
+ */
+public function getIterator() {
     return new \ArrayIterator($this->values);
   }
 
-  public function applyDefaultValue($notify = TRUE) {
+  /**
+ *
+ */
+public function applyDefaultValue($notify = TRUE) {
   }
 
-  public static function createInstance($definition, $name = NULL, TraversableTypedDataInterface $parent = NULL) {
+  /**
+ *
+ */
+public static function createInstance($definition, $name = NULL, TraversableTypedDataInterface $parent = NULL) {
   }
 
-  public function get($property_name) {
+  /**
+ *
+ */
+public function get($property_name) {
   }
 
-  public function getConstraints() {
+  /**
+ *
+ */
+public function getConstraints() {
   }
 
-  public function getDataDefinition() {
+  /**
+ *
+ */
+public function getDataDefinition() {
   }
 
-  public function getName() {
+  /**
+ *
+ */
+public function getName() {
   }
 
-  public function getParent() {
+  /**
+ *
+ */
+public function getParent() {
   }
 
-  public function getProperties($include_computed = FALSE) {
+  /**
+ *
+ */
+public function getProperties($include_computed = FALSE) {
   }
 
-  public function getPropertyPath() {
+  /**
+ *
+ */
+public function getPropertyPath() {
   }
 
-  public function getRoot() {
+  /**
+ *
+ */
+public function getRoot() {
   }
 
-  public function getString() {
+  /**
+ *
+ */
+public function getString() {
   }
 
-  public function getValue() {
+  /**
+ *
+ */
+public function getValue() {
   }
 
-  public function isEmpty() {
+  /**
+ *
+ */
+public function isEmpty() {
   }
 
-  public function onChange($name) {
+  /**
+ *
+ */
+public function onChange($name) {
   }
 
-  public function set($property_name, $value, $notify = TRUE) {
+  /**
+ *
+ */
+public function set($property_name, $value, $notify = TRUE) {
   }
 
-  public function setContext($name = NULL, TraversableTypedDataInterface $parent = NULL) {
+  /**
+ *
+ */
+public function setContext($name = NULL, TraversableTypedDataInterface $parent = NULL) {
   }
 
-  public function setValue($value, $notify = TRUE) {
+  /**
+ *
+ */
+public function setValue($value, $notify = TRUE) {
   }
 
-  public function toArray() {
+  /**
+ *
+ */
+public function toArray() {
   }
 
-  public function validate() {
+  /**
+ *
+ */
+public function validate() {
   }
 
 }
diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
index 97a0711..c2373cf 100644
--- a/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
+++ b/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
@@ -34,7 +34,10 @@ class ListNormalizerTest extends UnitTestCase {
    */
   protected $expectedListValues = array('test', 'test', 'test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // Mock the TypedDataManager to return a TypedDataInterface mock.
     $typed_data = $this->getMock('Drupal\Core\TypedData\TypedDataInterface');
     $typed_data_manager = $this->getMockBuilder('Drupal\Core\TypedData\TypedDataManager')
diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php
index 6a31e2e..9fb96ff 100644
--- a/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php
+++ b/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php
@@ -25,7 +25,10 @@ class TypedDataNormalizerTest extends UnitTestCase {
    */
   protected $typedData;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->normalizer = new TypedDataNormalizer();
     $this->typedData = $this->getMock('Drupal\Core\TypedData\TypedDataInterface');
   }
diff --git a/core/modules/shortcut/src/Tests/ShortcutTestBase.php b/core/modules/shortcut/src/Tests/ShortcutTestBase.php
index b32afb2..be5b261 100644
--- a/core/modules/shortcut/src/Tests/ShortcutTestBase.php
+++ b/core/modules/shortcut/src/Tests/ShortcutTestBase.php
@@ -47,7 +47,10 @@
    */
   protected $set;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     if ($this->profile != 'standard') {
diff --git a/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php b/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
index fe1c3f4..7bad646 100644
--- a/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
+++ b/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
@@ -62,7 +62,10 @@ protected function getNewEntityValues($langcode) {
     return array('title' => array(array('value' => $this->randomMachineName()))) + parent::getNewEntityValues($langcode);
   }
 
-  protected function doTestBasicTranslation() {
+  /**
+ *
+ */
+protected function doTestBasicTranslation() {
     parent::doTestBasicTranslation();
 
     $entity = entity_load($this->entityTypeId, $this->entityId, TRUE);
diff --git a/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php b/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php
index f85a2cf..c87a188 100644
--- a/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php
+++ b/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class ShortcutLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array(
       'shortcut' => 'core/modules/shortcut',
       'user' => 'core/modules/user',
diff --git a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php
index 459a9d1..53f3c49 100644
--- a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php
+++ b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php
@@ -31,7 +31,10 @@ class BrokenSetUpTest extends WebTestBase {
    */
   protected $sharedTriggerFile;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // If the test is being run from the main site, set up normally.
     if (!$this->isInChildSite()) {
       parent::setUp();
@@ -53,7 +56,10 @@ protected function setUp() {
     }
   }
 
-  protected function tearDown() {
+  /**
+ *
+ */
+protected function tearDown() {
     // If the test is being run from the main site, tear down normally.
     if (!$this->isInChildSite()) {
       unlink($this->sharedTriggerFile);
diff --git a/core/modules/simpletest/src/Tests/FolderTest.php b/core/modules/simpletest/src/Tests/FolderTest.php
index 1eb8fe4..842d4d0 100644
--- a/core/modules/simpletest/src/Tests/FolderTest.php
+++ b/core/modules/simpletest/src/Tests/FolderTest.php
@@ -19,7 +19,10 @@ class FolderTest extends WebTestBase {
    */
   public static $modules = array('image');
 
-  function testFolderSetup() {
+  /**
+ *
+ */
+function testFolderSetup() {
     $directory = file_default_scheme() . '://styles';
     $this->assertTrue(file_prepare_directory($directory, FALSE), 'Directory created.');
   }
diff --git a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php
index 4c32512..776564e 100644
--- a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php
+++ b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php
@@ -39,7 +39,10 @@ class InstallationProfileModuleTestsTest extends WebTestBase {
    */
   protected $profile = 'testing';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('administer unit tests'));
diff --git a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
index 27e1001..08365e9 100644
--- a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
+++ b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
@@ -18,7 +18,10 @@ class MissingCheckedRequirementsTest extends WebTestBase {
    */
   public static $modules = array('simpletest');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer unit tests'));
     $this->drupalLogin($admin_user);
diff --git a/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php b/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php
index b4263f1..8ec8daf 100644
--- a/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php
+++ b/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php
@@ -40,7 +40,10 @@ class OtherInstallationProfileTestsTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('administer unit tests'));
diff --git a/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php b/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
index 7ec9e19..24fe00e 100644
--- a/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
+++ b/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
@@ -19,7 +19,10 @@ class SimpleTestBrowserTest extends WebTestBase {
    */
   public static $modules = array('simpletest', 'test_page_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create and log in an admin user.
     $this->drupalLogin($this->drupalCreateUser(array('administer unit tests')));
diff --git a/core/modules/simpletest/src/Tests/SimpleTestTest.php b/core/modules/simpletest/src/Tests/SimpleTestTest.php
index 792741e..3c02fee 100644
--- a/core/modules/simpletest/src/Tests/SimpleTestTest.php
+++ b/core/modules/simpletest/src/Tests/SimpleTestTest.php
@@ -62,7 +62,10 @@ class SimpleTestTest extends WebTestBase {
    */
   protected $invalidPermission;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     if (!$this->isInChildSite()) {
       $php = <<<'EOD'
 <?php
@@ -284,11 +287,16 @@ function getTestIdFromResults() {
   /**
    * Asserts that an assertion with specified values is displayed in results.
    *
-   * @param string $message Assertion message.
-   * @param string $type Assertion type.
-   * @param string $status Assertion status.
-   * @param string $file File where the assertion originated.
-   * @param string $function Function where the assertion originated.
+   * @param string $message
+ *   Assertion message.
+   * @param string $type
+ *   Assertion type.
+   * @param string $status
+ *   Assertion status.
+   * @param string $file
+ *   File where the assertion originated.
+   * @param string $function
+ *   Function where the assertion originated.
    *
    * @return Assertion result.
    */
diff --git a/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php b/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php
index 73210c5..e106cfc 100644
--- a/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php
+++ b/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php
@@ -13,7 +13,10 @@
  */
 class SimpletestPhpunitRunCommandTestWillDie extends UnitTestCase {
 
-  public function testWillDie() {
+  /**
+ *
+ */
+public function testWillDie() {
     if (getenv('SimpletestPhpunitRunCommandTestWillDie') === 'fail') {
       exit(2);
     }
diff --git a/core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php b/core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php
index 1ec4604..87ddecb 100644
--- a/core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php
+++ b/core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php
@@ -53,7 +53,10 @@ public function testForm() {
     $this->assertSame('green', $value);
   }
 
-  public function testError() {
+  /**
+ *
+ */
+public function testError() {
     $this->setExpectedException('\Exception', 'User notice: foo');
     $this->drupalGet('test-error');
   }
diff --git a/core/modules/simpletest/tests/src/FunctionalJavascript/BrowserWithJavascriptTest.php b/core/modules/simpletest/tests/src/FunctionalJavascript/BrowserWithJavascriptTest.php
index 572a842..2161505 100644
--- a/core/modules/simpletest/tests/src/FunctionalJavascript/BrowserWithJavascriptTest.php
+++ b/core/modules/simpletest/tests/src/FunctionalJavascript/BrowserWithJavascriptTest.php
@@ -11,7 +11,10 @@
  */
 class BrowserWithJavascriptTest extends JavascriptTestBase {
 
-  public function testJavascript() {
+  /**
+ *
+ */
+public function testJavascript() {
     $this->drupalGet('<front>');
     $session = $this->getSession();
 
@@ -30,7 +33,10 @@ public function testJavascript() {
     $this->assertJsCondition($javascript);
   }
 
-  public function testAssertJsCondition() {
+  /**
+ *
+ */
+public function testAssertJsCondition() {
     $this->drupalGet('<front>');
     $session = $this->getSession();
 
diff --git a/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php b/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php
index 505a3b9..2647315 100644
--- a/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php
+++ b/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php
@@ -43,11 +43,17 @@ public function testGetTextContent() {
 class TestClass {
   use AssertContentTrait;
 
-  public function _setRawContent($content) {
+  /**
+ *
+ */
+public function _setRawContent($content) {
     $this->setRawContent($content);
   }
 
-  public function _getTextContent() {
+  /**
+ *
+ */
+public function _getTextContent() {
     return $this->getTextContent();
   }
 
diff --git a/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php b/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php
index 835f5c1..df86e71 100644
--- a/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php
+++ b/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php
@@ -26,7 +26,10 @@ public function testCastSafeStrings($expected, $value) {
     $this->assertSame($expected, $class->testMethod($value));
   }
 
-  public function providerCastSafeStrings() {
+  /**
+ *
+ */
+public function providerCastSafeStrings() {
     $safe_string = Markup::create('test safe string');
     return [
       ['test simple string', 'test simple string'],
@@ -41,7 +44,10 @@ public function providerCastSafeStrings() {
 class AssertHelperTestClass {
   use AssertHelperTrait;
 
-  public function testMethod($value) {
+  /**
+ *
+ */
+public function testMethod($value) {
     return $this->castSafeStrings($value);
   }
 }
diff --git a/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php b/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
index 4a3d252..3f60156 100644
--- a/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
+++ b/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
@@ -15,7 +15,10 @@
  */
 class SimpletestPhpunitRunCommandTest extends UnitTestCase {
 
-  function testSimpletestPhpUnitRunCommand() {
+  /**
+ *
+ */
+function testSimpletestPhpUnitRunCommand() {
     include_once __DIR__ .'/../../fixtures/simpletest_phpunit_run_command_test.php';
     $app_root = __DIR__ . '/../../../../../..';
     include_once "$app_root/core/modules/simpletest/simpletest.module";
diff --git a/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php b/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php
index b96ea79..387126f 100644
--- a/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php
+++ b/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php
@@ -29,7 +29,10 @@ public function testTestInfoParser($expected, $classname, $doc_comment = NULL) {
     $this->assertEquals($expected, $info);
   }
 
-  public function infoParserProvider() {
+  /**
+ *
+ */
+public function infoParserProvider() {
     // A module provided unit test.
     $tests[] = [
       // Expected result.
@@ -262,7 +265,10 @@ public function testTestInfoParserMissingSummary() {
     $this->assertEmpty($info['description']);
   }
 
-  protected function setupVfsWithTestClasses() {
+  /**
+ *
+ */
+protected function setupVfsWithTestClasses() {
     vfsStream::setup('drupal');
 
     $test_file = <<<EOF
@@ -375,7 +381,10 @@ class TestTestDiscovery extends TestDiscovery {
    */
   protected $extensions = [];
 
-  public function setExtensions(array $extensions) {
+  /**
+ *
+ */
+public function setExtensions(array $extensions) {
     $this->extensions = $extensions;
   }
 
@@ -394,7 +403,10 @@ public function testGetPhpunitTestSuite($classname, $expected) {
     $this->assertEquals($expected, TestDiscovery::getPhpunitTestSuite($classname));
   }
 
-  public function providerTestGetPhpunitTestSuite() {
+  /**
+ *
+ */
+public function providerTestGetPhpunitTestSuite() {
     $data = [];
     $data['simpletest-webtest'] = ['\Drupal\rest\Tests\NodeTest', FALSE];
     $data['simpletest-kerneltest'] = ['\Drupal\hal\Tests\FileNormalizeTest', FALSE];
diff --git a/core/modules/statistics/src/Tests/StatisticsAdminTest.php b/core/modules/statistics/src/Tests/StatisticsAdminTest.php
index d420085..9ab7da6 100644
--- a/core/modules/statistics/src/Tests/StatisticsAdminTest.php
+++ b/core/modules/statistics/src/Tests/StatisticsAdminTest.php
@@ -39,7 +39,10 @@ class StatisticsAdminTest extends WebTestBase {
    */
   protected $client;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Set the max age to 0 to simplify testing.
diff --git a/core/modules/statistics/src/Tests/StatisticsLoggingTest.php b/core/modules/statistics/src/Tests/StatisticsLoggingTest.php
index 7cfec7c..787efd7 100644
--- a/core/modules/statistics/src/Tests/StatisticsLoggingTest.php
+++ b/core/modules/statistics/src/Tests/StatisticsLoggingTest.php
@@ -42,7 +42,10 @@ class StatisticsLoggingTest extends WebTestBase {
    */
   protected $client;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page node type.
diff --git a/core/modules/statistics/src/Tests/StatisticsTestBase.php b/core/modules/statistics/src/Tests/StatisticsTestBase.php
index f9b2d24..bce1a42 100644
--- a/core/modules/statistics/src/Tests/StatisticsTestBase.php
+++ b/core/modules/statistics/src/Tests/StatisticsTestBase.php
@@ -23,7 +23,10 @@
    */
   protected $blockingUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create Basic page node type.
diff --git a/core/modules/statistics/src/Tests/Views/IntegrationTest.php b/core/modules/statistics/src/Tests/Views/IntegrationTest.php
index 6435818..e959343 100644
--- a/core/modules/statistics/src/Tests/Views/IntegrationTest.php
+++ b/core/modules/statistics/src/Tests/Views/IntegrationTest.php
@@ -42,7 +42,10 @@ class IntegrationTest extends ViewTestBase {
    */
   public static $testViews = array('test_statistics_integration');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('statistics_test_views'));
diff --git a/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php b/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php
index 3016edb..b1750fb 100644
--- a/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php
+++ b/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php
@@ -8,7 +8,10 @@
  * @group Ajax
  */
 class AjaxInGroupTest extends AjaxTestBase {
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser(array('access content')));
diff --git a/core/modules/system/src/Tests/Ajax/FormValuesTest.php b/core/modules/system/src/Tests/Ajax/FormValuesTest.php
index 3c592ee..2342e15 100644
--- a/core/modules/system/src/Tests/Ajax/FormValuesTest.php
+++ b/core/modules/system/src/Tests/Ajax/FormValuesTest.php
@@ -10,7 +10,10 @@
  * @group Ajax
  */
 class FormValuesTest extends AjaxTestBase {
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser(array('access content')));
diff --git a/core/modules/system/src/Tests/Ajax/MultiFormTest.php b/core/modules/system/src/Tests/Ajax/MultiFormTest.php
index 4dab3cf..34e503b 100644
--- a/core/modules/system/src/Tests/Ajax/MultiFormTest.php
+++ b/core/modules/system/src/Tests/Ajax/MultiFormTest.php
@@ -21,7 +21,10 @@ class MultiFormTest extends AjaxTestBase {
    */
   public static $modules = array('form_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Page'));
diff --git a/core/modules/system/src/Tests/Cache/BackendChainUnitTest.php b/core/modules/system/src/Tests/Cache/BackendChainUnitTest.php
index 7e6c4ee..35b4bdb 100644
--- a/core/modules/system/src/Tests/Cache/BackendChainUnitTest.php
+++ b/core/modules/system/src/Tests/Cache/BackendChainUnitTest.php
@@ -12,7 +12,10 @@
  */
 class BackendChainUnitTest extends GenericCacheBackendUnitTestBase {
 
-  protected function createCacheBackend($bin) {
+  /**
+ *
+ */
+protected function createCacheBackend($bin) {
     $chain = new BackendChain($bin);
 
     // We need to create some various backends in the chain.
diff --git a/core/modules/system/src/Tests/Cache/ClearTest.php b/core/modules/system/src/Tests/Cache/ClearTest.php
index 2b1c691..a1135d2 100644
--- a/core/modules/system/src/Tests/Cache/ClearTest.php
+++ b/core/modules/system/src/Tests/Cache/ClearTest.php
@@ -11,7 +11,10 @@
 
 class ClearTest extends CacheTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->defaultBin = 'render';
     $this->defaultValue = $this->randomMachineName(10);
 
diff --git a/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php b/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php
index 1be8df1..121ae29 100644
--- a/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php
+++ b/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php
@@ -33,7 +33,10 @@ public function containerBuild(ContainerBuilder $container) {
       ->addMethodCall('setContainer', array(new Reference('service_container')));
   }
 
-  public function testTagInvalidations() {
+  /**
+ *
+ */
+public function testTagInvalidations() {
     // Create cache entry in multiple bins.
     $tags = array('test_tag:1', 'test_tag:2', 'test_tag:3');
     $bins = array('data', 'bootstrap', 'render');
diff --git a/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php b/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
index fdff0c5..bb8afe3 100644
--- a/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
+++ b/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
@@ -101,7 +101,10 @@ protected function getCacheBackend($bin = null) {
     return $this->cachebackends[$bin];
   }
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->cachebackends = array();
     $this->defaultValue = $this->randomMachineName(10);
 
@@ -110,7 +113,10 @@ protected function setUp() {
     $this->setUpCacheBackend();
   }
 
-  protected function tearDown() {
+  /**
+ *
+ */
+protected function tearDown() {
     // Destruct the registered backend, each test will get a fresh instance,
     // properly emptying it here ensure that on persistent data backends they
     // will come up empty the next test.
diff --git a/core/modules/system/src/Tests/Common/FormatDateTest.php b/core/modules/system/src/Tests/Common/FormatDateTest.php
index 59b9619..3a1c020 100644
--- a/core/modules/system/src/Tests/Common/FormatDateTest.php
+++ b/core/modules/system/src/Tests/Common/FormatDateTest.php
@@ -24,7 +24,10 @@ class FormatDateTest extends WebTestBase {
    */
   const LANGCODE = 'xx';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp('language');
 
     $this->config('system.date')
diff --git a/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php b/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php
index 0e1e298..7c60047 100644
--- a/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php
+++ b/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php
@@ -14,7 +14,10 @@ class NoJavaScriptAnonymousTest extends WebTestBase {
 
   protected $profile = 'standard';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Grant the anonymous user the permission to look at user profiles.
diff --git a/core/modules/system/src/Tests/Common/RenderElementTypesTest.php b/core/modules/system/src/Tests/Common/RenderElementTypesTest.php
index f470692..5999ef2 100644
--- a/core/modules/system/src/Tests/Common/RenderElementTypesTest.php
+++ b/core/modules/system/src/Tests/Common/RenderElementTypesTest.php
@@ -20,7 +20,10 @@ class RenderElementTypesTest extends KernelTestBase {
    */
   public static $modules = array('system', 'router_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(array('system'));
     \Drupal::service('router.builder')->rebuild();
diff --git a/core/modules/system/src/Tests/Common/SizeUnitTest.php b/core/modules/system/src/Tests/Common/SizeUnitTest.php
index 4fd5c17..8f13d57 100644
--- a/core/modules/system/src/Tests/Common/SizeUnitTest.php
+++ b/core/modules/system/src/Tests/Common/SizeUnitTest.php
@@ -15,7 +15,10 @@ class SizeUnitTest extends KernelTestBase {
   protected $exactTestCases;
   protected $roundedTestCases;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $kb = Bytes::KILOBYTE;
     $this->exactTestCases = array(
diff --git a/core/modules/system/src/Tests/Common/XssUnitTest.php b/core/modules/system/src/Tests/Common/XssUnitTest.php
index eef42b7..d12ceab 100644
--- a/core/modules/system/src/Tests/Common/XssUnitTest.php
+++ b/core/modules/system/src/Tests/Common/XssUnitTest.php
@@ -20,7 +20,10 @@ class XssUnitTest extends KernelTestBase {
    */
   public static $modules = array('filter', 'system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(array('system'));
   }
diff --git a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php
index 4e6e3ec..4819cb0 100644
--- a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php
+++ b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php
@@ -17,7 +17,10 @@
    */
   public static $modules = array('database_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     DatabaseTestBase::addSampleData();
diff --git a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php
index c412d99..77918c9 100644
--- a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php
+++ b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php
@@ -14,7 +14,10 @@
  */
 class DrupalKernelTest extends KernelTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // DrupalKernel relies on global $config_directories and requires those
     // directories to exist. Therefore, create the directories, but do not
     // invoke KernelTestBase::setUp(), since that would set up further
diff --git a/core/modules/system/src/Tests/Entity/EntityFormTest.php b/core/modules/system/src/Tests/Entity/EntityFormTest.php
index 4e0ced5..a78b6da 100644
--- a/core/modules/system/src/Tests/Entity/EntityFormTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityFormTest.php
@@ -19,7 +19,10 @@ class EntityFormTest extends WebTestBase {
    */
   public static $modules = array('entity_test', 'language');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $web_user = $this->drupalCreateUser(array('administer entity_test content', 'view test entity'));
     $this->drupalLogin($web_user);
diff --git a/core/modules/system/src/Tests/Entity/EntityOperationsTest.php b/core/modules/system/src/Tests/Entity/EntityOperationsTest.php
index 3e4c69f..317a7b5 100644
--- a/core/modules/system/src/Tests/Entity/EntityOperationsTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityOperationsTest.php
@@ -18,7 +18,10 @@ class EntityOperationsTest extends WebTestBase {
    */
   public static $modules = array('entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php b/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
index 86bc703..0d3c9ac 100644
--- a/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
@@ -27,7 +27,10 @@ class EntityReferenceSelectionAccessTest extends WebTestBase {
    */
   public static $modules = array('node', 'comment');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an Article node type.
diff --git a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php
index f7420b4..8ad54e6 100644
--- a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php
@@ -26,7 +26,10 @@ class EntityRevisionsTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in user.
diff --git a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php
index 1512874..9bb6b78 100644
--- a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php
@@ -23,7 +23,10 @@ class EntityTranslationFormTest extends WebTestBase {
 
   protected $langcodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Enable translations for the test entity type.
     \Drupal::state()->set('entity_test.translation', TRUE);
diff --git a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
index 28463b7..02ccfd0 100644
--- a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
+++ b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
@@ -43,7 +43,10 @@
    */
   protected $state;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->entityManager = $this->container->get('entity.manager');
diff --git a/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php b/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
index d9f36ff..9614d6c 100644
--- a/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
@@ -26,7 +26,10 @@ class EntityViewControllerTest extends WebTestBase {
    */
   protected $entities = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create some dummy entity_test entities.
     for ($i = 0; $i < 2; $i++) {
diff --git a/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php b/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php
index ecf83e9..233fbf4 100644
--- a/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php
+++ b/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php
@@ -20,7 +20,10 @@ class ThemeInstallerTest extends KernelTestBase {
    */
   public static $modules = array('system');
 
-  public function containerBuild(ContainerBuilder $container) {
+  /**
+ *
+ */
+public function containerBuild(ContainerBuilder $container) {
     parent::containerBuild($container);
     // Some test methods involve ModuleHandler operations, which attempt to
     // rebuild and dump routes.
@@ -28,7 +31,10 @@ public function containerBuild(ContainerBuilder $container) {
       ->register('router.dumper', 'Drupal\Core\Routing\NullMatcherDumper');
   }
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(array('system'));
   }
diff --git a/core/modules/system/src/Tests/File/ConfigTest.php b/core/modules/system/src/Tests/File/ConfigTest.php
index 2313e26..893aa76 100644
--- a/core/modules/system/src/Tests/File/ConfigTest.php
+++ b/core/modules/system/src/Tests/File/ConfigTest.php
@@ -11,7 +11,10 @@
  */
 class ConfigTest extends WebTestBase {
 
-  protected function setUp(){
+  /**
+ *
+ */
+protected function setUp(){
     parent::setUp();
     $this->drupalLogin ($this->drupalCreateUser(array('administer site configuration')));
   }
diff --git a/core/modules/system/src/Tests/File/FileTestBase.php b/core/modules/system/src/Tests/File/FileTestBase.php
index c3d6ba2..3940bd7 100644
--- a/core/modules/system/src/Tests/File/FileTestBase.php
+++ b/core/modules/system/src/Tests/File/FileTestBase.php
@@ -31,7 +31,10 @@
    */
   protected $classname;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(array('system'));
     $this->registerStreamWrapper('private', 'Drupal\Core\StreamWrapper\PrivateStream');
diff --git a/core/modules/system/src/Tests/File/NameMungingTest.php b/core/modules/system/src/Tests/File/NameMungingTest.php
index f4d7ce8..d58b8db 100644
--- a/core/modules/system/src/Tests/File/NameMungingTest.php
+++ b/core/modules/system/src/Tests/File/NameMungingTest.php
@@ -24,7 +24,10 @@ class NameMungingTest extends FileTestBase {
    */
   protected $nameWithUcExt;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->badExtension = 'php';
     $this->name = $this->randomMachineName() . '.' . $this->badExtension . '.txt';
diff --git a/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php b/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php
index 180af4d..4b44a31 100644
--- a/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php
@@ -30,7 +30,10 @@ class RemoteFileDirectoryTest extends DirectoryTest {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php b/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php
index 6913ff3..99631e2 100644
--- a/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php
@@ -30,7 +30,10 @@ class RemoteFileScanDirectoryTest extends ScanDirectoryTest {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php
index d672452..329a6eb 100644
--- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php
@@ -30,7 +30,10 @@ class RemoteFileUnmanagedCopyTest extends UnmanagedCopyTest {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php
index 37a4279..49a6d4e 100644
--- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php
@@ -30,7 +30,10 @@ class RemoteFileUnmanagedDeleteRecursiveTest extends UnmanagedDeleteRecursiveTes
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php
index 8f39ef3..b4dffba 100644
--- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php
@@ -30,7 +30,10 @@ class RemoteFileUnmanagedDeleteTest extends UnmanagedDeleteTest {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php
index 9350118..801a741 100644
--- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php
@@ -30,7 +30,10 @@ class RemoteFileUnmanagedMoveTest extends UnmanagedMoveTest {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php
index c9f20ee..3137bbe 100644
--- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php
+++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php
@@ -30,7 +30,10 @@ class RemoteFileUnmanagedSaveDataTest extends UnmanagedSaveDataTest {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyRemoteStreamWrapper';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
   }
diff --git a/core/modules/system/src/Tests/File/ScanDirectoryTest.php b/core/modules/system/src/Tests/File/ScanDirectoryTest.php
index 99913fc..57a7621 100644
--- a/core/modules/system/src/Tests/File/ScanDirectoryTest.php
+++ b/core/modules/system/src/Tests/File/ScanDirectoryTest.php
@@ -21,7 +21,10 @@ class ScanDirectoryTest extends FileTestBase {
    */
   protected $path;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Hardcode the location of the simpletest files as it is already known
     // and shouldn't change, and we don't yet have a way to retrieve their
diff --git a/core/modules/system/src/Tests/File/StreamWrapperTest.php b/core/modules/system/src/Tests/File/StreamWrapperTest.php
index 4a70c01..6f4bdab 100644
--- a/core/modules/system/src/Tests/File/StreamWrapperTest.php
+++ b/core/modules/system/src/Tests/File/StreamWrapperTest.php
@@ -35,7 +35,10 @@ class StreamWrapperTest extends FileTestBase {
    */
   protected $classname = 'Drupal\file_test\StreamWrapper\DummyStreamWrapper';
 
-  function setUp() {
+  /**
+ *
+ */
+function setUp() {
     // Add file_private_path setting.
     $settings = Settings::getAll();
     $request = Request::create('/');;
diff --git a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php
index c8e3820..3806fcd 100644
--- a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php
+++ b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php
@@ -18,12 +18,18 @@ class FileTransferTest extends WebTestBase {
   protected $password = 'password';
   protected $port = '42';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->testConnection = TestFileTransfer::factory(\Drupal::root(), array('hostname' => $this->hostname, 'username' => $this->username, 'password' => $this->password, 'port' => $this->port));
   }
 
-  function _getFakeModuleFiles() {
+  /**
+ *
+ */
+function _getFakeModuleFiles() {
     $files = array(
       'fake.module',
       'fake.info.yml',
@@ -37,7 +43,10 @@ function _getFakeModuleFiles() {
     return $files;
   }
 
-  function _buildFakeModule() {
+  /**
+ *
+ */
+function _buildFakeModule() {
     $location = 'temporary://fake';
     if (is_dir($location)) {
       $ret = 0;
@@ -53,7 +62,10 @@ function _buildFakeModule() {
     return $location;
   }
 
-  function _writeDirectory($base, $files = array()) {
+  /**
+ *
+ */
+function _writeDirectory($base, $files = array()) {
     mkdir($base);
     foreach ($files as $key => $file) {
       if (is_array($file)) {
@@ -66,7 +78,10 @@ function _writeDirectory($base, $files = array()) {
     }
   }
 
-  function testJail() {
+  /**
+ *
+ */
+function testJail() {
     $source = $this->_buildFakeModule();
 
     // This convoluted piece of code is here because our testing framework does
diff --git a/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php b/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php
index 10ccc14..b64ac99 100644
--- a/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php
+++ b/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php
@@ -10,11 +10,17 @@ class MockTestConnection {
   protected $commandsRun = array();
   public $connectionString;
 
-  function run($cmd) {
+  /**
+ *
+ */
+function run($cmd) {
     $this->commandsRun[] = $cmd;
   }
 
-  function flushCommands() {
+  /**
+ *
+ */
+function flushCommands() {
     $out = $this->commandsRun;
     $this->commandsRun = array();
     return $out;
diff --git a/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php b/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php
index 40c2b8c..25e4d7b 100644
--- a/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php
+++ b/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php
@@ -19,46 +19,76 @@ class TestFileTransfer extends FileTransfer {
    */
   public $shouldIsDirectoryReturnTrue = FALSE;
 
-  function __construct($jail, $username, $password, $hostname = 'localhost', $port = 9999) {
+  /**
+ *
+ */
+function __construct($jail, $username, $password, $hostname = 'localhost', $port = 9999) {
     parent::__construct($jail, $username, $password, $hostname, $port);
   }
 
-  static function factory($jail, $settings) {
+  /**
+ *
+ */
+static function factory($jail, $settings) {
     return new TestFileTransfer($jail, $settings['username'], $settings['password'], $settings['hostname'], $settings['port']);
   }
 
-  public function connect() {
+  /**
+ *
+ */
+public function connect() {
     $this->connection = new MockTestConnection();
     $this->connection->connectionString = 'test://' . urlencode($this->username) . ':' . urlencode($this->password) . "@$this->host:$this->port/";
   }
 
-  function copyFileJailed($source, $destination) {
+  /**
+ *
+ */
+function copyFileJailed($source, $destination) {
     $this->connection->run("copyFile $source $destination");
   }
 
-  protected function removeDirectoryJailed($directory) {
+  /**
+ *
+ */
+protected function removeDirectoryJailed($directory) {
     $this->connection->run("rmdir $directory");
   }
 
-  function createDirectoryJailed($directory) {
+  /**
+ *
+ */
+function createDirectoryJailed($directory) {
     $this->connection->run("mkdir $directory");
   }
 
-  function removeFileJailed($destination) {
+  /**
+ *
+ */
+function removeFileJailed($destination) {
     if (!ftp_delete($this->connection, $item)) {
       throw new FileTransferException('Unable to remove to file @file.', NULL, array('@file' => $item));
     }
   }
 
-  function isDirectory($path) {
+  /**
+ *
+ */
+function isDirectory($path) {
     return $this->shouldIsDirectoryReturnTrue;
   }
 
-  function isFile($path) {
+  /**
+ *
+ */
+function isFile($path) {
     return FALSE;
   }
 
-  function chmodJailed($path, $mode, $recursive) {
+  /**
+ *
+ */
+function chmodJailed($path, $mode, $recursive) {
     return;
   }
 }
diff --git a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php
index 2f22fa7..9543415 100644
--- a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php
+++ b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php
@@ -20,7 +20,10 @@ class ArbitraryRebuildTest extends WebTestBase {
    */
   public static $modules = array('text', 'form_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Auto-create a field for testing.
diff --git a/core/modules/system/src/Tests/Form/CheckboxTest.php b/core/modules/system/src/Tests/Form/CheckboxTest.php
index 6e48865..983a2e9 100644
--- a/core/modules/system/src/Tests/Form/CheckboxTest.php
+++ b/core/modules/system/src/Tests/Form/CheckboxTest.php
@@ -19,7 +19,10 @@ class CheckboxTest extends WebTestBase {
    */
   public static $modules = array('form_test');
 
-  function testFormCheckbox() {
+  /**
+ *
+ */
+function testFormCheckbox() {
     // Ensure that the checked state is determined and rendered correctly for
     // tricky combinations of default and return values.
     foreach (array(FALSE, NULL, TRUE, 0, '0', '', 1, '1', 'foobar', '1foobar') as $default_value) {
diff --git a/core/modules/system/src/Tests/Form/ConfirmFormTest.php b/core/modules/system/src/Tests/Form/ConfirmFormTest.php
index 312aa2e..81ab788 100644
--- a/core/modules/system/src/Tests/Form/ConfirmFormTest.php
+++ b/core/modules/system/src/Tests/Form/ConfirmFormTest.php
@@ -20,7 +20,10 @@ class ConfirmFormTest extends WebTestBase {
    */
   public static $modules = array('form_test');
 
-  function testConfirmForm() {
+  /**
+ *
+ */
+function testConfirmForm() {
     // Test the building of the form.
     $this->drupalGet('form-test/confirm-form');
     $site_name = $this->config('system.site')->get('name');
diff --git a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php
index 5bd1a9f..696038d 100644
--- a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php
+++ b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php
@@ -34,7 +34,10 @@ class ElementsVerticalTabsTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('access vertical_tab_test tabs'));
diff --git a/core/modules/system/src/Tests/Form/FormCacheTest.php b/core/modules/system/src/Tests/Form/FormCacheTest.php
index 0584621..e4d6957 100644
--- a/core/modules/system/src/Tests/Form/FormCacheTest.php
+++ b/core/modules/system/src/Tests/Form/FormCacheTest.php
@@ -37,7 +37,10 @@ class FormCacheTest extends KernelTestBase {
    */
   protected $formState;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('system', array('key_value_expire'));
 
diff --git a/core/modules/system/src/Tests/Form/FormObjectTest.php b/core/modules/system/src/Tests/Form/FormObjectTest.php
index 38db211..22ace7d 100644
--- a/core/modules/system/src/Tests/Form/FormObjectTest.php
+++ b/core/modules/system/src/Tests/Form/FormObjectTest.php
@@ -19,7 +19,10 @@ class FormObjectTest extends SystemConfigFormTestBase {
    */
   public static $modules = array('form_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->form = new FormTestObject($this->container->get('config.factory'));
diff --git a/core/modules/system/src/Tests/Form/FormTest.php b/core/modules/system/src/Tests/Form/FormTest.php
index cf73836..410e2b1 100644
--- a/core/modules/system/src/Tests/Form/FormTest.php
+++ b/core/modules/system/src/Tests/Form/FormTest.php
@@ -27,7 +27,10 @@ class FormTest extends WebTestBase {
    */
   public static $modules = array('filter', 'form_test', 'file', 'datetime');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $filtered_html_format = FilterFormat::create(array(
diff --git a/core/modules/system/src/Tests/Form/RebuildTest.php b/core/modules/system/src/Tests/Form/RebuildTest.php
index 8953718..b94e62d 100644
--- a/core/modules/system/src/Tests/Form/RebuildTest.php
+++ b/core/modules/system/src/Tests/Form/RebuildTest.php
@@ -30,7 +30,10 @@ class RebuildTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/system/src/Tests/Form/StorageTest.php b/core/modules/system/src/Tests/Form/StorageTest.php
index d29f36b..0fc377e 100644
--- a/core/modules/system/src/Tests/Form/StorageTest.php
+++ b/core/modules/system/src/Tests/Form/StorageTest.php
@@ -25,7 +25,10 @@ class StorageTest extends WebTestBase {
    */
   public static $modules = array('form_test', 'dblog');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin ($this->drupalCreateUser());
diff --git a/core/modules/system/src/Tests/Image/ToolkitGdTest.php b/core/modules/system/src/Tests/Image/ToolkitGdTest.php
index f2c26c9..4b6a412 100644
--- a/core/modules/system/src/Tests/Image/ToolkitGdTest.php
+++ b/core/modules/system/src/Tests/Image/ToolkitGdTest.php
@@ -53,7 +53,10 @@ protected function setUp() {
     $this->imageFactory = $this->container->get('image.factory');
   }
 
-  protected function checkRequirements() {
+  /**
+ *
+ */
+protected function checkRequirements() {
     // GD2 support is available.
     if (!function_exists('imagegd2')) {
       return array(
diff --git a/core/modules/system/src/Tests/Image/ToolkitTestBase.php b/core/modules/system/src/Tests/Image/ToolkitTestBase.php
index 4a3beaa..dba82b6 100644
--- a/core/modules/system/src/Tests/Image/ToolkitTestBase.php
+++ b/core/modules/system/src/Tests/Image/ToolkitTestBase.php
@@ -38,7 +38,10 @@
    */
   protected $image;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Set the image factory service.
diff --git a/core/modules/system/src/Tests/Installer/DistributionProfileTest.php b/core/modules/system/src/Tests/Installer/DistributionProfileTest.php
index d4d3553..8348c1e 100644
--- a/core/modules/system/src/Tests/Installer/DistributionProfileTest.php
+++ b/core/modules/system/src/Tests/Installer/DistributionProfileTest.php
@@ -19,7 +19,10 @@ class DistributionProfileTest extends InstallerTestBase {
    */
   protected $info;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->info = array(
       'type' => 'profile',
       'core' => \Drupal::CORE_COMPATIBILITY,
diff --git a/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php b/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php
index 3f74e68..93d6c82 100644
--- a/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php
+++ b/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php
@@ -28,7 +28,10 @@ class SingleVisibleProfileTest extends InstallerTestBase {
    */
   protected $info;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->info = array(
       'type' => 'profile',
       'core' => \Drupal::CORE_COMPATIBILITY,
diff --git a/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageExpirableTest.php b/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageExpirableTest.php
index ff31f33..76c81bd 100644
--- a/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageExpirableTest.php
+++ b/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageExpirableTest.php
@@ -19,7 +19,10 @@ class DatabaseStorageExpirableTest extends StorageTestBase {
    */
   public static $modules = array('system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->factory = 'keyvalue.expirable';
     $this->installSchema('system', array('key_value_expire'));
diff --git a/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php b/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php
index b433ac1..01b6a89 100644
--- a/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php
+++ b/core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php
@@ -19,7 +19,10 @@ class DatabaseStorageTest extends StorageTestBase {
    */
   public static $modules = array('system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('system', array('key_value'));
   }
diff --git a/core/modules/system/src/Tests/KeyValueStore/GarbageCollectionTest.php b/core/modules/system/src/Tests/KeyValueStore/GarbageCollectionTest.php
index 46a99ab..3b41a0f 100644
--- a/core/modules/system/src/Tests/KeyValueStore/GarbageCollectionTest.php
+++ b/core/modules/system/src/Tests/KeyValueStore/GarbageCollectionTest.php
@@ -21,7 +21,10 @@ class GarbageCollectionTest extends KernelTestBase {
    */
   public static $modules = array('system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // These additional tables are necessary due to the call to system_cron().
diff --git a/core/modules/system/src/Tests/KeyValueStore/StorageTestBase.php b/core/modules/system/src/Tests/KeyValueStore/StorageTestBase.php
index 807d087..693d308 100644
--- a/core/modules/system/src/Tests/KeyValueStore/StorageTestBase.php
+++ b/core/modules/system/src/Tests/KeyValueStore/StorageTestBase.php
@@ -30,7 +30,10 @@
    */
   protected $factory = 'keyvalue';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Define two data collections,
diff --git a/core/modules/system/src/Tests/Lock/LockUnitTest.php b/core/modules/system/src/Tests/Lock/LockUnitTest.php
index 994b98b..5c88ca4 100644
--- a/core/modules/system/src/Tests/Lock/LockUnitTest.php
+++ b/core/modules/system/src/Tests/Lock/LockUnitTest.php
@@ -19,7 +19,10 @@ class LockUnitTest extends KernelTestBase {
    */
   protected $lock;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->lock = new DatabaseLockBackend($this->container->get('database'));
   }
diff --git a/core/modules/system/src/Tests/Menu/BreadcrumbTest.php b/core/modules/system/src/Tests/Menu/BreadcrumbTest.php
index f756300..8eb25b6 100644
--- a/core/modules/system/src/Tests/Menu/BreadcrumbTest.php
+++ b/core/modules/system/src/Tests/Menu/BreadcrumbTest.php
@@ -39,7 +39,10 @@ class BreadcrumbTest extends MenuTestBase {
    */
   protected $profile = 'standard';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $perms = array_keys(\Drupal::service('user.permissions')->getPermissions());
diff --git a/core/modules/system/src/Tests/Menu/MenuRouterTest.php b/core/modules/system/src/Tests/Menu/MenuRouterTest.php
index b7b4c5b..a7fe628 100644
--- a/core/modules/system/src/Tests/Menu/MenuRouterTest.php
+++ b/core/modules/system/src/Tests/Menu/MenuRouterTest.php
@@ -33,7 +33,10 @@ class MenuRouterTest extends WebTestBase {
    */
   protected $defaultTheme;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // Enable dummy module that implements hook_menu.
     parent::setUp();
 
diff --git a/core/modules/system/src/Tests/Module/ModuleTestBase.php b/core/modules/system/src/Tests/Module/ModuleTestBase.php
index f0ea3fb..c7e7b41 100644
--- a/core/modules/system/src/Tests/Module/ModuleTestBase.php
+++ b/core/modules/system/src/Tests/Module/ModuleTestBase.php
@@ -22,7 +22,10 @@
 
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('access administration pages', 'administer modules'));
diff --git a/core/modules/system/src/Tests/Pager/PagerTest.php b/core/modules/system/src/Tests/Pager/PagerTest.php
index 7f2f07a..0b70702 100644
--- a/core/modules/system/src/Tests/Pager/PagerTest.php
+++ b/core/modules/system/src/Tests/Pager/PagerTest.php
@@ -27,7 +27,10 @@ class PagerTest extends WebTestBase {
 
   protected $profile = 'testing';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Insert 300 log messages.
diff --git a/core/modules/system/src/Tests/Path/AliasTest.php b/core/modules/system/src/Tests/Path/AliasTest.php
index 4ef3b94..3aa69e4 100644
--- a/core/modules/system/src/Tests/Path/AliasTest.php
+++ b/core/modules/system/src/Tests/Path/AliasTest.php
@@ -15,7 +15,10 @@
  */
 class AliasTest extends PathUnitTestBase {
 
-  function testCRUD() {
+  /**
+ *
+ */
+function testCRUD() {
     //Prepare database table.
     $connection = Database::getConnection();
     $this->fixtures->createTables($connection);
@@ -73,7 +76,10 @@ function testCRUD() {
     }
   }
 
-  function testLookupPath() {
+  /**
+ *
+ */
+function testLookupPath() {
     //Prepare database table.
     $connection = Database::getConnection();
     $this->fixtures->createTables($connection);
diff --git a/core/modules/system/src/Tests/Path/PathUnitTestBase.php b/core/modules/system/src/Tests/Path/PathUnitTestBase.php
index b487561..f571ca9 100644
--- a/core/modules/system/src/Tests/Path/PathUnitTestBase.php
+++ b/core/modules/system/src/Tests/Path/PathUnitTestBase.php
@@ -15,7 +15,10 @@
    */
   protected $fixtures;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->fixtures = new UrlAliasFixtures();
     // The alias whitelist expects that the menu path roots are set by a
@@ -23,7 +26,10 @@ protected function setUp() {
     \Drupal::state()->set('router.path_roots', array('user', 'admin'));
   }
 
-  protected function tearDown() {
+  /**
+ *
+ */
+protected function tearDown() {
     $this->fixtures->dropTables(Database::getConnection());
 
     parent::tearDown();
diff --git a/core/modules/system/src/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php b/core/modules/system/src/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
index 3fb45b4..b6bbd78 100644
--- a/core/modules/system/src/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
+++ b/core/modules/system/src/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
@@ -11,7 +11,10 @@
  */
 class AnnotatedClassDiscoveryTest extends DiscoveryTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->expectedDefinitions = array(
       'apple' => array(
diff --git a/core/modules/system/src/Tests/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php b/core/modules/system/src/Tests/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php
index a8a8656..6f64ccd 100644
--- a/core/modules/system/src/Tests/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php
+++ b/core/modules/system/src/Tests/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php
@@ -12,7 +12,10 @@
  */
 class CustomAnnotationClassDiscoveryTest extends DiscoveryTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->expectedDefinitions = array(
diff --git a/core/modules/system/src/Tests/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php b/core/modules/system/src/Tests/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
index e8e9c78..25d9400 100644
--- a/core/modules/system/src/Tests/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
+++ b/core/modules/system/src/Tests/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
@@ -12,7 +12,10 @@
  */
 class CustomDirectoryAnnotatedClassDiscoveryTest extends DiscoveryTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->expectedDefinitions = array(
diff --git a/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php b/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php
index 869ac18..6a0dbaa 100644
--- a/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php
+++ b/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php
@@ -11,7 +11,10 @@
  */
 class StaticDiscoveryTest extends DiscoveryTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->expectedDefinitions = array(
       'apple' => array(
diff --git a/core/modules/system/src/Tests/Plugin/PluginTestBase.php b/core/modules/system/src/Tests/Plugin/PluginTestBase.php
index 4231cdd..157ab18 100644
--- a/core/modules/system/src/Tests/Plugin/PluginTestBase.php
+++ b/core/modules/system/src/Tests/Plugin/PluginTestBase.php
@@ -29,7 +29,10 @@
   protected $defaultsTestPluginManager;
   protected $defaultsTestPluginExpectedDefinitions;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Real modules implementing plugin types may expose a module-specific API
diff --git a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php
index 4ea8ddc..520c555 100644
--- a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php
+++ b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php
@@ -18,7 +18,10 @@ class AjaxPageStateTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create an administrator with all permissions.
     $this->adminUser = $this->drupalCreateUser(array_keys(\Drupal::service('user.permissions')
diff --git a/core/modules/system/src/Tests/Routing/MatcherDumperTest.php b/core/modules/system/src/Tests/Routing/MatcherDumperTest.php
index 42f86a8..64c9181 100644
--- a/core/modules/system/src/Tests/Routing/MatcherDumperTest.php
+++ b/core/modules/system/src/Tests/Routing/MatcherDumperTest.php
@@ -32,7 +32,10 @@ class MatcherDumperTest extends KernelTestBase {
    */
   protected $state;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->fixtures = new RoutingFixtures();
diff --git a/core/modules/system/src/Tests/Routing/MockAliasManager.php b/core/modules/system/src/Tests/Routing/MockAliasManager.php
index f2c9a0b..ee2ceba 100644
--- a/core/modules/system/src/Tests/Routing/MockAliasManager.php
+++ b/core/modules/system/src/Tests/Routing/MockAliasManager.php
@@ -40,11 +40,14 @@ class MockAliasManager implements AliasManagerInterface {
   /**
    * Adds an alias to the in-memory alias table for this object.
    *
-   * @param type $path
+   * @param string or int or object... $pathThe
+ *   system path of the alias.
    *   The system path of the alias.
-   * @param type $alias
+   * @param string or int or object... $aliasThe
+ *   alias of the system path.
    *   The alias of the system path.
-   * @param type $path_language
+   * @param string or int or object... $path_languageThe
+ *   language of this alias.
    *   The language of this alias.
    */
   public function addAlias($path, $alias, $path_language = NULL) {
diff --git a/core/modules/system/src/Tests/Routing/RouteProviderTest.php b/core/modules/system/src/Tests/Routing/RouteProviderTest.php
index 056a37a..9af36c5 100644
--- a/core/modules/system/src/Tests/Routing/RouteProviderTest.php
+++ b/core/modules/system/src/Tests/Routing/RouteProviderTest.php
@@ -78,7 +78,10 @@ class RouteProviderTest extends KernelTestBase {
    */
   protected $cacheTagsInvalidator;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->fixtures = new RoutingFixtures();
     $this->state = new State(new KeyValueMemoryFactory());
@@ -101,7 +104,10 @@ public function containerBuild(ContainerBuilder $container) {
     }
   }
 
-  protected function tearDown() {
+  /**
+ *
+ */
+protected function tearDown() {
     $this->fixtures->dropTables(Database::getConnection());
 
     parent::tearDown();
@@ -623,7 +629,10 @@ public function testGetRoutesPaged() {
 
 class TestRouteProvider extends RouteProvider {
 
-  public function getCandidateOutlines(array $parts) {
+  /**
+ *
+ */
+public function getCandidateOutlines(array $parts) {
     return parent::getCandidateOutlines($parts);
   }
 
diff --git a/core/modules/system/src/Tests/Session/AccountSwitcherTest.php b/core/modules/system/src/Tests/Session/AccountSwitcherTest.php
index 7f771f6..98f78ae 100644
--- a/core/modules/system/src/Tests/Session/AccountSwitcherTest.php
+++ b/core/modules/system/src/Tests/Session/AccountSwitcherTest.php
@@ -12,7 +12,10 @@
  */
 class AccountSwitcherTest extends KernelTestBase {
 
-  public function testAccountSwitching() {
+  /**
+ *
+ */
+public function testAccountSwitching() {
     $session_handler = $this->container->get('session_handler.write_safe');
     $user = $this->container->get('current_user');
     $switcher = $this->container->get('account_switcher');
diff --git a/core/modules/system/src/Tests/Session/SessionHttpsTest.php b/core/modules/system/src/Tests/Session/SessionHttpsTest.php
index 8e25fd2..e957ee5 100644
--- a/core/modules/system/src/Tests/Session/SessionHttpsTest.php
+++ b/core/modules/system/src/Tests/Session/SessionHttpsTest.php
@@ -35,7 +35,10 @@ class SessionHttpsTest extends WebTestBase {
    */
   public static $modules = array('session_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $request = Request::createFromGlobals();
@@ -49,7 +52,10 @@ protected function setUp() {
     }
   }
 
-  public function testHttpsSession() {
+  /**
+ *
+ */
+public function testHttpsSession() {
     $user = $this->drupalCreateUser(array('access administration pages'));
 
     // Test HTTPS session handling by altering the form action to submit the
diff --git a/core/modules/system/src/Tests/System/AccessDeniedTest.php b/core/modules/system/src/Tests/System/AccessDeniedTest.php
index ab0264b..855068c 100644
--- a/core/modules/system/src/Tests/System/AccessDeniedTest.php
+++ b/core/modules/system/src/Tests/System/AccessDeniedTest.php
@@ -22,7 +22,10 @@ class AccessDeniedTest extends WebTestBase {
 
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
@@ -36,7 +39,10 @@ protected function setUp() {
     user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, array('access user profiles'));
   }
 
-  function testAccessDenied() {
+  /**
+ *
+ */
+function testAccessDenied() {
     $this->drupalGet('admin');
     $this->assertText(t('Access denied'), 'Found the default 403 page');
     $this->assertResponse(403);
diff --git a/core/modules/system/src/Tests/System/AdminTest.php b/core/modules/system/src/Tests/System/AdminTest.php
index 7c1d0d1..d7985dc 100644
--- a/core/modules/system/src/Tests/System/AdminTest.php
+++ b/core/modules/system/src/Tests/System/AdminTest.php
@@ -33,7 +33,10 @@ class AdminTest extends WebTestBase {
    */
   public static $modules = array('locale');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // testAdminPages() requires Locale module.
     parent::setUp();
 
diff --git a/core/modules/system/src/Tests/System/DateTimeTest.php b/core/modules/system/src/Tests/System/DateTimeTest.php
index ca998fe..bab4a57 100644
--- a/core/modules/system/src/Tests/System/DateTimeTest.php
+++ b/core/modules/system/src/Tests/System/DateTimeTest.php
@@ -21,7 +21,10 @@ class DateTimeTest extends WebTestBase {
    */
   public static $modules = ['block', 'node', 'language'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create admin user and log in admin user.
diff --git a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php
index 14aeb3e..3eba22e 100644
--- a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php
+++ b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php
@@ -18,7 +18,10 @@ class DefaultMobileMetaTagsTest extends WebTestBase {
    */
   protected $defaultMetaTags;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->defaultMetaTags = array(
       'viewport' => '<meta name="viewport" content="width=device-width, initial-scale=1.0" />',
diff --git a/core/modules/system/src/Tests/System/FrontPageTest.php b/core/modules/system/src/Tests/System/FrontPageTest.php
index 8550ac9..96e674c 100644
--- a/core/modules/system/src/Tests/System/FrontPageTest.php
+++ b/core/modules/system/src/Tests/System/FrontPageTest.php
@@ -26,7 +26,10 @@ class FrontPageTest extends WebTestBase {
    */
   protected $nodePath;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create admin user, log in admin user, and create one node.
diff --git a/core/modules/system/src/Tests/System/IndexPhpTest.php b/core/modules/system/src/Tests/System/IndexPhpTest.php
index b600c5c..e428c7b 100644
--- a/core/modules/system/src/Tests/System/IndexPhpTest.php
+++ b/core/modules/system/src/Tests/System/IndexPhpTest.php
@@ -10,7 +10,10 @@
  * @group system
  */
 class IndexPhpTest extends WebTestBase {
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
   }
 
diff --git a/core/modules/system/src/Tests/System/MainContentFallbackTest.php b/core/modules/system/src/Tests/System/MainContentFallbackTest.php
index 9c88d96..e3104fd 100644
--- a/core/modules/system/src/Tests/System/MainContentFallbackTest.php
+++ b/core/modules/system/src/Tests/System/MainContentFallbackTest.php
@@ -21,7 +21,10 @@ class MainContentFallbackTest extends WebTestBase {
   protected $adminUser;
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in admin user.
diff --git a/core/modules/system/src/Tests/System/PageNotFoundTest.php b/core/modules/system/src/Tests/System/PageNotFoundTest.php
index 5e12ac6..7c1e617 100644
--- a/core/modules/system/src/Tests/System/PageNotFoundTest.php
+++ b/core/modules/system/src/Tests/System/PageNotFoundTest.php
@@ -22,7 +22,10 @@ class PageNotFoundTest extends WebTestBase {
 
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrative user.
@@ -34,7 +37,10 @@ protected function setUp() {
     user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, array('access user profiles'));
   }
 
-  function testPageNotFound() {
+  /**
+ *
+ */
+function testPageNotFound() {
     $this->drupalLogin($this->adminUser);
     $this->drupalGet($this->randomMachineName(10));
     $this->assertText(t('Page not found'), 'Found the default 404 page');
diff --git a/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php b/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php
index 5775d92..7e85688 100644
--- a/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php
+++ b/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php
@@ -18,7 +18,10 @@ class ShutdownFunctionsTest extends WebTestBase {
    */
   public static $modules = array('system_test');
 
-  protected function tearDown() {
+  /**
+ *
+ */
+protected function tearDown() {
     // This test intentionally throws an exception in a PHP shutdown function.
     // Prevent it from being interpreted as an actual test failure.
     // Not using File API; a potential error must trigger a PHP warning.
diff --git a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
index 52f53e9..6f76860 100644
--- a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
+++ b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php
@@ -21,7 +21,10 @@ class SiteMaintenanceTest extends WebTestBase {
 
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Configure 'node' as front page.
diff --git a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php
index a860c6d..46f5c36 100644
--- a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php
+++ b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php
@@ -18,7 +18,10 @@ class SystemAuthorizeTest extends WebTestBase {
    */
   public static $modules = array('system_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrator user.
diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php
index 30bd9a2..13e7743 100644
--- a/core/modules/system/src/Tests/System/ThemeTest.php
+++ b/core/modules/system/src/Tests/System/ThemeTest.php
@@ -27,7 +27,10 @@ class ThemeTest extends WebTestBase {
    */
   public static $modules = ['node', 'block', 'file'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php b/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php
index 0eb43b7..d70e3fc 100644
--- a/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php
+++ b/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php
@@ -18,7 +18,10 @@ class EngineNyanCatTest extends WebTestBase {
    */
   public static $modules = array('theme_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme_nyan_cat_engine'));
   }
diff --git a/core/modules/system/src/Tests/Theme/EngineTwigTest.php b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
index a6b7acf..850a644 100644
--- a/core/modules/system/src/Tests/Theme/EngineTwigTest.php
+++ b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
@@ -19,7 +19,10 @@ class EngineTwigTest extends WebTestBase {
    */
   public static $modules = array('theme_test', 'twig_theme_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme'));
   }
diff --git a/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php b/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php
index cc4af2a..7930d1a 100644
--- a/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php
+++ b/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php
@@ -75,7 +75,10 @@ class EntityFilteringThemeTest extends WebTestBase {
    */
   protected $xssLabel = "string with <em>HTML</em> and <script>alert('JS');</script>";
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Install all available non-testing themes.
diff --git a/core/modules/system/src/Tests/Theme/FastTest.php b/core/modules/system/src/Tests/Theme/FastTest.php
index 5dba0e8..432dbcd 100644
--- a/core/modules/system/src/Tests/Theme/FastTest.php
+++ b/core/modules/system/src/Tests/Theme/FastTest.php
@@ -18,7 +18,10 @@ class FastTest extends WebTestBase {
    */
   public static $modules = array('theme_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->account = $this->drupalCreateUser(array('access user profiles'));
   }
diff --git a/core/modules/system/src/Tests/Theme/ImageTest.php b/core/modules/system/src/Tests/Theme/ImageTest.php
index b5323f4..564b9eb 100644
--- a/core/modules/system/src/Tests/Theme/ImageTest.php
+++ b/core/modules/system/src/Tests/Theme/ImageTest.php
@@ -26,7 +26,10 @@ class ImageTest extends KernelTestBase {
    */
   protected $testImages;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // The code under test uses file_url_transform_relative(), which relies on
diff --git a/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php b/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php
index b7e6866..b962316 100644
--- a/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php
+++ b/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php
@@ -27,7 +27,10 @@ class ThemeSettingsTest extends KernelTestBase {
    */
   protected $availableThemes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Theme settings rely on System module's system.theme.global configuration.
     $this->installConfig(array('system'));
diff --git a/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php b/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php
index 75e52c9..c1787b1 100644
--- a/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php
+++ b/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php
@@ -19,7 +19,10 @@ class ThemeSuggestionsAlterTest extends WebTestBase {
    */
   public static $modules = array('theme_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme'));
   }
diff --git a/core/modules/system/src/Tests/Theme/ThemeTest.php b/core/modules/system/src/Tests/Theme/ThemeTest.php
index 4eae7ae..eced2f0 100644
--- a/core/modules/system/src/Tests/Theme/ThemeTest.php
+++ b/core/modules/system/src/Tests/Theme/ThemeTest.php
@@ -24,7 +24,10 @@ class ThemeTest extends WebTestBase {
    */
   public static $modules = array('theme_test', 'node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme'));
   }
diff --git a/core/modules/system/src/Tests/Theme/TwigExtensionTest.php b/core/modules/system/src/Tests/Theme/TwigExtensionTest.php
index 4be1f73..b4f5afb 100644
--- a/core/modules/system/src/Tests/Theme/TwigExtensionTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigExtensionTest.php
@@ -18,7 +18,10 @@ class TwigExtensionTest extends WebTestBase {
    */
   public static $modules = array('theme_test', 'twig_extension_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme'));
   }
diff --git a/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php b/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php
index 27a54d1..61694f0 100644
--- a/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php
@@ -23,7 +23,10 @@ class TwigNamespaceTest extends WebTestBase {
    */
   protected $twig;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme', 'bartik'));
     $this->twig = \Drupal::service('twig');
diff --git a/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php b/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php
index 5cbca9f..0f468cd 100644
--- a/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php
@@ -23,7 +23,10 @@ class TwigRegistryLoaderTest extends WebTestBase {
    */
   protected $twig;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install(array('test_theme_twig_registry_loader', 'test_theme_twig_registry_loader_theme', 'test_theme_twig_registry_loader_subtheme'));
     $this->twig = \Drupal::service('twig');
diff --git a/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php b/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php
index 034987b..78d5201 100644
--- a/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php
+++ b/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php
@@ -26,7 +26,10 @@ class TypedDataDefinitionTest extends KernelTestBase {
    */
   protected $typedDataManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setup();
     $this->typedDataManager = $this->container->get('typed_data_manager');
   }
diff --git a/core/modules/system/src/Tests/TypedData/TypedDataTest.php b/core/modules/system/src/Tests/TypedData/TypedDataTest.php
index 2f22533..5ccdf3c 100644
--- a/core/modules/system/src/Tests/TypedData/TypedDataTest.php
+++ b/core/modules/system/src/Tests/TypedData/TypedDataTest.php
@@ -32,7 +32,10 @@ class TypedDataTest extends KernelTestBase {
    */
   public static $modules = array('system', 'field', 'file', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setup();
 
     $this->installEntitySchema('file');
diff --git a/core/modules/system/src/Tests/Update/CompatibilityFixTest.php b/core/modules/system/src/Tests/Update/CompatibilityFixTest.php
index 1452693..e693173 100644
--- a/core/modules/system/src/Tests/Update/CompatibilityFixTest.php
+++ b/core/modules/system/src/Tests/Update/CompatibilityFixTest.php
@@ -11,12 +11,18 @@
  */
 class CompatibilityFixTest extends KernelTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     require_once \Drupal::root() . '/core/includes/update.inc';
   }
 
-  function testFixCompatibility() {
+  /**
+ *
+ */
+function testFixCompatibility() {
     $extension_config = \Drupal::configFactory()->getEditable('core.extension');
 
     // Add an incompatible/non-existent module to the config.
diff --git a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php
index e66675b..30bb476 100644
--- a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php
+++ b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php
@@ -19,7 +19,10 @@ class DependencyHookInvocationTest extends WebTestBase {
    */
   public static $modules = array('update_test_0', 'update_test_1', 'update_test_2');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     require_once \Drupal::root() . '/core/includes/update.inc';
   }
diff --git a/core/modules/system/src/Tests/Update/DependencyMissingTest.php b/core/modules/system/src/Tests/Update/DependencyMissingTest.php
index 17a468d..50ec1c0 100644
--- a/core/modules/system/src/Tests/Update/DependencyMissingTest.php
+++ b/core/modules/system/src/Tests/Update/DependencyMissingTest.php
@@ -18,14 +18,20 @@ class DependencyMissingTest extends WebTestBase {
    */
   public static $modules = array('update_test_0', 'update_test_2');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // Only install update_test_2.module, even though its updates have a
     // dependency on update_test_3.module.
     parent::setUp();
     require_once \Drupal::root() . '/core/includes/update.inc';
   }
 
-  function testMissingUpdate() {
+  /**
+ *
+ */
+function testMissingUpdate() {
     $starting_updates = array(
       'update_test_2' => 8001,
     );
diff --git a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php
index d3838d2..71579e9 100644
--- a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php
+++ b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php
@@ -18,7 +18,10 @@ class DependencyOrderingTest extends WebTestBase {
    */
   public static $modules = array('update_test_0', 'update_test_1', 'update_test_2', 'update_test_3');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     require_once \Drupal::root() . '/core/includes/update.inc';
   }
diff --git a/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php b/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php
index ce5a006..6afdfb9 100644
--- a/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php
+++ b/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php
@@ -33,7 +33,10 @@ class InvalidUpdateHookTest extends WebTestBase {
    */
   private $updateUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     require_once \Drupal::root() . '/core/includes/update.inc';
 
@@ -41,7 +44,10 @@ protected function setUp() {
     $this->updateUser = $this->drupalCreateUser(array('administer software updates'));
   }
 
-  function testInvalidUpdateHook() {
+  /**
+ *
+ */
+function testInvalidUpdateHook() {
     // Confirm that a module with hook_update_8000() cannot be updated.
     $this->drupalLogin($this->updateUser);
     $this->drupalGet($this->updateUrl);
diff --git a/core/modules/system/src/Tests/Update/UpdateScriptTest.php b/core/modules/system/src/Tests/Update/UpdateScriptTest.php
index 3f4edff..a415f56 100644
--- a/core/modules/system/src/Tests/Update/UpdateScriptTest.php
+++ b/core/modules/system/src/Tests/Update/UpdateScriptTest.php
@@ -39,7 +39,10 @@ class UpdateScriptTest extends WebTestBase {
    */
   private $updateUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->updateUrl = Url::fromRoute('system.db_update');
     $this->updateUser = $this->drupalCreateUser(array('administer software updates', 'access site in maintenance mode'));
diff --git a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php
index bced4a4..4e09984 100644
--- a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php
+++ b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php
@@ -29,14 +29,20 @@ class UpdatesWith7xTest extends WebTestBase {
    */
   private $updateUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     require_once \Drupal::root() . '/core/includes/update.inc';
     $this->updateUrl = $GLOBALS['base_url'] . '/update.php';
     $this->updateUser = $this->drupalCreateUser(array('administer software updates'));
   }
 
-  function testWith7x() {
+  /**
+ *
+ */
+function testWith7x() {
     // Ensure that the minimum schema version is 8000, despite 7200 update
     // hooks and a 7XXX hook_update_last_removed().
     $this->assertEqual(drupal_get_installed_schema_version('update_test_with_7x'), 8000);
diff --git a/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php b/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php
index 3970166..a217dd7 100644
--- a/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php
+++ b/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php
@@ -19,7 +19,10 @@ class AllowedValuesConstraintValidatorTest extends KernelTestBase {
    */
   protected $typedData;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->typedData = $this->container->get('typed_data_manager');
   }
diff --git a/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php b/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php
index d75d405..64a8459 100644
--- a/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php
+++ b/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php
@@ -21,7 +21,10 @@ class ComplexDataConstraintValidatorTest extends KernelTestBase {
    */
   protected $typedData;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->typedData = $this->container->get('typed_data_manager');
   }
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index a02a223..f8089b6 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -996,8 +996,10 @@ function system_schema() {
  * @{
  */
 
-/*
- * Change two fields on the default menu link storage to be serialized data.
+/**
+ *
+ *Change two fields on the default menu link storage to be serialized data.
+ 
  */
 function system_update_8001(&$sandbox = NULL) {
   $database = \Drupal::database();
diff --git a/core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php b/core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
index 0b0cdf4..70aea4c 100644
--- a/core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
+++ b/core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
@@ -46,7 +46,10 @@ public static function create(ContainerInterface $container) {
     );
   }
 
-  protected function earlyRenderContent() {
+  /**
+ *
+ */
+protected function earlyRenderContent() {
     return [
       '#markup' => 'Hello world!',
       '#cache' => [
@@ -57,7 +60,10 @@ protected function earlyRenderContent() {
     ];
   }
 
-  public function renderArray() {
+  /**
+ *
+ */
+public function renderArray() {
     return [
       '#pre_render' => [function () {
         $elements = $this->earlyRenderContent();
@@ -66,77 +72,122 @@ public function renderArray() {
     ];
   }
 
-  public function renderArrayEarly() {
+  /**
+ *
+ */
+public function renderArrayEarly() {
     $render_array = $this->earlyRenderContent();
     return [
       '#markup' => $this->renderer->render($render_array),
     ];
   }
 
-  public function ajaxResponse() {
+  /**
+ *
+ */
+public function ajaxResponse() {
     $response = new AjaxResponse();
     $response->addCommand(new InsertCommand(NULL, $this->renderArray()));
     return $response;
   }
 
-  public function ajaxResponseEarly() {
+  /**
+ *
+ */
+public function ajaxResponseEarly() {
     $response = new AjaxResponse();
     $response->addCommand(new InsertCommand(NULL, $this->renderArrayEarly()));
     return $response;
   }
 
-  public function response() {
+  /**
+ *
+ */
+public function response() {
     return new Response('Hello world!');
   }
 
-  public function responseEarly() {
+  /**
+ *
+ */
+public function responseEarly() {
     $render_array = $this->earlyRenderContent();
     return new Response($this->renderer->render($render_array));
   }
 
-  public function responseWithAttachments() {
+  /**
+ *
+ */
+public function responseWithAttachments() {
     return new AttachmentsTestResponse('Hello world!');
   }
 
-  public function responseWithAttachmentsEarly() {
+  /**
+ *
+ */
+public function responseWithAttachmentsEarly() {
     $render_array = $this->earlyRenderContent();
     return new AttachmentsTestResponse($this->renderer->render($render_array));
   }
 
-  public function cacheableResponse() {
+  /**
+ *
+ */
+public function cacheableResponse() {
     return new CacheableTestResponse('Hello world!');
   }
 
-  public function cacheableResponseEarly() {
+  /**
+ *
+ */
+public function cacheableResponseEarly() {
     $render_array = $this->earlyRenderContent();
     return new CacheableTestResponse($this->renderer->render($render_array));
   }
 
-  public function domainObject() {
+  /**
+ *
+ */
+public function domainObject() {
     return new TestDomainObject();
   }
 
-  public function domainObjectEarly() {
+  /**
+ *
+ */
+public function domainObjectEarly() {
     $render_array = $this->earlyRenderContent();
     $this->renderer->render($render_array);
     return new TestDomainObject();
   }
 
-  public function domainObjectWithAttachments() {
+  /**
+ *
+ */
+public function domainObjectWithAttachments() {
     return new AttachmentsTestDomainObject();
   }
 
-  public function domainObjectWithAttachmentsEarly() {
+  /**
+ *
+ */
+public function domainObjectWithAttachmentsEarly() {
     $render_array = $this->earlyRenderContent();
     $this->renderer->render($render_array);
     return new AttachmentsTestDomainObject();
   }
 
-  public function cacheableDomainObject() {
+  /**
+ *
+ */
+public function cacheableDomainObject() {
     return new CacheableTestDomainObject();
   }
 
-  public function cacheableDomainObjectEarly() {
+  /**
+ *
+ */
+public function cacheableDomainObjectEarly() {
     $render_array = $this->earlyRenderContent();
     $this->renderer->render($render_array);
     return new CacheableTestDomainObject();
diff --git a/core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php b/core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php
index 4946417..b2ef9c4 100644
--- a/core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php
+++ b/core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php
@@ -12,11 +12,17 @@
  */
 class LonelyMonkeyController extends ControllerBase implements ContainerInjectionInterface {
 
-  public function __construct(LonelyMonkeyClass $class) {
+  /**
+ *
+ */
+public function __construct(LonelyMonkeyClass $class) {
     $this->class = $class;
   }
 
-  public function testBrokenClass() {
+  /**
+ *
+ */
+public function testBrokenClass() {
     return [
       '#markup' => $this->t('This should be broken.'),
     ];
diff --git a/core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php b/core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php
index bbe1d6a..44f2703 100644
--- a/core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php
+++ b/core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php
@@ -9,7 +9,10 @@
  */
 class LonelyMonkeyClass {
 
-  public function __construct(Connection $connection) {
+  /**
+ *
+ */
+public function __construct(Connection $connection) {
     $this->connection = $connection;
   }
 
diff --git a/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php b/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php
index 45d7862..2b816b1 100644
--- a/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php
+++ b/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php
@@ -3,7 +3,10 @@
 namespace Drupal\module_autoload_test;
 
 class SomeClass {
-  function testMethod() {
+  /**
+ *
+ */
+function testMethod() {
     return 'Drupal\\module_autoload_test\\SomeClass::testMethod() was invoked.';
   }
 }
diff --git a/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php b/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php
index c8a3a80..bb09096 100644
--- a/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php
+++ b/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php
@@ -10,16 +10,25 @@
  */
 class TestControllers {
 
-  public function testUserNodeFoo(EntityInterface $user, NodeInterface $node, $foo) {
+  /**
+ *
+ */
+public function testUserNodeFoo(EntityInterface $user, NodeInterface $node, $foo) {
     $foo = is_object($foo) ? $foo->label() : $foo;
     return ['#markup' => "user: {$user->label()}, node: {$node->label()}, foo: $foo"];
   }
 
-  public function testNodeSetParent(NodeInterface $node, NodeInterface $parent) {
+  /**
+ *
+ */
+public function testNodeSetParent(NodeInterface $node, NodeInterface $parent) {
     return ['#markup' => "Setting '{$parent->label()}' as parent of '{$node->label()}'."];
   }
 
-  public function testEntityLanguage(NodeInterface $node) {
+  /**
+ *
+ */
+public function testEntityLanguage(NodeInterface $node) {
     $build = ['#markup' => $node->label()];
     \Drupal::service('renderer')->addCacheableDependency($build, $node);
     return $build;
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
index 8d94fa1..c3cf742 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
@@ -12,7 +12,10 @@
  * Defines a plugin manager used by Plugin API derivative unit tests.
  */
 class MockBlockManager extends PluginManagerBase {
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
 
     // Create the object that can be used to return definitions for all the
     // plugins available for this type. Most real plugin managers use a richer
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php
index 37be2f5..359ff5b 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php
@@ -10,7 +10,10 @@
  * Defines a plugin manager used by Plugin API unit tests.
  */
 class TestPluginManager extends PluginManagerBase {
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
 
     // Create the object that can be used to return definitions for all the
     // plugins available for this type. Most real plugin managers use a richer
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
index df45af3..f5de1c9 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
@@ -11,7 +11,10 @@
  */
 class MockComplexContextBlock extends ContextAwarePluginBase {
 
-  public function getTitle() {
+  /**
+ *
+ */
+public function getTitle() {
     $user = $this->getContextValue('user');
     $node = $this->getContextValue('node');
     return $user->label() . ' -- ' . $node->label();
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
index 50405f9..dcaf943 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
@@ -23,7 +23,10 @@ class MockMenuBlock {
    */
   protected $depth;
 
-  public function __construct($title = '', $depth = 0) {
+  /**
+ *
+ */
+public function __construct($title = '', $depth = 0) {
     $this->title = $title;
     $this->depth = $depth;
   }
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php
index 1e675ec..8fcdd56 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php
@@ -18,12 +18,18 @@ class MockUserLoginBlock extends PluginBase {
    */
   protected $title;
 
-  public function __construct(array $configuration, $plugin_id, $plugin_definition) {
+  /**
+ *
+ */
+public function __construct(array $configuration, $plugin_id, $plugin_definition) {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->title = isset($configuration['title']) ? $configuration['title'] : '';
   }
 
-  public function getTitle() {
+  /**
+ *
+ */
+public function getTitle() {
     return $this->title;
   }
 }
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php
index 6328fd0..41583f0 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php
@@ -11,7 +11,10 @@
  */
 class MockUserNameBlock extends ContextAwarePluginBase {
 
-  public function getTitle() {
+  /**
+ *
+ */
+public function getTitle() {
     $user = $this->getContextValue('user');
     return $user->label();
   }
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
index 7dac172..31ca908 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
@@ -12,7 +12,10 @@
  */
 class TypedDataStringBlock extends ContextAwarePluginBase {
 
-  public function getTitle() {
+  /**
+ *
+ */
+public function getTitle() {
     return $this->getContextValue('string');
   }
 }
diff --git a/core/modules/system/tests/modules/router_test_directory/src/TestContent.php b/core/modules/system/tests/modules/router_test_directory/src/TestContent.php
index 9cbe023..b6b76a9 100644
--- a/core/modules/system/tests/modules/router_test_directory/src/TestContent.php
+++ b/core/modules/system/tests/modules/router_test_directory/src/TestContent.php
@@ -52,7 +52,10 @@ public function test11() {
     return ['#markup' => $account->getUsername()];
   }
 
-  public function testAccount(UserInterface $user) {
+  /**
+ *
+ */
+public function testAccount(UserInterface $user) {
     $current_user_name = $this->currentUser()->getUsername();
     $this->currentUser()->setAccount($user);
     return ['#markup' => $current_user_name . ':' . $user->getUsername()];
diff --git a/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php b/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
index c3bcac7..4a4474e 100644
--- a/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
+++ b/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
@@ -15,43 +15,73 @@
  */
 class TestControllers {
 
-  public function test() {
+  /**
+ *
+ */
+public function test() {
     return new Response('test');
   }
 
-  public function test1() {
+  /**
+ *
+ */
+public function test1() {
     return new Response('test1');
   }
 
-  public function test2() {
+  /**
+ *
+ */
+public function test2() {
     return ['#markup' => "test2"];
   }
 
-  public function test3($value) {
+  /**
+ *
+ */
+public function test3($value) {
     return ['#markup' => $value];
   }
 
-  public function test4($value) {
+  /**
+ *
+ */
+public function test4($value) {
     return ['#markup' => $value];
   }
 
-  public function test5() {
+  /**
+ *
+ */
+public function test5() {
     return ['#markup' => "test5"];
   }
 
-  public function test6() {
+  /**
+ *
+ */
+public function test6() {
     return new Response('test6');
   }
 
-  public function test7() {
+  /**
+ *
+ */
+public function test7() {
     return new Response('test7text');
   }
 
-  public function test8() {
+  /**
+ *
+ */
+public function test8() {
     return new Response('test8');
   }
 
-  public function test9($uid) {
+  /**
+ *
+ */
+public function test9($uid) {
     $text = 'Route not matched.';
     try {
       $match = \Drupal::service('router.no_access_checks')->match('/user/' . $uid);
@@ -75,7 +105,10 @@ public function test10() {
     $this->throwException('<script>alert(\'xss\')</script>');
   }
 
-  public function test18() {
+  /**
+ *
+ */
+public function test18() {
     return [
       '#cache' => [
         'contexts' => ['url'],
@@ -88,20 +121,32 @@ public function test18() {
     ];
   }
 
-  public function test21() {
+  /**
+ *
+ */
+public function test21() {
     return new CacheableResponse('test21');
   }
 
-  public function test23() {
+  /**
+ *
+ */
+public function test23() {
     return new HtmlResponse('test23');
   }
 
-  public function test24() {
+  /**
+ *
+ */
+public function test24() {
     $this->removeExceptionLogger();
     throw new \Exception('Escaped content: <p> <br> <h3>');
   }
 
-  public function test25() {
+  /**
+ *
+ */
+public function test25() {
     return [
       '#cache' => [
         'url',
@@ -123,7 +168,10 @@ protected function throwException($message) {
     throw new \Exception($message);
   }
 
-  protected function removeExceptionLogger() {
+  /**
+ *
+ */
+protected function removeExceptionLogger() {
     // Remove the exception logger from the event dispatcher. We are going to
     // throw an exception to check if it is properly escaped when rendered as a
     // backtrace. The exception logger does a call to error_log() which is not
diff --git a/core/modules/system/tests/modules/test_page_test/src/Controller/Test.php b/core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
index 35ccf0c..0da9ccb 100644
--- a/core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
+++ b/core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
@@ -81,7 +81,10 @@ public function httpResponseException($code) {
     throw new HttpException($code);
   }
 
-  public function error() {
+  /**
+ *
+ */
+public function error() {
     trigger_error('foo', E_USER_NOTICE);
     return [
       '#markup' => 'Content',
diff --git a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
index 0d6bad8..441e5a7 100644
--- a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
+++ b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
@@ -76,8 +76,10 @@ function twig_theme_test_theme($existing, $type, $theme, $path) {
   return $items;
 }
 
-/*
- * Helper function to test PHP variables in the Twig engine.
+/**
+ *
+ *Helper function to test PHP variables in the Twig engine.
+ 
  */
 function _test_theme_twig_php_values() {
   // Prefix each variable with "twig_" so that Twig doesn't get confused
diff --git a/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
index 0e2a3fc..c16413e 100644
--- a/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
+++ b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
@@ -30,7 +30,10 @@
    */
   public static $modules = array('system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Install default system configuration.
     $this->installConfig(array('system'));
diff --git a/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php b/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
index eb095a7..02ce894 100644
--- a/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
+++ b/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
@@ -378,7 +378,10 @@ public function setupAccessManagerToAllow() {
       ->willReturn((new AccessResultAllowed())->cachePerPermissions());
   }
 
-  protected function setupStubPathProcessor() {
+  /**
+ *
+ */
+protected function setupStubPathProcessor() {
     $this->pathProcessor->expects($this->any())
       ->method('processInbound')
       ->will($this->returnArgument(0));
@@ -391,11 +394,17 @@ protected function setupStubPathProcessor() {
  */
 class TestPathBasedBreadcrumbBuilder extends PathBasedBreadcrumbBuilder {
 
-  public function setStringTranslation(TranslationInterface $string_translation) {
+  /**
+ *
+ */
+public function setStringTranslation(TranslationInterface $string_translation) {
     $this->stringTranslation = $string_translation;
   }
 
-  public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
+  /**
+ *
+ */
+public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
     $this->linkGenerator = $link_generator;
   }
 
diff --git a/core/modules/system/tests/src/Unit/SystemRequirementsTest.php b/core/modules/system/tests/src/Unit/SystemRequirementsTest.php
index abd79ca..60cc956 100644
--- a/core/modules/system/tests/src/Unit/SystemRequirementsTest.php
+++ b/core/modules/system/tests/src/Unit/SystemRequirementsTest.php
@@ -18,7 +18,10 @@ public function testPhpVersionWithPdoDisallowMultipleStatements($version, $expec
     $this->assertEquals($expected, SystemRequirements::phpVersionWithPdoDisallowMultipleStatements($version));
   }
 
-  public function providerTestPhpVersionWithPdoDisallowMultipleStatements() {
+  /**
+ *
+ */
+public function providerTestPhpVersionWithPdoDisallowMultipleStatements() {
     $data = [];
     $data[] = ['5.4.2', FALSE];
     $data[] = ['5.4.21', FALSE];
diff --git a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php
index 73f4ef3..a80f9a3 100644
--- a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php
+++ b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php
@@ -21,7 +21,10 @@ class MachineNameControllerTest extends UnitTestCase {
    */
   protected $machineNameController;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create the machine name controller.
     $this->machineNameController = new MachineNameController(new PhpTransliteration());
diff --git a/core/modules/taxonomy/src/Plugin/views/argument/IndexTid.php b/core/modules/taxonomy/src/Plugin/views/argument/IndexTid.php
index 8ab40e3..4c25542 100644
--- a/core/modules/taxonomy/src/Plugin/views/argument/IndexTid.php
+++ b/core/modules/taxonomy/src/Plugin/views/argument/IndexTid.php
@@ -14,7 +14,10 @@
  */
 class IndexTid extends ManyToOne {
 
-  public function titleQuery() {
+  /**
+ *
+ */
+public function titleQuery() {
     $titles = array();
     $terms = Term::loadMultiple($this->value);
     foreach ($terms as $term) {
diff --git a/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php b/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php
index 6884716..a820ded 100644
--- a/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php
+++ b/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php
@@ -41,7 +41,10 @@ public static function create(ContainerInterface $container, array $configuratio
     return new static($configuration, $plugin_id, $plugin_definition, $container->get('entity.manager')->getStorage('taxonomy_term'));
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['depth'] = array('default' => 0);
@@ -51,7 +54,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     $form['depth'] = array(
       '#type' => 'weight',
       '#title' => $this->t('Depth'),
@@ -87,7 +93,10 @@ protected function defaultActions($which = NULL) {
     return $actions;
   }
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $this->ensureMyTable();
 
     if (!empty($this->options['break_phrase'])) {
@@ -130,7 +139,10 @@ public function query($group_by = FALSE) {
     $this->query->addWhere(0, "$this->tableAlias.$this->realField", $subquery, 'IN');
   }
 
-  function title() {
+  /**
+ *
+ */
+function title() {
     $term = $this->termStorage->load($this->argument);
     if (!empty($term)) {
       return $term->getName();
diff --git a/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepthModifier.php b/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepthModifier.php
index 0415a7a..180d181 100644
--- a/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepthModifier.php
+++ b/core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepthModifier.php
@@ -17,11 +17,20 @@
  */
 class IndexTidDepthModifier extends ArgumentPluginBase {
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) { }
 
-  public function query($group_by = FALSE) { }
+  /**
+ *
+ */
+public function query($group_by = FALSE) { }
 
-  public function preQuery() {
+  /**
+ *
+ */
+public function preQuery() {
     // We don't know our argument yet, but it's based upon our position:
     $argument = isset($this->view->args[$this->position]) ? $this->view->args[$this->position] : NULL;
     if (!is_numeric($argument)) {
diff --git a/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
index 86a4fce..fbc1a4b 100644
--- a/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
+++ b/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
@@ -69,7 +69,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['link_to_taxonomy'] = array('default' => TRUE);
@@ -124,7 +127,10 @@ public function query() {
     $this->addAdditionalFields();
   }
 
-  public function preRender(&$values) {
+  /**
+ *
+ */
+public function preRender(&$values) {
     $vocabularies = $this->vocabularyStorage->loadMultiple();
     $this->field_alias = $this->aliases['nid'];
     $nids = array();
@@ -157,18 +163,27 @@ public function preRender(&$values) {
     }
   }
 
-  function render_item($count, $item) {
+  /**
+ *
+ */
+function render_item($count, $item) {
     return $item['name'];
   }
 
-  protected function documentSelfTokens(&$tokens) {
+  /**
+ *
+ */
+protected function documentSelfTokens(&$tokens) {
     $tokens['{{ ' . $this->options['id'] . '__tid' . ' }}'] = $this->t('The taxonomy term ID for the term.');
     $tokens['{{ ' . $this->options['id'] . '__name' . ' }}'] = $this->t('The taxonomy term name for the term.');
     $tokens['{{ ' . $this->options['id'] . '__vocabulary_vid' . ' }}'] = $this->t('The machine name for the vocabulary the term belongs to.');
     $tokens['{{ ' . $this->options['id'] . '__vocabulary' . ' }}'] = $this->t('The name for the vocabulary the term belongs to.');
   }
 
-  protected function addSelfTokens(&$tokens, $item) {
+  /**
+ *
+ */
+protected function addSelfTokens(&$tokens, $item) {
     foreach (array('tid', 'name', 'vocabulary_vid', 'vocabulary') as $token) {
       $tokens['{{ ' . $this->options['id'] . '__' . $token . ' }}'] = isset($item[$token]) ? $item[$token] : '';
     }
diff --git a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
index 2d0eb83..18ede98 100644
--- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
+++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
@@ -82,7 +82,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  public function hasExtraOptions() { return TRUE; }
+  /**
+ *
+ */
+public function hasExtraOptions() { return TRUE; }
 
   /**
    * {@inheritdoc}
@@ -91,7 +94,10 @@ public function getValueOptions() {
     return $this->valueOptions;
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['type'] = array('default' => 'textfield');
@@ -103,7 +109,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
     $vocabularies = $this->vocabularyStorage->loadMultiple();
     $options = array();
     foreach ($vocabularies as $voc) {
@@ -147,7 +156,10 @@ public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  protected function valueForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueForm(&$form, FormStateInterface $form_state) {
     $vocabulary = $this->vocabularyStorage->load($this->options['vid']);
     if (empty($vocabulary) && $this->options['limit']) {
       $form['markup'] = array(
@@ -259,7 +271,10 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  protected function valueValidate($form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueValidate($form, FormStateInterface $form_state) {
     // We only validate if they've chosen the text field style.
     if ($this->options['type'] != 'textfield') {
       return;
@@ -274,7 +289,10 @@ protected function valueValidate($form, FormStateInterface $form_state) {
     $form_state->setValue(array('options', 'value'), $tids);
   }
 
-  public function acceptExposedInput($input) {
+  /**
+ *
+ */
+public function acceptExposedInput($input) {
     if (empty($this->options['exposed'])) {
       return TRUE;
     }
@@ -313,7 +331,10 @@ public function acceptExposedInput($input) {
     return $rc;
   }
 
-  public function validateExposed(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateExposed(&$form, FormStateInterface $form_state) {
     if (empty($this->options['exposed'])) {
       return;
     }
@@ -339,11 +360,17 @@ public function validateExposed(&$form, FormStateInterface $form_state) {
     }
   }
 
-  protected function valueSubmit($form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueSubmit($form, FormStateInterface $form_state) {
     // prevent array_filter from messing up our arrays in parent submit.
   }
 
-  public function buildExposeForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildExposeForm(&$form, FormStateInterface $form_state) {
     parent::buildExposeForm($form, $form_state);
     if ($this->options['type'] != 'select') {
       unset($form['expose']['reduce']);
@@ -355,7 +382,10 @@ public function buildExposeForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     // set up $this->valueOptions for the parent summary
     $this->valueOptions = array();
 
diff --git a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
index a2b8108..9a56eef 100644
--- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
+++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
@@ -16,13 +16,19 @@
  */
 class TaxonomyIndexTidDepth extends TaxonomyIndexTid {
 
-  public function operatorOptions($which = 'title') {
+  /**
+ *
+ */
+public function operatorOptions($which = 'title') {
     return array(
       'or' => $this->t('Is one of'),
     );
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['depth'] = array('default' => 0);
@@ -30,7 +36,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildExtraOptionsForm($form, $form_state);
 
     $form['depth'] = array(
@@ -41,7 +50,10 @@ public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     // If no filter values are present, then do nothing.
     if (count($this->value) == 0) {
       return;
diff --git a/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php b/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
index faa5d70..21c629c 100644
--- a/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
+++ b/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
@@ -72,13 +72,19 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['vids'] = array('default' => array());
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     $vocabularies = $this->vocabularyStorage->loadMultiple();
     $options = array();
     foreach ($vocabularies as $voc) {
diff --git a/core/modules/taxonomy/src/Tests/EfqTest.php b/core/modules/taxonomy/src/Tests/EfqTest.php
index 80cf580..d328f1d 100644
--- a/core/modules/taxonomy/src/Tests/EfqTest.php
+++ b/core/modules/taxonomy/src/Tests/EfqTest.php
@@ -16,7 +16,10 @@ class EfqTest extends TaxonomyTestBase {
    */
   protected $vocabulary;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(['administer taxonomy']));
     $this->vocabulary = $this->createVocabulary();
diff --git a/core/modules/taxonomy/src/Tests/LegacyTest.php b/core/modules/taxonomy/src/Tests/LegacyTest.php
index b842226..f60f620 100644
--- a/core/modules/taxonomy/src/Tests/LegacyTest.php
+++ b/core/modules/taxonomy/src/Tests/LegacyTest.php
@@ -20,7 +20,10 @@ class LegacyTest extends TaxonomyTestBase {
    */
   public static $modules = array('node', 'datetime');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a tags vocabulary for the 'article' content type.
diff --git a/core/modules/taxonomy/src/Tests/LoadMultipleTest.php b/core/modules/taxonomy/src/Tests/LoadMultipleTest.php
index 1076f41..f707523 100644
--- a/core/modules/taxonomy/src/Tests/LoadMultipleTest.php
+++ b/core/modules/taxonomy/src/Tests/LoadMultipleTest.php
@@ -11,7 +11,10 @@
  */
 class LoadMultipleTest extends TaxonomyTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(['administer taxonomy']));
   }
diff --git a/core/modules/taxonomy/src/Tests/RssTest.php b/core/modules/taxonomy/src/Tests/RssTest.php
index 3350b33..1b020b9 100644
--- a/core/modules/taxonomy/src/Tests/RssTest.php
+++ b/core/modules/taxonomy/src/Tests/RssTest.php
@@ -34,7 +34,10 @@ class RssTest extends TaxonomyTestBase {
    */
   protected $fieldName;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalLogin($this->drupalCreateUser(['administer taxonomy', 'bypass node access', 'administer content types', 'administer node display']));
diff --git a/core/modules/taxonomy/src/Tests/TaxonomyImageTest.php b/core/modules/taxonomy/src/Tests/TaxonomyImageTest.php
index ccdccb5..5e4b010 100644
--- a/core/modules/taxonomy/src/Tests/TaxonomyImageTest.php
+++ b/core/modules/taxonomy/src/Tests/TaxonomyImageTest.php
@@ -28,7 +28,10 @@ class TaxonomyImageTest extends TaxonomyTestBase {
    */
   public static $modules = array('image');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Remove access content permission from registered users.
@@ -66,7 +69,10 @@ protected function setUp() {
       ->save();
   }
 
-  public function testTaxonomyImageAccess() {
+  /**
+ *
+ */
+public function testTaxonomyImageAccess() {
     $user = $this->drupalCreateUser(array('administer site configuration', 'administer taxonomy', 'access user profiles'));
     $this->drupalLogin($user);
 
diff --git a/core/modules/taxonomy/src/Tests/TaxonomyTermIndentationTest.php b/core/modules/taxonomy/src/Tests/TaxonomyTermIndentationTest.php
index 6043d77..f6e57fb 100644
--- a/core/modules/taxonomy/src/Tests/TaxonomyTermIndentationTest.php
+++ b/core/modules/taxonomy/src/Tests/TaxonomyTermIndentationTest.php
@@ -23,7 +23,10 @@ class TaxonomyTermIndentationTest extends TaxonomyTestBase {
    */
   protected $vocabulary;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(['administer taxonomy', 'bypass node access']));
     $this->vocabulary = $this->createVocabulary();
diff --git a/core/modules/taxonomy/src/Tests/TermIndexTest.php b/core/modules/taxonomy/src/Tests/TermIndexTest.php
index 2ec8bc3..f818944 100644
--- a/core/modules/taxonomy/src/Tests/TermIndexTest.php
+++ b/core/modules/taxonomy/src/Tests/TermIndexTest.php
@@ -40,7 +40,10 @@ class TermIndexTest extends TaxonomyTestBase {
    */
   protected $fieldName2;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrative user.
diff --git a/core/modules/taxonomy/src/Tests/TermLanguageTest.php b/core/modules/taxonomy/src/Tests/TermLanguageTest.php
index 39248ca..55d6fb2 100644
--- a/core/modules/taxonomy/src/Tests/TermLanguageTest.php
+++ b/core/modules/taxonomy/src/Tests/TermLanguageTest.php
@@ -21,7 +21,10 @@ class TermLanguageTest extends TaxonomyTestBase {
    */
   protected $vocabulary;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrative user.
@@ -39,7 +42,10 @@ protected function setUp() {
     }
   }
 
-  function testTermLanguage() {
+  /**
+ *
+ */
+function testTermLanguage() {
     // Configure the vocabulary to not hide the language selector.
     $edit = array(
       'default_language[language_alterable]' => TRUE,
@@ -73,7 +79,10 @@ function testTermLanguage() {
     $this->assertOptionSelected('edit-langcode-0-value', $edit['langcode[0][value]'], 'The term language was correctly selected.');
   }
 
-  function testDefaultTermLanguage() {
+  /**
+ *
+ */
+function testDefaultTermLanguage() {
     // Configure the vocabulary to not hide the language selector, and make the
     // default language of the terms fixed.
     $edit = array(
diff --git a/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php b/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php
index 18cf720..4d3a2cd 100644
--- a/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php
+++ b/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php
@@ -41,7 +41,10 @@ class TermTranslationFieldViewTest extends TaxonomyTestBase {
    */
   public static $modules = array('language', 'content_translation', 'taxonomy');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->setupLanguages();
     $this->vocabulary = $this->createVocabulary();
diff --git a/core/modules/taxonomy/src/Tests/TermTranslationUITest.php b/core/modules/taxonomy/src/Tests/TermTranslationUITest.php
index e59f7ac..ef4e501 100644
--- a/core/modules/taxonomy/src/Tests/TermTranslationUITest.php
+++ b/core/modules/taxonomy/src/Tests/TermTranslationUITest.php
@@ -27,7 +27,10 @@ class TermTranslationUITest extends ContentTranslationUITestBase {
    */
   public static $modules = array('language', 'content_translation', 'taxonomy');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->entityTypeId = 'taxonomy_term';
     $this->bundle = 'tags';
     parent::setUp();
diff --git a/core/modules/taxonomy/src/Tests/ThemeTest.php b/core/modules/taxonomy/src/Tests/ThemeTest.php
index abf3eea..2061d8d 100644
--- a/core/modules/taxonomy/src/Tests/ThemeTest.php
+++ b/core/modules/taxonomy/src/Tests/ThemeTest.php
@@ -9,7 +9,10 @@
  */
 class ThemeTest extends TaxonomyTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Make sure we are using distinct default and administrative themes for
diff --git a/core/modules/taxonomy/src/Tests/TokenReplaceTest.php b/core/modules/taxonomy/src/Tests/TokenReplaceTest.php
index 2a55a6d..3c7c278 100644
--- a/core/modules/taxonomy/src/Tests/TokenReplaceTest.php
+++ b/core/modules/taxonomy/src/Tests/TokenReplaceTest.php
@@ -27,7 +27,10 @@ class TokenReplaceTest extends TaxonomyTestBase {
    */
   protected $fieldName;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(['administer taxonomy', 'bypass node access']));
     $this->vocabulary = $this->createVocabulary();
diff --git a/core/modules/taxonomy/src/Tests/Views/ArgumentValidatorTermTest.php b/core/modules/taxonomy/src/Tests/Views/ArgumentValidatorTermTest.php
index 1630e0f..21e64e8 100644
--- a/core/modules/taxonomy/src/Tests/Views/ArgumentValidatorTermTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/ArgumentValidatorTermTest.php
@@ -47,7 +47,10 @@ class ArgumentValidatorTermTest extends TaxonomyTestBase {
    */
   public static $testViews = ['test_argument_validator_term'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Add three terms to the 'tags' vocabulary.
diff --git a/core/modules/taxonomy/src/Tests/Views/RelationshipNodeTermDataTest.php b/core/modules/taxonomy/src/Tests/Views/RelationshipNodeTermDataTest.php
index c38c45c..b5878f6 100644
--- a/core/modules/taxonomy/src/Tests/Views/RelationshipNodeTermDataTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/RelationshipNodeTermDataTest.php
@@ -18,7 +18,10 @@ class RelationshipNodeTermDataTest extends TaxonomyTestBase {
    */
   public static $testViews = array('test_taxonomy_node_term_data');
 
-  function testViewsHandlerRelationshipNodeTermData() {
+  /**
+ *
+ */
+function testViewsHandlerRelationshipNodeTermData() {
     $view = Views::getView('test_taxonomy_node_term_data');
     // Tests \Drupal\taxonomy\Plugin\views\relationship\NodeTermData::calculateDependencies().
     $expected = [
diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyDefaultArgumentTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyDefaultArgumentTest.php
index 3e633d8..a83d034 100644
--- a/core/modules/taxonomy/src/Tests/Views/TaxonomyDefaultArgumentTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyDefaultArgumentTest.php
@@ -39,7 +39,10 @@ public function testNodePath() {
     $this->assertEqual($expected, $view->argument['tid']->getDefaultArgument());
   }
 
-  public function testTermPath() {
+  /**
+ *
+ */
+public function testTermPath() {
     $view = Views::getView('taxonomy_default_argument_test');
 
     $request = Request::create($this->term1->url());
diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldFilterTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldFilterTest.php
index fb0c0df..4a63b85 100644
--- a/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldFilterTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldFilterTest.php
@@ -45,7 +45,10 @@ class TaxonomyFieldFilterTest extends ViewTestBase {
    */
   public $termNames = [];
 
-  function setUp() {
+  /**
+ *
+ */
+function setUp() {
     parent::setUp();
 
     // Add two new languages.
diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldTidTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldTidTest.php
index 6480491..50071bf 100644
--- a/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldTidTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldTidTest.php
@@ -19,7 +19,10 @@ class TaxonomyFieldTidTest extends TaxonomyTestBase {
    */
   public static $testViews = array('test_taxonomy_tid_field');
 
-  function testViewsHandlerTidField() {
+  /**
+ *
+ */
+function testViewsHandlerTidField() {
     /** @var \Drupal\Core\Render\RendererInterface $renderer */
     $renderer = \Drupal::service('renderer');
 
diff --git a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php
index c8d33a3..8492ea5 100644
--- a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php
+++ b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php
@@ -21,7 +21,10 @@ class VocabularyCrudTest extends TaxonomyTestBase {
    */
   public static $modules = array('field_test', 'taxonomy_crud');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $admin_user = $this->drupalCreateUser(array('create article content', 'administer taxonomy'));
diff --git a/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php b/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php
index 5810626..9d87b08 100644
--- a/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php
+++ b/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php
@@ -15,7 +15,10 @@ class VocabularyLanguageTest extends TaxonomyTestBase {
 
   public static $modules = array('language');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrative user.
diff --git a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php
index 8011fd4..8a6dc6a 100644
--- a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php
+++ b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php
@@ -9,7 +9,10 @@
  */
 class VocabularyPermissionsTest extends TaxonomyTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/taxonomy/src/Tests/VocabularyUiTest.php b/core/modules/taxonomy/src/Tests/VocabularyUiTest.php
index 8d2b85b..8137aec 100644
--- a/core/modules/taxonomy/src/Tests/VocabularyUiTest.php
+++ b/core/modules/taxonomy/src/Tests/VocabularyUiTest.php
@@ -20,7 +20,10 @@ class VocabularyUiTest extends TaxonomyTestBase {
    */
   protected $vocabulary;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalLogin($this->drupalCreateUser(['administer taxonomy']));
     $this->vocabulary = $this->createVocabulary();
diff --git a/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php b/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php
index dcd4967..90d08d1 100644
--- a/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php
+++ b/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class TaxonomyLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array('taxonomy' => 'core/modules/taxonomy');
     parent::setUp();
   }
diff --git a/core/modules/telephone/src/Tests/TelephoneFieldTest.php b/core/modules/telephone/src/Tests/TelephoneFieldTest.php
index a7497c9..5c4080f 100644
--- a/core/modules/telephone/src/Tests/TelephoneFieldTest.php
+++ b/core/modules/telephone/src/Tests/TelephoneFieldTest.php
@@ -31,7 +31,10 @@ class TelephoneFieldTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'article'));
diff --git a/core/modules/telephone/tests/src/Kernel/TelephoneItemTest.php b/core/modules/telephone/tests/src/Kernel/TelephoneItemTest.php
index 2187c36..03d8881 100644
--- a/core/modules/telephone/tests/src/Kernel/TelephoneItemTest.php
+++ b/core/modules/telephone/tests/src/Kernel/TelephoneItemTest.php
@@ -23,7 +23,10 @@ class TelephoneItemTest extends FieldKernelTestBase {
    */
   public static $modules = array('telephone');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create a telephone field storage and field for validation.
diff --git a/core/modules/text/src/Tests/TextFieldTest.php b/core/modules/text/src/Tests/TextFieldTest.php
index fcec361..c6cbc26 100644
--- a/core/modules/text/src/Tests/TextFieldTest.php
+++ b/core/modules/text/src/Tests/TextFieldTest.php
@@ -22,7 +22,10 @@ class TextFieldTest extends StringFieldTest {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('administer filters'));
diff --git a/core/modules/text/tests/src/Kernel/TextSummaryTest.php b/core/modules/text/tests/src/Kernel/TextSummaryTest.php
index abc0b68..e41204b 100644
--- a/core/modules/text/tests/src/Kernel/TextSummaryTest.php
+++ b/core/modules/text/tests/src/Kernel/TextSummaryTest.php
@@ -14,7 +14,10 @@ class TextSummaryTest extends KernelTestBase {
 
   public static $modules = array('system', 'user', 'filter', 'text');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installConfig(array('text'));
diff --git a/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php b/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
index 4ee40d6..40d48b7 100644
--- a/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
+++ b/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
@@ -38,7 +38,10 @@ class TextWithSummaryItemTest extends FieldKernelTestBase {
   protected $field;
 
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test_rev');
diff --git a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php
index 8e4482f..8cc5b2d 100644
--- a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php
+++ b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php
@@ -55,7 +55,10 @@ class ToolbarAdminMenuTest extends WebTestBase {
    */
   public static $modules = array('node', 'block', 'menu_ui', 'user', 'taxonomy', 'toolbar', 'language', 'test_page_test', 'locale');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $perms = array(
diff --git a/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php b/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php
index 7cff043..79656ec 100644
--- a/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php
+++ b/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php
@@ -25,7 +25,10 @@ class ToolbarHookToolbarTest extends WebTestBase {
    */
   public static $modules = array('toolbar', 'toolbar_test', 'test_page_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrative user and log it in.
diff --git a/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php b/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php
index 8fa2bed5..e262415 100644
--- a/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php
+++ b/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php
@@ -25,7 +25,10 @@ class ToolbarMenuTranslationTest extends WebTestBase {
    */
   public static $modules = array('toolbar', 'toolbar_test', 'locale', 'locale_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an administrative user and log it in.
diff --git a/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php b/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
index 01ca004..95a490a 100644
--- a/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
+++ b/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
@@ -20,7 +20,10 @@ class AllowToolbarPathTest extends UnitTestCase {
    */
   protected $policy;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->policy = new AllowToolbarPath();
   }
 
diff --git a/core/modules/tour/src/Tests/TourTestBasic.php b/core/modules/tour/src/Tests/TourTestBasic.php
index e79eb2b..b15d870 100644
--- a/core/modules/tour/src/Tests/TourTestBasic.php
+++ b/core/modules/tour/src/Tests/TourTestBasic.php
@@ -39,7 +39,10 @@
    */
   protected $permissions = array('access tour');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Make sure we are using distinct default and administrative themes for
diff --git a/core/modules/tour/tests/src/Kernel/TourPluginTest.php b/core/modules/tour/tests/src/Kernel/TourPluginTest.php
index 9278e2e..4f41817 100644
--- a/core/modules/tour/tests/src/Kernel/TourPluginTest.php
+++ b/core/modules/tour/tests/src/Kernel/TourPluginTest.php
@@ -25,7 +25,10 @@ class TourPluginTest extends KernelTestBase {
    */
   protected $pluginManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installConfig(array('tour'));
diff --git a/core/modules/tour/tests/src/Unit/Entity/TourTest.php b/core/modules/tour/tests/src/Unit/Entity/TourTest.php
index f08ea2d..74d8aef 100644
--- a/core/modules/tour/tests/src/Unit/Entity/TourTest.php
+++ b/core/modules/tour/tests/src/Unit/Entity/TourTest.php
@@ -41,9 +41,11 @@ public function testHasMatchingRoute($routes, $route_name, $route_params, $resul
     $tour->resetKeyedRoutes();
   }
 
-  /*
-   * Provides sample routes for testing.
-   */
+  /**
+ *
+ *Provides sample routes for testing.
+ 
+ */
   public function routeProvider() {
     return array(
       // Simple match.
diff --git a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php
index 30934d0..9224dd6 100644
--- a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php
+++ b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php
@@ -23,7 +23,10 @@ class TrackerNodeAccessTest extends WebTestBase {
    */
   public static $modules = array('node', 'comment', 'tracker', 'node_access_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     node_access_rebuild();
     $this->drupalCreateContentType(array('type' => 'page'));
diff --git a/core/modules/tracker/src/Tests/TrackerTest.php b/core/modules/tracker/src/Tests/TrackerTest.php
index fa533c1..8b60bc0 100644
--- a/core/modules/tracker/src/Tests/TrackerTest.php
+++ b/core/modules/tracker/src/Tests/TrackerTest.php
@@ -43,7 +43,10 @@ class TrackerTest extends WebTestBase {
    */
   protected $otherUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/tracker/src/Tests/Views/TrackerTestBase.php b/core/modules/tracker/src/Tests/Views/TrackerTestBase.php
index 7b2f946..6cc0fa0 100644
--- a/core/modules/tracker/src/Tests/Views/TrackerTestBase.php
+++ b/core/modules/tracker/src/Tests/Views/TrackerTestBase.php
@@ -36,7 +36,10 @@
    */
   protected $comment;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('tracker_test_views'));
diff --git a/core/modules/update/src/Tests/UpdateContribTest.php b/core/modules/update/src/Tests/UpdateContribTest.php
index 923b5d5..c555c65 100644
--- a/core/modules/update/src/Tests/UpdateContribTest.php
+++ b/core/modules/update/src/Tests/UpdateContribTest.php
@@ -20,7 +20,10 @@ class UpdateContribTest extends UpdateTestBase {
    */
   public static $modules = array('update_test', 'update', 'aaa_update_test', 'bbb_update_test', 'ccc_update_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer site configuration'));
     $this->drupalLogin($admin_user);
diff --git a/core/modules/update/src/Tests/UpdateCoreTest.php b/core/modules/update/src/Tests/UpdateCoreTest.php
index 799d5a9..540143c 100644
--- a/core/modules/update/src/Tests/UpdateCoreTest.php
+++ b/core/modules/update/src/Tests/UpdateCoreTest.php
@@ -19,7 +19,10 @@ class UpdateCoreTest extends UpdateTestBase {
    */
   public static $modules = ['update_test', 'update', 'language', 'block'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer site configuration', 'administer modules', 'administer themes'));
     $this->drupalLogin($admin_user);
diff --git a/core/modules/update/src/Tests/UpdateTestBase.php b/core/modules/update/src/Tests/UpdateTestBase.php
index 24eb2aa..b7ab966 100644
--- a/core/modules/update/src/Tests/UpdateTestBase.php
+++ b/core/modules/update/src/Tests/UpdateTestBase.php
@@ -25,7 +25,10 @@
  */
 abstract class UpdateTestBase extends WebTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Change the root path which Update Manager uses to install and update
diff --git a/core/modules/update/src/Tests/UpdateUploadTest.php b/core/modules/update/src/Tests/UpdateUploadTest.php
index 1605f2e..9f96dd6 100644
--- a/core/modules/update/src/Tests/UpdateUploadTest.php
+++ b/core/modules/update/src/Tests/UpdateUploadTest.php
@@ -20,7 +20,10 @@ class UpdateUploadTest extends UpdateTestBase {
    */
   public static $modules = array('update', 'update_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer modules', 'administer software updates', 'administer site configuration'));
     $this->drupalLogin($admin_user);
diff --git a/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php b/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php
index f57997f..5d7c3bf 100644
--- a/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php
+++ b/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class UpdateLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array('update' => 'core/modules/update');
     parent::setUp();
   }
diff --git a/core/modules/user/src/Plugin/Search/UserSearch.php b/core/modules/user/src/Plugin/Search/UserSearch.php
index 5332939..0e58a17 100644
--- a/core/modules/user/src/Plugin/Search/UserSearch.php
+++ b/core/modules/user/src/Plugin/Search/UserSearch.php
@@ -158,9 +158,11 @@ public function execute() {
     return $results;
   }
 
-  /*
-   * {@inheritdoc}
-   */
+  /**
+ *
+ *{@inheritdoc}
+ 
+ */
   public function getHelp() {
     $help = array('list' => array(
       '#theme' => 'item_list',
diff --git a/core/modules/user/src/Plugin/views/access/Permission.php b/core/modules/user/src/Plugin/views/access/Permission.php
index d2d757b..5e205b0 100644
--- a/core/modules/user/src/Plugin/views/access/Permission.php
+++ b/core/modules/user/src/Plugin/views/access/Permission.php
@@ -91,7 +91,10 @@ public function alterRouteDefinition(Route $route) {
     $route->setRequirement('_permission', $this->options['perm']);
   }
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     $permissions = $this->permissionHandler->getPermissions();
     if (isset($permissions[$this->options['perm']])) {
       return $permissions[$this->options['perm']]['title'];
@@ -101,14 +104,20 @@ public function summaryTitle() {
   }
 
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['perm'] = array('default' => 'access content');
 
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     // Get list of permissions
     $perms = [];
diff --git a/core/modules/user/src/Plugin/views/access/Role.php b/core/modules/user/src/Plugin/views/access/Role.php
index 2e5b6b4..68fe5c7 100644
--- a/core/modules/user/src/Plugin/views/access/Role.php
+++ b/core/modules/user/src/Plugin/views/access/Role.php
@@ -81,7 +81,10 @@ public function alterRouteDefinition(Route $route) {
     }
   }
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     $count = count($this->options['role']);
     if ($count < 1) {
       return $this->t('No role(s) selected');
@@ -97,14 +100,20 @@ public function summaryTitle() {
   }
 
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['role'] = array('default' => array());
 
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     $form['role'] = array(
       '#type' => 'checkboxes',
@@ -115,7 +124,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function validateOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     $role = $form_state->getValue(array('access_options', 'role'));
     $role = array_filter($role);
 
diff --git a/core/modules/user/src/Plugin/views/field/Permissions.php b/core/modules/user/src/Plugin/views/field/Permissions.php
index 42c78d2..b3602f5 100644
--- a/core/modules/user/src/Plugin/views/field/Permissions.php
+++ b/core/modules/user/src/Plugin/views/field/Permissions.php
@@ -69,12 +69,18 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->additional_fields['uid'] = array('table' => 'users_field_data', 'field' => 'uid');
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->addAdditionalFields();
     $this->field_alias = $this->aliases['uid'];
   }
 
-  public function preRender(&$values) {
+  /**
+ *
+ */
+public function preRender(&$values) {
     $uids = array();
     $this->items = array();
 
@@ -108,7 +114,10 @@ public function preRender(&$values) {
     }
   }
 
-  function render_item($count, $item) {
+  /**
+ *
+ */
+function render_item($count, $item) {
     return $item['permission'];
   }
 
diff --git a/core/modules/user/src/Plugin/views/field/Roles.php b/core/modules/user/src/Plugin/views/field/Roles.php
index 9d8edc0..190ffc8 100644
--- a/core/modules/user/src/Plugin/views/field/Roles.php
+++ b/core/modules/user/src/Plugin/views/field/Roles.php
@@ -58,12 +58,18 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->additional_fields['uid'] = array('table' => 'users_field_data', 'field' => 'uid');
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->addAdditionalFields();
     $this->field_alias = $this->aliases['uid'];
   }
 
-  public function preRender(&$values) {
+  /**
+ *
+ */
+public function preRender(&$values) {
     $uids = array();
     $this->items = array();
 
@@ -90,16 +96,25 @@ public function preRender(&$values) {
     }
   }
 
-  function render_item($count, $item) {
+  /**
+ *
+ */
+function render_item($count, $item) {
     return $item['role'];
   }
 
-  protected function documentSelfTokens(&$tokens) {
+  /**
+ *
+ */
+protected function documentSelfTokens(&$tokens) {
     $tokens['{{ ' . $this->options['id'] . '__role' . ' }}'] = $this->t('The name of the role.');
     $tokens['{{ ' . $this->options['id'] . '__rid' . ' }}'] = $this->t('The role machine-name of the role.');
   }
 
-  protected function addSelfTokens(&$tokens, $item) {
+  /**
+ *
+ */
+protected function addSelfTokens(&$tokens, $item) {
     if (!empty($item['role'])) {
       $tokens['{{ ' . $this->options['id'] . '__role' . ' }}'] = $item['role'];
       $tokens['{{ ' . $this->options['id'] . '__rid' . ' }}'] = $item['rid'];
diff --git a/core/modules/user/src/Plugin/views/filter/Current.php b/core/modules/user/src/Plugin/views/filter/Current.php
index e712673..c418e4e 100644
--- a/core/modules/user/src/Plugin/views/filter/Current.php
+++ b/core/modules/user/src/Plugin/views/filter/Current.php
@@ -24,7 +24,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->value_value = $this->t('Is the logged in user');
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
 
     $field = $this->tableAlias . '.' . $this->realField . ' ';
diff --git a/core/modules/user/src/Plugin/views/filter/Name.php b/core/modules/user/src/Plugin/views/filter/Name.php
index 7554adf..1d32c29 100644
--- a/core/modules/user/src/Plugin/views/filter/Name.php
+++ b/core/modules/user/src/Plugin/views/filter/Name.php
@@ -18,7 +18,10 @@ class Name extends InOperator {
 
   protected $alwaysMultiple = TRUE;
 
-  protected function valueForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueForm(&$form, FormStateInterface $form_state) {
     $users = $this->value ? User::loadMultiple($this->value) : array();
     $default_value = EntityAutocomplete::getEntityLabels($users);
     $form['value'] = array(
@@ -38,7 +41,10 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  protected function valueValidate($form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueValidate($form, FormStateInterface $form_state) {
     $uids = [];
     if ($values = $form_state->getValue(array('options', 'value'))) {
       foreach ($values as $value) {
@@ -49,7 +55,10 @@ protected function valueValidate($form, FormStateInterface $form_state) {
     $form_state->setValue(array('options', 'value'), $uids);
   }
 
-  public function acceptExposedInput($input) {
+  /**
+ *
+ */
+public function acceptExposedInput($input) {
     $rc = parent::acceptExposedInput($input);
 
     if ($rc) {
@@ -62,7 +71,10 @@ public function acceptExposedInput($input) {
     return $rc;
   }
 
-  public function validateExposed(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateExposed(&$form, FormStateInterface $form_state) {
     if (empty($this->options['exposed'])) {
       return;
     }
@@ -92,7 +104,10 @@ public function validateExposed(&$form, FormStateInterface $form_state) {
     }
   }
 
-  protected function valueSubmit($form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueSubmit($form, FormStateInterface $form_state) {
     // prevent array filter from removing our anonymous user.
   }
 
@@ -103,7 +118,10 @@ public function getValueOptions() {
     return $this->valueOptions;
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     // set up $this->valueOptions for the parent summary
     $this->valueOptions = array();
 
diff --git a/core/modules/user/src/Plugin/views/filter/Permissions.php b/core/modules/user/src/Plugin/views/filter/Permissions.php
index 7d444c6..09bacc7 100644
--- a/core/modules/user/src/Plugin/views/filter/Permissions.php
+++ b/core/modules/user/src/Plugin/views/filter/Permissions.php
@@ -65,7 +65,10 @@ public static function create(ContainerInterface $container, array $configuratio
     );
   }
 
-  public function getValueOptions() {
+  /**
+ *
+ */
+public function getValueOptions() {
     if (!isset($this->valueOptions)) {
       $permissions = $this->permissionHandler->getPermissions();
       foreach ($permissions as $perm => $perm_item) {
diff --git a/core/modules/user/src/Plugin/views/filter/Roles.php b/core/modules/user/src/Plugin/views/filter/Roles.php
index 64074c3..25e2e78 100644
--- a/core/modules/user/src/Plugin/views/filter/Roles.php
+++ b/core/modules/user/src/Plugin/views/filter/Roles.php
@@ -52,7 +52,10 @@ public static function create(ContainerInterface $container, array $configuratio
     );
   }
 
-  public function getValueOptions() {
+  /**
+ *
+ */
+public function getValueOptions() {
     $this->valueOptions = user_role_names(TRUE);
     unset($this->valueOptions[RoleInterface::AUTHENTICATED_ID]);
     return $this->valueOptions;
diff --git a/core/modules/user/src/Tests/UserAdminLanguageTest.php b/core/modules/user/src/Tests/UserAdminLanguageTest.php
index 68ebfad..05e54c1 100644
--- a/core/modules/user/src/Tests/UserAdminLanguageTest.php
+++ b/core/modules/user/src/Tests/UserAdminLanguageTest.php
@@ -33,7 +33,10 @@ class UserAdminLanguageTest extends WebTestBase {
    */
   public static $modules = array('user', 'language', 'language_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // User to add and remove language.
     $this->adminUser = $this->drupalCreateUser(array('administer languages', 'access administration pages'));
@@ -152,8 +155,8 @@ function testActualNegotiation() {
    * @param bool $admin_first
    *   Whether the admin negotiation should be first.
    *
-   * Enables the "Account preference for administration pages" language
-   * detection method for the User interface language negotiation type.
+   *   Enables the "Account preference for administration pages" language
+   *   detection method for the User interface language negotiation type.
    */
   function setLanguageNegotiation($admin_first = FALSE) {
     $edit = array(
diff --git a/core/modules/user/src/Tests/UserAdminSettingsFormTest.php b/core/modules/user/src/Tests/UserAdminSettingsFormTest.php
index aef94e6..152e801 100644
--- a/core/modules/user/src/Tests/UserAdminSettingsFormTest.php
+++ b/core/modules/user/src/Tests/UserAdminSettingsFormTest.php
@@ -12,7 +12,10 @@
  */
 class UserAdminSettingsFormTest extends SystemConfigFormTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->form = AccountSettingsForm::create($this->container);
diff --git a/core/modules/user/src/Tests/UserBlocksTest.php b/core/modules/user/src/Tests/UserBlocksTest.php
index dff52b5..cc67aae 100644
--- a/core/modules/user/src/Tests/UserBlocksTest.php
+++ b/core/modules/user/src/Tests/UserBlocksTest.php
@@ -25,7 +25,10 @@ class UserBlocksTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('administer blocks'));
diff --git a/core/modules/user/src/Tests/UserCancelTest.php b/core/modules/user/src/Tests/UserCancelTest.php
index 2dd8006..41baac8 100644
--- a/core/modules/user/src/Tests/UserCancelTest.php
+++ b/core/modules/user/src/Tests/UserCancelTest.php
@@ -24,7 +24,10 @@ class UserCancelTest extends WebTestBase {
    */
   public static $modules = array('node', 'comment');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/user/src/Tests/UserEditedOwnAccountTest.php b/core/modules/user/src/Tests/UserEditedOwnAccountTest.php
index ce1b91f..01f77c8 100644
--- a/core/modules/user/src/Tests/UserEditedOwnAccountTest.php
+++ b/core/modules/user/src/Tests/UserEditedOwnAccountTest.php
@@ -18,7 +18,10 @@ class UserEditedOwnAccountTest extends WebTestBase {
    */
   public static $modules = array('user_form_test');
 
-  function testUserEditedOwnAccount() {
+  /**
+ *
+ */
+function testUserEditedOwnAccount() {
     // Change account setting 'Who can register accounts?' to Administrators
     // only.
     $this->config('user.settings')->set('register', USER_REGISTER_ADMINISTRATORS_ONLY)->save();
diff --git a/core/modules/user/src/Tests/UserEntityCallbacksTest.php b/core/modules/user/src/Tests/UserEntityCallbacksTest.php
index 944b352..069d711 100644
--- a/core/modules/user/src/Tests/UserEntityCallbacksTest.php
+++ b/core/modules/user/src/Tests/UserEntityCallbacksTest.php
@@ -34,7 +34,10 @@ class UserEntityCallbacksTest extends WebTestBase {
    */
   protected $anonymous;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->account = $this->drupalCreateUser();
diff --git a/core/modules/user/src/Tests/UserPermissionsTest.php b/core/modules/user/src/Tests/UserPermissionsTest.php
index 5e3ecd5..4cc5589 100644
--- a/core/modules/user/src/Tests/UserPermissionsTest.php
+++ b/core/modules/user/src/Tests/UserPermissionsTest.php
@@ -28,7 +28,10 @@ class UserPermissionsTest extends WebTestBase {
    */
   protected $rid;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->adminUser = $this->drupalCreateUser(array('administer permissions', 'access user profiles', 'administer site configuration', 'administer modules', 'administer account settings'));
diff --git a/core/modules/user/src/Tests/UserPictureTest.php b/core/modules/user/src/Tests/UserPictureTest.php
index 03c453a..b005bcc 100644
--- a/core/modules/user/src/Tests/UserPictureTest.php
+++ b/core/modules/user/src/Tests/UserPictureTest.php
@@ -30,7 +30,10 @@ class UserPictureTest extends WebTestBase {
    */
   protected $webUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->webUser = $this->drupalCreateUser(array(
diff --git a/core/modules/user/src/Tests/UserRegistrationTest.php b/core/modules/user/src/Tests/UserRegistrationTest.php
index 56f21e4..972e646 100644
--- a/core/modules/user/src/Tests/UserRegistrationTest.php
+++ b/core/modules/user/src/Tests/UserRegistrationTest.php
@@ -23,7 +23,10 @@ class UserRegistrationTest extends WebTestBase {
    */
   public static $modules = array('field_test');
 
-  function testRegistrationWithEmailVerification() {
+  /**
+ *
+ */
+function testRegistrationWithEmailVerification() {
     $config = $this->config('user.settings');
     // Require email verification.
     $config->set('verify_mail', TRUE)->save();
@@ -59,7 +62,10 @@ function testRegistrationWithEmailVerification() {
     $this->assertFalse($new_user->isActive(), 'New account is blocked until approved by an administrator.');
   }
 
-  function testRegistrationWithoutEmailVerification() {
+  /**
+ *
+ */
+function testRegistrationWithoutEmailVerification() {
     $config = $this->config('user.settings');
     // Don't require email verification and allow registration by site visitors
     // without administrator approval.
@@ -123,7 +129,10 @@ function testRegistrationWithoutEmailVerification() {
     $this->assertText(t('Member for'), 'User can log in after administrator approval.');
   }
 
-  function testRegistrationEmailDuplicates() {
+  /**
+ *
+ */
+function testRegistrationEmailDuplicates() {
     // Don't require email verification and allow registration by site visitors
     // without administrator approval.
     $this->config('user.settings')
@@ -218,7 +227,10 @@ public function testUuidFormState() {
     $this->assertTrue($user_storage->loadByProperties(['name' => $edit['name']]));
   }
 
-  function testRegistrationDefaultValues() {
+  /**
+ *
+ */
+function testRegistrationDefaultValues() {
     // Don't require email verification and allow registration by site visitors
     // without administrator approval.
     $config_user_settings = $this->config('user.settings')
diff --git a/core/modules/user/src/Tests/UserRolesAssignmentTest.php b/core/modules/user/src/Tests/UserRolesAssignmentTest.php
index 544e4bb..ede515f 100644
--- a/core/modules/user/src/Tests/UserRolesAssignmentTest.php
+++ b/core/modules/user/src/Tests/UserRolesAssignmentTest.php
@@ -11,7 +11,10 @@
  */
 class UserRolesAssignmentTest extends WebTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer permissions', 'administer users'));
     $this->drupalLogin($admin_user);
diff --git a/core/modules/user/src/Tests/UserSearchTest.php b/core/modules/user/src/Tests/UserSearchTest.php
index 6a73770..95ed4f4 100644
--- a/core/modules/user/src/Tests/UserSearchTest.php
+++ b/core/modules/user/src/Tests/UserSearchTest.php
@@ -19,7 +19,10 @@ class UserSearchTest extends WebTestBase {
    */
   public static $modules = array('search');
 
-  function testUserSearch() {
+  /**
+ *
+ */
+function testUserSearch() {
     // Verify that a user without 'administer users' permission cannot search
     // for users by email address.
     $user1 = $this->drupalCreateUser(array('access user profiles', 'search content'));
diff --git a/core/modules/user/src/Tests/UserTranslationUITest.php b/core/modules/user/src/Tests/UserTranslationUITest.php
index ec38cb3..dfba113 100644
--- a/core/modules/user/src/Tests/UserTranslationUITest.php
+++ b/core/modules/user/src/Tests/UserTranslationUITest.php
@@ -25,7 +25,10 @@ class UserTranslationUITest extends ContentTranslationUITestBase {
    */
   public static $modules = array('language', 'content_translation', 'user', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->entityTypeId = 'user';
     $this->testLanguageSelector = FALSE;
     $this->name = $this->randomMachineName();
diff --git a/core/modules/user/src/Tests/Views/ArgumentDefaultTest.php b/core/modules/user/src/Tests/Views/ArgumentDefaultTest.php
index 4e21d79..1cfcbc4 100644
--- a/core/modules/user/src/Tests/Views/ArgumentDefaultTest.php
+++ b/core/modules/user/src/Tests/Views/ArgumentDefaultTest.php
@@ -18,7 +18,10 @@ class ArgumentDefaultTest extends UserTestBase {
    */
   public static $testViews = array('test_plugin_argument_default_current_user');
 
-  public function test_plugin_argument_default_current_user() {
+  /**
+ *
+ */
+public function test_plugin_argument_default_current_user() {
     // Create a user to test.
     $account = $this->drupalCreateUser();
 
diff --git a/core/modules/user/src/Tests/Views/ArgumentValidateTest.php b/core/modules/user/src/Tests/Views/ArgumentValidateTest.php
index 0a49142..08f1065 100644
--- a/core/modules/user/src/Tests/Views/ArgumentValidateTest.php
+++ b/core/modules/user/src/Tests/Views/ArgumentValidateTest.php
@@ -27,7 +27,10 @@ class ArgumentValidateTest extends UserTestBase {
    */
   protected $account;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->account = $this->drupalCreateUser();
diff --git a/core/modules/user/src/Tests/Views/FilterPermissionUiTest.php b/core/modules/user/src/Tests/Views/FilterPermissionUiTest.php
index e55c6c3..a1bd657 100644
--- a/core/modules/user/src/Tests/Views/FilterPermissionUiTest.php
+++ b/core/modules/user/src/Tests/Views/FilterPermissionUiTest.php
@@ -27,7 +27,10 @@ class FilterPermissionUiTest extends ViewTestBase {
    */
   public static $modules = ['user', 'user_test_views', 'views_ui'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp(TRUE);
 
     ViewTestData::createTestViews(get_class($this), array('user_test_views'));
diff --git a/core/modules/user/src/Tests/Views/HandlerFieldRoleTest.php b/core/modules/user/src/Tests/Views/HandlerFieldRoleTest.php
index de7c65c..a908ef2 100644
--- a/core/modules/user/src/Tests/Views/HandlerFieldRoleTest.php
+++ b/core/modules/user/src/Tests/Views/HandlerFieldRoleTest.php
@@ -20,7 +20,10 @@ class HandlerFieldRoleTest extends UserTestBase {
    */
   public static $testViews = array('test_views_handler_field_role');
 
-  public function testRole() {
+  /**
+ *
+ */
+public function testRole() {
     // Create a couple of roles for the view.
     $rolename_a = 'a' . $this->randomMachineName(8);
     $this->drupalCreateRole(array('access content'), $rolename_a, '<em>' . $rolename_a . '</em>', 9);
diff --git a/core/modules/user/src/Tests/Views/HandlerFieldUserNameTest.php b/core/modules/user/src/Tests/Views/HandlerFieldUserNameTest.php
index 6af1644..b9a9ae2 100644
--- a/core/modules/user/src/Tests/Views/HandlerFieldUserNameTest.php
+++ b/core/modules/user/src/Tests/Views/HandlerFieldUserNameTest.php
@@ -20,7 +20,10 @@ class HandlerFieldUserNameTest extends UserTestBase {
    */
   public static $testViews = array('test_views_handler_field_user_name');
 
-  public function testUserName() {
+  /**
+ *
+ */
+public function testUserName() {
     /** @var \Drupal\Core\Render\RendererInterface $renderer */
     $renderer = \Drupal::service('renderer');
 
diff --git a/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php b/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php
index e0cba5e..17aadab 100644
--- a/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php
+++ b/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php
@@ -51,7 +51,10 @@ class HandlerFilterUserNameTest extends ViewTestBase {
     'uid' => 'uid',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('user_test_views'));
diff --git a/core/modules/user/src/Tests/Views/UserChangedTest.php b/core/modules/user/src/Tests/Views/UserChangedTest.php
index 50e21e5..9bfc20c 100644
--- a/core/modules/user/src/Tests/Views/UserChangedTest.php
+++ b/core/modules/user/src/Tests/Views/UserChangedTest.php
@@ -26,7 +26,10 @@ class UserChangedTest extends ViewTestBase {
    */
   public static $testViews = array('test_user_changed');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('user_test_views'));
diff --git a/core/modules/user/src/Tests/Views/UserTestBase.php b/core/modules/user/src/Tests/Views/UserTestBase.php
index 4c8007a..a9d761e 100644
--- a/core/modules/user/src/Tests/Views/UserTestBase.php
+++ b/core/modules/user/src/Tests/Views/UserTestBase.php
@@ -32,7 +32,10 @@
    */
   protected $nodes = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('user_test_views'));
diff --git a/core/modules/user/tests/src/Kernel/TempStoreDatabaseTest.php b/core/modules/user/tests/src/Kernel/TempStoreDatabaseTest.php
index 254524a..68b9703 100644
--- a/core/modules/user/tests/src/Kernel/TempStoreDatabaseTest.php
+++ b/core/modules/user/tests/src/Kernel/TempStoreDatabaseTest.php
@@ -51,7 +51,10 @@ class TempStoreDatabaseTest extends KernelTestBase {
    */
   protected $objects = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Install system tables to test the key/value storage without installing a
diff --git a/core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php b/core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
index 1aefbcf..7a0091a 100644
--- a/core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
+++ b/core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
@@ -19,7 +19,10 @@ class UserRoleDeleteTest extends KernelTestBase {
    */
   public static $modules = array('system', 'user', 'field');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('user');
   }
diff --git a/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php b/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
index 00a29fc..c570de2 100644
--- a/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
+++ b/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
@@ -19,7 +19,10 @@ class UserSaveStatusTest extends KernelTestBase {
    */
   public static $modules = array('system', 'user', 'field');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('user');
   }
diff --git a/core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php b/core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php
index 075315c..32a1524 100644
--- a/core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php
+++ b/core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php
@@ -38,7 +38,10 @@
    */
   protected $userStorage;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     ViewTestData::createTestViews(get_class($this), array('user_test_views'));
diff --git a/core/modules/user/tests/src/Kernel/Views/UserViewsFieldAccessTest.php b/core/modules/user/tests/src/Kernel/Views/UserViewsFieldAccessTest.php
index f14779e..7ed176e 100644
--- a/core/modules/user/tests/src/Kernel/Views/UserViewsFieldAccessTest.php
+++ b/core/modules/user/tests/src/Kernel/Views/UserViewsFieldAccessTest.php
@@ -27,7 +27,10 @@ protected function setUp($import_test_views = TRUE) {
     $this->installEntitySchema('user');
   }
 
-  public function testUserFields() {
+  /**
+ *
+ */
+public function testUserFields() {
     ConfigurableLanguage::create([
       'id' => 'es',
       'name' => 'Spanish',
diff --git a/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php b/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php
index 97e9f33..1482f00 100644
--- a/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php
+++ b/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php
@@ -11,7 +11,10 @@
  */
 class UserLocalTasksTest extends LocalTaskIntegrationTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->directoryList = array('user' => 'core/modules/user');
     parent::setUp();
   }
diff --git a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php
index 6a2b26f..37cf432 100644
--- a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php
+++ b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php
@@ -381,11 +381,17 @@ class TestPermissionHandler extends PermissionHandler {
    */
   protected $systemModuleData;
 
-  protected function systemRebuildModuleData() {
+  /**
+ *
+ */
+protected function systemRebuildModuleData() {
     return $this->systemModuleData;
   }
 
-  public function setSystemRebuildModuleData(array $extensions) {
+  /**
+ *
+ */
+public function setSystemRebuildModuleData(array $extensions) {
     $this->systemModuleData = $extensions;
   }
 
@@ -393,13 +399,19 @@ public function setSystemRebuildModuleData(array $extensions) {
 
 class TestPermissionCallbacks {
 
-  public function singleDescription() {
+  /**
+ *
+ */
+public function singleDescription() {
     return array(
       'access_module_a' => 'single_description'
     );
   }
 
-  public function titleDescription() {
+  /**
+ *
+ */
+public function titleDescription() {
     return array(
       'access module b' => array(
         'title' => 'Access B',
@@ -408,7 +420,10 @@ public function titleDescription() {
     );
   }
 
-  public function titleDescriptionRestrictAccess() {
+  /**
+ *
+ */
+public function titleDescriptionRestrictAccess() {
     return array(
       'access_module_c' => array(
         'title' => 'Access C',
@@ -418,7 +433,10 @@ public function titleDescriptionRestrictAccess() {
     );
   }
 
-  public function titleProvider() {
+  /**
+ *
+ */
+public function titleProvider() {
     return array(
       'access module a via module b' => array(
         'title' => 'Access A via B',
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 2fa279a..d1a1900 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -451,8 +451,8 @@ function user_template_preprocess_default_variables_alter(&$variables) {
  *   An associative array containing:
  *   - account: The user account (\Drupal\Core\Session\AccountInterface).
  *
- * Modules that make any changes to variables like 'name' or 'extra' must ensure
- * that the final string is safe.
+ *   Modules that make any changes to variables like 'name' or 'extra' must ensure
+ *   that the final string is safe.
  */
 function template_preprocess_username(&$variables) {
   $account = $variables['account'] ?: new AnonymousUserSession();
diff --git a/core/modules/views/src/Entity/Render/EntityFieldRenderer.php b/core/modules/views/src/Entity/Render/EntityFieldRenderer.php
index cf76b88..1b05c1b 100644
--- a/core/modules/views/src/Entity/Render/EntityFieldRenderer.php
+++ b/core/modules/views/src/Entity/Render/EntityFieldRenderer.php
@@ -88,7 +88,6 @@ protected function getEntityManager() {
   /**
    * {@inheritdoc}
    */
-
   protected function getLanguageManager() {
     return $this->languageManager;
   }
diff --git a/core/modules/views/src/ManyToOneHelper.php b/core/modules/views/src/ManyToOneHelper.php
index db6832f..384d66c 100644
--- a/core/modules/views/src/ManyToOneHelper.php
+++ b/core/modules/views/src/ManyToOneHelper.php
@@ -21,15 +21,24 @@
  */
 class ManyToOneHelper {
 
-  function __construct($handler) {
+  /**
+ *
+ */
+function __construct($handler) {
     $this->handler = $handler;
   }
 
-  public static function defineOptions(&$options) {
+  /**
+ *
+ */
+public static function defineOptions(&$options) {
     $options['reduce_duplicates'] = array('default' => FALSE);
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     $form['reduce_duplicates'] = array(
       '#type' => 'checkbox',
       '#title' => t('Reduce duplicates'),
@@ -107,7 +116,10 @@ public function addTable($join = NULL, $alias = NULL) {
     return $alias;
   }
 
-  public function getJoin() {
+  /**
+ *
+ */
+public function getJoin() {
     return $this->handler->getJoin();
   }
 
@@ -253,7 +265,10 @@ protected function placeholder() {
     return $this->handler->query->placeholder($this->handler->options['table'] . '_' . $this->handler->options['field']);
   }
 
-  public function addFilter() {
+  /**
+ *
+ */
+public function addFilter() {
     if (empty($this->handler->value)) {
       return;
     }
diff --git a/core/modules/views/src/Plugin/views/HandlerBase.php b/core/modules/views/src/Plugin/views/HandlerBase.php
index 2e5249b..ed20ea0 100644
--- a/core/modules/views/src/Plugin/views/HandlerBase.php
+++ b/core/modules/views/src/Plugin/views/HandlerBase.php
@@ -135,7 +135,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->query = &$view->query;
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['id'] = array('default' => '');
diff --git a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
index 56641c6..a2d123e 100644
--- a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
+++ b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
@@ -87,14 +87,20 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  public function isException($arg = NULL) {
+  /**
+ *
+ */
+public function isException($arg = NULL) {
     if (!isset($arg)) {
       $arg = isset($this->argument) ? $this->argument : NULL;
     }
     return !empty($this->options['exception']['value']) && $this->options['exception']['value'] === $arg;
   }
 
-  public function exceptionTitle() {
+  /**
+ *
+ */
+public function exceptionTitle() {
     // If title overriding is off for the exception, return the normal title.
     if (empty($this->options['exception']['title_enable'])) {
       return $this->getTitle();
@@ -113,7 +119,10 @@ public function needsStylePlugin() {
     return !empty($info['style plugin']) || !empty($validate_info['style plugin']);
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['default_action'] = array('default' => 'ignore');
@@ -149,7 +158,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     $argument_text = $this->view->display_handler->getArgumentText();
@@ -398,7 +410,10 @@ protected function getTokenHelp() {
   }
 
 
-  public function validateOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     $option_values = &$form_state->getValue('options');
     if (empty($option_values)) {
       return;
@@ -428,7 +443,10 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) {
 
   }
 
-  public function submitOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function submitOptionsForm(&$form, FormStateInterface $form_state) {
     $option_values = &$form_state->getValue('options');
     if (empty($option_values)) {
       return;
diff --git a/core/modules/views/src/Plugin/views/argument/DayDate.php b/core/modules/views/src/Plugin/views/argument/DayDate.php
index 187be04..b4a14da 100644
--- a/core/modules/views/src/Plugin/views/argument/DayDate.php
+++ b/core/modules/views/src/Plugin/views/argument/DayDate.php
@@ -36,7 +36,10 @@ function title() {
     return format_date(strtotime("2005" . "05" . $day . " 00:00:00 UTC"), 'custom', $this->format, 'UTC');
   }
 
-  public function summaryArgument($data) {
+  /**
+ *
+ */
+public function summaryArgument($data) {
     // Make sure the argument contains leading zeroes.
     return str_pad($data->{$this->base_alias}, 2, '0', STR_PAD_LEFT);
   }
diff --git a/core/modules/views/src/Plugin/views/argument/Formula.php b/core/modules/views/src/Plugin/views/argument/Formula.php
index 1cd02d0..f3a7f2f 100644
--- a/core/modules/views/src/Plugin/views/argument/Formula.php
+++ b/core/modules/views/src/Plugin/views/argument/Formula.php
@@ -32,7 +32,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  public function getFormula() {
+  /**
+ *
+ */
+public function getFormula() {
     return str_replace('***table***', $this->tableAlias, $this->formula);
   }
 
diff --git a/core/modules/views/src/Plugin/views/argument/GroupByNumeric.php b/core/modules/views/src/Plugin/views/argument/GroupByNumeric.php
index 1e7ba38..c726b4e 100644
--- a/core/modules/views/src/Plugin/views/argument/GroupByNumeric.php
+++ b/core/modules/views/src/Plugin/views/argument/GroupByNumeric.php
@@ -11,7 +11,10 @@
  */
 class GroupByNumeric extends ArgumentPluginBase {
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $this->ensureMyTable();
     $field = $this->getField();
     $placeholder = $this->placeholder();
@@ -19,7 +22,10 @@ public function query($group_by = FALSE) {
     $this->query->addHavingExpression(0, "$field = $placeholder", array($placeholder => $this->argument));
   }
 
-  public function adminLabel($short = FALSE) {
+  /**
+ *
+ */
+public function adminLabel($short = FALSE) {
     return $this->getField(parent::adminLabel($short));
   }
 
diff --git a/core/modules/views/src/Plugin/views/argument/ManyToOne.php b/core/modules/views/src/Plugin/views/argument/ManyToOne.php
index 48385d5..572cc2f 100644
--- a/core/modules/views/src/Plugin/views/argument/ManyToOne.php
+++ b/core/modules/views/src/Plugin/views/argument/ManyToOne.php
@@ -37,7 +37,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->value = array();
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     if (!empty($this->definition['numeric'])) {
@@ -58,7 +61,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     // allow + for or, , for and
@@ -96,7 +102,10 @@ public function ensureMyTable() {
     $this->helper->ensureMyTable();
   }
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $empty = FALSE;
     if (isset($this->definition['zero is null']) && $this->definition['zero is null']) {
       if (empty($this->argument)) {
@@ -126,7 +135,10 @@ public function query($group_by = FALSE) {
     $this->helper->addFilter();
   }
 
-  function title() {
+  /**
+ *
+ */
+function title() {
     if (!$this->argument) {
       return !empty($this->definition['empty field name']) ? $this->definition['empty field name'] : $this->t('Uncategorized');
     }
@@ -153,7 +165,10 @@ function title() {
     return implode($this->operator == 'or' ? ' + ' : ', ', $this->titleQuery());
   }
 
-  protected function summaryQuery() {
+  /**
+ *
+ */
+protected function summaryQuery() {
     $field = $this->table . '.' . $this->field;
     $join = $this->getJoin();
 
@@ -176,7 +191,10 @@ protected function summaryQuery() {
     return $this->summaryBasics();
   }
 
-  public function summaryArgument($data) {
+  /**
+ *
+ */
+public function summaryArgument($data) {
     $value = $data->{$this->base_alias};
     if (empty($value)) {
       $value = 0;
diff --git a/core/modules/views/src/Plugin/views/argument/MonthDate.php b/core/modules/views/src/Plugin/views/argument/MonthDate.php
index c1b493b..f69e4fe 100644
--- a/core/modules/views/src/Plugin/views/argument/MonthDate.php
+++ b/core/modules/views/src/Plugin/views/argument/MonthDate.php
@@ -35,7 +35,10 @@ function title() {
     return format_date(strtotime("2005" . $month . "15" . " 00:00:00 UTC"), 'custom', $this->format, 'UTC');
   }
 
-  public function summaryArgument($data) {
+  /**
+ *
+ */
+public function summaryArgument($data) {
     // Make sure the argument contains leading zeroes.
     return str_pad($data->{$this->base_alias}, 2, '0', STR_PAD_LEFT);
   }
diff --git a/core/modules/views/src/Plugin/views/argument/NullArgument.php b/core/modules/views/src/Plugin/views/argument/NullArgument.php
index 181fb33..8f2cbf7 100644
--- a/core/modules/views/src/Plugin/views/argument/NullArgument.php
+++ b/core/modules/views/src/Plugin/views/argument/NullArgument.php
@@ -13,7 +13,10 @@
  */
 class NullArgument extends ArgumentPluginBase {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['must_not_be'] = array('default' => FALSE);
     return $options;
diff --git a/core/modules/views/src/Plugin/views/argument/NumericArgument.php b/core/modules/views/src/Plugin/views/argument/NumericArgument.php
index 929e5a2..09b3117 100644
--- a/core/modules/views/src/Plugin/views/argument/NumericArgument.php
+++ b/core/modules/views/src/Plugin/views/argument/NumericArgument.php
@@ -26,7 +26,10 @@ class NumericArgument extends ArgumentPluginBase {
    */
   var $value;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['break_phrase'] = array('default' => FALSE);
@@ -35,7 +38,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     // allow + for or, , for and
@@ -56,7 +62,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  function title() {
+  /**
+ *
+ */
+function title() {
     if (!$this->argument) {
       return !empty($this->definition['empty field name']) ? $this->definition['empty field name'] : $this->t('Uncategorized');
     }
@@ -91,7 +100,10 @@ public function titleQuery() {
     return $this->value;
   }
 
-  public function query($group_by = FALSE) {
+  /**
+ *
+ */
+public function query($group_by = FALSE) {
     $this->ensureMyTable();
 
     if (!empty($this->options['break_phrase'])) {
diff --git a/core/modules/views/src/Plugin/views/argument/StringArgument.php b/core/modules/views/src/Plugin/views/argument/StringArgument.php
index 085589a..873acf6 100644
--- a/core/modules/views/src/Plugin/views/argument/StringArgument.php
+++ b/core/modules/views/src/Plugin/views/argument/StringArgument.php
@@ -34,7 +34,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['glossary'] = array('default' => FALSE);
@@ -52,7 +55,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     $form['glossary'] = array(
@@ -262,7 +268,10 @@ public function query($group_by = FALSE) {
     }
   }
 
-  public function summaryArgument($data) {
+  /**
+ *
+ */
+public function summaryArgument($data) {
     $value = $this->caseTransform($data->{$this->base_alias}, $this->options['path_case']);
     if (!empty($this->options['transform_dash'])) {
       $value = strtr($value, ' ', '-');
@@ -277,7 +286,10 @@ public function getSortName() {
     return $this->t('Alphabetical', array(), array('context' => 'Sort order'));
   }
 
-  function title() {
+  /**
+ *
+ */
+function title() {
     // Support case-insensitive title comparisons for PostgreSQL by converting
     // the title to lowercase.
     if ($this->options['case'] != 'none' && Database::getConnection()->databaseType() == 'pgsql') {
@@ -315,7 +327,10 @@ public function titleQuery() {
     return $this->value;
   }
 
-  public function summaryName($data) {
+  /**
+ *
+ */
+public function summaryName($data) {
     return $this->caseTransform(parent::summaryName($data), $this->options['case']);
   }
 
diff --git a/core/modules/views/src/Plugin/views/argument_validator/None.php b/core/modules/views/src/Plugin/views/argument_validator/None.php
index 8e8c965..e1c2d6f 100644
--- a/core/modules/views/src/Plugin/views/argument_validator/None.php
+++ b/core/modules/views/src/Plugin/views/argument_validator/None.php
@@ -14,7 +14,10 @@
  */
 class None extends ArgumentValidatorPluginBase {
 
-  public function validateArgument($argument) {
+  /**
+ *
+ */
+public function validateArgument($argument) {
     if (!empty($this->argument->options['must_not_be'])) {
       return !isset($argument);
     }
diff --git a/core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php b/core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
index a3184f4..8d88dba 100644
--- a/core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
+++ b/core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
@@ -14,7 +14,10 @@
  */
 class NumericArgumentValidator extends ArgumentValidatorPluginBase {
 
-  public function validateArgument($argument) {
+  /**
+ *
+ */
+public function validateArgument($argument) {
     return is_numeric($argument);
   }
 
diff --git a/core/modules/views/src/Plugin/views/cache/None.php b/core/modules/views/src/Plugin/views/cache/None.php
index d05abd2..94fe360 100644
--- a/core/modules/views/src/Plugin/views/cache/None.php
+++ b/core/modules/views/src/Plugin/views/cache/None.php
@@ -15,7 +15,10 @@
  */
 class None extends CachePluginBase {
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     return $this->t('None');
   }
 
diff --git a/core/modules/views/src/Plugin/views/cache/Time.php b/core/modules/views/src/Plugin/views/cache/Time.php
index 8a7ec86..501d478 100644
--- a/core/modules/views/src/Plugin/views/cache/Time.php
+++ b/core/modules/views/src/Plugin/views/cache/Time.php
@@ -74,7 +74,10 @@ public static function create(ContainerInterface $container, array $configuratio
     );
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['results_lifespan'] = array('default' => 3600);
     $options['results_lifespan_custom'] = array('default' => 0);
@@ -84,7 +87,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     $options = array(60, 300, 1800, 3600, 21600, 518400);
     $options = array_map(array($this->dateFormatter, 'formatInterval'), array_combine($options, $options));
@@ -132,7 +138,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function validateOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     $custom_fields = array('output_lifespan', 'results_lifespan');
     foreach ($custom_fields as $field) {
       $cache_options = $form_state->getValue('cache_options');
@@ -142,18 +151,27 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     $results_lifespan = $this->getLifespan('results');
     $output_lifespan = $this->getLifespan('output');
     return $this->dateFormatter->formatInterval($results_lifespan, 1) . '/' . $this->dateFormatter->formatInterval($output_lifespan, 1);
   }
 
-  protected function getLifespan($type) {
+  /**
+ *
+ */
+protected function getLifespan($type) {
     $lifespan = $this->options[$type . '_lifespan'] == 'custom' ? $this->options[$type . '_lifespan_custom'] : $this->options[$type . '_lifespan'];
     return $lifespan;
   }
 
-  protected function cacheExpire($type) {
+  /**
+ *
+ */
+protected function cacheExpire($type) {
     $lifespan = $this->getLifespan($type);
     if ($lifespan) {
       $cutoff = REQUEST_TIME - $lifespan;
diff --git a/core/modules/views/src/Plugin/views/display/Attachment.php b/core/modules/views/src/Plugin/views/display/Attachment.php
index 6171525..230aca6 100644
--- a/core/modules/views/src/Plugin/views/display/Attachment.php
+++ b/core/modules/views/src/Plugin/views/display/Attachment.php
@@ -31,7 +31,10 @@ class Attachment extends DisplayPluginBase {
    */
   protected $usesPager = FALSE;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['displays'] = array('default' => array());
@@ -44,11 +47,17 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function execute() {
+  /**
+ *
+ */
+public function execute() {
     return $this->view->render($this->display['id']);
   }
 
-  public function attachmentPositions($position = NULL) {
+  /**
+ *
+ */
+public function attachmentPositions($position = NULL) {
     $positions = array(
       'before' => $this->t('Before'),
       'after' => $this->t('After'),
@@ -286,7 +295,10 @@ public function displaysExposed() {
     return $this->options['inherit_exposed_filters'] ? FALSE : TRUE;
   }
 
-  public function renderPager() {
+  /**
+ *
+ */
+public function renderPager() {
     return $this->usesPager() && $this->getOption('render_pager');
   }
 
diff --git a/core/modules/views/src/Plugin/views/display/Block.php b/core/modules/views/src/Plugin/views/display/Block.php
index 9ab56d8..046977c 100644
--- a/core/modules/views/src/Plugin/views/display/Block.php
+++ b/core/modules/views/src/Plugin/views/display/Block.php
@@ -320,7 +320,7 @@ public function blockValidate(ViewsBlock $block, array $form, FormStateInterface
    * @param \Drupal\Core\Form\FormStateInterface $form_state
    *   The current state of the form.
    *
-   * * @see \Drupal\views\Plugin\Block\ViewsBlock::blockSubmit()
+   *   * @see \Drupal\views\Plugin\Block\ViewsBlock::blockSubmit()
    */
   public function blockSubmit(ViewsBlock $block, $form, FormStateInterface $form_state) {
     if ($items_per_page = $form_state->getValue(array('override', 'items_per_page'))) {
diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
index afb5c03..ef50bfe 100644
--- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
@@ -455,7 +455,10 @@ public function defaultableSections($section = NULL) {
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = array(
       'defaults' => array(
         'default' => array(
diff --git a/core/modules/views/src/Plugin/views/exposed_form/InputRequired.php b/core/modules/views/src/Plugin/views/exposed_form/InputRequired.php
index 8b88597..358b551 100644
--- a/core/modules/views/src/Plugin/views/exposed_form/InputRequired.php
+++ b/core/modules/views/src/Plugin/views/exposed_form/InputRequired.php
@@ -18,7 +18,10 @@
  */
 class InputRequired extends ExposedFormPluginBase {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['text_input_required'] = array('default' => $this->t('Select any filter and click on Apply to see results'));
@@ -26,7 +29,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     $form['text_input_required'] = array(
@@ -39,14 +45,20 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function submitOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function submitOptionsForm(&$form, FormStateInterface $form_state) {
     $exposed_form_options = $form_state->getValue('exposed_form_options');
     $form_state->setValue(array('exposed_form_options', 'text_input_required_format'), $exposed_form_options['text_input_required']['format']);
     $form_state->setValue(array('exposed_form_options', 'text_input_required'), $exposed_form_options['text_input_required']['value']);
     parent::submitOptionsForm($form, $form_state);
   }
 
-  protected function exposedFilterApplied() {
+  /**
+ *
+ */
+protected function exposedFilterApplied() {
     static $cache = NULL;
     if (!isset($cache)) {
       $view = $this->view;
@@ -67,7 +79,10 @@ protected function exposedFilterApplied() {
     return $cache;
   }
 
-  public function preRender($values) {
+  /**
+ *
+ */
+public function preRender($values) {
     // Display the "text on demand" if needed. This is a site builder-defined
     // text to display instead of results until the user selects and applies
     // an exposed filter.
@@ -99,7 +114,10 @@ public function preRender($values) {
     }
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     if (!$this->exposedFilterApplied()) {
       // We return with no query; this will force the empty text.
       $this->view->built = TRUE;
diff --git a/core/modules/views/src/Plugin/views/field/Field.php b/core/modules/views/src/Plugin/views/field/Field.php
index 6d318c4..7a74876 100644
--- a/core/modules/views/src/Plugin/views/field/Field.php
+++ b/core/modules/views/src/Plugin/views/field/Field.php
@@ -639,7 +639,10 @@ public function buildGroupByForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function submitGroupByForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function submitGroupByForm(&$form, FormStateInterface $form_state) {
     parent::submitGroupByForm($form, $form_state);
     $item = &$form_state->get('handler')->options;
 
@@ -885,18 +888,27 @@ protected function createEntityForGroupBy(EntityInterface $entity, ResultRow $ro
     return $processed_entity;
   }
 
-  function render_item($count, $item) {
+  /**
+ *
+ */
+function render_item($count, $item) {
     return render($item['rendered']);
   }
 
-  protected function documentSelfTokens(&$tokens) {
+  /**
+ *
+ */
+protected function documentSelfTokens(&$tokens) {
     $field = $this->getFieldDefinition();
     foreach ($field->getColumns() as $id => $column) {
       $tokens['{{ ' . $this->options['id'] . '__' . $id . ' }}'] = $this->t('Raw @column', array('@column' => $id));
     }
   }
 
-  protected function addSelfTokens(&$tokens, $item) {
+  /**
+ *
+ */
+protected function addSelfTokens(&$tokens, $item) {
     $field = $this->getFieldDefinition();
     foreach ($field->getColumns() as $id => $column) {
       // Use \Drupal\Component\Utility\Xss::filterAdmin() because it's user data
diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
index 4e4bf7f..e3587b5 100644
--- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
+++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
@@ -411,7 +411,10 @@ public function useStringGroupBy() {
     return TRUE;
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['label'] = array('default' => '');
@@ -1710,7 +1713,10 @@ function theme(ResultRow $values) {
     return $output;
   }
 
-  public function themeFunctions() {
+  /**
+ *
+ */
+public function themeFunctions() {
     $themes = array();
     $hook = 'views_view_field';
 
@@ -1736,7 +1742,10 @@ public function themeFunctions() {
     return $themes;
   }
 
-  public function adminLabel($short = FALSE) {
+  /**
+ *
+ */
+public function adminLabel($short = FALSE) {
     return $this->getField(parent::adminLabel($short));
   }
 
diff --git a/core/modules/views/src/Plugin/views/field/MachineName.php b/core/modules/views/src/Plugin/views/field/MachineName.php
index feba80e..bedb008 100644
--- a/core/modules/views/src/Plugin/views/field/MachineName.php
+++ b/core/modules/views/src/Plugin/views/field/MachineName.php
@@ -22,7 +22,10 @@ class MachineName extends FieldPluginBase {
    */
   protected $valueOptions;
 
-  public function getValueOptions() {
+  /**
+ *
+ */
+public function getValueOptions() {
     if (isset($this->valueOptions)) {
       return;
     }
diff --git a/core/modules/views/src/Plugin/views/filter/BooleanOperator.php b/core/modules/views/src/Plugin/views/filter/BooleanOperator.php
index c6433d4..9a66847 100644
--- a/core/modules/views/src/Plugin/views/filter/BooleanOperator.php
+++ b/core/modules/views/src/Plugin/views/filter/BooleanOperator.php
@@ -136,7 +136,10 @@ public function getValueOptions() {
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['value']['default'] = FALSE;
@@ -144,7 +147,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  protected function valueForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueForm(&$form, FormStateInterface $form_state) {
     if (empty($this->valueOptions)) {
       // Initialize the array of possible values for this filter.
       $this->getValueOptions();
@@ -177,13 +183,19 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  protected function valueValidate($form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueValidate($form, FormStateInterface $form_state) {
     if ($form_state->getValue(array('options', 'value')) == 'All' && !$form_state->isValueEmpty(array('options', 'expose', 'required'))) {
       $form_state->setErrorByName('value', $this->t('You must select a value unless this is an non-required exposed filter.'));
     }
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     if ($this->isAGroup()) {
       return $this->t('grouped');
     }
@@ -200,7 +212,10 @@ public function adminSummary() {
     return $this->operator . ' ' . $this->valueOptions[!empty($this->value)];
   }
 
-  public function defaultExposeOptions() {
+  /**
+ *
+ */
+public function defaultExposeOptions() {
     parent::defaultExposeOptions();
     $this->options['expose']['operator_id'] = '';
     $this->options['expose']['label'] = $this->value_value;
diff --git a/core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php b/core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php
index 5dc8e8a..4fe2940 100644
--- a/core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php
+++ b/core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php
@@ -17,7 +17,10 @@
  */
 class BooleanOperatorString extends BooleanOperator {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $where = "$this->tableAlias.$this->realField ";
 
diff --git a/core/modules/views/src/Plugin/views/filter/Combine.php b/core/modules/views/src/Plugin/views/filter/Combine.php
index 10a3158..d6cee8b 100644
--- a/core/modules/views/src/Plugin/views/filter/Combine.php
+++ b/core/modules/views/src/Plugin/views/filter/Combine.php
@@ -18,14 +18,20 @@ class Combine extends StringFilter {
    */
   var $query;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['fields'] = array('default' => array());
 
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     $this->view->initStyle();
 
@@ -55,7 +61,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->view->_build('field');
     $fields = array();
     // Only add the fields if they have a proper field and table alias.
@@ -119,50 +128,75 @@ public function validate() {
   }
 
   // By default things like opEqual uses add_where, that doesn't support
-  // complex expressions, so override all operators.
-
+  /**
+ *complex expressions, so override all operators.
+ */
   function opEqual($expression) {
     $placeholder = $this->placeholder();
     $operator = $this->operator();
     $this->query->addWhereExpression($this->options['group'], "$expression $operator $placeholder", array($placeholder => $this->value));
   }
 
-  protected function opContains($expression) {
+  /**
+ *
+ */
+protected function opContains($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression LIKE $placeholder", array($placeholder => '%' . db_like($this->value) . '%'));
   }
 
-  protected function opStartsWith($expression) {
+  /**
+ *
+ */
+protected function opStartsWith($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression LIKE $placeholder", array($placeholder => db_like($this->value) . '%'));
   }
 
-  protected function opNotStartsWith($expression) {
+  /**
+ *
+ */
+protected function opNotStartsWith($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression NOT LIKE $placeholder", array($placeholder => db_like($this->value) . '%'));
   }
 
-  protected function opEndsWith($expression) {
+  /**
+ *
+ */
+protected function opEndsWith($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression LIKE $placeholder", array($placeholder => '%' . db_like($this->value)));
   }
 
-  protected function opNotEndsWith($expression) {
+  /**
+ *
+ */
+protected function opNotEndsWith($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression NOT LIKE $placeholder", array($placeholder => '%' . db_like($this->value)));
   }
 
-  protected function opNotLike($expression) {
+  /**
+ *
+ */
+protected function opNotLike($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression NOT LIKE $placeholder", array($placeholder => '%' . db_like($this->value) . '%'));
   }
 
-  protected function opRegex($expression) {
+  /**
+ *
+ */
+protected function opRegex($expression) {
     $placeholder = $this->placeholder();
     $this->query->addWhereExpression($this->options['group'], "$expression REGEXP $placeholder", array($placeholder => $this->value));
   }
 
-  protected function opEmpty($expression) {
+  /**
+ *
+ */
+protected function opEmpty($expression) {
     if ($this->operator == 'empty') {
       $operator = "IS NULL";
     }
diff --git a/core/modules/views/src/Plugin/views/filter/Date.php b/core/modules/views/src/Plugin/views/filter/Date.php
index 8ea3750..adf9755 100644
--- a/core/modules/views/src/Plugin/views/filter/Date.php
+++ b/core/modules/views/src/Plugin/views/filter/Date.php
@@ -13,7 +13,10 @@
  */
 class Date extends NumericFilter {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     // value is already set up properly, we're just adding our new field to it.
@@ -40,7 +43,10 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     parent::valueForm($form, $form_state);
   }
 
-  public function validateOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     parent::validateOptionsForm($form, $form_state);
 
     if (!empty($this->options['exposed']) && $form_state->isValueEmpty(array('options', 'expose', 'required'))) {
@@ -51,7 +57,10 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     $this->validateValidTime($form['value'], $form_state, $form_state->getValue(array('options', 'operator')), $form_state->getValue(array('options', 'value')));
   }
 
-  public function validateExposed(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateExposed(&$form, FormStateInterface $form_state) {
     if (empty($this->options['exposed'])) {
       return;
     }
@@ -125,7 +134,10 @@ protected function buildGroupValidate($form, FormStateInterface $form_state) {
   }
 
 
-  public function acceptExposedInput($input) {
+  /**
+ *
+ */
+public function acceptExposedInput($input) {
     if (empty($this->options['exposed'])) {
       return TRUE;
     }
@@ -159,7 +171,10 @@ public function acceptExposedInput($input) {
     return $rc;
   }
 
-  protected function opBetween($field) {
+  /**
+ *
+ */
+protected function opBetween($field) {
     $a = intval(strtotime($this->value['min'], 0));
     $b = intval(strtotime($this->value['max'], 0));
 
@@ -173,7 +188,10 @@ protected function opBetween($field) {
     $this->query->addWhereExpression($this->options['group'], "$field $operator $a AND $b");
   }
 
-  protected function opSimple($field) {
+  /**
+ *
+ */
+protected function opSimple($field) {
     $value = intval(strtotime($this->value['value'], 0));
     if (!empty($this->value['type']) && $this->value['type'] == 'offset') {
       $value = '***CURRENT_TIME***' . sprintf('%+d', $value); // keep sign
diff --git a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
index f7cbf1b..fb0fee0 100644
--- a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
+++ b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
@@ -112,7 +112,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     }
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['operator'] = array('default' => '=');
@@ -1227,17 +1230,19 @@ public function exposedInfo() {
     );
   }
 
-  /*
-   * Transform the input from a grouped filter into a standard filter.
-   *
-   * When a filter is a group, find the set of operator and values
-   * that the chosen item represents, and inform views that a normal
-   * filter was submitted by telling the operator and the value selected.
-   *
-   * The param $selected_group_id is only passed when the filter uses the
-   * checkboxes widget, and this function will be called for each item
-   * chosen in the checkboxes.
-   */
+  /**
+ *
+ *Transform the input from a grouped filter into a standard filter.
+ *
+ *When a filter is a group, find the set of operator and values
+ *that the chosen item represents, and inform views that a normal
+ *filter was submitted by telling the operator and the value selected.
+ *
+ *The param $selected_group_id is only passed when the filter uses the
+ *checkboxes widget, and this function will be called for each item
+ *chosen in the checkboxes.
+ 
+ */
   public function convertExposedInput(&$input, $selected_group_id = NULL) {
     if ($this->isAGroup()) {
       // If it is already defined the selected group, use it. Only valid
@@ -1378,7 +1383,10 @@ public function acceptExposedInput($input) {
     return TRUE;
   }
 
-  public function storeExposedInput($input, $status) {
+  /**
+ *
+ */
+public function storeExposedInput($input, $status) {
     if (empty($this->options['exposed']) || empty($this->options['expose']['identifier'])) {
       return TRUE;
     }
diff --git a/core/modules/views/src/Plugin/views/filter/GroupByNumeric.php b/core/modules/views/src/Plugin/views/filter/GroupByNumeric.php
index 7dce053..b1e9847 100644
--- a/core/modules/views/src/Plugin/views/filter/GroupByNumeric.php
+++ b/core/modules/views/src/Plugin/views/filter/GroupByNumeric.php
@@ -11,7 +11,10 @@
  */
 class GroupByNumeric extends NumericFilter {
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $field = $this->getField();
 
@@ -20,7 +23,10 @@ public function query() {
       $this->{$info[$this->operator]['method']}($field);
     }
   }
-  protected function opBetween($field) {
+  /**
+ *
+ */
+protected function opBetween($field) {
     $placeholder_min = $this->placeholder();
     $placeholder_max = $this->placeholder();
     if ($this->operator == 'between') {
@@ -32,12 +38,18 @@ protected function opBetween($field) {
     }
   }
 
-  protected function opSimple($field) {
+  /**
+ *
+ */
+protected function opSimple($field) {
     $placeholder = $this->placeholder();
     $this->query->addHavingExpression($this->options['group'], "$field $this->operator $placeholder", array($placeholder => $this->value['value']));
   }
 
-  protected function opEmpty($field) {
+  /**
+ *
+ */
+protected function opEmpty($field) {
     if ($this->operator == 'empty') {
       $operator = "IS NULL";
     }
@@ -48,10 +60,16 @@ protected function opEmpty($field) {
     $this->query->addHavingExpression($this->options['group'], "$field $operator");
   }
 
-  public function adminLabel($short = FALSE) {
+  /**
+ *
+ */
+public function adminLabel($short = FALSE) {
     return $this->getField(parent::adminLabel($short));
   }
 
-  public function canGroup() { return FALSE; }
+  /**
+ *
+ */
+public function canGroup() { return FALSE; }
 
 }
diff --git a/core/modules/views/src/Plugin/views/filter/InOperator.php b/core/modules/views/src/Plugin/views/filter/InOperator.php
index f3f1ca4..3859c00 100644
--- a/core/modules/views/src/Plugin/views/filter/InOperator.php
+++ b/core/modules/views/src/Plugin/views/filter/InOperator.php
@@ -77,12 +77,18 @@ public function getValueOptions() {
     return $this->valueOptions;
   }
 
-  public function defaultExposeOptions() {
+  /**
+ *
+ */
+public function defaultExposeOptions() {
     parent::defaultExposeOptions();
     $this->options['expose']['reduce'] = FALSE;
   }
 
-  public function buildExposeForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildExposeForm(&$form, FormStateInterface $form_state) {
     parent::buildExposeForm($form, $form_state);
     $form['expose']['reduce'] = array(
       '#type' => 'checkbox',
@@ -92,7 +98,10 @@ public function buildExposeForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['operator']['default'] = 'in';
@@ -157,7 +166,10 @@ public function operatorOptions($which = 'title') {
     return $options;
   }
 
-  protected function operatorValues($values = 1) {
+  /**
+ *
+ */
+protected function operatorValues($values = 1) {
     $options = array();
     foreach ($this->operators() as $id => $info) {
       if (isset($info['values']) && $info['values'] == $values) {
@@ -168,7 +180,10 @@ protected function operatorValues($values = 1) {
     return $options;
   }
 
-  protected function valueForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueForm(&$form, FormStateInterface $form_state) {
     $form['value'] = array();
     $options = array();
 
@@ -282,7 +297,10 @@ public function reduceValueOptions($input = NULL) {
     return $options;
   }
 
-  public function acceptExposedInput($input) {
+  /**
+ *
+ */
+public function acceptExposedInput($input) {
     // A very special override because the All state for this type of
     // filter could have a default:
     if (empty($this->options['exposed'])) {
@@ -301,7 +319,10 @@ public function acceptExposedInput($input) {
     return parent::acceptExposedInput($input);
   }
 
-  protected function valueSubmit($form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueSubmit($form, FormStateInterface $form_state) {
     // Drupal's FAPI system automatically puts '0' in for any checkbox that
     // was not set, and the key to the checkbox if it is set.
     // Unfortunately, this means that if the key to that checkbox is 0,
@@ -314,7 +335,10 @@ protected function valueSubmit($form, FormStateInterface $form_state) {
     $form_state->setValue(array('options', 'value'), $form['value']['#value']);
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     if ($this->isAGroup()) {
       return $this->t('grouped');
     }
@@ -378,14 +402,20 @@ public function adminSummary() {
     return $operator . (($values !== '') ? ' ' . $values : '');
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $info = $this->operators();
     if (!empty($info[$this->operator]['method'])) {
       $this->{$info[$this->operator]['method']}();
     }
   }
 
-  protected function opSimple() {
+  /**
+ *
+ */
+protected function opSimple() {
     if (empty($this->value)) {
       return;
     }
@@ -396,7 +426,10 @@ protected function opSimple() {
     $this->query->addWhere($this->options['group'], "$this->tableAlias.$this->realField", array_values($this->value), $this->operator);
   }
 
-  protected function opEmpty() {
+  /**
+ *
+ */
+protected function opEmpty() {
     $this->ensureMyTable();
     if ($this->operator == 'empty') {
       $operator = "IS NULL";
@@ -408,7 +441,10 @@ protected function opEmpty() {
     $this->query->addWhere($this->options['group'], "$this->tableAlias.$this->realField", NULL, $operator);
   }
 
-  public function validate() {
+  /**
+ *
+ */
+public function validate() {
     $this->getValueOptions();
     $errors = parent::validate();
 
diff --git a/core/modules/views/src/Plugin/views/filter/ManyToOne.php b/core/modules/views/src/Plugin/views/filter/ManyToOne.php
index 8e49cd5..77d60ab 100644
--- a/core/modules/views/src/Plugin/views/filter/ManyToOne.php
+++ b/core/modules/views/src/Plugin/views/filter/ManyToOne.php
@@ -37,7 +37,10 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->helper = new ManyToOneHelper($this);
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['operator']['default'] = 'or';
@@ -54,7 +57,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  function operators() {
+  /**
+ *
+ */
+function operators() {
     $operators = array(
       'or' => array(
         'title' => $this->t('Is one of'),
@@ -103,7 +109,10 @@ function operators() {
   }
 
   protected $valueFormType = 'select';
-  protected function valueForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+protected function valueForm(&$form, FormStateInterface $form_state) {
     parent::valueForm($form, $form_state);
 
     if (!$form_state->get('exposed')) {
@@ -125,7 +134,10 @@ public function ensureMyTable() {
     return parent::ensureMyTable();
   }
 
-  protected function opHelper() {
+  /**
+ *
+ */
+protected function opHelper() {
     if (empty($this->value)) {
       return;
     }
diff --git a/core/modules/views/src/Plugin/views/filter/NumericFilter.php b/core/modules/views/src/Plugin/views/filter/NumericFilter.php
index e1ad6b3..b42c9d0 100644
--- a/core/modules/views/src/Plugin/views/filter/NumericFilter.php
+++ b/core/modules/views/src/Plugin/views/filter/NumericFilter.php
@@ -15,7 +15,10 @@ class NumericFilter extends FilterPluginBase {
 
   protected $alwaysMultiple = TRUE;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['value'] = array(
@@ -29,7 +32,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  function operators() {
+  /**
+ *
+ */
+function operators() {
     $operators = array(
       '<' => array(
         'title' => $this->t('Is less than'),
@@ -120,7 +126,10 @@ public function operatorOptions($which = 'title') {
     return $options;
   }
 
-  protected function operatorValues($values = 1) {
+  /**
+ *
+ */
+protected function operatorValues($values = 1) {
     $options = array();
     foreach ($this->operators() as $id => $info) {
       if ($info['values'] == $values) {
@@ -233,7 +242,10 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->ensureMyTable();
     $field = "$this->tableAlias.$this->realField";
 
@@ -243,7 +255,10 @@ public function query() {
     }
   }
 
-  protected function opBetween($field) {
+  /**
+ *
+ */
+protected function opBetween($field) {
     if ($this->operator == 'between') {
       $this->query->addWhere($this->options['group'], $field, array($this->value['min'], $this->value['max']), 'BETWEEN');
     }
@@ -252,11 +267,17 @@ protected function opBetween($field) {
     }
   }
 
-  protected function opSimple($field) {
+  /**
+ *
+ */
+protected function opSimple($field) {
     $this->query->addWhere($this->options['group'], $field, $this->value['value'], $this->operator);
   }
 
-  protected function opEmpty($field) {
+  /**
+ *
+ */
+protected function opEmpty($field) {
     if ($this->operator == 'empty') {
       $operator = "IS NULL";
     }
@@ -277,7 +298,10 @@ protected function opRegex($field) {
     $this->query->addWhere($this->options['group'], $field, $this->value, 'REGEXP');
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     if ($this->isAGroup()) {
       return $this->t('grouped');
     }
diff --git a/core/modules/views/src/Plugin/views/filter/StringFilter.php b/core/modules/views/src/Plugin/views/filter/StringFilter.php
index 10c4070..9d897df 100644
--- a/core/modules/views/src/Plugin/views/filter/StringFilter.php
+++ b/core/modules/views/src/Plugin/views/filter/StringFilter.php
@@ -17,7 +17,10 @@ class StringFilter extends FilterPluginBase {
   // exposed filter options
   protected $alwaysMultiple = TRUE;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['expose']['contains']['required'] = array('default' => FALSE);
@@ -144,7 +147,10 @@ public function operatorOptions($which = 'title') {
     return $options;
   }
 
-  public function adminSummary() {
+  /**
+ *
+ */
+public function adminSummary() {
     if ($this->isAGroup()) {
       return $this->t('grouped');
     }
@@ -163,7 +169,10 @@ public function adminSummary() {
     return $output;
   }
 
-  protected function operatorValues($values = 1) {
+  /**
+ *
+ */
+protected function operatorValues($values = 1) {
     $options = array();
     foreach ($this->operators() as $id => $info) {
       if (isset($info['values']) && $info['values'] == $values) {
@@ -230,7 +239,10 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  function operator() {
+  /**
+ *
+ */
+function operator() {
     return $this->operator == '=' ? 'LIKE' : 'NOT LIKE';
   }
 
@@ -251,15 +263,24 @@ public function query() {
     }
   }
 
-  public function opEqual($field) {
+  /**
+ *
+ */
+public function opEqual($field) {
     $this->query->addWhere($this->options['group'], $field, $this->value, $this->operator());
   }
 
-  protected function opContains($field) {
+  /**
+ *
+ */
+protected function opContains($field) {
     $this->query->addWhere($this->options['group'], $field, '%' . db_like($this->value) . '%', 'LIKE');
   }
 
-  protected function opContainsWord($field) {
+  /**
+ *
+ */
+protected function opContainsWord($field) {
     $where = $this->operator == 'word' ? db_or() : db_and();
 
     // Don't filter on empty strings.
@@ -291,34 +312,55 @@ protected function opContainsWord($field) {
     $this->query->addWhere($this->options['group'], $where);
   }
 
-  protected function opStartsWith($field) {
+  /**
+ *
+ */
+protected function opStartsWith($field) {
     $this->query->addWhere($this->options['group'], $field, db_like($this->value) . '%', 'LIKE');
   }
 
-  protected function opNotStartsWith($field) {
+  /**
+ *
+ */
+protected function opNotStartsWith($field) {
     $this->query->addWhere($this->options['group'], $field, db_like($this->value) . '%', 'NOT LIKE');
   }
 
-  protected function opEndsWith($field) {
+  /**
+ *
+ */
+protected function opEndsWith($field) {
     $this->query->addWhere($this->options['group'], $field, '%' . db_like($this->value), 'LIKE');
   }
 
-  protected function opNotEndsWith($field) {
+  /**
+ *
+ */
+protected function opNotEndsWith($field) {
     $this->query->addWhere($this->options['group'], $field, '%' . db_like($this->value), 'NOT LIKE');
   }
 
-  protected function opNotLike($field) {
+  /**
+ *
+ */
+protected function opNotLike($field) {
     $this->query->addWhere($this->options['group'], $field, '%' . db_like($this->value) . '%', 'NOT LIKE');
   }
 
-  protected function opShorterThan($field) {
+  /**
+ *
+ */
+protected function opShorterThan($field) {
     $placeholder = $this->placeholder();
     // Type cast the argument to an integer because the SQLite database driver
     // has to do some specific alterations to the query base on that data type.
     $this->query->addWhereExpression($this->options['group'], "LENGTH($field) < $placeholder", array($placeholder => (int) $this->value));
   }
 
-  protected function opLongerThan($field) {
+  /**
+ *
+ */
+protected function opLongerThan($field) {
     $placeholder = $this->placeholder();
     // Type cast the argument to an integer because the SQLite database driver
     // has to do some specific alterations to the query base on that data type.
@@ -335,7 +377,10 @@ protected function opRegex($field) {
     $this->query->addWhere($this->options['group'], $field, $this->value, 'REGEXP');
   }
 
-  protected function opEmpty($field) {
+  /**
+ *
+ */
+protected function opEmpty($field) {
     if ($this->operator == 'empty') {
       $operator = "IS NULL";
     }
diff --git a/core/modules/views/src/Plugin/views/pager/None.php b/core/modules/views/src/Plugin/views/pager/None.php
index e5dcecd..79d324c 100644
--- a/core/modules/views/src/Plugin/views/pager/None.php
+++ b/core/modules/views/src/Plugin/views/pager/None.php
@@ -30,14 +30,20 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
     $this->setItemsPerPage(0);
   }
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     if (!empty($this->options['offset'])) {
       return $this->t('All items, skip @skip', array('@skip' => $this->options['offset']));
     }
     return $this->t('All items');
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['offset'] = array('default' => 0);
 
@@ -57,27 +63,45 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function usePager() {
+  /**
+ *
+ */
+public function usePager() {
     return FALSE;
   }
 
-  public function useCountQuery() {
+  /**
+ *
+ */
+public function useCountQuery() {
     return FALSE;
   }
 
-  public function getItemsPerPage() {
+  /**
+ *
+ */
+public function getItemsPerPage() {
     return 0;
   }
 
-  public function executeCountQuery(&$count_query) {
+  /**
+ *
+ */
+public function executeCountQuery(&$count_query) {
     // If we are displaying all items, never count. But we can update the count in post_execute.
   }
 
-  public function postExecute(&$result) {
+  /**
+ *
+ */
+public function postExecute(&$result) {
     $this->total_items = count($result);
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     // The only query modifications we might do are offsets.
     if (!empty($this->options['offset'])) {
       $this->view->query->setOffset($this->options['offset']);
diff --git a/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php b/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
index c2bb43e..4aff755 100644
--- a/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
+++ b/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
@@ -211,21 +211,39 @@ public function hasMoreRecords() {
       && $this->total_items > (intval($this->current_page) + 1) * $this->getItemsPerPage();
   }
 
-  public function exposedFormAlter(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function exposedFormAlter(&$form, FormStateInterface $form_state) { }
 
-  public function exposedFormValidate(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function exposedFormValidate(&$form, FormStateInterface $form_state) { }
 
-  public function exposedFormSubmit(&$form, FormStateInterface $form_state, &$exclude) { }
+  /**
+ *
+ */
+public function exposedFormSubmit(&$form, FormStateInterface $form_state, &$exclude) { }
 
-  public function usesExposed() {
+  /**
+ *
+ */
+public function usesExposed() {
     return FALSE;
   }
 
-  protected function itemsPerPageExposed() {
+  /**
+ *
+ */
+protected function itemsPerPageExposed() {
     return FALSE;
   }
 
-  protected function isOffsetExposed() {
+  /**
+ *
+ */
+protected function isOffsetExposed() {
     return FALSE;
   }
 
diff --git a/core/modules/views/src/Plugin/views/pager/Some.php b/core/modules/views/src/Plugin/views/pager/Some.php
index 2205f9d..e9c28da 100644
--- a/core/modules/views/src/Plugin/views/pager/Some.php
+++ b/core/modules/views/src/Plugin/views/pager/Some.php
@@ -18,14 +18,20 @@
  */
 class Some extends PagerPluginBase {
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     if (!empty($this->options['offset'])) {
       return $this->formatPlural($this->options['items_per_page'], '@count item, skip @skip', '@count items, skip @skip', array('@count' => $this->options['items_per_page'], '@skip' => $this->options['offset']));
     }
       return $this->formatPlural($this->options['items_per_page'], '@count item', '@count items', array('@count' => $this->options['items_per_page']));
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['items_per_page'] = array('default' => 10);
     $options['offset'] = array('default' => 0);
@@ -54,15 +60,24 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function usePager() {
+  /**
+ *
+ */
+public function usePager() {
     return FALSE;
   }
 
-  public function useCountQuery() {
+  /**
+ *
+ */
+public function useCountQuery() {
     return FALSE;
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->view->query->setLimit($this->options['items_per_page']);
     $this->view->query->setOffset($this->options['offset']);
   }
diff --git a/core/modules/views/src/Plugin/views/pager/SqlBase.php b/core/modules/views/src/Plugin/views/pager/SqlBase.php
index 0c8a546..5858bc9 100644
--- a/core/modules/views/src/Plugin/views/pager/SqlBase.php
+++ b/core/modules/views/src/Plugin/views/pager/SqlBase.php
@@ -11,7 +11,10 @@
  */
 abstract class SqlBase extends PagerPluginBase implements CacheableDependencyInterface {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['items_per_page'] = array('default' => 10);
     $options['offset'] = array('default' => 0);
@@ -169,7 +172,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function validateOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     // Only accept integer values.
     $error = FALSE;
     $exposed_options = $form_state->getValue(array('pager_options', 'expose', 'items_per_page_options'));
@@ -202,7 +208,10 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     if ($this->itemsPerPageExposed()) {
       $query = $this->view->getRequest()->query;
       $items_per_page = $query->get('items_per_page');
@@ -269,7 +278,10 @@ public function setCurrentPage($number = NULL) {
     $this->current_page = max(0, intval($pager_page_array[$this->options['id']]));
   }
 
-  public function getPagerTotal() {
+  /**
+ *
+ */
+public function getPagerTotal() {
     if ($items_per_page = intval($this->getItemsPerPage())) {
       return ceil($this->total_items / $items_per_page);
     }
@@ -316,19 +328,31 @@ public function updatePageInfo() {
     }
   }
 
-  public function usesExposed() {
+  /**
+ *
+ */
+public function usesExposed() {
     return $this->itemsPerPageExposed() || $this->isOffsetExposed();
   }
 
-  protected function itemsPerPageExposed() {
+  /**
+ *
+ */
+protected function itemsPerPageExposed() {
     return !empty($this->options['expose']['items_per_page']);
   }
 
-  protected function isOffsetExposed() {
+  /**
+ *
+ */
+protected function isOffsetExposed() {
     return !empty($this->options['expose']['offset']);
   }
 
-  public function exposedFormAlter(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function exposedFormAlter(&$form, FormStateInterface $form_state) {
     if ($this->itemsPerPageExposed()) {
       $options = explode(',', $this->options['expose']['items_per_page_options']);
       $sanitized_options = array();
@@ -359,7 +383,10 @@ public function exposedFormAlter(&$form, FormStateInterface $form_state) {
     }
   }
 
-  public function exposedFormValidate(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function exposedFormValidate(&$form, FormStateInterface $form_state) {
     if (!$form_state->isValueEmpty('offset') && trim($form_state->getValue('offset'))) {
       if (!is_numeric($form_state->getValue('offset')) || $form_state->getValue('offset') < 0) {
         $form_state->setErrorByName('offset', $this->t('Offset must be an number greater or equal than 0.'));
diff --git a/core/modules/views/src/Plugin/views/query/QueryPluginBase.php b/core/modules/views/src/Plugin/views/query/QueryPluginBase.php
index 5ebb3c5..50cec3d 100644
--- a/core/modules/views/src/Plugin/views/query/QueryPluginBase.php
+++ b/core/modules/views/src/Plugin/views/query/QueryPluginBase.php
@@ -105,11 +105,20 @@ public function addSignature(ViewExecutable $view) { }
    */
   public function getAggregationInfo() { }
 
-  public function validateOptionsForm(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function validateOptionsForm(&$form, FormStateInterface $form_state) { }
 
-  public function submitOptionsForm(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function submitOptionsForm(&$form, FormStateInterface $form_state) { }
 
-  public function summaryTitle() {
+  /**
+ *
+ */
+public function summaryTitle() {
     return $this->t('Settings');
   }
 
@@ -231,7 +240,8 @@ public function setupTimezone() {
    *   An appropriate query expression pointing to the date field.
    * @param string $format
    *   A format string for the result, like 'Y-m-d H:i:s'.
-   * @param boolean $string_date
+   * @param bool $string_dateFor
+ *   certain databases, date format functions vary depending on string or
    *   For certain databases, date format functions vary depending on string or
    *   numeric storage.
    *
diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php
index d55ae56..b5226ba 100644
--- a/core/modules/views/src/Plugin/views/query/Sql.php
+++ b/core/modules/views/src/Plugin/views/query/Sql.php
@@ -170,7 +170,10 @@ public function setCountField($table, $field, $alias = NULL) {
     );
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['disable_sql_rewrite'] = array(
       'default' => FALSE,
@@ -445,7 +448,10 @@ public function queueTable($table, $relationship = NULL, JoinPluginBase $join =
     return $alias;
   }
 
-  protected function markTable($table, $relationship, $alias) {
+  /**
+ *
+ */
+protected function markTable($table, $relationship, $alias) {
     // Mark that this table has been added.
     if (empty($this->tables[$relationship][$table])) {
       if (!isset($alias)) {
@@ -804,8 +810,8 @@ public function clearFields() {
    *   complex options such as IN, LIKE, LIKE BINARY, or BETWEEN. Defaults to =.
    *   If $field is a string you have to use 'formula' here.
    *
-   * The $field, $value and $operator arguments can also be passed in with a
-   * single DatabaseCondition object, like this:
+   *   The $field, $value and $operator arguments can also be passed in with a
+   *   single DatabaseCondition object, like this:
    * @code
    *   $this->query->addWhere(
    *     $this->options['group'],
@@ -1587,11 +1593,17 @@ protected function getAllEntities() {
     return $entities;
   }
 
-  public function addSignature(ViewExecutable $view) {
+  /**
+ *
+ */
+public function addSignature(ViewExecutable $view) {
     $view->query->addField(NULL, "'" . $view->storage->id() . ':' . $view->current_display . "'", 'view_name');
   }
 
-  public function getAggregationInfo() {
+  /**
+ *
+ */
+public function getAggregationInfo() {
     // @todo -- need a way to get database specific and customized aggregation
     // functions into here.
     return array(
@@ -1672,11 +1684,17 @@ public function getAggregationInfo() {
     );
   }
 
-  public function aggregationMethodSimple($group_type, $field) {
+  /**
+ *
+ */
+public function aggregationMethodSimple($group_type, $field) {
     return strtoupper($group_type) . '(' . $field . ')';
   }
 
-  public function aggregationMethodDistinct($group_type, $field) {
+  /**
+ *
+ */
+public function aggregationMethodDistinct($group_type, $field) {
     $group_type = str_replace('_distinct', '', $group_type);
     return strtoupper($group_type) . '(DISTINCT ' . $field . ')';
   }
diff --git a/core/modules/views/src/Plugin/views/row/Fields.php b/core/modules/views/src/Plugin/views/row/Fields.php
index 3904b0c..d79bc69 100644
--- a/core/modules/views/src/Plugin/views/row/Fields.php
+++ b/core/modules/views/src/Plugin/views/row/Fields.php
@@ -29,7 +29,10 @@ class Fields extends RowPluginBase {
    */
   protected $usesFields = TRUE;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['inline'] = array('default' => array());
diff --git a/core/modules/views/src/Plugin/views/row/RssFields.php b/core/modules/views/src/Plugin/views/row/RssFields.php
index a420bb7..a502eff 100644
--- a/core/modules/views/src/Plugin/views/row/RssFields.php
+++ b/core/modules/views/src/Plugin/views/row/RssFields.php
@@ -25,7 +25,10 @@ class RssFields extends RowPluginBase {
    */
   protected $usesFields = TRUE;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['title_field'] = array('default' => '');
     $options['link_field'] = array('default' => '');
@@ -37,7 +40,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     $initial_labels = array('' => $this->t('- None -'));
@@ -105,7 +111,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function validate() {
+  /**
+ *
+ */
+public function validate() {
     $errors = parent::validate();
     $required_options = array('title_field', 'link_field', 'description_field', 'creator_field', 'date_field');
     foreach ($required_options as $required_option) {
@@ -121,7 +130,10 @@ public function validate() {
     return $errors;
   }
 
-  public function render($row) {
+  /**
+ *
+ */
+public function render($row) {
     static $row_index;
     if (!isset($row_index)) {
       $row_index = 0;
diff --git a/core/modules/views/src/Plugin/views/sort/Date.php b/core/modules/views/src/Plugin/views/sort/Date.php
index 4017e2b..c55e5df 100644
--- a/core/modules/views/src/Plugin/views/sort/Date.php
+++ b/core/modules/views/src/Plugin/views/sort/Date.php
@@ -14,7 +14,10 @@
  */
 class Date extends SortPluginBase {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['granularity'] = array('default' => 'second');
@@ -22,7 +25,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     $form['granularity'] = array(
diff --git a/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php b/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php
index b7245dd..b9a1ebb 100644
--- a/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php
+++ b/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php
@@ -37,7 +37,10 @@ public function query() {
     $this->query->addOrderBy($this->tableAlias, $this->realField, $this->options['order'], NULL, $params);
   }
 
-  public function adminLabel($short = FALSE) {
+  /**
+ *
+ */
+public function adminLabel($short = FALSE) {
     return $this->getField(parent::adminLabel($short));
   }
 
diff --git a/core/modules/views/src/Plugin/views/sort/Random.php b/core/modules/views/src/Plugin/views/sort/Random.php
index c9a552f..81a0daa 100644
--- a/core/modules/views/src/Plugin/views/sort/Random.php
+++ b/core/modules/views/src/Plugin/views/sort/Random.php
@@ -22,11 +22,17 @@ public function usesGroupBy() {
     return FALSE;
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     $this->query->addOrderBy('rand');
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     $form['order']['#access'] = FALSE;
   }
diff --git a/core/modules/views/src/Plugin/views/sort/SortPluginBase.php b/core/modules/views/src/Plugin/views/sort/SortPluginBase.php
index cd9555e..1488546 100644
--- a/core/modules/views/src/Plugin/views/sort/SortPluginBase.php
+++ b/core/modules/views/src/Plugin/views/sort/SortPluginBase.php
@@ -39,7 +39,10 @@ public function query() {
     $this->query->addOrderBy($this->tableAlias, $this->realField, $this->options['order']);
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['order'] = array('default' => 'ASC');
@@ -176,9 +179,15 @@ protected function showSortForm(&$form, FormStateInterface $form_state) {
     }
   }
 
-  protected function sortValidate(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+protected function sortValidate(&$form, FormStateInterface $form_state) { }
 
-  public function sortSubmit(&$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function sortSubmit(&$form, FormStateInterface $form_state) { }
 
   /**
    * Provide a list of options for the default sort form.
@@ -191,7 +200,10 @@ protected function sortOptions() {
     );
   }
 
-  public function buildExposeForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildExposeForm(&$form, FormStateInterface $form_state) {
     // #flatten will move everything from $form['expose'][$key] to $form[$key]
     // prior to rendering. That's why the preRender for it needs to run first,
     // so that when the next preRender (the one for fieldsets) runs, it gets
diff --git a/core/modules/views/src/Plugin/views/style/DefaultSummary.php b/core/modules/views/src/Plugin/views/style/DefaultSummary.php
index abd149d..e8fadf4 100644
--- a/core/modules/views/src/Plugin/views/style/DefaultSummary.php
+++ b/core/modules/views/src/Plugin/views/style/DefaultSummary.php
@@ -19,7 +19,10 @@
  */
 class DefaultSummary extends StylePluginBase {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['base_path'] = array('default' => '');
@@ -30,13 +33,19 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function query() {
+  /**
+ *
+ */
+public function query() {
     if (!empty($this->options['override'])) {
       $this->view->setItemsPerPage(intval($this->options['items_per_page']));
     }
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     $form['base_path'] = array(
       '#type' => 'textfield',
       '#title' => $this->t('Base path'),
@@ -70,7 +79,10 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function render() {
+  /**
+ *
+ */
+public function render() {
     $rows = array();
     foreach ($this->view->result as $row) {
       // @todo: Include separator as an option.
diff --git a/core/modules/views/src/Plugin/views/style/Rss.php b/core/modules/views/src/Plugin/views/style/Rss.php
index e612453..92548b9 100644
--- a/core/modules/views/src/Plugin/views/style/Rss.php
+++ b/core/modules/views/src/Plugin/views/style/Rss.php
@@ -27,7 +27,10 @@ class Rss extends StylePluginBase {
    */
   protected $usesRowPlugin = TRUE;
 
-  public function attachTo(array &$build, $display_id, Url $feed_url, $title) {
+  /**
+ *
+ */
+public function attachTo(array &$build, $display_id, Url $feed_url, $title) {
     $url_options = array();
     $input = $this->view->getExposedInput();
     if ($input) {
@@ -53,7 +56,10 @@ public function attachTo(array &$build, $display_id, Url $feed_url, $title) {
     );
   }
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['description'] = array('default' => '');
@@ -61,7 +67,10 @@ protected function defineOptions() {
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
 
     $form['description'] = array(
@@ -98,7 +107,10 @@ public function getDescription() {
     return $description;
   }
 
-  public function render() {
+  /**
+ *
+ */
+public function render() {
     if (empty($this->view->rowPlugin)) {
       debug('Drupal\views\Plugin\views\style\Rss: Missing row plugin');
       return array();
diff --git a/core/modules/views/src/Plugin/views/style/Table.php b/core/modules/views/src/Plugin/views/style/Table.php
index c49f6e9..39e41c5 100644
--- a/core/modules/views/src/Plugin/views/style/Table.php
+++ b/core/modules/views/src/Plugin/views/style/Table.php
@@ -62,7 +62,10 @@ class Table extends StylePluginBase implements CacheableDependencyInterface {
    */
   public $order;
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
 
     $options['columns'] = array('default' => array());
@@ -409,11 +412,17 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     );
   }
 
-  public function evenEmpty() {
+  /**
+ *
+ */
+public function evenEmpty() {
     return parent::evenEmpty() || !empty($this->options['empty_table']);
   }
 
-  public function wizardSubmit(&$form, FormStateInterface $form_state, WizardInterface $wizard, &$display_options, $display_type) {
+  /**
+ *
+ */
+public function wizardSubmit(&$form, FormStateInterface $form_state, WizardInterface $wizard, &$display_options, $display_type) {
     // If any of the displays use the table style, make sure that the fields
     // always have a labels by unsetting the override.
     foreach ($display_options['default']['fields'] as &$field) {
diff --git a/core/modules/views/src/Plugin/views/style/UnformattedSummary.php b/core/modules/views/src/Plugin/views/style/UnformattedSummary.php
index b6b6d6e..fbf02ea 100644
--- a/core/modules/views/src/Plugin/views/style/UnformattedSummary.php
+++ b/core/modules/views/src/Plugin/views/style/UnformattedSummary.php
@@ -19,14 +19,20 @@
  */
 class UnformattedSummary extends DefaultSummary {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['inline'] = array('default' => FALSE);
     $options['separator'] = array('default' => '');
     return $options;
   }
 
-  public function buildOptionsForm(&$form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
     $form['inline'] = array(
       '#type' => 'checkbox',
diff --git a/core/modules/views/src/Tests/DefaultViewsTest.php b/core/modules/views/src/Tests/DefaultViewsTest.php
index 5c1f601..ae86ace 100644
--- a/core/modules/views/src/Tests/DefaultViewsTest.php
+++ b/core/modules/views/src/Tests/DefaultViewsTest.php
@@ -42,7 +42,10 @@ class DefaultViewsTest extends ViewTestBase {
     'glossary' => array('all'),
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php b/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php
index adbbb6f..a294c1e 100644
--- a/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php
+++ b/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php
@@ -42,7 +42,10 @@ class FilterEntityBundleTest extends ViewTestBase {
    */
   protected $entities = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp(FALSE);
 
     $this->drupalCreateContentType(array('type' => 'test_bundle'));
diff --git a/core/modules/views/src/Tests/FieldApiDataTest.php b/core/modules/views/src/Tests/FieldApiDataTest.php
index 086f179..3449a2b 100644
--- a/core/modules/views/src/Tests/FieldApiDataTest.php
+++ b/core/modules/views/src/Tests/FieldApiDataTest.php
@@ -13,7 +13,10 @@
  */
 class FieldApiDataTest extends FieldTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $field_names = $this->setUpFieldStorages(1);
diff --git a/core/modules/views/src/Tests/Handler/AreaTest.php b/core/modules/views/src/Tests/Handler/AreaTest.php
index f1e75bb..1fde023 100644
--- a/core/modules/views/src/Tests/Handler/AreaTest.php
+++ b/core/modules/views/src/Tests/Handler/AreaTest.php
@@ -28,13 +28,19 @@ class AreaTest extends HandlerTestBase {
    */
   public static $modules = array('node', 'views_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
   }
 
-  protected function viewsData() {
+  /**
+ *
+ */
+protected function viewsData() {
     $data = parent::viewsData();
     $data['views']['test_example'] = array(
       'title' => 'Test Example area',
diff --git a/core/modules/views/src/Tests/Handler/FieldEntityOperationsTest.php b/core/modules/views/src/Tests/Handler/FieldEntityOperationsTest.php
index d5adcb4..0ec9e82 100644
--- a/core/modules/views/src/Tests/Handler/FieldEntityOperationsTest.php
+++ b/core/modules/views/src/Tests/Handler/FieldEntityOperationsTest.php
@@ -27,7 +27,10 @@ class FieldEntityOperationsTest extends HandlerTestBase {
    */
   public static $modules = array('node', 'language');
 
-  function setUp() {
+  /**
+ *
+ */
+function setUp() {
     parent::setUp();
 
     // Create Article content type.
diff --git a/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php b/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php
index 4a37b58..7191da4 100644
--- a/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php
+++ b/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php
@@ -38,7 +38,10 @@ class FieldGroupRowsTest extends HandlerTestBase {
    */
   private $fieldName = 'field_group_rows';
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create content type with unlimited text field.
diff --git a/core/modules/views/src/Tests/Handler/FieldWebTest.php b/core/modules/views/src/Tests/Handler/FieldWebTest.php
index a6ff1b4..78f431b 100644
--- a/core/modules/views/src/Tests/Handler/FieldWebTest.php
+++ b/core/modules/views/src/Tests/Handler/FieldWebTest.php
@@ -41,7 +41,10 @@ class FieldWebTest extends HandlerTestBase {
     'views_test_data_name' => 'name',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Handler/FilterDateTest.php b/core/modules/views/src/Tests/Handler/FilterDateTest.php
index 127c3ec..b4e238c 100644
--- a/core/modules/views/src/Tests/Handler/FilterDateTest.php
+++ b/core/modules/views/src/Tests/Handler/FilterDateTest.php
@@ -25,7 +25,10 @@ class FilterDateTest extends HandlerTestBase {
    */
   public static $modules = array('node', 'views_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Add some basic test nodes.
     $this->nodes = array();
diff --git a/core/modules/views/src/Tests/Handler/HandlerTest.php b/core/modules/views/src/Tests/Handler/HandlerTest.php
index 8ff4033..a744174 100644
--- a/core/modules/views/src/Tests/Handler/HandlerTest.php
+++ b/core/modules/views/src/Tests/Handler/HandlerTest.php
@@ -32,7 +32,10 @@ class HandlerTest extends ViewTestBase {
    */
   public static $modules = array('views_ui', 'comment', 'node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->drupalCreateContentType(array('type' => 'page'));
     $this->addDefaultCommentField('node', 'page');
diff --git a/core/modules/views/src/Tests/Plugin/AccessTest.php b/core/modules/views/src/Tests/Plugin/AccessTest.php
index 1bcf300..9dc03a4 100644
--- a/core/modules/views/src/Tests/Plugin/AccessTest.php
+++ b/core/modules/views/src/Tests/Plugin/AccessTest.php
@@ -42,7 +42,10 @@ class AccessTest extends PluginTestBase {
    */
   protected $normalUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php b/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
index 0708b86..8e5af7e 100644
--- a/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
+++ b/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
@@ -34,7 +34,10 @@ class ArgumentDefaultTest extends PluginTestBase {
    */
   public static $modules = array('node', 'views_ui', 'block');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/CacheTagTest.php b/core/modules/views/src/Tests/Plugin/CacheTagTest.php
index 057110e..afe1df5 100644
--- a/core/modules/views/src/Tests/Plugin/CacheTagTest.php
+++ b/core/modules/views/src/Tests/Plugin/CacheTagTest.php
@@ -70,7 +70,10 @@ class CacheTagTest extends PluginTestBase {
    */
   protected $user;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
diff --git a/core/modules/views/src/Tests/Plugin/DisabledDisplayTest.php b/core/modules/views/src/Tests/Plugin/DisabledDisplayTest.php
index 9238dda..d301aab 100644
--- a/core/modules/views/src/Tests/Plugin/DisabledDisplayTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisabledDisplayTest.php
@@ -24,7 +24,10 @@ class DisabledDisplayTest extends PluginTestBase {
    */
   public static $modules = array('block', 'node', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php b/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php
index 21f5c55..e748dc1 100644
--- a/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php
@@ -26,7 +26,10 @@ class DisplayAttachmentTest extends PluginTestBase {
    */
   public static $modules = array('node', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php b/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php
index 844143a..6ca99d3 100644
--- a/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php
@@ -19,7 +19,10 @@ class DisplayExtenderTest extends PluginTestBase {
    */
   public static $testViews = array('test_view');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/DisplayFeedTest.php b/core/modules/views/src/Tests/Plugin/DisplayFeedTest.php
index d31f457..13558f4 100644
--- a/core/modules/views/src/Tests/Plugin/DisplayFeedTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisplayFeedTest.php
@@ -26,7 +26,10 @@ class DisplayFeedTest extends PluginTestBase {
    */
   public static $modules = array('block', 'node', 'views');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/DisplayTest.php b/core/modules/views/src/Tests/Plugin/DisplayTest.php
index 3bbfd66..3a0f4a2 100644
--- a/core/modules/views/src/Tests/Plugin/DisplayTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisplayTest.php
@@ -28,7 +28,10 @@ class DisplayTest extends PluginTestBase {
    */
   public static $modules = array('views_ui', 'node', 'block');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/ExposedFormTest.php b/core/modules/views/src/Tests/Plugin/ExposedFormTest.php
index beeb8ce..047381e 100644
--- a/core/modules/views/src/Tests/Plugin/ExposedFormTest.php
+++ b/core/modules/views/src/Tests/Plugin/ExposedFormTest.php
@@ -32,7 +32,10 @@ class ExposedFormTest extends ViewTestBase {
    */
   public static $modules = array('node', 'views_ui', 'block', 'entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'article'));
diff --git a/core/modules/views/src/Tests/Plugin/FilterTest.php b/core/modules/views/src/Tests/Plugin/FilterTest.php
index 2cc8fe4..f1b34372 100644
--- a/core/modules/views/src/Tests/Plugin/FilterTest.php
+++ b/core/modules/views/src/Tests/Plugin/FilterTest.php
@@ -27,7 +27,10 @@ class FilterTest extends PluginTestBase {
    */
   public static $modules = array('views_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/Plugin/MiniPagerTest.php b/core/modules/views/src/Tests/Plugin/MiniPagerTest.php
index f39a9d6..4f18832 100644
--- a/core/modules/views/src/Tests/Plugin/MiniPagerTest.php
+++ b/core/modules/views/src/Tests/Plugin/MiniPagerTest.php
@@ -33,7 +33,10 @@ class MiniPagerTest extends PluginTestBase {
    */
   protected $nodes;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'page'));
diff --git a/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php b/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php
index 8617e71..f5575f7 100644
--- a/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php
+++ b/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php
@@ -27,7 +27,10 @@ class NumericFormatPluralTest extends ViewTestBase {
    */
   public static $testViews = array('numeric_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $web_user = $this->drupalCreateUser(['administer views', 'administer languages']);
diff --git a/core/modules/views/src/Tests/Plugin/PagerTest.php b/core/modules/views/src/Tests/Plugin/PagerTest.php
index e3282a3..94fa7b1 100644
--- a/core/modules/views/src/Tests/Plugin/PagerTest.php
+++ b/core/modules/views/src/Tests/Plugin/PagerTest.php
@@ -156,7 +156,10 @@ public function testNoLimit() {
     $this->assertEqual($view->pager->getItemsPerPage(), 0);
   }
 
-  public function testViewTotalRowsWithoutPager() {
+  /**
+ *
+ */
+public function testViewTotalRowsWithoutPager() {
     $this->drupalCreateContentType(array('type' => 'page'));
     for ($i = 0; $i < 23; $i++) {
       $this->drupalCreateNode();
diff --git a/core/modules/views/src/Tests/Plugin/PluginBaseTest.php b/core/modules/views/src/Tests/Plugin/PluginBaseTest.php
index 4161db4..4717223 100644
--- a/core/modules/views/src/Tests/Plugin/PluginBaseTest.php
+++ b/core/modules/views/src/Tests/Plugin/PluginBaseTest.php
@@ -24,7 +24,10 @@ class PluginBaseTest extends KernelTestBase {
    */
   var $testPluginBase;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->testPluginBase = new TestPluginBase();
   }
@@ -74,11 +77,17 @@ public function testViewsTokenReplaceWithTwigTokens() {
  */
 class TestPluginBase extends PluginBase {
 
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
     parent::__construct([], '', []);
   }
 
-  public function viewsTokenReplace($text, $tokens) {
+  /**
+ *
+ */
+public function viewsTokenReplace($text, $tokens) {
     return parent::viewsTokenReplace($text, $tokens);
   }
 
diff --git a/core/modules/views/src/Tests/Plugin/StyleTest.php b/core/modules/views/src/Tests/Plugin/StyleTest.php
index 6773c83..f50b06e 100644
--- a/core/modules/views/src/Tests/Plugin/StyleTest.php
+++ b/core/modules/views/src/Tests/Plugin/StyleTest.php
@@ -31,7 +31,10 @@ class StyleTest extends ViewTestBase {
    */
   protected $elements;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
@@ -87,7 +90,10 @@ public function testStyle() {
     $this->assertTrue(strpos($output, $random_text) !== FALSE, 'Make sure that the rendering of the style plugin appears in the output of the view.');
   }
 
-  function testGrouping() {
+  /**
+ *
+ */
+function testGrouping() {
     $this->_testGrouping(FALSE);
     $this->_testGrouping(TRUE);
   }
diff --git a/core/modules/views/src/Tests/ViewAjaxTest.php b/core/modules/views/src/Tests/ViewAjaxTest.php
index 9219b20..941270d 100644
--- a/core/modules/views/src/Tests/ViewAjaxTest.php
+++ b/core/modules/views/src/Tests/ViewAjaxTest.php
@@ -18,7 +18,10 @@ class ViewAjaxTest extends ViewTestBase {
    */
   public static $testViews = array('test_ajax_view');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/ViewElementTest.php b/core/modules/views/src/Tests/ViewElementTest.php
index 2ec2e67..6be903a 100644
--- a/core/modules/views/src/Tests/ViewElementTest.php
+++ b/core/modules/views/src/Tests/ViewElementTest.php
@@ -18,7 +18,10 @@ class ViewElementTest extends ViewTestBase {
    */
   public static $testViews = array('test_view_embed');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/ViewRenderTest.php b/core/modules/views/src/Tests/ViewRenderTest.php
index 4bde8b2..cddd0c4 100644
--- a/core/modules/views/src/Tests/ViewRenderTest.php
+++ b/core/modules/views/src/Tests/ViewRenderTest.php
@@ -18,7 +18,10 @@ class ViewRenderTest extends ViewTestBase {
    */
   public static $testViews = array('test_view_render');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views/src/Tests/ViewTestBase.php b/core/modules/views/src/Tests/ViewTestBase.php
index 0219c3f..78aca71 100644
--- a/core/modules/views/src/Tests/ViewTestBase.php
+++ b/core/modules/views/src/Tests/ViewTestBase.php
@@ -27,7 +27,10 @@
    */
   public static $modules = array('views', 'views_test_config');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
     if ($import_test_views) {
       ViewTestData::createTestViews(get_class($this), array('views_test_config'));
diff --git a/core/modules/views/src/Tests/Wizard/BasicTest.php b/core/modules/views/src/Tests/Wizard/BasicTest.php
index e558cde..8b4e37e 100644
--- a/core/modules/views/src/Tests/Wizard/BasicTest.php
+++ b/core/modules/views/src/Tests/Wizard/BasicTest.php
@@ -14,13 +14,19 @@
  */
 class BasicTest extends WizardTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
   }
 
-  function testViewsWizardAndListing() {
+  /**
+ *
+ */
+function testViewsWizardAndListing() {
     $this->drupalCreateContentType(array('type' => 'article'));
     $this->drupalCreateContentType(array('type' => 'page'));
 
diff --git a/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php b/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php
index 7a2f430..24f0703 100644
--- a/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php
+++ b/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php
@@ -10,7 +10,10 @@
  */
 class ItemsPerPageTest extends WizardTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views/src/Tests/Wizard/SortingTest.php b/core/modules/views/src/Tests/Wizard/SortingTest.php
index 6172930..a21e7d7 100644
--- a/core/modules/views/src/Tests/Wizard/SortingTest.php
+++ b/core/modules/views/src/Tests/Wizard/SortingTest.php
@@ -9,7 +9,10 @@
  */
 class SortingTest extends WizardTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views/src/Tests/Wizard/TaggedWithTest.php b/core/modules/views/src/Tests/Wizard/TaggedWithTest.php
index 939473f..a6ec809 100644
--- a/core/modules/views/src/Tests/Wizard/TaggedWithTest.php
+++ b/core/modules/views/src/Tests/Wizard/TaggedWithTest.php
@@ -65,7 +65,10 @@ class TaggedWithTest extends WizardTestBase {
    */
   protected $tagField;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create two content types. One will have an autocomplete tagging field,
diff --git a/core/modules/views/src/Tests/Wizard/WizardTestBase.php b/core/modules/views/src/Tests/Wizard/WizardTestBase.php
index e00b018..f774c58 100644
--- a/core/modules/views/src/Tests/Wizard/WizardTestBase.php
+++ b/core/modules/views/src/Tests/Wizard/WizardTestBase.php
@@ -16,7 +16,10 @@
    */
   public static $modules = array('node', 'views_ui', 'block', 'rest');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create and log in a user with administer views permission.
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php
index b2026f7..586c111 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php
@@ -17,7 +17,10 @@
  */
 class StaticTest extends AccessPluginBase {
 
-  protected function defineOptions() {
+  /**
+ *
+ */
+protected function defineOptions() {
     $options = parent::defineOptions();
     $options['access'] = array('default' => FALSE);
 
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
index 449474a..d8805ef 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
@@ -56,7 +56,10 @@ public function setAllItems($allItems) {
     $this->allItems = $allItems;
   }
 
-  public function addWhere($group, $field, $value = NULL, $operator = NULL) {
+  /**
+ *
+ */
+public function addWhere($group, $field, $value = NULL, $operator = NULL) {
     $this->conditions[] = array(
       'field' => $field,
       'value' => $value,
@@ -65,17 +68,26 @@ public function addWhere($group, $field, $value = NULL, $operator = NULL) {
 
   }
 
-  public function addField($table, $field, $alias = '', $params = array()) {
+  /**
+ *
+ */
+public function addField($table, $field, $alias = '', $params = array()) {
     $this->fields[$field] = $field;
     return $field;
   }
 
-  public function addOrderBy($table, $field = NULL, $order = 'ASC', $alias = '', $params = array()) {
+  /**
+ *
+ */
+public function addOrderBy($table, $field = NULL, $order = 'ASC', $alias = '', $params = array()) {
     $this->orderBy = array('field' => $field, 'order' => $order);
   }
 
 
-  public function ensureTable($table, $relationship = NULL, JoinPluginBase $join = NULL) {
+  /**
+ *
+ */
+public function ensureTable($table, $relationship = NULL, JoinPluginBase $join = NULL) {
     // There is no concept of joins.
   }
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php b/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php
index 5ccacd8..226120d 100644
--- a/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php
@@ -22,14 +22,20 @@ class AreaTextTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     $this->installConfig(array('system', 'filter'));
     $this->installEntitySchema('user');
   }
 
-  public function testAreaText() {
+  /**
+ *
+ */
+public function testAreaText() {
     /** @var \Drupal\Core\Render\RendererInterface $renderer */
     $renderer = $this->container->get('renderer');
     $view = Views::getView('test_view');
diff --git a/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php b/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php
index e90ec85..130fecc 100644
--- a/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php
@@ -19,14 +19,20 @@ class ArgumentNullTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['id']['argument']['id'] = 'null';
 
     return $data;
   }
 
-  public function testAreaText() {
+  /**
+ *
+ */
+public function testAreaText() {
     // Test validation
     $view = Views::getView('test_view');
     $view->setDisplay();
diff --git a/core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php b/core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
index 3492ff1..d1185d4 100644
--- a/core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
@@ -24,7 +24,10 @@ protected function setUp($import_test_views = TRUE) {
     $this->installEntitySchema('entity_test');
   }
 
-  public function testEntityTestFields() {
+  /**
+ *
+ */
+public function testEntityTestFields() {
     $entity_test = EntityTest::create([
       'name' => 'test entity name',
     ]);
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
index 1a5551c..b0d6913 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php
@@ -19,7 +19,10 @@ class FieldBooleanTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  function dataSet() {
+  /**
+ *
+ */
+function dataSet() {
     // Use default dataset but remove the age from john and paul
     $data = parent::dataSet();
     $data[0]['age'] = 0;
@@ -27,13 +30,19 @@ function dataSet() {
     return $data;
   }
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['age']['field']['id'] = 'boolean';
     return $data;
   }
 
-  public function testFieldBoolean() {
+  /**
+ *
+ */
+public function testFieldBoolean() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
index 190f476..e517dd3 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
@@ -26,7 +26,10 @@ class FieldCounterTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  function testSimple() {
+  /**
+ *
+ */
+function testSimple() {
     $view = Views::getView('test_view');
     $view->setDisplay();
     $view->displayHandlers->get('default')->overrideOption('fields', array(
@@ -84,7 +87,9 @@ function testSimple() {
     $this->assertEqual($counter, (string) $expected_number, format_string('Make sure the expected number (@expected) patches with the rendered number (@counter)', array('@expected' => $expected_number, '@counter' => $counter)));
   }
 
-  // @TODO: Write tests for pager.
+  /**
+ *@TODO: Write tests for pager.
+ */
   function testPager() {
   }
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
index 2f60e34..3397bb9 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
@@ -20,7 +20,10 @@ class FieldFileSizeTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  function dataSet() {
+  /**
+ *
+ */
+function dataSet() {
     $data = parent::dataSet();
     $data[0]['age'] = 0;
     $data[1]['age'] = 10;
@@ -30,14 +33,20 @@ function dataSet() {
     return $data;
   }
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['age']['field']['id'] = 'file_size';
 
     return $data;
   }
 
-  public function testFieldFileSize() {
+  /**
+ *
+ */
+public function testFieldFileSize() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php
index bfb764d..1f453a3 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php
@@ -22,13 +22,19 @@ class FieldUrlTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['name']['field']['id'] = 'url';
     return $data;
   }
 
-  public function testFieldUrl() {
+  /**
+ *
+ */
+public function testFieldUrl() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
index d3aa2c9..4f64757 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
@@ -29,7 +29,10 @@ class FilterCombineTest extends ViewsKernelTestBase {
     'views_test_data_job' => 'job',
   );
 
-  public function testFilterCombineContains() {
+  /**
+ *
+ */
+public function testFilterCombineContains() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php
index a4bd6c8..2695a67 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php
@@ -30,13 +30,19 @@ class FilterEqualityTest extends ViewsKernelTestBase {
     'views_test_data_name' => 'name',
   );
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['name']['filter']['id'] = 'equality';
     return $data;
   }
 
-  function testEqual() {
+  /**
+ *
+ */
+function testEqual() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -61,7 +67,10 @@ function testEqual() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testEqualGroupedExposed() {
+  /**
+ *
+ */
+public function testEqualGroupedExposed() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -82,7 +91,10 @@ public function testEqualGroupedExposed() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testNotEqual() {
+  /**
+ *
+ */
+function testNotEqual() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -116,7 +128,10 @@ function testNotEqual() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testEqualGroupedNotExposed() {
+  /**
+ *
+ */
+public function testEqualGroupedNotExposed() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -147,7 +162,10 @@ public function testEqualGroupedNotExposed() {
   }
 
 
-  protected function getGroupedExposedFilters() {
+  /**
+ *
+ */
+protected function getGroupedExposedFilters() {
     $filters = array(
       'name' => array(
         'id' => 'name',
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
index 9ab08e1..4d25035 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
@@ -31,13 +31,19 @@ class FilterInOperatorTest extends ViewsKernelTestBase {
     'views_test_data_age' => 'age',
   );
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['age']['filter']['id'] = 'in_operator';
     return $data;
   }
 
-  public function testFilterInOperatorSimple() {
+  /**
+ *
+ */
+public function testFilterInOperatorSimple() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -103,7 +109,10 @@ public function testFilterInOperatorSimple() {
     $this->assertIdenticalResultset($view, $expected_result, $this->columnMap);
   }
 
-  public function testFilterInOperatorGroupedExposedSimple() {
+  /**
+ *
+ */
+public function testFilterInOperatorGroupedExposedSimple() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
 
@@ -129,7 +138,10 @@ public function testFilterInOperatorGroupedExposedSimple() {
     $this->assertIdenticalResultset($view, $expected_result, $this->columnMap);
   }
 
-  public function testFilterNotInOperatorGroupedExposedSimple() {
+  /**
+ *
+ */
+public function testFilterNotInOperatorGroupedExposedSimple() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
 
@@ -159,7 +171,10 @@ public function testFilterNotInOperatorGroupedExposedSimple() {
     $this->assertIdenticalResultset($view, $expected_result, $this->columnMap);
   }
 
-  protected function getGroupedExposedFilters() {
+  /**
+ *
+ */
+protected function getGroupedExposedFilters() {
     $filters = array(
       'age' => array(
         'id' => 'age',
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php
index 7721479..c8797d1 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php
@@ -31,7 +31,10 @@ class FilterNumericTest extends ViewsKernelTestBase {
     'views_test_data_age' => 'age',
   );
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['age']['filter']['allow empty'] = TRUE;
     $data['views_test_data']['id']['filter']['allow empty'] = FALSE;
@@ -39,7 +42,10 @@ function viewsData() {
     return $data;
   }
 
-  public function testFilterNumericSimple() {
+  /**
+ *
+ */
+public function testFilterNumericSimple() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -65,7 +71,10 @@ public function testFilterNumericSimple() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericExposedGroupedSimple() {
+  /**
+ *
+ */
+public function testFilterNumericExposedGroupedSimple() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -87,7 +96,10 @@ public function testFilterNumericExposedGroupedSimple() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericBetween() {
+  /**
+ *
+ */
+public function testFilterNumericBetween() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -160,7 +172,10 @@ public function testFilterNumericBetween() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericExposedGroupedBetween() {
+  /**
+ *
+ */
+public function testFilterNumericExposedGroupedBetween() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -190,7 +205,10 @@ public function testFilterNumericExposedGroupedBetween() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericExposedGroupedNotBetween() {
+  /**
+ *
+ */
+public function testFilterNumericExposedGroupedNotBetween() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -220,7 +238,10 @@ public function testFilterNumericExposedGroupedNotBetween() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericEmpty() {
+  /**
+ *
+ */
+public function testFilterNumericEmpty() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -280,7 +301,10 @@ public function testFilterNumericEmpty() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericExposedGroupedEmpty() {
+  /**
+ *
+ */
+public function testFilterNumericExposedGroupedEmpty() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -298,7 +322,10 @@ public function testFilterNumericExposedGroupedEmpty() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testFilterNumericExposedGroupedNotEmpty() {
+  /**
+ *
+ */
+public function testFilterNumericExposedGroupedNotEmpty() {
     $filters = $this->getGroupedExposedFilters();
     $view = Views::getView('test_view');
     $view->newDisplay('page', 'Page', 'page_1');
@@ -336,7 +363,10 @@ public function testFilterNumericExposedGroupedNotEmpty() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  public function testAllowEmpty() {
+  /**
+ *
+ */
+public function testAllowEmpty() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -366,7 +396,10 @@ public function testAllowEmpty() {
     $this->assertTrue(isset($age_operators['not empty']));
   }
 
-  protected function getGroupedExposedFilters() {
+  /**
+ *
+ */
+protected function getGroupedExposedFilters() {
     $filters = array(
       'age' => array(
         'id' => 'age',
diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
index e8c4977..d9d812a 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
@@ -30,7 +30,10 @@ class FilterStringTest extends ViewsKernelTestBase {
     'views_test_data_name' => 'name',
   );
 
-  function viewsData() {
+  /**
+ *
+ */
+function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['name']['filter']['allow empty'] = TRUE;
     $data['views_test_data']['job']['filter']['allow empty'] = FALSE;
@@ -39,7 +42,10 @@ function viewsData() {
     return $data;
   }
 
-  protected function schemaDefinition() {
+  /**
+ *
+ */
+protected function schemaDefinition() {
     $schema = parent::schemaDefinition();
     $schema['views_test_data']['fields']['description'] = array(
       'description' => "A person's description",
@@ -81,7 +87,10 @@ protected function getBasicPageView() {
     return $view;
   }
 
-  function testFilterStringEqual() {
+  /**
+ *
+ */
+function testFilterStringEqual() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -106,7 +115,10 @@ function testFilterStringEqual() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedEqual() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedEqual() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -128,7 +140,10 @@ function testFilterStringGroupedExposedEqual() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringNotEqual() {
+  /**
+ *
+ */
+function testFilterStringNotEqual() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -162,7 +177,10 @@ function testFilterStringNotEqual() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedNotEqual() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedNotEqual() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -194,7 +212,10 @@ function testFilterStringGroupedExposedNotEqual() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringContains() {
+  /**
+ *
+ */
+function testFilterStringContains() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -220,7 +241,10 @@ function testFilterStringContains() {
   }
 
 
-  function testFilterStringGroupedExposedContains() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedContains() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -243,7 +267,10 @@ function testFilterStringGroupedExposedContains() {
   }
 
 
-  function testFilterStringWord() {
+  /**
+ *
+ */
+function testFilterStringWord() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -296,7 +323,10 @@ function testFilterStringWord() {
   }
 
 
-  function testFilterStringGroupedExposedWord() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedWord() {
       $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -338,7 +368,10 @@ function testFilterStringGroupedExposedWord() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringStarts() {
+  /**
+ *
+ */
+function testFilterStringStarts() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -363,7 +396,10 @@ function testFilterStringStarts() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedStarts() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedStarts() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -384,7 +420,10 @@ function testFilterStringGroupedExposedStarts() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringNotStarts() {
+  /**
+ *
+ */
+function testFilterStringNotStarts() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -416,7 +455,10 @@ function testFilterStringNotStarts() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedNotStarts() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedNotStarts() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -444,7 +486,10 @@ function testFilterStringGroupedExposedNotStarts() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringEnds() {
+  /**
+ *
+ */
+function testFilterStringEnds() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -472,7 +517,10 @@ function testFilterStringEnds() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedEnds() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedEnds() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -496,7 +544,10 @@ function testFilterStringGroupedExposedEnds() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringNotEnds() {
+  /**
+ *
+ */
+function testFilterStringNotEnds() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -525,7 +576,10 @@ function testFilterStringNotEnds() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedNotEnds() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedNotEnds() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -550,7 +604,10 @@ function testFilterStringGroupedExposedNotEnds() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringNot() {
+  /**
+ *
+ */
+function testFilterStringNot() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -580,7 +637,10 @@ function testFilterStringNot() {
   }
 
 
-  function testFilterStringGroupedExposedNot() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedNot() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -606,7 +666,10 @@ function testFilterStringGroupedExposedNot() {
 
   }
 
-  function testFilterStringShorter() {
+  /**
+ *
+ */
+function testFilterStringShorter() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -634,7 +697,10 @@ function testFilterStringShorter() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedShorter() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedShorter() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -657,7 +723,10 @@ function testFilterStringGroupedExposedShorter() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringLonger() {
+  /**
+ *
+ */
+function testFilterStringLonger() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -682,7 +751,10 @@ function testFilterStringLonger() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedLonger() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedLonger() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -703,7 +775,10 @@ function testFilterStringGroupedExposedLonger() {
   }
 
 
-  function testFilterStringEmpty() {
+  /**
+ *
+ */
+function testFilterStringEmpty() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
@@ -727,7 +802,10 @@ function testFilterStringEmpty() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  function testFilterStringGroupedExposedEmpty() {
+  /**
+ *
+ */
+function testFilterStringGroupedExposedEmpty() {
     $filters = $this->getGroupedExposedFilters();
     $view = $this->getBasicPageView();
 
@@ -747,7 +825,10 @@ function testFilterStringGroupedExposedEmpty() {
     $this->assertIdenticalResultset($view, $resultset, $this->columnMap);
   }
 
-  protected function getGroupedExposedFilters() {
+  /**
+ *
+ */
+protected function getGroupedExposedFilters() {
     $filters = array(
       'name' => array(
         'id' => 'name',
diff --git a/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php b/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php
index 48f4e3d..e738977 100644
--- a/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php
@@ -21,7 +21,10 @@ class HandlerAliasTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_filter', 'test_alias');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     $this->installEntitySchema('user');
@@ -40,7 +43,10 @@ protected function viewsData() {
     return $data;
   }
 
-  public function testPluginAliases() {
+  /**
+ *
+ */
+public function testPluginAliases() {
     $view = Views::getView('test_filter');
     $view->initDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php b/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
index 8c454b7..5bacb01 100644
--- a/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
@@ -20,7 +20,10 @@ class SortDateTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  protected function expectedResultSet($granularity, $reverse = TRUE) {
+  /**
+ *
+ */
+protected function expectedResultSet($granularity, $reverse = TRUE) {
     $expected = array();
     if (!$reverse) {
       switch ($granularity) {
diff --git a/core/modules/views/tests/src/Kernel/ModuleTest.php b/core/modules/views/tests/src/Kernel/ModuleTest.php
index 74159ab..4f97f49 100644
--- a/core/modules/views/tests/src/Kernel/ModuleTest.php
+++ b/core/modules/views/tests/src/Kernel/ModuleTest.php
@@ -127,7 +127,7 @@ public function testViewsGetHandler() {
    *   An array that points to the active symbol table at the point the error
    *   occurred.
    *
-   * Because this is registered in set_error_handler(), it has to be public.
+   *   Because this is registered in set_error_handler(), it has to be public.
    * @see set_error_handler()
    */
   public function customErrorHandler($error_level, $message, $filename, $line, $context) {
diff --git a/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php b/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
index cac7985..87a2597 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
@@ -20,7 +20,10 @@ class ArgumentValidatorTest extends ViewsKernelTestBase {
    */
   public static $testViews = ['test_view_argument_validate_numeric', 'test_view'];
 
-  function testArgumentValidateNumeric() {
+  /**
+ *
+ */
+function testArgumentValidateNumeric() {
     $view = Views::getView('test_view_argument_validate_numeric');
     $view->initHandlers();
     $this->assertFalse($view->argument['null']->validateArgument($this->randomString()));
diff --git a/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php b/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
index 2b69948..eb755bd 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
@@ -30,7 +30,10 @@ class JoinTest extends RelationshipJoinTestBase {
    */
   protected $manager;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     // Add a join plugin manager which can be used in all of the tests.
diff --git a/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php b/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
index 2422ded..fcedf5e 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
@@ -20,7 +20,10 @@ class QueryTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_view');
 
-  protected function viewsData() {
+  /**
+ *
+ */
+protected function viewsData() {
     $data = parent::viewsData();
     $data['views_test_data']['table']['base']['query_id'] = 'query_test';
 
@@ -47,7 +50,10 @@ public function _testInitQuery() {
     $this->assertTrue($view->query instanceof QueryTestPlugin, 'Make sure the right query plugin got instantiated.');
   }
 
-  public function _testQueryExecute() {
+  /**
+ *
+ */
+public function _testQueryExecute() {
     $view = Views::getView('test_view');
     $view->setDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/PluginInstanceTest.php b/core/modules/views/tests/src/Kernel/PluginInstanceTest.php
index f5c61ee..8f782ec 100644
--- a/core/modules/views/tests/src/Kernel/PluginInstanceTest.php
+++ b/core/modules/views/tests/src/Kernel/PluginInstanceTest.php
@@ -45,7 +45,10 @@ class PluginInstanceTest extends ViewsKernelTestBase {
    */
   protected $definitions;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     $this->definitions = Views::getPluginDefinitions();
diff --git a/core/modules/views/tests/src/Kernel/TokenReplaceTest.php b/core/modules/views/tests/src/Kernel/TokenReplaceTest.php
index 9377ff4..7c1167d 100644
--- a/core/modules/views/tests/src/Kernel/TokenReplaceTest.php
+++ b/core/modules/views/tests/src/Kernel/TokenReplaceTest.php
@@ -21,7 +21,10 @@ class TokenReplaceTest extends ViewsKernelTestBase {
    */
   public static $testViews = array('test_tokens');
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
     $this->container->get('router.builder')->rebuild();
   }
diff --git a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
index 200f0ee..93825de 100644
--- a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
@@ -76,7 +76,10 @@ class ViewExecutableTest extends ViewsKernelTestBase {
     'parent_views',
   );
 
-  protected function setUpFixtures() {
+  /**
+ *
+ */
+protected function setUpFixtures() {
     $this->installEntitySchema('user');
     $this->installEntitySchema('node');
     $this->installEntitySchema('comment');
@@ -191,7 +194,10 @@ public function testProperties() {
     $this->assertEqual($view->getExposedInput(), []);
   }
 
-  public function testSetDisplayWithInvalidDisplay() {
+  /**
+ *
+ */
+public function testSetDisplayWithInvalidDisplay() {
     $view = Views::getView('test_executable_displays');
     $view->initDisplay();
 
diff --git a/core/modules/views/tests/src/Kernel/ViewsHooksTest.php b/core/modules/views/tests/src/Kernel/ViewsHooksTest.php
index e048454..d18a730 100644
--- a/core/modules/views/tests/src/Kernel/ViewsHooksTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewsHooksTest.php
@@ -50,7 +50,10 @@ class ViewsHooksTest extends ViewsKernelTestBase {
    */
   protected $moduleHandler;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     $this->moduleHandler = $this->container->get('module_handler');
diff --git a/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php b/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php
index 8a1fc96..a9406fc 100644
--- a/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php
+++ b/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php
@@ -29,7 +29,10 @@ class WizardPluginBaseKernelTest extends ViewsKernelTestBase {
    */
   protected $wizard;
 
-  protected function setUp($import_test_views = TRUE) {
+  /**
+ *
+ */
+protected function setUp($import_test_views = TRUE) {
     parent::setUp();
 
     $this->installConfig(array('language'));
diff --git a/core/modules/views/tests/src/Unit/EntityViewsDataTest.php b/core/modules/views/tests/src/Unit/EntityViewsDataTest.php
index e6d8f9f..93c5100 100644
--- a/core/modules/views/tests/src/Unit/EntityViewsDataTest.php
+++ b/core/modules/views/tests/src/Unit/EntityViewsDataTest.php
@@ -959,7 +959,10 @@ protected static function userEntityInfo() {
 
 class TestEntityViewsData extends EntityViewsData {
 
-  public function setEntityType(EntityTypeInterface $entity_type) {
+  /**
+ *
+ */
+public function setEntityType(EntityTypeInterface $entity_type) {
     $this->entityType = $entity_type;
   }
 }
@@ -987,7 +990,10 @@ public function setKey($key, $value) {
 
 namespace Drupal\entity_test\Entity {
   if (!function_exists('t')) {
-    function t($string, array $args = []) {
+    /**
+ *
+ */
+function t($string, array $args = []) {
       return strtr($string, $args);
     }
   }
diff --git a/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php b/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php
index f9d3add..7416438 100644
--- a/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php
+++ b/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php
@@ -47,7 +47,10 @@ class RouteSubscriberTest extends UnitTestCase {
    */
   protected $state;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->entityManager = $this->getMock('Drupal\Core\Entity\EntityManagerInterface');
     $this->viewStorage = $this->getMockBuilder('Drupal\Core\Config\Entity\ConfigEntityStorage')
       ->disableOriginalConstructor()
diff --git a/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php b/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php
index 114638a..6b87fca 100644
--- a/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php
@@ -204,7 +204,10 @@ public function testBuildFailed() {
   // @todo https://www.drupal.org/node/2571679 replace
   // views_add_contextual_links().
   if (!function_exists('views_add_contextual_links')) {
-    function views_add_contextual_links() {
+    /**
+ *
+ */
+function views_add_contextual_links() {
     }
   }
 }
diff --git a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php
index af9a683..de8940e 100644
--- a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php
@@ -49,7 +49,10 @@ class ViewsLocalTaskTest extends UnitTestCase {
    */
   protected $localTaskDerivative;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->routeProvider = $this->getMock('Drupal\Core\Routing\RouteProviderInterface');
     $this->state = $this->getMock('Drupal\Core\State\StateInterface');
     $this->viewStorage = $this->getMock('Drupal\Core\Entity\EntityStorageInterface');
diff --git a/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php b/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php
index 164d411..bbad0b0 100644
--- a/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php
@@ -32,7 +32,10 @@ class ResultTest extends UnitTestCase {
    */
   protected $resultHandler;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $storage = $this->prophesize(View::class);
diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
index b70b55d..a3767d5 100644
--- a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
@@ -687,7 +687,10 @@ public function testGetRenderTokensWithArguments() {
 
 class FieldPluginBaseTestField extends FieldPluginBase {
 
-  public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
+  /**
+ *
+ */
+public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
     $this->linkGenerator = $link_generator;
   }
 
@@ -696,7 +699,10 @@ public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
 // @todo Remove as part of https://www.drupal.org/node/2529170.
 namespace {
   if (!function_exists('base_path')) {
-    function base_path() {
+    /**
+ *
+ */
+function base_path() {
       return '/';
     }
   }
diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
index 90bd2cc..d20fdb4 100644
--- a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
@@ -726,7 +726,10 @@ protected function setupLanguageRenderer(Field $handler, $definition) {
 
 class FieldTestField extends Field {
 
-  public function executePrepareItemsByDelta(array $all_values) {
+  /**
+ *
+ */
+public function executePrepareItemsByDelta(array $all_values) {
     return $this->prepareItemsByDelta($all_values);
   }
 
diff --git a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php
index b6e15d7..f237478 100644
--- a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php
@@ -23,7 +23,10 @@ class PagerPluginBaseTest extends UnitTestCase {
    */
   protected $pager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->pager = $this->getMockBuilder('Drupal\views\Plugin\views\pager\PagerPluginBase')
       ->disableOriginalConstructor()
       ->getMockForAbstractClass();
diff --git a/core/modules/views/tests/src/Unit/PluginBaseTest.php b/core/modules/views/tests/src/Unit/PluginBaseTest.php
index ef19e11..f318a44 100644
--- a/core/modules/views/tests/src/Unit/PluginBaseTest.php
+++ b/core/modules/views/tests/src/Unit/PluginBaseTest.php
@@ -288,7 +288,10 @@ public function testFilterByDefinedOptions($storage, $options, $expected_storage
     $this->assertEquals($expected_storage, $storage);
   }
 
-  public function providerTestFilterByDefinedOptions() {
+  /**
+ *
+ */
+public function providerTestFilterByDefinedOptions() {
     $data = [];
 
     // A simple defined option.
diff --git a/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php b/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php
index c0f6eb8..bdd9515 100644
--- a/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php
+++ b/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php
@@ -35,7 +35,10 @@ class ViewPageControllerTest extends UnitTestCase {
     '#view_display_show_admin_links' => NULL,
   ];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->pageController = new ViewPageController();
   }
 
@@ -183,7 +186,10 @@ public function testHandleWithArgumentsOnOverriddenRouteWithUpcasting() {
   // @todo https://www.drupal.org/node/2571679 replace
   // views_add_contextual_links()
   if (!function_exists('views_add_contextual_links')) {
-    function views_add_contextual_links() {
+    /**
+ *
+ */
+function views_add_contextual_links() {
     }
   }
 }
diff --git a/core/modules/views_ui/src/Tests/AnalyzeTest.php b/core/modules/views_ui/src/Tests/AnalyzeTest.php
index 6cc9203..e35c947 100644
--- a/core/modules/views_ui/src/Tests/AnalyzeTest.php
+++ b/core/modules/views_ui/src/Tests/AnalyzeTest.php
@@ -25,7 +25,10 @@ class AnalyzeTest extends ViewTestBase {
    */
   public static $testViews = array('test_view');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->enableViewsTestModule();
diff --git a/core/modules/views_ui/src/Tests/AreaEntityUITest.php b/core/modules/views_ui/src/Tests/AreaEntityUITest.php
index ffe895a..38a28f1 100644
--- a/core/modules/views_ui/src/Tests/AreaEntityUITest.php
+++ b/core/modules/views_ui/src/Tests/AreaEntityUITest.php
@@ -19,7 +19,10 @@ class AreaEntityUITest extends UITestBase {
    */
   public static $modules = ['entity_test'];
 
-  public function testUI() {
+  /**
+ *
+ */
+public function testUI() {
     // Set up a block and a entity_test entity.
     $block = Block::create(['id' => 'test_id', 'plugin' => 'system_main_block']);
     $block->save();
diff --git a/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php b/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php
index 449a25c..c303553 100644
--- a/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php
+++ b/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php
@@ -43,7 +43,7 @@ public function testSpecifyValidation() {
    * Saves the test_argument view with changes made to the argument handler
    * both with and without specify_validation turned on.
    *
-   * @param boolean $specify_validation
+   * @param bool $specify_validation
    */
   protected function saveArgumentHandlerWithValidationOptions($specify_validation) {
     $options = array(
diff --git a/core/modules/views_ui/src/Tests/DefaultViewsTest.php b/core/modules/views_ui/src/Tests/DefaultViewsTest.php
index 3b3f2a7..da14add 100644
--- a/core/modules/views_ui/src/Tests/DefaultViewsTest.php
+++ b/core/modules/views_ui/src/Tests/DefaultViewsTest.php
@@ -21,7 +21,10 @@ class DefaultViewsTest extends UITestBase {
   public static $testViews = array('test_view_status', 'test_page_display_menu', 'test_page_display_arguments');
 
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views_ui/src/Tests/DisplayPathTest.php b/core/modules/views_ui/src/Tests/DisplayPathTest.php
index 8baa506..02c7f55 100644
--- a/core/modules/views_ui/src/Tests/DisplayPathTest.php
+++ b/core/modules/views_ui/src/Tests/DisplayPathTest.php
@@ -12,7 +12,10 @@
  */
 class DisplayPathTest extends UITestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views_ui/src/Tests/DuplicateTest.php b/core/modules/views_ui/src/Tests/DuplicateTest.php
index 8cf9b0d..42ea768 100644
--- a/core/modules/views_ui/src/Tests/DuplicateTest.php
+++ b/core/modules/views_ui/src/Tests/DuplicateTest.php
@@ -9,7 +9,10 @@
  */
 class DuplicateTest extends UITestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views_ui/src/Tests/ExposedFormUITest.php b/core/modules/views_ui/src/Tests/ExposedFormUITest.php
index a74300d..fd813e8 100644
--- a/core/modules/views_ui/src/Tests/ExposedFormUITest.php
+++ b/core/modules/views_ui/src/Tests/ExposedFormUITest.php
@@ -18,7 +18,10 @@ class ExposedFormUITest extends UITestBase {
    */
   public static $testViews = array('test_exposed_admin_ui');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalCreateContentType(array('type' => 'article'));
diff --git a/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php b/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php
index 98576ad..37df238 100644
--- a/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php
+++ b/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php
@@ -9,7 +9,10 @@
  */
 class OverrideDisplaysTest extends UITestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->drupalPlaceBlock('page_title_block');
diff --git a/core/modules/views_ui/src/Tests/ReportTest.php b/core/modules/views_ui/src/Tests/ReportTest.php
index d7228f1..1263db7 100644
--- a/core/modules/views_ui/src/Tests/ReportTest.php
+++ b/core/modules/views_ui/src/Tests/ReportTest.php
@@ -24,7 +24,10 @@ class ReportTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->adminUser = $this->drupalCreateUser(array('administer views'));
   }
diff --git a/core/modules/views_ui/src/Tests/TranslatedViewTest.php b/core/modules/views_ui/src/Tests/TranslatedViewTest.php
index beaf5f1..c0c7150 100644
--- a/core/modules/views_ui/src/Tests/TranslatedViewTest.php
+++ b/core/modules/views_ui/src/Tests/TranslatedViewTest.php
@@ -38,7 +38,10 @@ class TranslatedViewTest extends WebTestBase {
    */
   protected $adminUser;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $permissions = [
@@ -60,7 +63,10 @@ protected function setUp() {
     $this->rebuildContainer();
   }
 
-  public function testTranslatedStrings() {
+  /**
+ *
+ */
+public function testTranslatedStrings() {
     $translation_url = 'admin/structure/views/view/files/translate/fr/add';
     $edit_url = 'admin/structure/views/view/files';
 
diff --git a/core/modules/views_ui/src/Tests/ViewsUITourTest.php b/core/modules/views_ui/src/Tests/ViewsUITourTest.php
index ccc0f29..22f6e2a 100644
--- a/core/modules/views_ui/src/Tests/ViewsUITourTest.php
+++ b/core/modules/views_ui/src/Tests/ViewsUITourTest.php
@@ -33,7 +33,10 @@ class ViewsUITourTest extends TourTestBase {
    */
   public static $modules = array('views_ui', 'tour', 'language', 'locale');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->adminUser = $this->drupalCreateUser(array('administer views', 'access tour'));
     $this->drupalLogin($this->adminUser);
diff --git a/core/modules/views_ui/src/Tests/XssTest.php b/core/modules/views_ui/src/Tests/XssTest.php
index 8eac3a6..fa8abfb 100644
--- a/core/modules/views_ui/src/Tests/XssTest.php
+++ b/core/modules/views_ui/src/Tests/XssTest.php
@@ -16,7 +16,10 @@ class XssTest extends UITestBase {
    */
   public static $modules = array('node', 'user', 'views_ui', 'views_ui_test');
 
-  public function testViewsUi() {
+  /**
+ *
+ */
+public function testViewsUi() {
     $this->drupalGet('admin/structure/views');
     $this->assertEscaped('<script>alert("foo");</script>, <marquee>test</marquee>', 'The view tag is properly escaped.');
 
diff --git a/core/modules/views_ui/src/ViewUI.php b/core/modules/views_ui/src/ViewUI.php
index 6195c8c..2aa4c55 100644
--- a/core/modules/views_ui/src/ViewUI.php
+++ b/core/modules/views_ui/src/ViewUI.php
@@ -512,7 +512,10 @@ public function endQueryCapture() {
     $this->additionalQueries = $queries;
   }
 
-  public function renderPreview($display_id, $args = array()) {
+  /**
+ *
+ */
+public function renderPreview($display_id, $args = array()) {
     // Save the current path so it can be restored before returning from this function.
     $request_stack = \Drupal::requestStack();
     $current_request = $request_stack->getCurrentRequest();
diff --git a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
index 215728c..75b7a96 100644
--- a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
+++ b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
@@ -173,7 +173,10 @@ public function testBuildRowEntityList() {
 
 class TestViewListBuilder extends ViewListBuilder {
 
-  public function buildOperations(EntityInterface $entity) {
+  /**
+ *
+ */
+public function buildOperations(EntityInterface $entity) {
     return array();
   }
 
diff --git a/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php b/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php
index 59470e6..d8c0c98 100644
--- a/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php
@@ -20,7 +20,10 @@ public function testDrupalSetMessage() {
     $this->assertEquals('A message: bar', (string) $messages['status'][0]);
   }
 
-  protected function tearDown() {
+  /**
+ *
+ */
+protected function tearDown() {
     // Clear session to prevent global leakage.
     unset($_SESSION['messages']);
     parent::tearDown();
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
index bfa8233..12d93f1 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
@@ -18,12 +18,18 @@ class ConfigEntityNormalizeTest extends KernelTestBase {
    */
   public static $modules = array('config_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installConfig(static::$modules);
   }
 
-  public function testNormalize() {
+  /**
+ *
+ */
+public function testNormalize() {
     $config_entity = entity_create('config_test', array('id' => 'system', 'label' => 'foobar', 'weight' => 1));
     $config_entity->save();
 
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php
index 570ca4c..30bbd21 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php
@@ -29,7 +29,10 @@ class ConfigImportRecreateTest extends KernelTestBase {
    */
   public static $modules = ['system', 'field', 'text', 'user', 'node'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('node');
@@ -56,7 +59,10 @@ protected function setUp() {
     );
   }
 
-  public function testRecreateEntity() {
+  /**
+ *
+ */
+public function testRecreateEntity() {
     $type_name = Unicode::strtolower($this->randomMachineName(16));
     $content_type = NodeType::create([
       'type' => $type_name,
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
index 55f6481..d3a4010 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
@@ -28,7 +28,10 @@ class ConfigImporterMissingContentTest extends KernelTestBase {
    */
   public static $modules = array('system', 'user', 'entity_test', 'config_test', 'config_import_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('system', 'sequences');
     $this->installEntitySchema('entity_test');
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
index 1117f34..eb28f75 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
@@ -30,7 +30,10 @@ class ConfigImporterTest extends KernelTestBase {
    */
   public static $modules = array('config_test', 'system', 'config_import_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installConfig(array('config_test'));
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php
index 2b5b302..81d7c69 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php
@@ -18,7 +18,10 @@ class ConfigModuleOverridesTest extends KernelTestBase {
    */
   public static $modules = array('system', 'config', 'config_override_test');
 
-  public function testSimpleModuleOverrides() {
+  /**
+ *
+ */
+public function testSimpleModuleOverrides() {
     $GLOBALS['config_test_run_module_overrides'] = TRUE;
     $name = 'system.site';
     $overridden_name = 'ZOMG overridden site name';
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php
index 914adcf..814314f 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php
@@ -18,7 +18,10 @@ class ConfigOverrideTest extends KernelTestBase {
    */
   public static $modules = array('system', 'config_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->copyConfig($this->container->get('config.storage'), $this->container->get('config.storage.sync'));
   }
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php
index 3510ee9..a7171a1 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php
@@ -20,7 +20,10 @@ class ConfigOverridesPriorityTest extends KernelTestBase {
    */
   public static $modules = array('system', 'config', 'config_override_test', 'language');
 
-  public function testOverridePriorities() {
+  /**
+ *
+ */
+public function testOverridePriorities() {
     $GLOBALS['config_test_run_module_overrides'] = FALSE;
 
     $non_overridden_mail =  'site@example.com';
diff --git a/core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php b/core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php
index a8f9ef5..0b05545 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php
@@ -36,7 +36,10 @@ class DefaultConfigTest extends KernelTestBase {
    */
   protected $themes = ['seven'];
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     \Drupal::service('theme_handler')->install($this->themes);
   }
diff --git a/core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php b/core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php
index 163cca7..ea73646 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php
@@ -29,7 +29,10 @@ class CachedStorageTest extends ConfigStorageTestBase {
    */
   protected $fileStorage;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Create a directory.
     $dir = PublicStream::basePath() . '/config';
diff --git a/core/tests/Drupal/KernelTests/Core/Config/Storage/ConfigStorageTestBase.php b/core/tests/Drupal/KernelTests/Core/Config/Storage/ConfigStorageTestBase.php
index 1863dab..3ac0170 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/Storage/ConfigStorageTestBase.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/Storage/ConfigStorageTestBase.php
@@ -255,12 +255,24 @@ public function testCollection() {
     $this->assertIdentical(array('collection.sub.another', 'collection.sub.new'), $this->storage->getAllCollectionNames());
   }
 
-  abstract protected function read($name);
+  /**
+ *
+ */
+abstract protected function read($name);
 
-  abstract protected function insert($name, $data);
+  /**
+ *
+ */
+abstract protected function insert($name, $data);
 
-  abstract protected function update($name, $data);
+  /**
+ *
+ */
+abstract protected function update($name, $data);
 
-  abstract protected function delete($name);
+  /**
+ *
+ */
+abstract protected function delete($name);
 
 }
diff --git a/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php b/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php
index 0365382..c7aae49 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php
@@ -24,20 +24,32 @@ protected function setUp() {
     $this->storage->write('system.performance', array());
   }
 
-  protected function read($name) {
+  /**
+ *
+ */
+protected function read($name) {
     $data = db_query('SELECT data FROM {config} WHERE name = :name', array(':name' => $name))->fetchField();
     return unserialize($data);
   }
 
-  protected function insert($name, $data) {
+  /**
+ *
+ */
+protected function insert($name, $data) {
     db_insert('config')->fields(array('name' => $name, 'data' => $data))->execute();
   }
 
-  protected function update($name, $data) {
+  /**
+ *
+ */
+protected function update($name, $data) {
     db_update('config')->fields(array('data' => $data))->condition('name', $name)->execute();
   }
 
-  protected function delete($name) {
+  /**
+ *
+ */
+protected function delete($name) {
     db_delete('config')->condition('name', $name)->execute();
   }
 }
diff --git a/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php b/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
index c0540dd..b8c38f4 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
@@ -36,20 +36,32 @@ protected function setUp() {
     $this->storage->write('core.extension', array('module' => array()));
   }
 
-  protected function read($name) {
+  /**
+ *
+ */
+protected function read($name) {
     $data = file_get_contents($this->storage->getFilePath($name));
     return Yaml::decode($data);
   }
 
-  protected function insert($name, $data) {
+  /**
+ *
+ */
+protected function insert($name, $data) {
     file_put_contents($this->storage->getFilePath($name), $data);
   }
 
-  protected function update($name, $data) {
+  /**
+ *
+ */
+protected function update($name, $data) {
     file_put_contents($this->storage->getFilePath($name), $data);
   }
 
-  protected function delete($name) {
+  /**
+ *
+ */
+protected function delete($name) {
     unlink($this->storage->getFilePath($name));
   }
 
diff --git a/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php b/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
index e315f96..e0544e9 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
@@ -18,7 +18,10 @@ class ConnectionUnitTest extends KernelTestBase {
   protected $monitor;
   protected $originalCount;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->key = 'default';
diff --git a/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php b/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
index fb0b398..e0f7cb1 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
@@ -14,7 +14,10 @@
 
   public static $modules = array('database_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('database_test', array(
       'test',
diff --git a/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php b/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php
index 5987180..aec6751 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php
@@ -17,7 +17,10 @@ class NextIdTest extends KernelTestBase {
    */
   public static $modules = array('system');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installSchema('system', 'sequences');
   }
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
index 459a96d..147e832 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
@@ -21,7 +21,10 @@ class BundleConstraintValidatorTest extends KernelTestBase {
 
   public static $modules = array('node', 'field', 'text', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->installEntitySchema('user');
     $this->typedData = $this->container->get('typed_data_manager');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
index 53797cf..5eda091 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
@@ -42,7 +42,10 @@ class ConfigEntityQueryTest extends KernelTestBase {
    */
   protected $entities;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->entities = array();
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
index 7bba948..051262c 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
@@ -44,7 +44,10 @@ class EntityCrudHookTest extends EntityKernelTestBase {
 
   protected $ids = array();
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installSchema('user', array('users_data'));
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php
index 9ca3d08..3a23672 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php
@@ -19,7 +19,10 @@ class EntityFieldDefaultValueTest extends EntityKernelTestBase  {
    */
   protected $uuid;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Initiate the generator object.
     $this->uuid = $this->container->get('uuid');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
index ec3f87a..43b6c69 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
@@ -43,7 +43,10 @@ class EntityFieldTest extends EntityKernelTestBase  {
    */
   protected $entityFieldText;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     foreach (entity_test_entity_types() as $entity_type_id) {
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
index 216e03f..1cf3be9 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
@@ -40,7 +40,10 @@
    */
   protected $state;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->entityManager = $this->container->get('entity.manager');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
index 59510ba..65ca0e1 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
@@ -42,7 +42,10 @@
 
   public static $modules = array('language', 'entity_test');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->languageManager = $this->container->get('language_manager');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
index 4338aef..aed2b7d 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
@@ -41,7 +41,10 @@ class EntityQueryAggregateTest extends EntityKernelTestBase {
    */
   public $factory;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->entityStorage = $this->entityManager->getStorage('entity_test');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
index d39a1aa..496928a 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
@@ -63,7 +63,10 @@ class EntityQueryRelationshipTest extends EntityKernelTestBase {
    */
   protected $queryResults;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('taxonomy_term');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
index 0d4e5c4..e2a96b0 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
@@ -57,7 +57,10 @@ class EntityQueryTest extends EntityKernelTestBase {
    */
   public $figures;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test_mulrev');
@@ -512,7 +515,10 @@ public function testNestedConditionGroups() {
     $this->assertResult(6, 14);
   }
 
-  protected function assertResult() {
+  /**
+ *
+ */
+protected function assertResult() {
     $assert = array();
     $expected = func_get_args();
     if ($expected && is_array($expected[0])) {
@@ -524,7 +530,10 @@ protected function assertResult() {
     $this->assertIdentical($this->queryResults, $assert);
   }
 
-  protected function assertRevisionResult($keys, $expected) {
+  /**
+ *
+ */
+protected function assertRevisionResult($keys, $expected) {
     $assert = array();
     foreach ($expected as $key => $binary) {
       $assert[$keys[$key]] = strval($binary);
@@ -533,7 +542,10 @@ protected function assertRevisionResult($keys, $expected) {
     return $assert;
   }
 
-  protected function assertBundleOrder($order) {
+  /**
+ *
+ */
+protected function assertBundleOrder($order) {
     // This loop is for bundle1 entities.
     for ($i = 1; $i <= 15; $i +=2) {
       $ok = TRUE;
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
index f51c8ea..0a8c3ad 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
@@ -23,7 +23,10 @@ class EntityReferenceSelectionSortTest extends EntityKernelTestBase {
    */
   public static $modules = array('node');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Create an Article node type.
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
index 6da6d6a..0f8abee 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
@@ -20,7 +20,10 @@ class EntityTypeConstraintValidatorTest extends EntityKernelTestBase {
 
   public static $modules = array('node', 'field', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $this->typedData = $this->container->get('typed_data_manager');
   }
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php
index b61a6dd..a02303c 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php
@@ -33,7 +33,10 @@ class EntityTypedDataDefinitionTest extends KernelTestBase {
    */
   public static $modules = array('filter', 'text', 'node', 'user');
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setup();
     $this->typedDataManager = $this->container->get('typed_data_manager');
   }
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
index 2291355..2bb4eea 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
@@ -9,7 +9,10 @@
  */
 class EntityUUIDTest extends EntityKernelTestBase {
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     foreach (entity_test_entity_types() as $entity_type_id) {
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php b/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
index 07c5ec5..24c287f 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
@@ -72,7 +72,10 @@ class FieldSqlStorageTest extends EntityKernelTestBase {
    */
   protected $tableMapping;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->installEntitySchema('entity_test_rev');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php b/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
index 1fd873c..9e20914 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
@@ -28,7 +28,10 @@ protected function setUp() {
     $this->installSchema('system', 'sequences');
   }
 
-  public function testRevisionableContentEntity() {
+  /**
+ *
+ */
+public function testRevisionableContentEntity() {
     $user = User::create(['name' => 'test name']);
     $user->save();
     /** @var \Drupal\entity_test\Entity\EntityTestWithRevisionLog $entity */
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php b/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
index df9f4b1..ee6907d 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
@@ -42,7 +42,10 @@ protected function setUp() {
     $role->save();
   }
 
-  protected function httpKernelHandle($url) {
+  /**
+ *
+ */
+protected function httpKernelHandle($url) {
     $request = Request::create($url);
     /** @var \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel */
     $http_kernel = \Drupal::service('http_kernel');
diff --git a/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php b/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
index bdf1cf2..d91e777 100644
--- a/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
@@ -31,7 +31,10 @@ class FieldAccessTest extends KernelTestBase {
    */
   protected $activeUid;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     // Install field configuration.
     $this->installConfig(array('field'));
diff --git a/core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php b/core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
index c7eb3b2..6ec498f 100644
--- a/core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
+++ b/core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
@@ -27,7 +27,10 @@ protected function setUp() {
     \Drupal::service('router.builder')->rebuild();
   }
 
-  public function testRedirectOn404() {
+  /**
+ *
+ */
+public function testRedirectOn404() {
     \Drupal::configFactory()->getEditable('system.site')
       ->set('page.404', '/test-http-response-exception/' . Response::HTTP_PERMANENTLY_REDIRECT)
       ->save();
diff --git a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
index 6042b6f..68eda9f 100644
--- a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
+++ b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
@@ -37,7 +37,10 @@ public function testAssertAllStrings($input, $expected) {
     $this->assertSame($expected, Inspector::assertAllStrings($input));
   }
 
-  public function providerTestAssertAllStrings() {
+  /**
+ *
+ */
+public function providerTestAssertAllStrings() {
     $data = [
       'empty-array' => [[], TRUE],
       'array-with-strings' => [['foo', 'bar'], TRUE],
diff --git a/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php b/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
index 930dbe5..7a6f700 100644
--- a/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
+++ b/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
@@ -24,14 +24,20 @@
  */
 class ContainerAwareEventDispatcherTest extends SymfonyContainerAwareEventDispatcherTest
 {
-    protected function createEventDispatcher()
+    /**
+ *
+ */
+protected function createEventDispatcher()
     {
         $container = new Container();
 
         return new ContainerAwareEventDispatcher($container);
     }
 
-    public function testGetListenersWithCallables()
+    /**
+ *
+ */
+public function testGetListenersWithCallables()
     {
         // When passing in callables exclusively as listeners into the event
         // dispatcher constructor, the event dispatcher must not attempt to
@@ -66,7 +72,10 @@ public function testGetListenersWithCallables()
         $this->assertSame($expectedListeners, $actualListeners);
     }
 
-    public function testDispatchWithCallables()
+    /**
+ *
+ */
+public function testDispatchWithCallables()
     {
         // When passing in callables exclusively as listeners into the event
         // dispatcher constructor, the event dispatcher must not attempt to
@@ -93,7 +102,10 @@ public function testDispatchWithCallables()
         $this->assertTrue($thirdListener[0]->preFooInvoked);
     }
 
-    public function testGetListenersWithServices()
+    /**
+ *
+ */
+public function testGetListenersWithServices()
     {
         $container = new ContainerBuilder();
         $container->register('listener_service', 'Symfony\Component\EventDispatcher\Tests\TestEventListener');
@@ -119,7 +131,10 @@ public function testGetListenersWithServices()
         $this->assertSame($expectedListeners, $actualListeners);
     }
 
-    public function testDispatchWithServices()
+    /**
+ *
+ */
+public function testDispatchWithServices()
     {
         $container = new ContainerBuilder();
         $container->register('listener_service', 'Symfony\Component\EventDispatcher\Tests\TestEventListener');
@@ -140,7 +155,10 @@ public function testDispatchWithServices()
         $this->assertTrue($listenerService->preFooInvoked);
     }
 
-    public function testRemoveService()
+    /**
+ *
+ */
+public function testRemoveService()
     {
         $container = new ContainerBuilder();
         $container->register('listener_service', 'Symfony\Component\EventDispatcher\Tests\TestEventListener');
@@ -171,7 +189,10 @@ public function testRemoveService()
         $this->assertTrue($otherService->preFooInvoked);
     }
 
-    public function testGetListenerPriority()
+    /**
+ *
+ */
+public function testGetListenerPriority()
     {
         // Override the parent test as our implementation doesn't define
         // getListenerPriority().
diff --git a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php
index d6cc8c6..684807d 100644
--- a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php
+++ b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php
@@ -158,7 +158,10 @@ public static function getPluginClass($plugin_id, $plugin_definition = NULL, $re
  */
 class ArgumentsPluginId {
 
-  public function __construct($plugin_id) {
+  /**
+ *
+ */
+public function __construct($plugin_id) {
     // No-op.
   }
 
@@ -171,7 +174,10 @@ public function __construct($plugin_id) {
  */
 class ArgumentsMany {
 
-  public function __construct(
+  /**
+ *
+ */
+public function __construct(
   $configuration, $plugin_definition, $plugin_id, $foo = 'default_value', $what_am_i_doing_here = 'what_default'
   ) {
     // No-op.
@@ -186,7 +192,10 @@ public function __construct(
  */
 class ArgumentsConfigArrayKey {
 
-  public function __construct($config_name) {
+  /**
+ *
+ */
+public function __construct($config_name) {
     // No-op.
   }
 
@@ -199,7 +208,10 @@ public function __construct($config_name) {
  */
 class ArgumentsAllNull {
 
-  public function __construct($charismatic, $demure, $delightful, $electrostatic) {
+  /**
+ *
+ */
+public function __construct($charismatic, $demure, $delightful, $electrostatic) {
     // No-op.
   }
 
diff --git a/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
index 53a14f5..1884345 100644
--- a/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
+++ b/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
@@ -365,7 +365,10 @@ class TestServiceNoMethod {
 
 class TestServiceSimpleMethod {
 
-  public function method() {
+  /**
+ *
+ */
+public function method() {
 
   }
 
@@ -373,7 +376,10 @@ public function method() {
 
 class TestServiceMethodWithParameter {
 
-  public function methodWithParameter($parameter) {
+  /**
+ *
+ */
+public function methodWithParameter($parameter) {
 
   }
 
@@ -381,7 +387,10 @@ public function methodWithParameter($parameter) {
 
 class TestServiceComplexMethod {
 
-  public function complexMethod($parameter, callable $function, TestServiceNoMethod $test_service = NULL, array &$elements = array()) {
+  /**
+ *
+ */
+public function complexMethod($parameter, callable $function, TestServiceNoMethod $test_service = NULL, array &$elements = array()) {
 
   }
 
@@ -389,7 +398,10 @@ public function complexMethod($parameter, callable $function, TestServiceNoMetho
 
 class TestServiceReturnReference {
 
-  public function &returnReference() {
+  /**
+ *
+ */
+public function &returnReference() {
 
   }
 
@@ -397,13 +409,19 @@ public function &returnReference() {
 
 interface TestInterface {
 
-  public function testMethod($parameter);
+  /**
+ *
+ */
+public function testMethod($parameter);
 
 }
 
 class TestServiceWithInterface implements TestInterface {
 
-  public function testMethod($parameter) {
+  /**
+ *
+ */
+public function testMethod($parameter) {
 
   }
 
@@ -411,15 +429,24 @@ public function testMethod($parameter) {
 
 class TestServiceWithProtectedMethods {
 
-  public function testMethod($parameter) {
+  /**
+ *
+ */
+public function testMethod($parameter) {
 
   }
 
-  protected function protectedMethod($parameter) {
+  /**
+ *
+ */
+protected function protectedMethod($parameter) {
 
   }
 
-  protected function privateMethod($parameter) {
+  /**
+ *
+ */
+protected function privateMethod($parameter) {
 
   }
 
@@ -427,7 +454,10 @@ protected function privateMethod($parameter) {
 
 class TestServiceWithPublicStaticMethod {
 
-  public static function testMethod($parameter) {
+  /**
+ *
+ */
+public static function testMethod($parameter) {
   }
 
 }
diff --git a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
index 660ff2a..d39e136 100644
--- a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
@@ -197,7 +197,10 @@ public function providerTestHandleUnresolvedArgument() {
  * Provides a test class.
  */
 class TestClass {
-  public function access($foo) {
+  /**
+ *
+ */
+public function access($foo) {
   }
 }
 
@@ -216,6 +219,9 @@ public function access($foo) {
 }
 
 namespace {
-  function test_access_arguments_resolver_access($foo) {
+  /**
+ *
+ */
+function test_access_arguments_resolver_access($foo) {
   }
 }
diff --git a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
index 92db2ac..3d83ba1 100644
--- a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
@@ -262,7 +262,10 @@ public function testFilter($array, $callable, $expected) {
     $this->assertEquals($expected, NestedArray::filter($array, $callable));
   }
 
-  public function providerTestFilter() {
+  /**
+ *
+ */
+public function providerTestFilter() {
     $data = [];
     $data['1d-array'] = [
       [0, 1, '', TRUE], NULL, [1 => 1, 3 => TRUE]
diff --git a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
index 0e43609..d2f79a6 100644
--- a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
@@ -214,11 +214,17 @@ class SafeMarkupTestString {
 
   protected $string;
 
-  public function __construct($string) {
+  /**
+ *
+ */
+public function __construct($string) {
     $this->string = $string;
   }
 
-  public function __toString() {
+  /**
+ *
+ */
+public function __toString() {
     return $this->string;
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
index 9c04041..1ef1812 100644
--- a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
@@ -567,5 +567,8 @@ protected function setupAccessArgumentsResolverFactory($constraint = NULL) {
  * Defines an interface with a defined access() method for mocking.
  */
 interface TestAccessCheckInterface extends AccessCheckInterface {
-  public function access();
+  /**
+ *
+ */
+public function access();
 }
diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
index 287c344..0431c16 100644
--- a/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@@ -44,7 +44,10 @@ protected function setUp() {
     \Drupal::setContainer($container);
   }
 
-  protected function assertDefaultCacheability(AccessResult $access) {
+  /**
+ *
+ */
+protected function assertDefaultCacheability(AccessResult $access) {
     $this->assertSame([], $access->getCacheContexts());
     $this->assertSame([], $access->getCacheTags());
     $this->assertSame(Cache::PERMANENT, $access->getCacheMaxAge());
diff --git a/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php
index 3ed4e84..f931cf0 100644
--- a/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php
@@ -35,7 +35,10 @@ class CsrfAccessCheckTest extends UnitTestCase {
    */
   protected $routeMatch;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->csrfToken = $this->getMockBuilder('Drupal\Core\Access\CsrfTokenGenerator')
       ->disableOriginalConstructor()
       ->getMock();
diff --git a/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
index 36d330d..8b03370 100644
--- a/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
@@ -110,15 +110,24 @@ public function testAccess() {
 
 class TestController {
 
-  public function accessAllow() {
+  /**
+ *
+ */
+public function accessAllow() {
     return AccessResult::allowed();
   }
 
-  public function accessDeny() {
+  /**
+ *
+ */
+public function accessDeny() {
     return AccessResult::neutral();
   }
 
-  public function accessParameter($parameter) {
+  /**
+ *
+ */
+public function accessParameter($parameter) {
     return AccessResult::allowedIf($parameter == 'TRUE');
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
index d1f8f9e..00a1ead 100644
--- a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
@@ -27,7 +27,10 @@ class RouteProcessorCsrfTest extends UnitTestCase {
    */
   protected $processor;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->csrfToken = $this->getMockBuilder('Drupal\Core\Access\CsrfTokenGenerator')
       ->disableOriginalConstructor()
       ->getMock();
diff --git a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php
index cd6b6cc..2bc12d5 100644
--- a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php
+++ b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php
@@ -22,7 +22,10 @@ class AjaxResponseTest extends UnitTestCase {
    */
   protected $ajaxResponse;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->ajaxResponse = new AjaxResponse();
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php b/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php
index 91d9079..d231d4d 100644
--- a/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php
+++ b/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php
@@ -55,7 +55,10 @@ public function testMissingData($data) {
     new PluralTranslation($data);
   }
 
-  public function providerTestMissingData() {
+  /**
+ *
+ */
+public function providerTestMissingData() {
     $data = [];
     $data['all-missing'] = [[]];
     $data['singular-missing'] = [['plural' => 'muh']];
diff --git a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
index 8b1b339..3910b88 100644
--- a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
@@ -135,7 +135,10 @@ public function testGetJsAssets(AttachedAssetsInterface $assets_a, AttachedAsset
     $this->assertCount($expected_cache_item_count * 2, $this->cache->getAllCids());
   }
 
-  public function providerAttachedAssets() {
+  /**
+ *
+ */
+public function providerAttachedAssets() {
     $time = time();
     return [
       'same libraries, different timestamps' => [
@@ -162,7 +165,10 @@ public function providerAttachedAssets() {
 }
 
 class TestMemoryBackend extends MemoryBackend {
-  public function getAllCids() {
+  /**
+ *
+ */
+public function getAllCids() {
     return array_keys($this->cache);
   }
 }
diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
index 1e380c8..0410369 100644
--- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
@@ -19,7 +19,10 @@ class CssCollectionGrouperUnitTest extends UnitTestCase {
    */
   protected $grouper;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->grouper = new CssCollectionGrouper();
diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
index 50f7313..35bf02d 100644
--- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
@@ -68,7 +68,10 @@ class CssCollectionRendererUnitTest extends UnitTestCase {
    */
   protected $state;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->state = $this->getMock('Drupal\Core\State\StateInterface');
diff --git a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
index c4dd147..0369247 100644
--- a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
@@ -22,7 +22,10 @@ function file_create_url($uri) {
 
 if (!function_exists('file_uri_scheme')) {
 
-  function file_uri_scheme($uri) {
+  /**
+ *
+ */
+function file_uri_scheme($uri) {
     return FALSE;
   }
 
@@ -66,7 +69,10 @@ class CssOptimizerUnitTest extends UnitTestCase {
    */
   protected $optimizer;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->optimizer = new CssOptimizer();
diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
index ed0c9ce..397f088 100644
--- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
@@ -544,19 +544,31 @@ class TestLibraryDiscoveryParser extends LibraryDiscoveryParser {
 
   protected $validUris;
 
-  protected function drupalGetPath($type, $name) {
+  /**
+ *
+ */
+protected function drupalGetPath($type, $name) {
     return isset($this->paths[$type][$name]) ? $this->paths[$type][$name] : NULL;
   }
 
-  public function setPaths($type, $name, $path) {
+  /**
+ *
+ */
+public function setPaths($type, $name, $path) {
     $this->paths[$type][$name] = $path;
   }
 
-  protected function fileValidUri($source) {
+  /**
+ *
+ */
+protected function fileValidUri($source) {
     return isset($this->validUris[$source]) ? $this->validUris[$source] : FALSE;
   }
 
-  public function setFileValidUri($source, $valid) {
+  /**
+ *
+ */
+public function setFileValidUri($source, $valid) {
     $this->validUris[$source] = $valid;
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
index ccada29..8ea5ced 100644
--- a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
@@ -42,7 +42,10 @@ class BackendChainImplementationUnitTest extends UnitTestCase {
    */
   protected $thirdBackend;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     // Set up three memory backends to be used in the chain.
diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
index 6b233aa..1c6b372 100644
--- a/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
@@ -139,13 +139,19 @@ public function providerTestInvalidCalculatedContext() {
     ];
   }
 
-  public function testAvailableContextStrings() {
+  /**
+ *
+ */
+public function testAvailableContextStrings() {
     $cache_contexts_manager = new CacheContextsManager($this->getMockContainer(), $this->getContextsFixture());
     $contexts = $cache_contexts_manager->getAll();
     $this->assertEquals(array("foo", "baz"), $contexts);
   }
 
-  public function testAvailableContextLabels() {
+  /**
+ *
+ */
+public function testAvailableContextLabels() {
     $container = $this->getMockContainer();
     $cache_contexts_manager = new CacheContextsManager($container, $this->getContextsFixture());
     $labels = $cache_contexts_manager->getLabels();
@@ -153,11 +159,17 @@ public function testAvailableContextLabels() {
     $this->assertEquals($expected, $labels);
   }
 
-  protected function getContextsFixture() {
+  /**
+ *
+ */
+protected function getContextsFixture() {
     return array('foo', 'baz');
   }
 
-  protected function getMockContainer() {
+  /**
+ *
+ */
+protected function getMockContainer() {
     $container = $this->getMockBuilder('Drupal\Core\DependencyInjection\Container')
       ->disableOriginalConstructor()
       ->getMock();
diff --git a/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php b/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php
index 4112eae..c9a2b39 100644
--- a/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php
+++ b/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php
@@ -26,7 +26,10 @@ class DiffArrayTest extends UnitTestCase {
    */
   protected $array2;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->array1 = array(
diff --git a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php
index e8b4a2f..0df3554 100644
--- a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php
+++ b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php
@@ -28,7 +28,10 @@ public function testResolveConditions($conditions, $logic, $expected) {
     $this->assertEquals($expected, $trait_object->resolveConditions($conditions, $logic));
   }
 
-  public function providerTestResolveConditions() {
+  /**
+ *
+ */
+public function providerTestResolveConditions() {
     $data = array();
 
     $condition_true = $this->getMock('Drupal\Core\Condition\ConditionInterface');
diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigTest.php
index 223d890..ff4a2a5 100644
--- a/core/tests/Drupal/Tests/Core/Config/ConfigTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/ConfigTest.php
@@ -53,7 +53,10 @@ class ConfigTest extends UnitTestCase {
    */
   protected $cacheTagsInvalidator;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->storage = $this->getMock('Drupal\Core\Config\StorageInterface');
     $this->eventDispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
     $this->typedConfig = $this->getMock('\Drupal\Core\Config\TypedConfigManagerInterface');
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php
index 0c3f14d..35be49c 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php
@@ -12,12 +12,18 @@
  */
 class ConfigDependencyManagerTest extends UnitTestCase {
 
-  public function testNoConfiguration() {
+  /**
+ *
+ */
+public function testNoConfiguration() {
     $dep_manger = new ConfigDependencyManager();
     $this->assertEmpty($dep_manger->getDependentEntities('config', 'config_test.dynamic.entity_id:745b0ce0-aece-42dd-a800-ade5b8455e84'));
   }
 
-  public function testNoConfigEntities() {
+  /**
+ *
+ */
+public function testNoConfigEntities() {
     $dep_manger = new ConfigDependencyManager();
     $dep_manger->setData(array(
       'simple.config' => array(
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
index 4710765..299afb4 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
@@ -617,7 +617,10 @@ class TestConfigEntityWithPluginCollections extends ConfigEntityBaseWithPluginCo
 
   protected $pluginCollection;
 
-  public function setPluginManager(PluginManagerInterface $plugin_manager) {
+  /**
+ *
+ */
+public function setPluginManager(PluginManagerInterface $plugin_manager) {
     $this->pluginCollection = new DefaultLazyPluginCollection($plugin_manager, ['the_instance_id' => ['id' => 'the_instance_id']]);
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php
index 5d617ce..7f729e5 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php
@@ -12,7 +12,10 @@
  */
 class ConfigEntityDependencyTest extends UnitTestCase {
 
-  public function testEmptyDependencies() {
+  /**
+ *
+ */
+public function testEmptyDependencies() {
     $dep = new ConfigEntityDependency('config_test.dynamic.entity_id', array());
 
     $this->assertEquals('config_test.dynamic.entity_id', $dep->getConfigDependencyName());
@@ -23,7 +26,10 @@ public function testEmptyDependencies() {
     $this->assertFalse($dep->hasDependency('module', 'views'));
   }
 
-  public function testWithDependencies() {
+  /**
+ *
+ */
+public function testWithDependencies() {
     $values = array(
       'uuid' => '60db47f4-54fb-4c86-a439-5769fbda4bd1',
       'dependencies' => array(
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
index b131b26..6d32bb0 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
@@ -138,7 +138,10 @@ public function testGetPropertiesToExport($definition, $expected) {
     $this->assertSame($expected, $properties_to_export);
   }
 
-  public function providerGetPropertiesToExport() {
+  /**
+ *
+ */
+public function providerGetPropertiesToExport() {
     $data = [];
     $data[] = [
       [],
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
index 79737d9..16691ad 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
@@ -31,7 +31,10 @@ public function testGetKeys(array $expected, $key, Config $config) {
     $this->assertEquals($expected, $actual);
   }
 
-  public function providerTestGetKeys() {
+  /**
+ *
+ */
+public function providerTestGetKeys() {
     $tests = [];
 
     $tests[] = [
diff --git a/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php b/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
index 5b5c498..78ce586 100644
--- a/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
@@ -18,7 +18,10 @@ class ImmutableConfigTest extends UnitTestCase {
    */
   protected $config;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
     $storage = $this->getMock('Drupal\Core\Config\StorageInterface');
     $event_dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
diff --git a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
index 982ab81..cde02f9 100644
--- a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
@@ -41,14 +41,20 @@ class StorageComparerTest extends UnitTestCase {
    */
   protected $configData;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->sourceStorage = $this->getMock('Drupal\Core\Config\StorageInterface');
     $this->targetStorage = $this->getMock('Drupal\Core\Config\StorageInterface');
     $this->configManager = $this->getMock('Drupal\Core\Config\ConfigManagerInterface');
     $this->storageComparer = new StorageComparer($this->sourceStorage, $this->targetStorage, $this->configManager);
   }
 
-  protected function getConfigData() {
+  /**
+ *
+ */
+protected function getConfigData() {
     $uuid = new Php();
     // Mock data using minimal data to use ConfigDependencyManger.
     $this->configData = array(
diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php
index 9bcb6b5..7e4d6a3 100644
--- a/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php
+++ b/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php
@@ -18,7 +18,10 @@ class ControllerBaseTest extends UnitTestCase {
    */
   protected $controllerBase;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->controllerBase = $this->getMockForAbstractClass('Drupal\Core\Controller\ControllerBase');
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
index dc8c8d1..cd34124 100644
--- a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
+++ b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
@@ -247,21 +247,33 @@ public function testGetArgumentsWithRouteMatchAndPsr7Request() {
 }
 
 class MockController {
-  public function getResult() {
+  /**
+ *
+ */
+public function getResult() {
     return 'This is a regular controller.';
   }
 
-  public function getControllerWithRequestAndRouteMatch(RouteMatchInterface $route_match, Request $request) {
+  /**
+ *
+ */
+public function getControllerWithRequestAndRouteMatch(RouteMatchInterface $route_match, Request $request) {
     return 'this is another example controller';
   }
 
 }
 class MockControllerPsr7 {
-  public function getResult() {
+  /**
+ *
+ */
+public function getResult() {
     return ['#markup' => 'This is a regular controller'];
   }
 
-  public function getControllerWithRequestAndRouteMatch(RouteMatchInterface $route_match, ServerRequestInterface $request) {
+  /**
+ *
+ */
+public function getControllerWithRequestAndRouteMatch(RouteMatchInterface $route_match, ServerRequestInterface $request) {
     return ['#markup' => 'this is another example controller'];
   }
 
@@ -269,23 +281,38 @@ public function getControllerWithRequestAndRouteMatch(RouteMatchInterface $route
 
 class MockContainerInjection implements ContainerInjectionInterface {
   protected $result;
-  public function __construct($result) {
+  /**
+ *
+ */
+public function __construct($result) {
     $this->result = $result;
   }
-  public static function create(ContainerInterface $container) {
+  /**
+ *
+ */
+public static function create(ContainerInterface $container) {
     return new static('This used injection.');
   }
-  public function getResult() {
+  /**
+ *
+ */
+public function getResult() {
     return $this->result;
   }
 }
 class MockContainerAware extends ContainerAware {
-  public function getResult() {
+  /**
+ *
+ */
+public function getResult() {
     return 'This is container aware.';
   }
 }
 class MockInvokeController {
-  public function __invoke() {
+  /**
+ *
+ */
+public function __invoke() {
     return 'This used __invoke().';
   }
 }
diff --git a/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php
index e2fca4b..81c8cfd 100644
--- a/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php
+++ b/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php
@@ -41,7 +41,10 @@ class TitleResolverTest extends UnitTestCase {
    */
   protected $titleResolver;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->controllerResolver = $this->getMock('\Drupal\Core\Controller\ControllerResolverInterface');
     $this->translationManager = $this->getMock('\Drupal\Core\StringTranslation\TranslationInterface');
 
@@ -86,7 +89,10 @@ public function testStaticTitleWithParameter($title, $expected_title) {
     $this->assertEquals($expected_title, $this->titleResolver->getTitle($request, $route));
   }
 
-  public function providerTestStaticTitleWithParameter() {
+  /**
+ *
+ */
+public function providerTestStaticTitleWithParameter() {
     $translation_manager = $this->getMock('\Drupal\Core\StringTranslation\TranslationInterface');
     return array(
       array('static title @test', new TranslatableMarkup('static title @test', ['@test' => 'value', '%test' => 'value', '@test2' => 'value2', '%test2' => 'value2'], array(), $translation_manager)),
diff --git a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php
index 6a05726..7aa7976 100644
--- a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php
+++ b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php
@@ -150,7 +150,10 @@ public function testCompileWithSqlInjectionForOperator($operator) {
     $condition->compile($connection, $query_placeholder);
   }
 
-  public function providerTestCompileWithSqlInjectionForOperator() {
+  /**
+ *
+ */
+public function providerTestCompileWithSqlInjectionForOperator() {
     $data = [];
     $data[] = ["IS NOT NULL) ;INSERT INTO {test} (name) VALUES ('test12345678'); -- "];
     $data[] = ["IS NOT NULL) UNION ALL SELECT name, pass FROM {users_field_data} -- "];
diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
index 2521d77..0c30f6a 100644
--- a/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
+++ b/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
@@ -27,7 +27,10 @@ public function testWeekDaysOrdered($first_day, $expected) {
     $this->assertSame($expected, DateHelper::weekDaysOrdered($weekdays));
   }
 
-  public function providerTestWeekDaysOrdered() {
+  /**
+ *
+ */
+public function providerTestWeekDaysOrdered() {
     $data = [];
     $data[] = [0, [
       0 => 'Sunday',
diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php
index 238b5c8..fb23b57 100644
--- a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php
+++ b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php
@@ -57,7 +57,10 @@ class DateTest extends UnitTestCase {
    */
   protected $dateFormatterStub;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $entity_storage = $this->getMock('Drupal\Core\Entity\EntityStorageInterface');
diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
index 0448e28..1995caa 100644
--- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
+++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
@@ -18,7 +18,10 @@
  */
 class TaggedHandlersPassTest extends UnitTestCase {
 
-  protected function buildContainer($environment = 'dev') {
+  /**
+ *
+ */
+protected function buildContainer($environment = 'dev') {
     $container = new ContainerBuilder();
     $container->setParameter('kernel.environment', $environment);
     return $container;
@@ -353,25 +356,49 @@ public function testProcessWithDifferentArgumentsOrderAndDefaultValue() {
 interface HandlerInterface {
 }
 class ValidConsumer {
-  public function addHandler(HandlerInterface $instance, $priority = 0) {
+  /**
+ *
+ */
+public function addHandler(HandlerInterface $instance, $priority = 0) {
   }
-  public function addNoPriority(HandlerInterface $instance) {
+  /**
+ *
+ */
+public function addNoPriority(HandlerInterface $instance) {
   }
-  public function addWithId(HandlerInterface $instance, $id, $priority = 0) {
+  /**
+ *
+ */
+public function addWithId(HandlerInterface $instance, $id, $priority = 0) {
   }
 }
 class InvalidConsumer {
-  public function addHandler($instance, $priority = 0) {
+  /**
+ *
+ */
+public function addHandler($instance, $priority = 0) {
   }
 }
 class ValidConsumerWithExtraArguments {
-  public function addHandler(HandlerInterface $instance, $priority = 0, $extra1 = '', $extra2 = '') {
+  /**
+ *
+ */
+public function addHandler(HandlerInterface $instance, $priority = 0, $extra1 = '', $extra2 = '') {
   }
-  public function addNoPriority(HandlerInterface $instance, $extra) {
+  /**
+ *
+ */
+public function addNoPriority(HandlerInterface $instance, $extra) {
   }
-  public function addWithId(HandlerInterface $instance, $id, $priority = 0, $extra1 = '', $extra2 = NULL) {
+  /**
+ *
+ */
+public function addWithId(HandlerInterface $instance, $id, $priority = 0, $extra1 = '', $extra2 = NULL) {
   }
-  public function addWithDifferentOrder(HandlerInterface $instance, $extra1, $priority = 0, $extra2 = 'default2', $extra3 = 'default3') {
+  /**
+ *
+ */
+public function addWithDifferentOrder(HandlerInterface $instance, $extra1, $priority = 0, $extra2 = 'default2', $extra3 = 'default3') {
   }
 }
 class ValidHandler implements HandlerInterface {
diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
index 36c2e6f..acfa8ca 100644
--- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
+++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
@@ -140,7 +140,10 @@ public function testFindSitePath() {
 
 namespace {
   if (!function_exists('drupal_valid_test_ua')) {
-    function drupal_valid_test_ua($new_prefix = NULL) {
+    /**
+ *
+ */
+function drupal_valid_test_ua($new_prefix = NULL) {
       return FALSE;
     }
   }
diff --git a/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php b/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
index aa0897b..92b663c 100644
--- a/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
+++ b/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
@@ -37,7 +37,10 @@ public function testApplies(Route $route, $expected) {
     $this->assertEquals($expected, $this->routeEnhancer->applies($route));
   }
 
-  public function providerTestApplies() {
+  /**
+ *
+ */
+public function providerTestApplies() {
     $data = [];
     $data['no-parameter'] = [new Route('/test-path'), FALSE];
     $data['none-revision-parameters'] = [new Route('/test-path/{entity_test}', [], [], ['parameters' => ['entity_test' => ['type' => 'entity:entity_test']]]), FALSE];
diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
index 79447e5..9e2a2fc 100644
--- a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
@@ -140,7 +140,10 @@ public function testGetOperations() {
 }
 
 class TestEntityListBuilder extends EntityTestListBuilder {
-  public function buildOperations(EntityInterface $entity) {
+  /**
+ *
+ */
+public function buildOperations(EntityInterface $entity) {
     return array();
   }
 }
diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
index df59a98..da92f5c 100644
--- a/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
@@ -416,16 +416,28 @@ protected function setupEntityTypes() {
  */
 class BasicControllerClass {
 
-  public function exampleControllerMethod() {
+  /**
+ *
+ */
+public function exampleControllerMethod() {
   }
 
-  public function exampleControllerMethodWithArgument($argument) {
+  /**
+ *
+ */
+public function exampleControllerMethodWithArgument($argument) {
   }
 
-  public function exampleControllerWithEntityNoUpcasting($entity_test) {
+  /**
+ *
+ */
+public function exampleControllerWithEntityNoUpcasting($entity_test) {
   }
 
-  public function exampleControllerWithEntityUpcasting(EntityInterface $entity_test) {
+  /**
+ *
+ */
+public function exampleControllerWithEntityUpcasting(EntityInterface $entity_test) {
   }
 
 }
@@ -521,15 +533,27 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
 
   use Drupal\Core\Entity\EntityInterface;
 
-  function test_function_controller() {
+  /**
+ *
+ */
+function test_function_controller() {
   }
 
-  function test_function_controller_with_argument($argument) {
+  /**
+ *
+ */
+function test_function_controller_with_argument($argument) {
   }
 
-  function test_function_controller_no_upcasting($entity_test) {
+  /**
+ *
+ */
+function test_function_controller_no_upcasting($entity_test) {
   }
 
-  function test_function_controller_entity_upcasting(EntityInterface $entity_test) {
+  /**
+ *
+ */
+function test_function_controller_entity_upcasting(EntityInterface $entity_test) {
   }
 }
diff --git a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
index 7196652..ac6d5f5 100644
--- a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
@@ -67,7 +67,10 @@ public function testGetAddPageRoute(Route $expected = NULL, EntityTypeInterface
     $this->assertEquals($expected, $route);
   }
 
-  public function providerTestGetAddPageRoute() {
+  /**
+ *
+ */
+public function providerTestGetAddPageRoute() {
     $data = [];
 
     $entity_type1 = $this->getEntityType();
@@ -114,7 +117,10 @@ public function testGetAddFormRoute(Route $expected = NULL, EntityTypeInterface
     $this->assertEquals($expected, $route);
   }
 
-  public function providerTestGetAddFormRoute() {
+  /**
+ *
+ */
+public function providerTestGetAddFormRoute() {
     $data = [];
 
     $entity_type1 = $this->getEntityType();
@@ -207,7 +213,10 @@ public function testGetCanonicalRoute(Route $expected = NULL, EntityTypeInterfac
     $this->assertEquals($expected, $route);
   }
 
-  public function providerTestGetCanonicalRoute() {
+  /**
+ *
+ */
+public function providerTestGetCanonicalRoute() {
     $data = [];
 
     $entity_type1 = $this->getEntityType();
@@ -301,16 +310,28 @@ protected function getEntityType(ObjectProphecy $base_entity_type = NULL) {
 
 class TestDefaultHtmlRouteProvider extends DefaultHtmlRouteProvider {
 
-  public function getEntityTypeIdKeyType(EntityTypeInterface $entity_type) {
+  /**
+ *
+ */
+public function getEntityTypeIdKeyType(EntityTypeInterface $entity_type) {
     return parent::getEntityTypeIdKeyType($entity_type);
   }
-  public function getAddPageRoute(EntityTypeInterface $entity_type) {
+  /**
+ *
+ */
+public function getAddPageRoute(EntityTypeInterface $entity_type) {
     return parent::getAddPageRoute($entity_type);
   }
-  public function getAddFormRoute(EntityTypeInterface $entity_type) {
+  /**
+ *
+ */
+public function getAddFormRoute(EntityTypeInterface $entity_type) {
     return parent::getAddFormRoute($entity_type);
   }
-  public function getCanonicalRoute(EntityTypeInterface $entity_type) {
+  /**
+ *
+ */
+public function getCanonicalRoute(EntityTypeInterface $entity_type) {
     return parent::getCanonicalRoute($entity_type);
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
index 1ed9d35..ac050fa 100644
--- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
@@ -1082,7 +1082,10 @@ public function testDedicatedTableSchemaForEntityWithStringIdentifier() {
     );
   }
 
-  public function providerTestRequiresEntityDataMigration() {
+  /**
+ *
+ */
+public function providerTestRequiresEntityDataMigration() {
     $updated_entity_type_definition = $this->getMock('\Drupal\Core\Entity\EntityTypeInterface');
     $updated_entity_type_definition->expects($this->any())
       ->method('getStorageClass')
diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
index a3e5a8e..0ee0810 100644
--- a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
+++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
@@ -21,7 +21,10 @@ class ModuleRouteSubscriberTest extends UnitTestCase {
    */
   protected $moduleHandler;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->moduleHandler = $this->getMock('Drupal\Core\Extension\ModuleHandlerInterface');
 
     $value_map = array(
diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
index 46a3317..6ae0b47 100644
--- a/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
+++ b/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
@@ -71,7 +71,10 @@ public function testWithOptionsRequest(RouteCollection $collection, $expected_he
     $this->assertEquals($expected_header, $response->headers->get('Allow'));
   }
 
-  public function providerTestOnRequestWithOptionsRequest() {
+  /**
+ *
+ */
+public function providerTestOnRequestWithOptionsRequest() {
     $data = [];
 
     foreach (['GET', 'POST', 'PATCH', 'PUT', 'DELETE'] as $method) {
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/hook_include.inc b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/hook_include.inc
index 00c781d..d37b24c 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/hook_include.inc
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/hook_include.inc
@@ -5,4 +5,7 @@
  * Include file for test module.
  */
 
+/**
+ *
+ */
 function module_handler_test_hook_include() {}
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module
index 18bf23c..067acec 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module
@@ -14,4 +14,7 @@ function module_handler_test_hook_info() {
   );
 }
 
+/**
+ *
+ */
 function module_handler_test_hook($arg) { return $arg; }
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc
index 718791b..7ecf87a 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc
@@ -5,4 +5,7 @@
  * Include file for test module.
  */
 
+/**
+ *
+ */
 function module_handler_test_added_hook($arg) { return $arg; }
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.module b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.module
index 0a46c33..b63714e 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.module
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.module
@@ -5,4 +5,7 @@
  * Test module.
  */
 
+/**
+ *
+ */
 function module_handler_test_added_helper($arg) { return $arg; }
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module
index 1555aec..86e5d1c 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module
@@ -5,5 +5,7 @@
  * Test module.
  */
 
-// return an array to test nested merge in invoke all.
+/**
+ *return an array to test nested merge in invoke all.
+ */
 function module_handler_test_all1_hook($arg) { return array($arg); }
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module
index 9275ce3..49ed431 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module
@@ -5,4 +5,7 @@
  * Test module.
  */
 
+/**
+ *
+ */
 function module_handler_test_all2_hook($arg) { return $arg; }
diff --git a/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php b/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php
index 1312d86..b39e4f8 100644
--- a/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php
+++ b/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php
@@ -32,7 +32,10 @@ public function testGetThirdPartySettings() {
 
 class TestPluginSettingsBase extends PluginSettingsBase {
 
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
   }
 
 }
diff --git a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
index 645daf4..f3fe73e 100644
--- a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
+++ b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
@@ -106,7 +106,10 @@ public function testBasename($uri, $expected, $suffix = NULL) {
     $this->assertSame($expected, $this->fileSystem->basename($uri, $suffix));
   }
 
-  public function providerTestBasename() {
+  /**
+ *
+ */
+public function providerTestBasename() {
     $data = [];
     $data[] = [
       'public://nested/dir',
@@ -133,7 +136,10 @@ public function testUriScheme($uri, $expected) {
     $this->assertSame($expected, $this->fileSystem->uriScheme($uri));
   }
 
-  public function providerTestUriScheme() {
+  /**
+ *
+ */
+public function providerTestUriScheme() {
     $data = [];
     $data[] = [
       'public://filename',
diff --git a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
index 7bd51bc..c58447a 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@@ -743,7 +743,10 @@ public function testValueCallableIsSafe($callback, $expected) {
     $this->assertSame($expected, $is_safe);
   }
 
-  public function providerTestValueCallableIsSafe() {
+  /**
+ *
+ */
+public function providerTestValueCallableIsSafe() {
     $data = [];
     $data['string_no_slash'] = [
       'Drupal\Core\Render\Element\Token::valueCallback',
@@ -803,7 +806,10 @@ public function testInvalidToken($expected, $valid_token, $user_is_authenticated
     $this->assertSame($expected, $form_state->hasInvalidToken());
   }
 
-  public function providerTestInvalidToken() {
+  /**
+ *
+ */
+public function providerTestInvalidToken() {
     $data = [];
     $data['authenticated_invalid'] = [TRUE, FALSE, TRUE];
     $data['authenticated_valid'] = [FALSE, TRUE, TRUE];
@@ -877,18 +883,33 @@ function providerTestFormTokenCacheability() {
 }
 
 class TestForm implements FormInterface {
-  public function getFormId() {
+  /**
+ *
+ */
+public function getFormId() {
     return 'test_form';
   }
 
-  public function buildForm(array $form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildForm(array $form, FormStateInterface $form_state) {
     return test_form_id();
   }
-  public function validateForm(array &$form, FormStateInterface $form_state) { }
-  public function submitForm(array &$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function validateForm(array &$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function submitForm(array &$form, FormStateInterface $form_state) { }
 }
 class TestFormInjected extends TestForm implements ContainerInjectionInterface {
-  public static function create(ContainerInterface $container) {
+  /**
+ *
+ */
+public static function create(ContainerInterface $container) {
     return new static();
   }
 }
@@ -901,11 +922,17 @@ class TestFormWithPredefinedForm extends TestForm {
    */
   protected $form;
 
-  public function setForm($form) {
+  /**
+ *
+ */
+public function setForm($form) {
     $this->form = $form;
   }
 
-  public function buildForm(array $form, FormStateInterface $form_state) {
+  /**
+ *
+ */
+public function buildForm(array $form, FormStateInterface $form_state) {
     return $this->form;
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php
index 23d7a00..c4385d4 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php
@@ -83,7 +83,10 @@ public function testGetError($errors, $parents, $error = NULL) {
     $this->assertSame($error, $form_state->getError($element));
   }
 
-  public function providerTestGetError() {
+  /**
+ *
+ */
+public function providerTestGetError() {
     return array(
       array(array(), array('foo')),
       array(array('foo][bar' => 'Fail'), array()),
@@ -116,7 +119,10 @@ public function testSetErrorByName($limit_validation_errors, $expected_errors) {
     $this->assertSame($expected_errors, $form_state->getErrors());
   }
 
-  public function providerTestSetErrorByName() {
+  /**
+ *
+ */
+public function providerTestSetErrorByName() {
     return array(
       // Only validate the 'options' element.
       array(array(array('options')), array('options' => '')),
@@ -181,7 +187,10 @@ public function testGetValue($key, $expected, $default = NULL) {
     $this->assertSame($expected, $form_state->getValue($key, $default));
   }
 
-  public function providerTestGetValue() {
+  /**
+ *
+ */
+public function providerTestGetValue() {
     $data = array();
     $data[] = array(
       'foo', 'one',
@@ -243,7 +252,10 @@ public function testPrepareCallbackArray() {
     $this->assertEquals($callback, $processed_callback);
   }
 
-  public function providerTestSetValue() {
+  /**
+ *
+ */
+public function providerTestSetValue() {
     $data = array();
     $data[] = array(
       'foo', 'one', array('bar' => 'wrong', 'foo' => 'one'),
@@ -275,7 +287,10 @@ public function testHasValue($key, $expected) {
     $this->assertSame($expected, $form_state->hasValue($key));
   }
 
-  public function providerTestHasValue() {
+  /**
+ *
+ */
+public function providerTestHasValue() {
     $data = array();
     $data[] = array(
       'foo', TRUE,
@@ -316,7 +331,10 @@ public function testIsValueEmpty($key, $expected) {
     $this->assertSame($expected, $form_state->isValueEmpty($key));
   }
 
-  public function providerTestIsValueEmpty() {
+  /**
+ *
+ */
+public function providerTestIsValueEmpty() {
     $data = array();
     $data[] = array(
       'foo', FALSE,
@@ -589,11 +607,23 @@ public function testCleanValues($form_state) {
  * A test form used for the prepareCallback() tests.
  */
 class PrepareCallbackTestForm implements FormInterface {
-  public function getFormId() {
+  /**
+ *
+ */
+public function getFormId() {
     return 'test_form';
   }
 
-  public function buildForm(array $form, FormStateInterface $form_state) {}
-  public function validateForm(array &$form, FormStateInterface $form_state) { }
-  public function submitForm(array &$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function buildForm(array $form, FormStateInterface $form_state) {}
+  /**
+ *
+ */
+public function validateForm(array &$form, FormStateInterface $form_state) { }
+  /**
+ *
+ */
+public function submitForm(array &$form, FormStateInterface $form_state) { }
 }
diff --git a/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php b/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
index 6c8a6eb..10b8b4d 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
@@ -93,7 +93,10 @@ public function testHandleFormSubmissionWithResponses($class, $form_state_key) {
     $this->assertInstanceOf('Symfony\Component\HttpFoundation\Response', $return);
   }
 
-  public function providerTestHandleFormSubmissionWithResponses() {
+  /**
+ *
+ */
+public function providerTestHandleFormSubmissionWithResponses() {
     return array(
       array('Symfony\Component\HttpFoundation\Response', 'response'),
       array('Symfony\Component\HttpFoundation\RedirectResponse', 'redirect'),
diff --git a/core/tests/Drupal/Tests/Core/Form/FormTestBase.php b/core/tests/Drupal/Tests/Core/Form/FormTestBase.php
index ddd92e1..464bed1 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormTestBase.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormTestBase.php
@@ -317,7 +317,10 @@ public function getInfo($type) {
 
 namespace {
 
-  function test_form_id() {
+  /**
+ *
+ */
+function test_form_id() {
     $form['test'] = array(
       '#type' => 'textfield',
       '#title' => 'Test',
diff --git a/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php b/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
index 39fd48a..242c2d3 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@@ -185,7 +185,10 @@ public function testHandleErrorsWithLimitedValidation($sections, $triggering_ele
     $this->assertSame($expected, $form_state->getValues());
   }
 
-  public function providerTestHandleErrorsWithLimitedValidation() {
+  /**
+ *
+ */
+public function providerTestHandleErrorsWithLimitedValidation() {
     return array(
       // Test with a non-existent section.
       array(
@@ -321,7 +324,10 @@ public function testRequiredErrorMessage($element, $expected_message) {
     $form_validator->validateForm('test_form_id', $form, $form_state);
   }
 
-  public function providerTestRequiredErrorMessage() {
+  /**
+ *
+ */
+public function providerTestRequiredErrorMessage() {
     return array(
       array(
         // Use the default message with a title.
@@ -400,7 +406,10 @@ public function testPerformRequiredValidation($element, $expected_message, $call
     $form_validator->validateForm('test_form_id', $form, $form_state);
   }
 
-  public function providerTestPerformRequiredValidation() {
+  /**
+ *
+ */
+public function providerTestPerformRequiredValidation() {
     return array(
       array(
         array(
diff --git a/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php b/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php
index 242a4ca..17fe8da 100644
--- a/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php
+++ b/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php
@@ -17,7 +17,10 @@ class LockBackendAbstractTest extends UnitTestCase {
    */
   protected $lock;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->lock = $this->getMockForAbstractClass('Drupal\Core\Lock\LockBackendAbstract');
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
index 0aa86fc..612b7ad 100644
--- a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
+++ b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
@@ -153,11 +153,17 @@ class NaughtyRecursiveLogger implements LoggerInterface  {
   protected $channel;
   protected $message;
 
-  public function __construct(LoggerChannel $channel) {
+  /**
+ *
+ */
+public function __construct(LoggerChannel $channel) {
     $this->channel = $channel;
   }
 
-  public function log($level, $message, array $context = []) {
+  /**
+ *
+ */
+public function log($level, $message, array $context = []) {
     $this->channel->log(rand(0, 7), $message, $context);
   }
 }
diff --git a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php
index 970997f..9a7fcfc 100644
--- a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php
@@ -50,13 +50,19 @@ class ContextualLinkDefaultTest extends UnitTestCase {
    */
   protected $stringTranslation;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->stringTranslation = $this->getMock('Drupal\Core\StringTranslation\TranslationInterface');
   }
 
-  protected function setupContextualLinkDefault() {
+  /**
+ *
+ */
+protected function setupContextualLinkDefault() {
     $this->contextualLinkDefault = new ContextualLinkDefault($this->config, $this->pluginId, $this->pluginDefinition);
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php
index b3f0151..72f2c65 100644
--- a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php
@@ -69,7 +69,10 @@ class ContextualLinkManagerTest extends UnitTestCase {
    */
   protected $account;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->contextualLinkManager = $this
       ->getMockBuilder('Drupal\Core\Menu\ContextualLinkManager')
       ->disableOriginalConstructor()
diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php
index 2f0c1a8..45ce424 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php
@@ -57,7 +57,10 @@ class LocalActionDefaultTest extends UnitTestCase {
    */
   protected $routeProvider;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->stringTranslation = $this->getMock('Drupal\Core\StringTranslation\TranslationInterface');
diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
index 21c8839..7de1a97 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
@@ -182,7 +182,10 @@ public function testGetActionsForRoute($route_appears, array $plugin_definitions
     $this->assertEquals($expected_actions, $this->localActionManager->getActionsForRoute($route_appears));
   }
 
-  public function getActionsForRouteProvider() {
+  /**
+ *
+ */
+public function getActionsForRouteProvider() {
     // Single available and single expected plugins.
     $data[] = array(
       'test_route',
@@ -385,7 +388,10 @@ public function getActionsForRouteProvider() {
 
 class TestLocalActionManager extends LocalActionManager {
 
-  public function __construct(ControllerResolverInterface $controller_resolver, Request $request, RouteMatchInterface $route_match, RouteProviderInterface $route_provider, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, AccessManagerInterface $access_manager, AccountInterface $account, DiscoveryInterface $discovery, FactoryInterface $factory) {
+  /**
+ *
+ */
+public function __construct(ControllerResolverInterface $controller_resolver, Request $request, RouteMatchInterface $route_match, RouteProviderInterface $route_provider, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, AccessManagerInterface $access_manager, AccountInterface $account, DiscoveryInterface $discovery, FactoryInterface $factory) {
     $this->discovery = $discovery;
     $this->factory = $factory;
     $this->routeProvider = $route_provider;
diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
index 005add6..60b858f 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
@@ -64,7 +64,10 @@ class LocalTaskDefaultTest extends UnitTestCase {
    */
   protected $routeProvider;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $this->stringTranslation = $this->getMock('Drupal\Core\StringTranslation\TranslationInterface');
@@ -317,7 +320,10 @@ public function testCacheabilityMetadata() {
 }
 
 class TestLocalTaskDefault extends LocalTaskDefault {
-  public function setRouteProvider(RouteProviderInterface $route_provider) {
+  /**
+ *
+ */
+public function setRouteProvider(RouteProviderInterface $route_provider) {
     $this->routeProvider = $route_provider;
     return $this;
   }
diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
index 65fb417..cb62166 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
@@ -443,7 +443,10 @@ public function testGetTasksBuildWithCacheabilityMetadata() {
     $this->assertEquals(['context.example1', 'context.example2', 'route', 'user.permissions'], $cacheability->getCacheContexts());
  }
 
-  protected function setupFactoryAndLocalTaskPlugins(array $definitions, $active_plugin_id) {
+  /**
+ *
+ */
+protected function setupFactoryAndLocalTaskPlugins(array $definitions, $active_plugin_id) {
     $map = [];
     $access_manager_map = [];
 
@@ -477,7 +480,10 @@ protected function setupFactoryAndLocalTaskPlugins(array $definitions, $active_p
       ->will($this->returnValueMap($map));
   }
 
-  protected function setupNullCacheabilityMetadataValidation() {
+  /**
+ *
+ */
+protected function setupNullCacheabilityMetadataValidation() {
     $container = \Drupal::hasContainer() ? \Drupal::getContainer() : new ContainerBuilder();
 
     $cache_context_manager = $this->prophesize(CacheContextsManager::class);
diff --git a/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php b/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php
index 82a65818..ecdc9cc 100644
--- a/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php
+++ b/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php
@@ -27,7 +27,10 @@ class ChainRequestPolicyTest extends UnitTestCase {
    */
   protected $request;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->policy = new ChainRequestPolicy();
     $this->request = new Request();
   }
diff --git a/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php b/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php
index 1575ac1..942f710 100644
--- a/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php
+++ b/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php
@@ -35,7 +35,10 @@ class ChainResponsePolicyTest extends UnitTestCase {
    */
   protected $response;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->policy = new ChainResponsePolicy();
     $this->response = new Response();
     $this->request = new Request();
diff --git a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
index 2f62f1e..a7d6bb9 100644
--- a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
+++ b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
@@ -19,7 +19,10 @@ class CommandLineOrUnsafeMethodTest extends UnitTestCase {
    */
   protected $policy;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     // Note that it is necessary to partially mock the class under test in
     // order to disable the isCli-check.
     $this->policy = $this->getMock('Drupal\Core\PageCache\RequestPolicy\CommandLineOrUnsafeMethod', array('isCli'));
diff --git a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php
index 1af6afb..69282ed 100644
--- a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php
+++ b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php
@@ -27,7 +27,10 @@ class NoSessionOpenTest extends UnitTestCase {
    */
   protected $policy;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->sessionConfiguration = $this->getMock('Drupal\Core\Session\SessionConfigurationInterface');
     $this->policy = new RequestPolicy\NoSessionOpen($this->sessionConfiguration);
   }
diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
index 3f265d8..0703eb9 100644
--- a/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
+++ b/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
@@ -31,7 +31,10 @@ protected function setUp() {
     $this->converter = new EntityRevisionParamConverter($this->prophesize(EntityTypeManagerInterface::class)->reveal());
   }
 
-  protected function getTestRoute() {
+  /**
+ *
+ */
+protected function getTestRoute() {
     $route = new Route('/test/{test_revision}');
     $route->setOption('parameters', [
       'test_revision' => [
diff --git a/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php b/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
index 4bebf4c..30fc7ee 100644
--- a/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
+++ b/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
@@ -177,11 +177,16 @@ public function providerLongPasswords() {
  */
 class FakePhpassHashedPassword extends PhpassHashedPassword {
 
-  function __construct() {
+  /**
+ *
+ */
+function __construct() {
     // Noop.
   }
 
-  // Expose this method as public for tests.
+  /**
+ *Expose this method as public for tests.
+ */
   public function enforceLog2Boundaries($count_log2) {
     return parent::enforceLog2Boundaries($count_log2);
   }
diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php
index 713a538..1bff1a2 100644
--- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php
+++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php
@@ -28,7 +28,10 @@ class PathProcessorAliasTest extends UnitTestCase {
    */
   protected $pathProcessor;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->aliasManager = $this->getMock('Drupal\Core\Path\AliasManagerInterface');
     $this->pathProcessor = new PathProcessorAlias($this->aliasManager);
   }
diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
index 33fa30a..10900f1 100644
--- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
+++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
@@ -35,7 +35,10 @@ class PathProcessorTest extends UnitTestCase {
    */
   protected $languageManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
 
     // Set up some languages to be used by the language-based path processor.
     $languages = array();
diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
index c139b88..c0cf3b6 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
@@ -134,13 +134,19 @@ public function testGetDefinitionWithUnknownID() {
 }
 
 namespace {
-  function hook_discovery_test_test_plugin() {
+  /**
+ *
+ */
+function hook_discovery_test_test_plugin() {
     return array(
       'test_id_1' => array('class' => 'Drupal\plugin_test\Plugin\plugin_test\fruit\Apple'),
       'test_id_2' => array('class' => 'Drupal\plugin_test\Plugin\plugin_test\fruit\Orange'),
     );
   }
-  function hook_discovery_test2_test_plugin() {
+  /**
+ *
+ */
+function hook_discovery_test2_test_plugin() {
     return array(
       'test_id_3' => array('class' => 'Drupal\plugin_test\Plugin\plugin_test\fruit\Cherry'),
     );
diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php
index ee48654..75214e3 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php
@@ -33,7 +33,10 @@ class YamlDiscoveryDecoratorTest extends UnitTestCase {
     'decorated_2' => 'decorated_test_2',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $base_path = __DIR__ . '/Fixtures';
diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php
index 0335145..b65a69b 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php
@@ -32,7 +32,10 @@ class YamlDiscoveryTest extends UnitTestCase {
     'test_2' => 'test_2_b',
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     parent::setUp();
 
     $base_path = __DIR__ . '/Fixtures';
diff --git a/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php b/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php
index 8e92ef0..0b21053 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php
@@ -42,7 +42,10 @@
     'apple' => array('id' => 'apple', 'key' => 'value'),
   );
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->pluginManager = $this->getMock('Drupal\Component\Plugin\PluginManagerInterface');
     $this->pluginManager->expects($this->any())
       ->method('getDefinitions')
diff --git a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
index c18b00c..e675a4d 100644
--- a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
+++ b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
@@ -164,7 +164,10 @@ class TestServiceNoMethod {
 
 class TestServiceComplexMethod {
 
-  public function complexMethod($parameter, callable $function, TestServiceNoMethod $test_service = NULL, array &$elements = array()) {
+  /**
+ *
+ */
+public function complexMethod($parameter, callable $function, TestServiceNoMethod $test_service = NULL, array &$elements = array()) {
 
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
index fe4406d..cec4200 100644
--- a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
@@ -107,7 +107,10 @@ public function testProcessMachineName() {
 
 namespace Drupal\Core\Render\Element {
   if (!function_exists('t')) {
-    function t($string, array $args = []) {
+    /**
+ *
+ */
+function t($string, array $args = []) {
       return strtr($string, $args);
     }
   }
diff --git a/core/tests/Drupal/Tests/Core/Render/ElementTest.php b/core/tests/Drupal/Tests/Core/Render/ElementTest.php
index 604d391..afcd53d 100644
--- a/core/tests/Drupal/Tests/Core/Render/ElementTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/ElementTest.php
@@ -186,7 +186,10 @@ public function testIsEmpty(array $element, $expected) {
     $this->assertSame(Element::isEmpty($element), $expected);
   }
 
-  public function providerTestIsEmpty() {
+  /**
+ *
+ */
+public function providerTestIsEmpty() {
     return [
       [[], TRUE],
       [['#cache' => []], TRUE],
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
index e8d11b7..615d773 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
@@ -147,7 +147,10 @@ public function testContextBubblingEdgeCases(array $element, array $expected_top
     }
   }
 
-  public function providerTestContextBubblingEdgeCases() {
+  /**
+ *
+ */
+public function providerTestContextBubblingEdgeCases() {
     $data = [];
 
     // Cache contexts of inaccessible children aren't bubbled (because those
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
index bffbd22..a2007cf 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
@@ -8,7 +8,10 @@
  */
 class RendererRecursionTest extends RendererTestBase {
 
-  protected function setUpRenderRecursionComplexElements() {
+  /**
+ *
+ */
+protected function setUpRenderRecursionComplexElements() {
     $complex_child_markup = '<p>Imagine this is a render array for an entity.</p>';
     $parent_markup = '<p>Rendered!</p>';
 
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTest.php b/core/tests/Drupal/Tests/Core/Render/RendererTest.php
index bed7d3d..5839efc 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererTest.php
@@ -548,7 +548,10 @@ protected function assertAccess($build, $access) {
     }
   }
 
-  protected function setupThemeContainer($matcher = NULL) {
+  /**
+ *
+ */
+protected function setupThemeContainer($matcher = NULL) {
     $this->themeManager->expects($matcher ?: $this->at(1))
       ->method('render')
       ->with('container', $this->anything())
@@ -557,7 +560,10 @@ protected function setupThemeContainer($matcher = NULL) {
       });
   }
 
-  protected function setupThemeContainerMultiSuggestion($matcher = NULL) {
+  /**
+ *
+ */
+protected function setupThemeContainerMultiSuggestion($matcher = NULL) {
     $this->themeManager->expects($matcher ?: $this->at(1))
       ->method('render')
       ->with(['container'], $this->anything())
@@ -691,7 +697,10 @@ public function testRenderCacheMaxAge($max_age, $is_render_cached, $render_cache
     }
   }
 
-  public function providerTestRenderCacheMaxAge() {
+  /**
+ *
+ */
+public function providerTestRenderCacheMaxAge() {
     return [
       [0, FALSE, NULL],
       [60, TRUE, (int) $_SERVER['REQUEST_TIME'] + 60],
@@ -787,7 +796,10 @@ public function testAddCacheableDependency(array $build, $object, array $expecte
     $this->assertEquals($build, $expected);
   }
 
-  public function providerTestAddCacheableDependency() {
+  /**
+ *
+ */
+public function providerTestAddCacheableDependency() {
     return [
       // Empty render array, typical default cacheability.
       [
@@ -856,19 +868,31 @@ public function providerTestAddCacheableDependency() {
 
 class TestAccessClass {
 
-  public static function accessTrue() {
+  /**
+ *
+ */
+public static function accessTrue() {
     return TRUE;
   }
 
-  public static function accessFalse() {
+  /**
+ *
+ */
+public static function accessFalse() {
     return FALSE;
   }
 
-  public static function accessResultAllowed() {
+  /**
+ *
+ */
+public static function accessResultAllowed() {
     return AccessResult::allowed();
   }
 
-  public static function accessResultForbidden() {
+  /**
+ *
+ */
+public static function accessResultForbidden() {
     return AccessResult::forbidden();
   }
 
@@ -876,7 +900,10 @@ public static function accessResultForbidden() {
 
 class TestCallables {
 
-  public function preRenderPrinted($elements) {
+  /**
+ *
+ */
+public function preRenderPrinted($elements) {
     $elements['#printed'] = TRUE;
     return $elements;
   }
diff --git a/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php b/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php
index 8980e89..7182db5 100644
--- a/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php
+++ b/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php
@@ -9,7 +9,10 @@
  */
 class TestCacheableDependency implements CacheableDependencyInterface {
 
-  public function __construct(array $contexts, array $tags, $max_age) {
+  /**
+ *
+ */
+public function __construct(array $contexts, array $tags, $max_age) {
     $this->contexts = $contexts;
     $this->tags = $tags;
     $this->maxAge = $max_age;
diff --git a/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php b/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php
index 5bc2be0..0e8564a 100644
--- a/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php
@@ -21,7 +21,10 @@ class RouteProcessorManagerTest extends UnitTestCase {
    */
   protected $processorManager;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->processorManager = new RouteProcessorManager();
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php b/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php
index 3b4a975..5ac336c 100644
--- a/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php
+++ b/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php
@@ -45,7 +45,10 @@ protected function setUp() {
     $this->redirectDestination = new RedirectDestination($this->requestStack, $this->urlGenerator);
   }
 
-  protected function setupUrlGenerator() {
+  /**
+ *
+ */
+protected function setupUrlGenerator() {
     $this->urlGenerator->expects($this->any())
       ->method('generateFromRoute')
       ->willReturnCallback(function($route, $parameters, $options) {
@@ -93,7 +96,10 @@ public function testGetAsArray(Request $request, $expected_destination) {
     $this->assertEquals(['destination' => $expected_destination], $this->redirectDestination->getAsArray());
   }
 
-  public function providerGet() {
+  /**
+ *
+ */
+public function providerGet() {
     $data = [];
 
     $request = Request::create('/');
diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
index 593b1b1..c461609 100644
--- a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
+++ b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
@@ -76,7 +76,10 @@ class RouteBuilderTest extends UnitTestCase {
    */
   protected $checkProvider;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->dumper = $this->getMock('Drupal\Core\Routing\MatcherDumperInterface');
     $this->lock = $this->getMock('Drupal\Core\Lock\LockBackendInterface');
     $this->dispatcher = $this->getMock('\Symfony\Component\EventDispatcher\EventDispatcherInterface');
@@ -310,12 +313,18 @@ protected function getRouteDefinitions() {
  * Provides a callback for route definition.
  */
 class TestRouteSubscriber {
-  public function routesFromArray() {
+  /**
+ *
+ */
+public function routesFromArray() {
     return array(
       'test_route.1' => new Route('/test-route/1'),
     );
   }
-  public function routesFromCollection() {
+  /**
+ *
+ */
+public function routesFromCollection() {
     $collection = new RouteCollection();
     $collection->add('test_route.2', new Route('/test-route/2'));
     return $collection;
diff --git a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
index 3bb4f3a..277c8e3 100644
--- a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
+++ b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
@@ -252,7 +252,10 @@ public function testGenerateNoCache() {
 
   // @todo remove once user_role_permissions() can be injected.
   if (!function_exists('user_role_permissions')) {
-    function user_role_permissions(array $roles) {
+    /**
+ *
+ */
+function user_role_permissions(array $roles) {
       $role_permissions = array();
       foreach ($roles as $rid) {
         $role_permissions[$rid] = array();
diff --git a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php
index 4e5150c..86fc7c4 100644
--- a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php
+++ b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php
@@ -27,7 +27,10 @@ class WriteSafeSessionHandlerTest extends UnitTestCase {
    */
   protected $sessionHandler;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->wrappedSessionHandler = $this->getMock('SessionHandlerInterface');
     $this->sessionHandler = new WriteSafeSessionHandler($this->wrappedSessionHandler);
   }
diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
index 2e35ca0..e1609ec 100644
--- a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
+++ b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
@@ -138,5 +138,8 @@ public function testSetFormat() {
 }
 
 class StubNegotiationMiddleware extends NegotiationMiddleware {
-  public function getContentType(Request $request) { return parent::getContentType($request); }
+  /**
+ *
+ */
+public function getContentType(Request $request) { return parent::getContentType($request); }
 }
diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
index dfaab79..fa36271 100644
--- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
@@ -101,7 +101,10 @@ public function providerTestTranslatePlaceholder() {
 
 class TestTranslationManager extends TranslationManager {
 
-  public function __construct() {
+  /**
+ *
+ */
+public function __construct() {
   }
 
 }
diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php
index 09ec989..b42368c 100644
--- a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php
+++ b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php
@@ -358,7 +358,10 @@ public function testAttributeValues(array $attributes, $expected) {
     $this->assertEquals($expected, (new Attribute($attributes))->__toString());
   }
 
-  public function providerTestAttributeValues() {
+  /**
+ *
+ */
+public function providerTestAttributeValues() {
     $data = [];
 
     $string = '"> <script>alert(123)</script>"';
diff --git a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
index cb09022..84efe4c 100644
--- a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
+++ b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
@@ -229,7 +229,10 @@ public function testRenderVar($result, $input) {
     $this->assertEquals('Rendered output', $twig_extension->renderVar($input));
   }
 
-  public function providerTestRenderVar() {
+  /**
+ *
+ */
+public function providerTestRenderVar() {
     $data = [];
 
     $renderable = $this->prophesize(RenderableInterface::class);
@@ -246,11 +249,17 @@ class TwigExtensionTestString {
 
   protected $string;
 
-  public function __construct($string) {
+  /**
+ *
+ */
+public function __construct($string) {
     $this->string = $string;
   }
 
-  public function __toString() {
+  /**
+ *
+ */
+public function __toString() {
     return $this->string;
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php
index 1243118..2ee2862 100644
--- a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php
+++ b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php
@@ -159,7 +159,10 @@ public function testGetRegistryForModule() {
     $this->assertTrue(in_array('test_stable_preprocess_theme_test_render_element', $other_registry['theme_test_render_element']['preprocess functions']));
   }
 
-  protected function setupTheme() {
+  /**
+ *
+ */
+protected function setupTheme() {
     $this->registry = new TestRegistry($this->root, $this->cache, $this->lock, $this->moduleHandler, $this->themeHandler, $this->themeInitialization);
     $this->registry->setThemeManager($this->themeManager);
   }
@@ -168,7 +171,10 @@ protected function setupTheme() {
 
 class TestRegistry extends Registry {
 
-  protected function getPath($module) {
+  /**
+ *
+ */
+protected function getPath($module) {
     if ($module == 'theme_test') {
       return 'core/modules/system/tests/modules/theme_test';
     }
diff --git a/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php b/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
index 958a545..359799f 100644
--- a/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
+++ b/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
@@ -34,7 +34,10 @@ class ThemeNegotiatorTest extends UnitTestCase {
    */
   protected $themeNegotiator;
 
-  protected function setUp() {
+  /**
+ *
+ */
+protected function setUp() {
     $this->themeAccessCheck = $this->getMockBuilder('\Drupal\Core\Theme\ThemeAccessCheck')
       ->disableOriginalConstructor()
       ->getMock();
diff --git a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php
index 04a2b8f..48023dc 100644
--- a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php
+++ b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php
@@ -275,7 +275,10 @@ public function testReplaceEscaping($string, array $tokens, $expected) {
     $this->assertEquals($expected, $result);
   }
 
-  public function providerTestReplaceEscaping() {
+  /**
+ *
+ */
+public function providerTestReplaceEscaping() {
     $data = [];
 
     // No tokens. The first argument to Token::replace() should not be escaped.
diff --git a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
index 4c09f59..d1f3737 100644
--- a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
+++ b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
@@ -47,7 +47,10 @@ public function testValidate(PrimitiveInterface $typed_data, $value, $valid) {
     $validate->validate($value, $constraint);
   }
 
-  public function provideTestValidate() {
+  /**
+ *
+ */
+public function provideTestValidate() {
     $data = [];
     $data[] = [new BooleanData(DataDefinition::create('boolean')), NULL, TRUE];
 
