diff --git a/composer/Plugin/Scaffold/Operations/OperationFactory.php b/composer/Plugin/Scaffold/Operations/OperationFactory.php
index b256e0e15fbaafd5883807181af28827e0b9b805..0f54a35c51c55ab6e60290654e84122f422fd290 100644
--- a/composer/Plugin/Scaffold/Operations/OperationFactory.php
+++ b/composer/Plugin/Scaffold/Operations/OperationFactory.php
@@ -124,6 +124,7 @@ protected function createAppendOp(PackageInterface $package, OperationData $oper
    *
    * @param Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $file
    *   Scaffold file to check.
+   *
    * @return bool
    *   True if the file exists and has content.
    */
diff --git a/core/lib/Drupal/Component/Annotation/AnnotationInterface.php b/core/lib/Drupal/Component/Annotation/AnnotationInterface.php
index 1168510d6550a108e4f63b5ca1ba39b811cae4d5..eb44b398193e73ac97dbea918b88f3424af694ad 100644
--- a/core/lib/Drupal/Component/Annotation/AnnotationInterface.php
+++ b/core/lib/Drupal/Component/Annotation/AnnotationInterface.php
@@ -23,6 +23,7 @@ public function getProvider();
    * Sets the name of the provider of the annotated class.
    *
    * @param string $provider
+   *   The provider of the annotated class.
    */
   public function setProvider($provider);
 
@@ -44,6 +45,7 @@ public function getClass();
    * Sets the class of the annotated class.
    *
    * @param string $class
+   *   The class of the annotated class.
    */
   public function setClass($class);
 
diff --git a/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php b/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
index 396e8439076ef15f83649835e0f7db6153cf517a..2e9fdd310cf1cabd1cefad0e485ac21c6e5ab4a8 100644
--- a/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
+++ b/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
@@ -124,6 +124,7 @@ public function setContainer(ContainerInterface $container = NULL) {
 
   /**
    * @param $class
+   *   The class to set as standalone.
    */
   public function setStandalone($class) {
     if (!is_subclass_of($class, ReaderManagerInterface::class) && !is_subclass_of($class, WriterManagerInterface::class)) {
diff --git a/core/lib/Drupal/Component/Gettext/PoItem.php b/core/lib/Drupal/Component/Gettext/PoItem.php
index 5e7d6f6444daf2fe8086d86e29be8e3be6fae76e..3ef8a2acea81d254c5092204ee345086d71ff11d 100644
--- a/core/lib/Drupal/Component/Gettext/PoItem.php
+++ b/core/lib/Drupal/Component/Gettext/PoItem.php
@@ -77,6 +77,7 @@ public function getLangcode() {
    * Set the language code of the current language.
    *
    * @param string $langcode
+   *   The language code of the current language.
    */
   public function setLangcode($langcode) {
     $this->langcode = $langcode;
@@ -95,6 +96,7 @@ public function getContext() {
    * Set the context this translation belongs to.
    *
    * @param string $context
+   *   The context this translation belongs to.
    */
   public function setContext($context) {
     $this->context = $context;
@@ -115,6 +117,7 @@ public function getSource() {
    * plurals.
    *
    * @param string|array $source
+   *   The source string or the array of strings if the translation has plurals.
    */
   public function setSource($source) {
     $this->source = $source;
@@ -135,6 +138,8 @@ public function getTranslation() {
    * plurals.
    *
    * @param string|array $translation
+   *   The translation string or the array of strings if the translation has
+   *   plurals.
    */
   public function setTranslation($translation) {
     $this->translation = $translation;
@@ -144,6 +149,7 @@ public function setTranslation($translation) {
    * Set if the translation has plural values.
    *
    * @param bool $plural
+   *   TRUE, if the translation has plural values. FALSE otherwise.
    */
   public function setPlural($plural) {
     $this->plural = $plural;
@@ -171,6 +177,7 @@ public function getComment() {
    * Set the comment of this translation.
    *
    * @param string $comment
+   *   The comment of this translation.
    */
   public function setComment($comment) {
     $this->comment = $comment;
@@ -180,6 +187,7 @@ public function setComment($comment) {
    * Create the PoItem from a structured array.
    *
    * @param array $values
+   *   A structured array to create the PoItem from.
    */
   public function setFromArray(array $values = []) {
     if (isset($values['context'])) {
diff --git a/core/lib/Drupal/Component/Utility/Random.php b/core/lib/Drupal/Component/Utility/Random.php
index 06fa8b0c9545ae9d140c7184291cfe502613974c..16190d8f66949585db85314ea2717eeb5b78b359 100644
--- a/core/lib/Drupal/Component/Utility/Random.php
+++ b/core/lib/Drupal/Component/Utility/Random.php
@@ -249,6 +249,7 @@ public function sentences($min_word_count, $capitalize = FALSE) {
    * Generate paragraphs separated by double new line.
    *
    * @param int $paragraph_count
+   *   The number of paragraphs to create. Defaults to 12.
    *
    * @return string
    */
diff --git a/core/lib/Drupal/Core/Access/AccessManager.php b/core/lib/Drupal/Core/Access/AccessManager.php
index 14b5c87d7c6b2bdd19bec8092a61a49b3a453b69..7650fb672417fcfe9a6f4ecd2239c66b0b865517 100644
--- a/core/lib/Drupal/Core/Access/AccessManager.php
+++ b/core/lib/Drupal/Core/Access/AccessManager.php
@@ -66,6 +66,7 @@ class AccessManager implements AccessManagerInterface {
    * @param \Drupal\Core\Session\AccountInterface $current_user
    *   The current user.
    * @param CheckProviderInterface $check_provider
+   *   The check access provider.
    */
   public function __construct(RouteProviderInterface $route_provider, ParamConverterManagerInterface $paramconverter_manager, AccessArgumentsResolverFactoryInterface $arguments_resolver_factory, AccountInterface $current_user, CheckProviderInterface $check_provider) {
     $this->routeProvider = $route_provider;
diff --git a/core/lib/Drupal/Core/Ajax/RemoveCommand.php b/core/lib/Drupal/Core/Ajax/RemoveCommand.php
index d7f86ddd257f296b1c5f1ce3e5d179396be77cdd..47993c9f6e0b92ab2616089930c5ffbb30d9bade 100644
--- a/core/lib/Drupal/Core/Ajax/RemoveCommand.php
+++ b/core/lib/Drupal/Core/Ajax/RemoveCommand.php
@@ -29,6 +29,7 @@ class RemoveCommand implements CommandInterface {
    * Constructs a RemoveCommand object.
    *
    * @param string $selector
+   *   The selector.
    */
   public function __construct($selector) {
     $this->selector = $selector;
diff --git a/core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php b/core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
index 141b13a63f1069e4dd497aeb287b1cabc04b01d0..6a0afab504d8b88b77d78176099cc3f27e544046 100644
--- a/core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
+++ b/core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
@@ -21,6 +21,7 @@ class IsFrontPathCacheContext implements CacheContextInterface {
    * Constructs an IsFrontPathCacheContext object.
    *
    * @param \Drupal\Core\Path\PathMatcherInterface $path_matcher
+   *   The path matcher.
    */
   public function __construct(PathMatcherInterface $path_matcher) {
     $this->pathMatcher = $path_matcher;
diff --git a/core/lib/Drupal/Core/Composer/Composer.php b/core/lib/Drupal/Core/Composer/Composer.php
index 3041dab3a7775cdb7452e66131ce158fbe01ea41..0048296d84789c25635c415f64cf92d194bd5cd7 100644
--- a/core/lib/Drupal/Core/Composer/Composer.php
+++ b/core/lib/Drupal/Core/Composer/Composer.php
@@ -87,6 +87,7 @@ class Composer {
    * Add vendor classes to Composer's static classmap.
    *
    * @param \Composer\Script\Event $event
+   *   The event.
    */
   public static function preAutoloadDump(Event $event) {
     // Get the configured vendor directory.
@@ -159,6 +160,7 @@ public static function preAutoloadDump(Event $event) {
    * Ensures that .htaccess and web.config files are present in Composer root.
    *
    * @param \Composer\Script\Event $event
+   *   The event.
    */
   public static function ensureHtaccess(Event $event) {
 
@@ -295,6 +297,7 @@ protected static function deleteRecursive($path) {
    * Fires the drupal-phpunit-upgrade script event if necessary.
    *
    * @param \Composer\Script\Event $event
+   *   The event.
    */
   public static function upgradePHPUnit(Event $event) {
     $repository = $event->getComposer()->getRepositoryManager()->getLocalRepository();
diff --git a/core/lib/Drupal/Core/Config/ConfigInstallerInterface.php b/core/lib/Drupal/Core/Config/ConfigInstallerInterface.php
index daa99bb4519c3ffbf94b3e9a7e4beeb0875b3ccc..0b383a76fa7dd748e04c5f74231d525db63c78da 100644
--- a/core/lib/Drupal/Core/Config/ConfigInstallerInterface.php
+++ b/core/lib/Drupal/Core/Config/ConfigInstallerInterface.php
@@ -70,6 +70,7 @@ public function installCollectionDefaultConfig($collection);
    * Sets the configuration storage that provides the default configuration.
    *
    * @param \Drupal\Core\Config\StorageInterface $storage
+   *   The storage.
    *
    * @return $this
    */
diff --git a/core/lib/Drupal/Core/Datetime/Element/Datelist.php b/core/lib/Drupal/Core/Datetime/Element/Datelist.php
index bbb1676d70e1041b7646e0a9acc8eede16e5918d..add7a73ae153779a6b6873324f3d44c7f50242a8 100644
--- a/core/lib/Drupal/Core/Datetime/Element/Datelist.php
+++ b/core/lib/Drupal/Core/Datetime/Element/Datelist.php
@@ -350,7 +350,9 @@ protected static function checkEmptyInputs($input, $parts) {
    * Rounds minutes and seconds to nearest requested value.
    *
    * @param $date
+   *   The date.
    * @param $increment
+   *   The value to round to.
    *
    * @return
    */
diff --git a/core/lib/Drupal/Core/Datetime/Element/Datetime.php b/core/lib/Drupal/Core/Datetime/Element/Datetime.php
index e1d0aea4720a865adc9315df4c5a0eb5ef0b00c0..11c5f2a69f603ea40139bafddae3035b3cf2cd33 100644
--- a/core/lib/Drupal/Core/Datetime/Element/Datetime.php
+++ b/core/lib/Drupal/Core/Datetime/Element/Datetime.php
@@ -387,6 +387,7 @@ public static function validateDatetime(&$element, FormStateInterface $form_stat
    * This is centralized for a consistent method of creating these examples.
    *
    * @param string $format
+   *   The date format.
    *
    * @return string
    */
diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php b/core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php
index 0c49c2811a3f0ce772ac6710d990876c95ec7e65..3cdf00c971fdafc979a632d5395349eb3c5c33c0 100644
--- a/core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php
+++ b/core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php
@@ -19,10 +19,16 @@ public function getConjunction();
    * Adds a condition.
    *
    * @param string|ConditionAggregateInterface $field
+   *   The field.
    * @param string $function
+   *   (optional) The function.
    * @param mixed $value
+   *   (optional) The value.
    * @param string $operator
+   *   (optional) The operator.
    * @param string $langcode
+   *   (optional) For which language the entity should be prepared, defaults to
+   *   the current content language.
    *
    * @return $this
    *   The called object.
@@ -35,8 +41,12 @@ public function condition($field, $function = NULL, $value = NULL, $operator = N
    * Queries for the existence of a field.
    *
    * @param string $field
+   *   The field to query for existence.
    * @param string $function
+   *   The function.
    * @param string $langcode
+   *   (optional) For which language the entity should be prepared, defaults to
+   *   the current content language.
    *
    * @return \Drupal\Core\Entity\Query\ConditionInterface
    *
@@ -48,8 +58,12 @@ public function exists($field, $function, $langcode = NULL);
    * Queries for the nonexistence of a field.
    *
    * @param string $field
+   *   The field to query for nonexistence.
    * @param string $function
+   *   The function.
    * @param string $langcode
+   *   (optional) For which language the entity should be prepared, defaults to
+   *   the current content language.
    *
    * @return \Drupal\Core\Entity\Query\ConditionInterface
    *
diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php
index d0817fc7935440631daa471fe3f30e4b518ab0da..c2893e64fdd7697949d3fcb63516b973b934cd67 100644
--- a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php
+++ b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php
@@ -27,9 +27,14 @@ public function count();
    * Adds a condition.
    *
    * @param string|\Drupal\Core\Entity\Query\ConditionInterface $field
+   *   The field.
    * @param mixed $value
+   *   (optional) The value.
    * @param string $operator
+   *   (optional) The operator.
    * @param string $langcode
+   *   (optional) For which language the entity should be prepared, defaults to
+   *   the current content language.
    *
    * @return $this
    *
@@ -41,7 +46,10 @@ public function condition($field, $value = NULL, $operator = NULL, $langcode = N
    * Queries for the existence of a field.
    *
    * @param string $field
+   *   The field to query for existence.
    * @param string $langcode
+   *   (optional) For which language the entity should be prepared, defaults to
+   *   the current content language.
    *
    * @return $this
    *
@@ -53,6 +61,7 @@ public function exists($field, $langcode = NULL);
    * Queries for the nonexistence of a field.
    *
    * @param string $field
+   *   The field to query for nonexistence.
    * @param string $langcode
    *   (optional) For which language the entity should be prepared, defaults to
    *   the current content language.
diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php b/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
index 43b7be38a3ad3786f45eef4a546fa4b7f5588204..91b43bef9396f0f02992f2aa54255ee09ac4e93e 100644
--- a/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
+++ b/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
@@ -66,6 +66,7 @@ class Tables implements TablesInterface {
 
   /**
    * @param \Drupal\Core\Database\Query\SelectInterface $sql_query
+   *   The SQL query.
    */
   public function __construct(SelectInterface $sql_query) {
     $this->sqlQuery = $sql_query;
@@ -454,6 +455,7 @@ protected function addJoin($type, $table, $join_condition, $langcode, $delta = N
    * @param string $table
    *   The table name.
    * @param string $entity_type_id
+   *   The entity type ID.
    *
    * @return array|false
    *   An associative array of table field mapping for the given table, keyed by
diff --git a/core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php
index b592c1ad09aee3ac233f74fbb024857da3c14f68..129cd692bf5693e7b9be64101434ef8273274d00 100644
--- a/core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php
@@ -125,6 +125,7 @@ public function onExceptionSendChallenge(ExceptionEvent $event) {
    * Detect disallowed authentication methods on access denied exceptions.
    *
    * @param \Symfony\Component\HttpKernel\Event\ExceptionEvent $event
+   *   The event.
    */
   public function onExceptionAccessDenied(ExceptionEvent $event) {
     if (isset($this->filter) && $event->isMainRequest()) {
diff --git a/core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php
index 00ef848c0f510ec8bb99e0151edeb21260367be8..2f9745c5c88f2847af9095ff8117de3f340a5eac 100644
--- a/core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php
@@ -32,6 +32,7 @@ protected function getHandledFormats() {
    *   vestigial and can be removed.
    *
    * @param \Symfony\Component\HttpKernel\Event\ExceptionEvent $event
+   *   The event.
    */
   public function on500(ExceptionEvent $event) {
     $exception = $event->getThrowable();
diff --git a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
index d00270f793ad740cc7a693dc836b11d8f5472386..9d70038a787f4089685a1f5d28091e551f05627e 100644
--- a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
@@ -213,6 +213,7 @@ public function onRespond(ResponseEvent $event) {
    * @see \Symfony\Component\HttpFoundation\ResponseHeaderBag::computeCacheControlValue()
    *
    * @param \Symfony\Component\HttpFoundation\Response $response
+   *   The response object.
    *
    * @return bool
    *   TRUE when Cache-Control header was set explicitly on the given response.
diff --git a/core/lib/Drupal/Core/Form/FormSubmitter.php b/core/lib/Drupal/Core/Form/FormSubmitter.php
index 94dadbb48274e580c3982d466bd5888939b660c2..b5638ce9578c82437d748bb5d88a0975f5af5d29 100644
--- a/core/lib/Drupal/Core/Form/FormSubmitter.php
+++ b/core/lib/Drupal/Core/Form/FormSubmitter.php
@@ -33,6 +33,7 @@ class FormSubmitter implements FormSubmitterInterface {
    * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
    *   The request stack.
    * @param \Drupal\Core\Routing\UrlGeneratorInterface $url_generator
+   *   The URL generator.
    */
   public function __construct(RequestStack $request_stack, UrlGeneratorInterface $url_generator) {
     $this->requestStack = $request_stack;
diff --git a/core/lib/Drupal/Core/Locale/CountryManager.php b/core/lib/Drupal/Core/Locale/CountryManager.php
index b5b01acfe0deca56424341ad01cb4dba09d067ff..cc80581b0e68b25942d48007995943faa89210f0 100644
--- a/core/lib/Drupal/Core/Locale/CountryManager.php
+++ b/core/lib/Drupal/Core/Locale/CountryManager.php
@@ -25,6 +25,7 @@ class CountryManager implements CountryManagerInterface {
    * Constructor.
    *
    * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
+   *   The 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 dcc8ea4e742048752d9a180e5f4add20c2c70934..5f74cdda9c045478afb7c63509f24b4f214c53ee 100644
--- a/core/lib/Drupal/Core/Lock/LockBackendInterface.php
+++ b/core/lib/Drupal/Core/Lock/LockBackendInterface.php
@@ -127,6 +127,7 @@ public function wait($name, $delay = 30);
    * Releases the given lock.
    *
    * @param string $name
+   *   The lock name.
    */
   public function release($name);
 
diff --git a/core/lib/Drupal/Core/Menu/LocalTaskManager.php b/core/lib/Drupal/Core/Menu/LocalTaskManager.php
index f0d42fb7be6ee1fc30f3d6a87aac870653b07125..6fb8bdfe935b5b86d373bf6dc7870a25941e968a 100644
--- a/core/lib/Drupal/Core/Menu/LocalTaskManager.php
+++ b/core/lib/Drupal/Core/Menu/LocalTaskManager.php
@@ -389,6 +389,7 @@ public function getLocalTasks($route_name, $level = 0) {
    * @param string $route_name
    *   The route name of the local task to determine the active status.
    * @param array $route_parameters
+   *   The parameter for the route.
    *
    * @return bool
    *   Returns TRUE if the passed route_name and route_parameters is considered
diff --git a/core/lib/Drupal/Core/Render/Element/InlineTemplate.php b/core/lib/Drupal/Core/Render/Element/InlineTemplate.php
index ddef29673a9226de1ad686a30bd720c9f756e335..d53a317e92cd359d8e86b6ddd2acaa14dac04acd 100644
--- a/core/lib/Drupal/Core/Render/Element/InlineTemplate.php
+++ b/core/lib/Drupal/Core/Render/Element/InlineTemplate.php
@@ -43,6 +43,7 @@ public function getInfo() {
    * Renders a twig string directly.
    *
    * @param array $element
+   *   The element.
    *
    * @return array
    */
diff --git a/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php b/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php
index 3d268e481697808b6526362257576d47a3b23c64..445c4fe3f48c37c310227e9022d29979de76a191 100644
--- a/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php
+++ b/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php
@@ -73,6 +73,7 @@ protected function copyRawVariables(array $defaults) {
    * Catches failed parameter conversions and throw a 404 instead.
    *
    * @param \Symfony\Component\HttpKernel\Event\ExceptionEvent $event
+   *   The event.
    */
   public function onException(ExceptionEvent $event) {
     $exception = $event->getThrowable();
diff --git a/core/lib/Drupal/Core/Routing/RoutePreloader.php b/core/lib/Drupal/Core/Routing/RoutePreloader.php
index 9a8fba810c03f89ca416c822e682e23124b5d74b..f9bc874b69ea38b8cc7aa9818ef72028e5251304 100644
--- a/core/lib/Drupal/Core/Routing/RoutePreloader.php
+++ b/core/lib/Drupal/Core/Routing/RoutePreloader.php
@@ -55,6 +55,7 @@ class RoutePreloader implements EventSubscriberInterface {
    * @param \Drupal\Core\State\StateInterface $state
    *   The state key value store.
    * @param \Drupal\Core\Cache\CacheBackendInterface $cache
+   *   The cache backend.
    */
   public function __construct(RouteProviderInterface $route_provider, StateInterface $state, CacheBackendInterface $cache) {
     $this->routeProvider = $route_provider;
diff --git a/core/lib/Drupal/Core/Test/TestDiscovery.php b/core/lib/Drupal/Core/Test/TestDiscovery.php
index 1b12a47c7c6595489159bb7b9561967e16c47181..cf0ca32f2810a70bbc6b9fa742291080ec1ded63 100644
--- a/core/lib/Drupal/Core/Test/TestDiscovery.php
+++ b/core/lib/Drupal/Core/Test/TestDiscovery.php
@@ -389,6 +389,7 @@ public static function getTestInfo($classname, $doc_comment = NULL) {
    * Parses the phpDoc summary line of a test class.
    *
    * @param string $doc_comment
+   *   The documentation comment.
    *
    * @return string
    *   The parsed phpDoc summary line. An empty string is returned if no summary
diff --git a/core/lib/Drupal/Core/Updater/Updater.php b/core/lib/Drupal/Core/Updater/Updater.php
index 46ea7ea8cd83c2c7ce79da4406470fa1089be622..65c7409bbc62bace7b22afe80cb450756339cfe6 100644
--- a/core/lib/Drupal/Core/Updater/Updater.php
+++ b/core/lib/Drupal/Core/Updater/Updater.php
@@ -155,6 +155,7 @@ protected static function getExtensionInfo($directory) {
    *   provide their canonical name.
    *
    * @param string $directory
+   *   The full directory path.
    *
    * @return string
    *   The name of the project.
diff --git a/core/lib/Drupal/Core/Updater/UpdaterInterface.php b/core/lib/Drupal/Core/Updater/UpdaterInterface.php
index 09e3bec9072e9a94d86ccc2b19f93b3e0c7c1679..6e0bdaf32f9f5582b293dd30a8ba9c981ded4b69 100644
--- a/core/lib/Drupal/Core/Updater/UpdaterInterface.php
+++ b/core/lib/Drupal/Core/Updater/UpdaterInterface.php
@@ -49,6 +49,7 @@ public static function getRootDirectoryRelativePath();
    * Determines if the Updater can handle the project provided in $directory.
    *
    * @param string $directory
+   *   The directory.
    *
    * @return bool
    *   TRUE if the project is installed, FALSE if not.
diff --git a/core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php b/core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
index 4e6bfe3091324634b78ef4c2a4df5c56e2aa7112..218033e58046e7af4306e1afb439a2bc1c08d199 100644
--- a/core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
+++ b/core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
@@ -19,6 +19,7 @@ class ConstraintValidatorFactory extends BaseConstraintValidatorFactory {
    * Constructs a new ConstraintValidatorFactory.
    *
    * @param \Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver
+   *   The class resolver.
    */
   public function __construct(ClassResolverInterface $class_resolver) {
     $this->classResolver = $class_resolver;
diff --git a/core/modules/ban/src/Form/BanAdmin.php b/core/modules/ban/src/Form/BanAdmin.php
index 9a55d02dbe27016a41048daeb1e6ed608c5138f6..a92954e9d200cdf3d94ee343803dc7f2d4797aa5 100644
--- a/core/modules/ban/src/Form/BanAdmin.php
+++ b/core/modules/ban/src/Form/BanAdmin.php
@@ -24,6 +24,7 @@ class BanAdmin extends FormBase {
    * Constructs a new BanAdmin object.
    *
    * @param \Drupal\ban\BanIpManagerInterface $ip_manager
+   *   The ban IP manager.
    */
   public function __construct(BanIpManagerInterface $ip_manager) {
     $this->ipManager = $ip_manager;
diff --git a/core/modules/config/tests/config_import_test/src/EventSubscriber.php b/core/modules/config/tests/config_import_test/src/EventSubscriber.php
index 6b72b8ac992ee75b0c66bb8c38ed6e6bdc06b459..a0691c3f0edcdf04d928936be0dd55b9f643f20d 100644
--- a/core/modules/config/tests/config_import_test/src/EventSubscriber.php
+++ b/core/modules/config/tests/config_import_test/src/EventSubscriber.php
@@ -84,6 +84,7 @@ public function onConfigImporterMissingContentTwo(MissingContentEvent $event) {
    * Reacts to a config save and records information in state for testing.
    *
    * @param \Drupal\Core\Config\ConfigCrudEvent $event
+   *   The event.
    */
   public function onConfigSave(ConfigCrudEvent $event) {
     $config = $event->getConfig();
@@ -116,6 +117,7 @@ public function onConfigSave(ConfigCrudEvent $event) {
    * Reacts to a config delete and records information in state for testing.
    *
    * @param \Drupal\Core\Config\ConfigCrudEvent $event
+   *   The event.
    */
   public function onConfigDelete(ConfigCrudEvent $event) {
     $config = $event->getConfig();
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
index 025f933eb44f668af574a2d5e73346dee9272a08..50a74e205691f0fbd4e73de63f82f053565df9cc 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
@@ -1147,7 +1147,9 @@ protected function getTranslation($config_name, $key, $langcode) {
    * Sets site name and slogan for default language, helps in tests.
    *
    * @param string $site_name
+   *   The site name.
    * @param string $site_slogan
+   *   The site slogan.
    */
   protected function setSiteInformation($site_name, $site_slogan) {
     $edit = [
diff --git a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
index 728063ad5756dd73b9baba519a0632d50fa09dc8..ea273e39fd40d72136a5d4e3ef85911b1d843f27 100644
--- a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
+++ b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
@@ -675,6 +675,7 @@ public function getInternalLangcode() {
    * Sets the list of configuration names.
    *
    * @param array $config_names
+   *   The configuration names.
    */
   public function setConfigNames(array $config_names) {
     $this->pluginDefinition['names'] = $config_names;
diff --git a/core/modules/field_layout/tests/src/Kernel/FieldLayoutEntityDisplayTest.php b/core/modules/field_layout/tests/src/Kernel/FieldLayoutEntityDisplayTest.php
index 1f94b9da38fa3e2db01f814dc0ac339a036045de..0042c7b0585a9f72751a3365592ef267f8690376 100644
--- a/core/modules/field_layout/tests/src/Kernel/FieldLayoutEntityDisplayTest.php
+++ b/core/modules/field_layout/tests/src/Kernel/FieldLayoutEntityDisplayTest.php
@@ -176,8 +176,11 @@ public function testPreSave() {
    * Asserts than an entity has the correct values.
    *
    * @param mixed $expected
+   *   The expected values.
    * @param array $values
+   *   The actual values.
    * @param string $message
+   *   (optional) An error message.
    */
   public static function assertEntityValues($expected, array $values, $message = '') {
 
diff --git a/core/modules/file/src/Upload/FileUploadResult.php b/core/modules/file/src/Upload/FileUploadResult.php
index 8481002cf60271ba8813b81ce91418df2067a09a..8a00935da17ebed25f0429dcccc6fc627efdc8ea 100644
--- a/core/modules/file/src/Upload/FileUploadResult.php
+++ b/core/modules/file/src/Upload/FileUploadResult.php
@@ -51,6 +51,7 @@ public function setSecurityRename(): FileUploadResult {
    * Sets the sanitized filename.
    *
    * @param string $sanitizedFilename
+   *   The sanitized filename.
    *
    * @return $this
    */
@@ -72,6 +73,7 @@ public function getOriginalFilename(): string {
    * Sets the original filename.
    *
    * @param string $originalFilename
+   *   The original filename.
    *
    * @return $this
    */
@@ -84,6 +86,7 @@ public function setOriginalFilename(string $originalFilename): FileUploadResult
    * Sets the File entity.
    *
    * @param \Drupal\file\FileInterface $file
+   *   A file entity.
    *
    * @return $this
    */
diff --git a/core/modules/jsonapi/tests/src/Functional/UserTest.php b/core/modules/jsonapi/tests/src/Functional/UserTest.php
index 2184c3bcb4b8e0a46e99e5d75b4cc10d20e1c2ff..21a2d99d0b581317e6da9e7f40527f290f8a5dd5 100644
--- a/core/modules/jsonapi/tests/src/Functional/UserTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/UserTest.php
@@ -803,7 +803,9 @@ protected function makeNormalizationInvalid(array $document, $entity_key) {
 
   /**
    * @param \Drupal\user\UserInterface $account
+   *   The user account.
    * @param string $cancel_method
+   *   The cancel method.
    */
   private function sendDeleteRequestForUser(UserInterface $account, string $cancel_method) {
     $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $account->uuid()]);
diff --git a/core/modules/locale/src/PluralFormula.php b/core/modules/locale/src/PluralFormula.php
index 0913a69cdaf7d1f8de58be1ce5780a614a70d6dc..fc7fd88519faf1bc91a9870e24c5ded4afae5ef4 100644
--- a/core/modules/locale/src/PluralFormula.php
+++ b/core/modules/locale/src/PluralFormula.php
@@ -42,7 +42,9 @@ class PluralFormula implements PluralFormulaInterface {
 
   /**
    * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
+   *   The language manager.
    * @param \Drupal\Core\State\StateInterface $state
+   *   The state.
    */
   public function __construct(LanguageManagerInterface $language_manager, StateInterface $state) {
     $this->languageManager = $language_manager;
diff --git a/core/modules/migrate/src/Event/MigratePreRowSaveEvent.php b/core/modules/migrate/src/Event/MigratePreRowSaveEvent.php
index 98a1c0a53edf66b0903355b8681b7d0b8808dbeb..397ceb5e372d79addb695c39ec3f23709f0ac836 100644
--- a/core/modules/migrate/src/Event/MigratePreRowSaveEvent.php
+++ b/core/modules/migrate/src/Event/MigratePreRowSaveEvent.php
@@ -26,6 +26,7 @@ class MigratePreRowSaveEvent extends EventBase {
    * @param \Drupal\migrate\MigrateMessageInterface $message
    *   The current migrate message service.
    * @param \Drupal\migrate\Row $row
+   *   The current row.
    */
   public function __construct(MigrationInterface $migration, MigrateMessageInterface $message, Row $row) {
     parent::__construct($migration, $message);
diff --git a/core/modules/migrate/tests/src/Kernel/process/ExtractTest.php b/core/modules/migrate/tests/src/Kernel/process/ExtractTest.php
index 8dc73f492449c1db4097c19bf5eae6ffe656697b..c85f8aab1a574910f19a92a32fdc75d2f6ba8ac3 100644
--- a/core/modules/migrate/tests/src/Kernel/process/ExtractTest.php
+++ b/core/modules/migrate/tests/src/Kernel/process/ExtractTest.php
@@ -57,7 +57,9 @@ public function getDefinition() {
    * @dataProvider multipleValueProviderSource
    *
    * @param array $source_data
+   *   The source data.
    * @param array $expected_data
+   *   The expected results.
    */
   public function testMultipleValueExplode(array $source_data, array $expected_data) {
     $definition = $this->getDefinition();
diff --git a/core/modules/migrate/tests/src/Kernel/process/HandleMultiplesTest.php b/core/modules/migrate/tests/src/Kernel/process/HandleMultiplesTest.php
index caae69de613ca621f7a518db9175f4d61a4e3092..1319a7bf8a77f2f32c21aff2f128da82831a784f 100644
--- a/core/modules/migrate/tests/src/Kernel/process/HandleMultiplesTest.php
+++ b/core/modules/migrate/tests/src/Kernel/process/HandleMultiplesTest.php
@@ -85,7 +85,9 @@ public function getDefinition() {
    * @dataProvider scalarAndMultipleValuesProviderSource
    *
    * @param array $source_data
+   *   The source data.
    * @param array $expected_data
+   *   The expected results.
    */
   public function testScalarAndMultipleValues(array $source_data, array $expected_data) {
     $definition = $this->getDefinition();
diff --git a/core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php b/core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php
index 722c70549d09f4f9bd6d1b4489d6a07dfd9bb2a3..a726ae8a649ef67f84128abeda17284d2a1cf371 100644
--- a/core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php
+++ b/core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php
@@ -58,6 +58,7 @@ protected function alterRoutes(RouteCollection $collection) {
    * Rebuilds the router when node.settings:use_admin_theme is changed.
    *
    * @param \Drupal\Core\Config\ConfigCrudEvent $event
+   *   The event object.
    */
   public function onConfigSave(ConfigCrudEvent $event) {
     if ($event->getConfig()->getName() === 'node.settings' && $event->isChanged('use_admin_theme')) {
diff --git a/core/modules/node/src/Plugin/views/argument/Nid.php b/core/modules/node/src/Plugin/views/argument/Nid.php
index 382b66643ed9cb563b608db3401620b6d61e952a..4a8c1e2b18c11f31f090044a06c2b6dcdc6b8597 100644
--- a/core/modules/node/src/Plugin/views/argument/Nid.php
+++ b/core/modules/node/src/Plugin/views/argument/Nid.php
@@ -30,6 +30,7 @@ class Nid extends NumericArgument {
    * @param mixed $plugin_definition
    *   The plugin implementation definition.
    * @param \Drupal\node\NodeStorageInterface $node_storage
+   *   The node storage handler.
    */
   public function __construct(array $configuration, $plugin_id, $plugin_definition, NodeStorageInterface $node_storage) {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php
index b1080a9de36beb81241397238141670c6181ed48..94a579c8703bbb0b18a0b4d6e6948eff5acec3a6 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php
@@ -42,10 +42,15 @@ protected function setUp(): void {
    * @param string $help
    *   The expected help text.
    * @param bool $display_submitted
+   *   If submission information is displayed.
    * @param bool $new_revision
+   *   If this is a new revision.
    * @param array $expected_available_menus
+   *   The expected menus.
    * @param string $expected_parent
+   *   The expected menu parents.
    * @param string|null $body_label
+   *   (optional) The label for the body field.
    */
   protected function assertEntity($id, $label, $description, $help, $display_submitted, $new_revision, $expected_available_menus, $expected_parent, $body_label = NULL) {
     /** @var \Drupal\node\NodeTypeInterface $entity */
diff --git a/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php b/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
index abcf71d7fcbcb822a9615a88f2918694babc460a..b92af125ac4da8ee9276c8870e29f6e569412f2e 100644
--- a/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
+++ b/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
@@ -65,6 +65,7 @@ protected function setUp() {
    * @param string $label
    *   The field's label (used everywhere: widget label, formatter label).
    * @param array $field_settings
+   *   The field's settings.
    * @param string $widget_type
    *   The widget type.
    * @param array $widget_settings
diff --git a/core/modules/serialization/src/Encoder/XmlEncoder.php b/core/modules/serialization/src/Encoder/XmlEncoder.php
index f80955b54c03caab8f33744d6f9893f9f100177f..bdcb184d3e8c4d98052242479160da590fcc8fef 100644
--- a/core/modules/serialization/src/Encoder/XmlEncoder.php
+++ b/core/modules/serialization/src/Encoder/XmlEncoder.php
@@ -55,6 +55,7 @@ public function getBaseEncoder() {
    * Sets the base encoder instance.
    *
    * @param \Symfony\Component\Serializer\Encoder\XmlEncoder $encoder
+   *   The XML encoder.
    */
   public function setBaseEncoder($encoder) {
     $this->baseEncoder = $encoder;
diff --git a/core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php b/core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php
index 1acfd70a7a44b59b54b8940ffb2ff515dd51a858..6f4ec68d4470901a5317f0cd4474a5798acab0ef 100644
--- a/core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php
+++ b/core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php
@@ -20,6 +20,7 @@ protected function normalizeRootReferenceValue(&$values, EntityReferenceItem $fi
    * Determines if a field item references a taxonomy term.
    *
    * @param \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem $field_item
+   *   The entity reference item.
    *
    * @return bool
    */
diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php
index 5f20476b74aadb9c9d785032195314e1dc60582b..888499c4fd8a997883353c216dc5c0da87ae1fcc 100644
--- a/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php
+++ b/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php
@@ -122,6 +122,7 @@ public function testNormalizeWithAccountContext() {
    * Creates a mock content entity.
    *
    * @param $definitions
+   *   The properties the will be returned.
    *
    * @return \PHPUnit\Framework\MockObject\MockObject
    */
@@ -145,8 +146,11 @@ public function createMockForContentEntity($definitions) {
    * Creates a mock field list item.
    *
    * @param bool $access
+   *   The value that access() will return.
    * @param bool $internal
+   *   The value that isInternal() will return.
    * @param \Drupal\Core\Session\AccountInterface $user_context
+   *   The user context used for the access check.
    *
    * @return \Drupal\Core\Field\FieldItemListInterface|\PHPUnit\Framework\MockObject\MockObject
    */
diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index ec50babddce886165b6029b56b590d8ec3605d15..d38749400b565d13c9c8285512a87dd456b6ba41 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -238,6 +238,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
    * @param \Drupal\Core\Extension\Extension $module
    *   The module for which to build the form row.
    * @param $distribution
+   *   The distribution.
    *
    * @return array
    *   The form row for the given module.
diff --git a/core/modules/system/src/Form/SystemMenuOffCanvasForm.php b/core/modules/system/src/Form/SystemMenuOffCanvasForm.php
index a561a5bd9a5aac6baf28f3d47483d885451b4e97..8a500853ae62d1e914e29f8946b0816dafa3150e 100644
--- a/core/modules/system/src/Form/SystemMenuOffCanvasForm.php
+++ b/core/modules/system/src/Form/SystemMenuOffCanvasForm.php
@@ -61,8 +61,11 @@ class SystemMenuOffCanvasForm extends PluginFormBase implements ContainerInjecti
    * SystemMenuOffCanvasForm constructor.
    *
    * @param \Drupal\Core\Entity\EntityStorageInterface $menu_storage
+   *   The menu storage handler.
    * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
+   *   The entity type manager.
    * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation
+   *   The string translation handler.
    * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
    *   The config factory.
    */
diff --git a/core/modules/system/src/PhpStorage/MockPhpStorage.php b/core/modules/system/src/PhpStorage/MockPhpStorage.php
index cb3c42f8a42a63aceebd2d14acd1bfe295e9a7ba..349191334c0f16defe0f0a0c56ea01947f46442c 100644
--- a/core/modules/system/src/PhpStorage/MockPhpStorage.php
+++ b/core/modules/system/src/PhpStorage/MockPhpStorage.php
@@ -18,6 +18,7 @@ class MockPhpStorage {
    * Constructs a MockPhpStorage object.
    *
    * @param array $configuration
+   *   The storage configuration.
    */
   public function __construct(array $configuration) {
     $this->configuration = $configuration;
diff --git a/core/modules/system/src/SystemConfigSubscriber.php b/core/modules/system/src/SystemConfigSubscriber.php
index 0ab0d15fc6105dd9725adfadf09edf2d36daf14f..76830b70a6e2b07d094dc6a4ff77440892f264c1 100644
--- a/core/modules/system/src/SystemConfigSubscriber.php
+++ b/core/modules/system/src/SystemConfigSubscriber.php
@@ -36,6 +36,7 @@ public function __construct(RouteBuilderInterface $router_builder) {
    * Rebuilds the router when the default or admin theme is changed.
    *
    * @param \Drupal\Core\Config\ConfigCrudEvent $event
+   *   The configuration event.
    */
   public function onConfigSave(ConfigCrudEvent $event) {
     $saved_config = $event->getConfig();
diff --git a/core/modules/system/src/Tests/Routing/MockAliasManager.php b/core/modules/system/src/Tests/Routing/MockAliasManager.php
index b52b0b44c7687d9bf0cc7ea1d414d34d9b01536b..5299281d44f996ff6cbff3a0f1a4d8f73fc55e9d 100644
--- a/core/modules/system/src/Tests/Routing/MockAliasManager.php
+++ b/core/modules/system/src/Tests/Routing/MockAliasManager.php
@@ -71,10 +71,6 @@ public function getPathByAlias($alias, $langcode = NULL) {
 
   /**
    * {@inheritdoc}
-   * @param $path
-   * @param null $langcode
-   *
-   * @return
    */
   public function getAliasByPath($path, $langcode = NULL) {
     if ($path[0] !== '/') {
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 a6aeb389e679d4b2dc50228fc7f5ea921d24f2bf..00f3ef9848ecce019f5e25d5c7f5c875cead4956 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
@@ -32,6 +32,7 @@ class EarlyRenderingTestController extends ControllerBase {
    * Constructs an EarlyRenderingTestController.
    *
    * @param \Drupal\Core\Render\RendererInterface $renderer
+   *   The renderer.
    */
   public function __construct(RendererInterface $renderer) {
     $this->renderer = $renderer;
diff --git a/core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php b/core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
index 470683ce9b75efbff5053ec8eb94fa6457d16d7b..22cbb7cf456fd471c09360b4cfbb907190700fe2 100644
--- a/core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
+++ b/core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
@@ -121,6 +121,7 @@ public function buildAjaxSnackConfigureForm(array $form, FormStateInterface $for
    * Loading stub for machine name.
    *
    * @param $machine_name
+   *   The machine name.
    *
    * @return bool
    */
diff --git a/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php b/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
index 2cc0d369761a86571fea8eee3150729d1b58abde..337ab4c3b151ea8b754b130c2881060e5f8ac897 100644
--- a/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
+++ b/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
@@ -40,6 +40,7 @@ class ThemeTestSubscriber implements EventSubscriberInterface {
    * Constructs a new ThemeTestSubscriber.
    *
    * @param \Drupal\Core\Routing\RouteMatchInterface $current_route_match
+   *   The route match handler.
    * @param \Drupal\Core\Render\RendererInterface $renderer
    *   The renderer.
    */
diff --git a/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php b/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
index dc375371a8e8cfe2264f1ff2990d6f23f982d6b9..fefd3a462b5e0ad35d4777fa85676237616ae93c 100644
--- a/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
+++ b/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
@@ -149,6 +149,7 @@ protected function assertCacheContexts(array $expected_contexts, $message = NULL
    * Asserts the max age header.
    *
    * @param int $max_age
+   *   The maximum age of the cache.
    */
   protected function assertCacheMaxAge($max_age) {
     $this->assertSession()->responseHeaderContains('Cache-Control', 'max-age:' . $max_age);
diff --git a/core/modules/system/tests/src/Kernel/Common/UrlTest.php b/core/modules/system/tests/src/Kernel/Common/UrlTest.php
index 447d056e3a015095b3ba66e65ecc2877bf9fcf41..76c5ffc45cd37b396795b972b5a425331f76bf5e 100644
--- a/core/modules/system/tests/src/Kernel/Common/UrlTest.php
+++ b/core/modules/system/tests/src/Kernel/Common/UrlTest.php
@@ -166,6 +166,7 @@ public function testLinkRenderArrayText() {
    * Checks for class existence in link.
    *
    * @param $attribute
+   *   Attribute to be checked.
    * @param $link
    *   URL to search.
    * @param $class
diff --git a/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php b/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
index 8ba2ac6072b540e0dbdcabdd5ccb3660852ded88..ff33361d4f4532b77a05a5baba7cdb5f8641473c 100644
--- a/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
+++ b/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
@@ -59,6 +59,7 @@ public function testModuleList() {
    * @param array $expected_values
    *   The expected values, sorted by weight and module name.
    * @param $condition
+   *   The condition being tested, such as 'After adding a module'.
    */
   protected function assertModuleList(array $expected_values, $condition) {
     $expected_values = array_values(array_unique($expected_values));
diff --git a/core/modules/user/src/UserStorageInterface.php b/core/modules/user/src/UserStorageInterface.php
index 4cfd26b1a815643628e962db088f616301ec28b6..07121687af8f74995e7bc86fa028db1f78d902e5 100644
--- a/core/modules/user/src/UserStorageInterface.php
+++ b/core/modules/user/src/UserStorageInterface.php
@@ -14,6 +14,7 @@ interface UserStorageInterface extends ContentEntityStorageInterface {
    * Update the last login timestamp of the user.
    *
    * @param \Drupal\user\UserInterface $account
+   *   The user account.
    */
   public function updateLastLoginTimestamp(UserInterface $account);
 
diff --git a/core/modules/user/tests/src/Functional/UserPasswordResetTest.php b/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
index 31c0db9ed3d2a8f2f4519964235d162779c35a45..775f2806c1d331fef917ffb44b5d2e13c1f180e6 100644
--- a/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
+++ b/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
@@ -498,6 +498,7 @@ public function assertValidPasswordReset($name) {
    * Helper function to make assertions about an invalid password reset.
    *
    * @param string $name
+   *   The user name.
    */
   public function assertNoValidPasswordReset($name) {
     // This message is the same as the valid reset for privacy reasons.
diff --git a/core/modules/views/src/Analyzer.php b/core/modules/views/src/Analyzer.php
index 360a08f1bbdc1790da29d75d94c942c2e5ccf7b3..42ae3ccb630000ff837d0da57b793a248a6bdffc 100644
--- a/core/modules/views/src/Analyzer.php
+++ b/core/modules/views/src/Analyzer.php
@@ -107,6 +107,7 @@ public function formatMessages(array $messages) {
    * for items that are definitely broken are much more useful.
    *
    * @param string $message
+   *   The message.
    * @param string $type
    *   The type of message. This should be "ok", "warning" or "error". Other
    *   values can be used but how they are treated by the output routine
diff --git a/core/modules/views/src/Plugin/views/argument_validator/Entity.php b/core/modules/views/src/Plugin/views/argument_validator/Entity.php
index d41de84827866883f79aa9d6e10e67372d42ab05..ba0bb219623d12b03f03fbb4aac660b5c8ac0e0c 100644
--- a/core/modules/views/src/Plugin/views/argument_validator/Entity.php
+++ b/core/modules/views/src/Plugin/views/argument_validator/Entity.php
@@ -209,6 +209,7 @@ public function validateArgument($argument) {
    * Validates an individual entity against class access settings.
    *
    * @param \Drupal\Core\Entity\EntityInterface $entity
+   *   The entity.
    *
    * @return bool
    *   True if validated.
diff --git a/core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php b/core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php
index e78198d84aaf78cf15232e055fea23f97bf11330..189d2424cb85c76ed1ecce245bc00337dc2127b4 100644
--- a/core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php
+++ b/core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php
@@ -27,6 +27,7 @@ public function collectRoutes(RouteCollection $collection);
    * the method can specify to break the search.
    *
    * @param \Symfony\Component\Routing\RouteCollection $collection
+   *   The route collection.
    *
    * @return array
    *   Returns a list of "$view_id.$display_id" elements which got overridden.
diff --git a/core/modules/views/src/Plugin/views/filter/Combine.php b/core/modules/views/src/Plugin/views/filter/Combine.php
index 400be23aba1ba0e30c738a2a56d0aad26cca8125..36dab819e57feeccfcdf0f8901e5ec5c7312b0ac 100644
--- a/core/modules/views/src/Plugin/views/filter/Combine.php
+++ b/core/modules/views/src/Plugin/views/filter/Combine.php
@@ -150,6 +150,7 @@ protected function opContains($expression) {
    * expressions.
    *
    * @param string $expression
+   *   The expression to add to the query.
    */
   protected function opContainsWord($expression) {
     $placeholder = $this->placeholder();
diff --git a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
index 4207ef9ea68ae5e2ec93085d45fe9dc438299136..3e5370beebde057e87fb896b0c8296a3332cc431 100644
--- a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
+++ b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
@@ -748,8 +748,9 @@ protected function buildGroupValidate($form, FormStateInterface $form_state) {
    * @param string $identifier
    *   The identifier to check.
    * @param \Drupal\Core\Form\FormStateInterface $form_state
+   *   (optional) The current state of the form.
    * @param array $form_group
-   *   The form element to set any errors on.
+   *   (optional) The form element to set any errors on.
    *
    * @return string
    */
diff --git a/core/modules/views/src/Tests/TestHelperPlugin.php b/core/modules/views/src/Tests/TestHelperPlugin.php
index 86560630fcce69bd5e5bb038d2b503d573e2a11e..51d20bd68c503ba096bd84690fcfdd2f9852c652 100644
--- a/core/modules/views/src/Tests/TestHelperPlugin.php
+++ b/core/modules/views/src/Tests/TestHelperPlugin.php
@@ -31,6 +31,7 @@ public function testSetOptionDefaults(&$storage, $options, $level = 0) {
    * Allows to set the defined options.
    *
    * @param array $options
+   *   The options to set.
    *
    * @return $this
    */
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php
index ed96decd57de30ca54c3cee52e3c76392e3e25f8..025a7748f35d0be6e313e484be04914edb35a635 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php
@@ -30,6 +30,7 @@ public function getJoinValue() {
    * Sets the joinValue property.
    *
    * @param int $join_value
+   *   The value of the join.
    */
   public function setJoinValue($join_value) {
     $this->joinValue = $join_value;
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 2d475c97b12769d55eb9e8cc6f93a360f8221b05..cf1e5dc18d665633f9b5fa02203edc8952c12cfb 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
@@ -82,6 +82,7 @@ public function ensureTable($table, $relationship = NULL, JoinPluginBase $join =
    * Implements Drupal\views\Plugin\views\query\QueryPluginBase::build().
    *
    * @param \Drupal\views\ViewExecutable $view
+   *   The view executable.
    */
   public function build(ViewExecutable $view) {
     $this->view = $view;
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
index 46897992b1f428d6c2558b22d2e91977e0d074eb..241c65cec516c18c2117f66a3e4ea842103b22a6 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
@@ -167,6 +167,7 @@ protected function assertCacheabilityMetadata($build) {
    * Ensures that the config dependencies are calculated the right way.
    *
    * @param \Drupal\views\Entity\View $storage
+   *   The view storage.
    */
   protected function assertConfigDependencies(View $storage) {
     $storage->calculateDependencies();
diff --git a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
index 3b1eac8136eecbd048469f8e0082106baf0688a1..92e4b51d2590b9622b2d16ad57d5e4605989b59f 100644
--- a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php
@@ -361,6 +361,7 @@ public function testDestroy() {
    * Asserts that expected view properties have been unset by destroy().
    *
    * @param \Drupal\views\ViewExecutable $view
+   *   The view executable.
    */
   protected function assertViewDestroy(ViewExecutable $view) {
     $reflection = new \ReflectionClass($view);
diff --git a/core/modules/views_ui/src/ViewEditForm.php b/core/modules/views_ui/src/ViewEditForm.php
index c5cd2381dc3c5c0c290d2b40a2415ebd1f4b2a03..c22ca7d82c6dc5dc02c63f3c6944ce0ee089c3a3 100644
--- a/core/modules/views_ui/src/ViewEditForm.php
+++ b/core/modules/views_ui/src/ViewEditForm.php
@@ -394,6 +394,7 @@ public function getDisplayTab($view) {
    * @param \Drupal\views_ui\ViewUI $view
    *   The ViewUI entity.
    * @param array $display
+   *   The display.
    *
    * @return array
    *   A renderable page build array.
diff --git a/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php b/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
index af0e5bf6bb50a5c02315c083f6268b0c4da0f7c4..f2f7a1e454f239a8bdd2f4b3a710b6d8fd671312 100644
--- a/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
+++ b/core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
@@ -49,6 +49,7 @@ public function testSpecifyValidation() {
    * both with and without specify_validation turned on.
    *
    * @param bool $specify_validation
+   *   The form validation.
    */
   protected function saveArgumentHandlerWithValidationOptions($specify_validation) {
     $options = [
diff --git a/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php
index 1a4cde7ed6e611996b0b0563134ef50527795826..641d2fc4abd7be399a7108df984c0009363ff754 100644
--- a/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php
+++ b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php
@@ -133,6 +133,7 @@ public function testFilterViewsListing() {
    * Removes any non-visible elements from the passed array.
    *
    * @param array $elements
+   *   The elements.
    *
    * @return array
    */
diff --git a/core/modules/workflows/src/State.php b/core/modules/workflows/src/State.php
index 57f830e9225063dfba72d9689596a0fc57dddafc..e4e65579bf2391693ca8d45d72888b467575456c 100644
--- a/core/modules/workflows/src/State.php
+++ b/core/modules/workflows/src/State.php
@@ -103,6 +103,7 @@ public function getTransitions() {
    * Helper method to convert a State value object to a label.
    *
    * @param \Drupal\workflows\StateInterface $state
+   *   The state.
    *
    * @return string
    *   The label of the state.
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 5db0cfbabd86ba9a46f166a0f3bce065b8acb6f8..de9eefb69260928680f668a491ba71f988604e40 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -68,7 +68,6 @@
   <rule ref="Drupal.Commenting.FunctionComment">
     <exclude name="Drupal.Commenting.FunctionComment.InvalidNoReturn"/>
     <exclude name="Drupal.Commenting.FunctionComment.Missing"/>
-    <exclude name="Drupal.Commenting.FunctionComment.MissingParamComment"/>
     <exclude name="Drupal.Commenting.FunctionComment.MissingParamType"/>
     <exclude name="Drupal.Commenting.FunctionComment.MissingReturnComment"/>
     <exclude name="Drupal.Commenting.FunctionComment.MissingReturnType"/>
diff --git a/core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php b/core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php
index 53a5c2308c3c72e45254d09b70bf085c55aa25a2..04c5ff9bc0079a5f2c979d0e8d16f276ed54b0e7 100644
--- a/core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php
+++ b/core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php
@@ -256,7 +256,9 @@ public function testTemplateCreateProject($project, $package_dir, $docroot_dir)
    * Assert that the VERSION constant in Drupal.php is the expected value.
    *
    * @param string $expectedVersion
+   *   The expected version.
    * @param string $dir
+   *   The path to the site root.
    */
   protected function assertDrupalVersion($expectedVersion, $dir) {
     $drupal_php_path = $dir . '/core/lib/Drupal.php';
diff --git a/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php b/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
index b66e3452931d126d6356d5f12c516c0e5c75d3f5..3b19ba55425948eeab2d61e6f461093e06407277 100644
--- a/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
@@ -220,6 +220,7 @@ public function testScriptLoad() {
    * Helper function to get a simplified schema for a given table.
    *
    * @param string $table
+   *   The table name.
    *
    * @return array
    *   Array keyed by field name, with the values being the field type.
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
index 796f6ca1391e61612cabfb54478ad60edd653f7c..9a50a78fe6aa012cca9253d9378ed8fbff7aa225 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
@@ -624,6 +624,8 @@ public function testRepeatedExecution() {
    * @param array $expected
    *   An array of the expected results.
    * @param bool $sorted
+   *   (optiOnal) Whether the array keys of the expected are sorted, defaults to
+   *   FALSE.
    */
   protected function assertResults($expected, $sorted = FALSE) {
     $found = TRUE;
diff --git a/core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php b/core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
index d8b1c41635272ccbfc53cfe32e07cb3e8b7590d7..a0bd5887667004dafe34497f1416f6a300e99324 100644
--- a/core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
@@ -128,6 +128,7 @@ public function testExceptionResponseGeneratedForOriginalRequest() {
    * Sets the given path to use as the 404 page and triggers a 404.
    *
    * @param string $path
+   *   The path to test.
    *
    * @return \Drupal\Core\Render\HtmlResponse
    *
diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
index 5918bafece67d50bf9cf049c7be75fb732f3f108..a2c80f893497b3384d3b8f949b5a5d1beafb4eb0 100644
--- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
+++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
@@ -231,6 +231,7 @@ public function assertDateTimestamp($date, $input, $initial, $transform) {
    * @param string $timezone
    *   Timezone argument for DateTimePlus.
    * @param string $format
+   *   PHP date() type format for parsing the input.
    * @param string $format_date
    *   Format argument for DateTimePlus::format().
    * @param string $expected
diff --git a/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php b/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php
index d3f3f94b078129afb3966db57862d064ef44aed7..025c684ae745dd45f599baf4b7e3a337efc36072 100644
--- a/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php
+++ b/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php
@@ -14,6 +14,7 @@ final class StubPluginManagerBaseWithMapper extends PluginManagerBase {
    * Constructs a new instance.
    *
    * @param \Drupal\Component\Plugin\Mapper\MapperInterface $mapper
+   *   The plugin mapper interface.
    */
   public function __construct(MapperInterface $mapper) {
     $this->mapper = $mapper;
diff --git a/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php b/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php
index 7deb10328ed3a568944ce98dc291fad56bbb3f3d..0a52a305f8e120579913282aca794366d42db823 100644
--- a/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php
@@ -13,7 +13,9 @@ class ReflectionTest extends TestCase {
 
   /**
    * @param string|null $expected
+   *   The expected value of the parameter.
    * @param \ReflectionParameter $parameter
+   *   The reflection parameter.
    *
    * @covers ::getParameterClassName
    * @dataProvider providerGetParameterClassName
diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php
index c68322a2d73d69e75575151d76b8e4234afd2cb3..a82bcf4fbe367b1508a3f9238ed506882b952871 100644
--- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php
+++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php
@@ -14,7 +14,9 @@ class ScaffoldTestResult {
    * Holds the location of the scaffold fixture and the stdout from the test.
    *
    * @param string $docroot
+   *   The location of the scaffold fixture.
    * @param string $scaffoldOutput
+   *   The stdout from the test.
    */
   public function __construct($docroot, $scaffoldOutput) {
     $this->docroot = $docroot;
diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php
index 5ccb18566f3b9a05f57194d167902b6f0ef5ba27..84fe9b1b33d5d29f9512cb7a7d51f3ccc1ca6567 100644
--- a/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php
@@ -32,6 +32,7 @@ public function testGetContextNotFront() {
    * Creates a PathMatcherInterface prophecy.
    *
    * @param bool $is_front
+   *   Whether the page is the front page.
    *
    * @return \Prophecy\Prophecy\ObjectProphecy
    */
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
index 8f6c3aa359eaa1a25f66d7e6f5225cd270ebc9cc..8f237c60e7855db7da478f713962ad4910579bc9 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
@@ -247,6 +247,7 @@ public function testCreateWithExplicitLanguage() {
    * @covers ::doSave
    *
    * @param \Drupal\Core\Entity\EntityInterface $entity
+   *   The entity to test.
    *
    * @return \Drupal\Core\Entity\EntityInterface
    *
@@ -299,6 +300,7 @@ public function testSaveInsert(EntityInterface $entity) {
    * @covers ::doSave
    *
    * @param \Drupal\Core\Entity\EntityInterface $entity
+   *   The entity to test.
    *
    * @return \Drupal\Core\Entity\EntityInterface
    *
diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
index bfc7dee4ab2e9a9d6b485095411a98f7e84d2a0d..fa9a371d001bb8116fd68df3a01ea982d23b94e1 100644
--- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
+++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
@@ -116,6 +116,7 @@ public function providerTestProcess() {
    * bag so the setParameter() call effects the parent container as well.
    *
    * @param $service
+   *   The service definition.
    *
    * @return \Symfony\Component\DependencyInjection\ContainerBuilder
    */
@@ -135,6 +136,7 @@ protected function getSqliteContainer($service) {
    * bag so the setParameter() call effects the parent container as well.
    *
    * @param $service
+   *   The service definition.
    *
    * @return \Symfony\Component\DependencyInjection\ContainerBuilder
    */
@@ -152,6 +154,7 @@ protected function getMysqlContainer($service) {
    * bag so the setParameter() call effects the parent container as well.
    *
    * @param $service
+   *   The service definition.
    *
    * @return \Symfony\Component\DependencyInjection\ContainerBuilder
    */
diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
index e85c4391de3b20b495369229100d9ce3a5167bdb..a05fe7cac13aaa3e30eac5bc3838e18887fbcc8c 100644
--- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@@ -483,6 +483,7 @@ public function testConstraintMethods() {
    * Asserts there on no public properties on the object instance.
    *
    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
+   *   The entity type.
    */
   protected function assertNoPublicProperties(EntityTypeInterface $entity_type) {
     $reflection = new \ReflectionObject($entity_type);
diff --git a/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
index 3131893fcc191cce53d7013ef1aaa1df25cb7d71..62c9d27935a580d483e9661512b6906c7e8b3c8f 100644
--- a/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
@@ -222,6 +222,7 @@ public function testCreate() {
    * @covers ::doSave
    *
    * @param \Drupal\Core\Entity\EntityInterface $entity
+   *   The entity.
    *
    * @return \Drupal\Core\Entity\EntityInterface
    *
@@ -265,6 +266,7 @@ public function testSaveInsert(EntityInterface $entity) {
    * @covers ::doSave
    *
    * @param \Drupal\Core\Entity\EntityInterface $entity
+   *   The entity.
    *
    * @return \Drupal\Core\Entity\EntityInterface
    *
diff --git a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
index e15d795bc396773061203bdcd5b47f0db8258ed0..3ec83076c03e484d1e5c39fc39d061101c7c4f7f 100644
--- a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
@@ -335,6 +335,8 @@ public function testGetEntityTypeIdKeyTypeNotFieldable() {
 
   /**
    * @param \Prophecy\Prophecy\ObjectProphecy $base_entity_type
+   *   (optional) The prophesize base entity type.
+   *
    * @return \Prophecy\Prophecy\ObjectProphecy
    */
   protected function getEntityType(ObjectProphecy $base_entity_type = NULL) {
diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
index 89b60960973208b5a6d02b736dbdd381334d2c91..92d85f05310b9a6db67ced4bd57fb20ea040bd7f 100644
--- a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
+++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
@@ -108,7 +108,9 @@ public function providerTestOnResponse() {
    * @dataProvider providerTestOnResponse
    *
    * @param string $content
+   *   The content for the request.
    * @param string $expected_content
+   *   The expected content from the response.
    */
   public function testOnResponse($content, $expected_content) {
     $event = new ResponseEvent(
diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
index f40c2ac48d08c7976cd50e6f2b295bdd099ad0d0..7d6eaf054107a4f72deab68b2295841521aa6b65 100644
--- a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
+++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
@@ -102,6 +102,7 @@ public function testExtensionDiscoveryCache() {
    * Adds example files to the filesystem structure.
    *
    * @param array $filesystem_structure
+   *   An associative array where each key represents a directory.
    *
    * @return string[][]
    *   Format: $[$type][$name] = $yml_file
@@ -174,9 +175,11 @@ protected function populateFilesystemStructure(array &$filesystem_structure) {
 
   /**
    * @param array $filesystem_structure
+   *   An associative array where each key represents a directory.
    * @param string[] $pieces
    *   Fragments of the file path.
    * @param string $content
+   *   The contents of the file.
    */
   protected function addFileToFilesystemStructure(array &$filesystem_structure, array $pieces, $content) {
     $piece = array_shift($pieces);
diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
index 929ad62b1df7c195f9e38968da20491b0b2f1bac..a1ebab060ce16557ff5359fdf1ad1889a62ebc45 100644
--- a/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
+++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
@@ -333,6 +333,7 @@ class TestExtension extends ExtensionList {
 
   /**
    * @param \Drupal\Core\Extension\ExtensionDiscovery $extension_discovery
+   *   The extension discovery class.
    */
   public function setExtensionDiscovery(ExtensionDiscovery $extension_discovery) {
     $this->extensionDiscovery = $extension_discovery;
diff --git a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
index 1b5a49543ab31062a44b41160b3977d14e85464f..465c60adb4f7c8925e50616577e74c8491485cf5 100644
--- a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
+++ b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
@@ -133,8 +133,11 @@ public function providerTestBasename() {
    * Asserts that the file permissions of a given URI matches.
    *
    * @param int $expected_mode
+   *   The expected file mode.
    * @param string $uri
+   *   The URI to test.
    * @param string $message
+   *   An optional error message.
    */
   protected function assertFilePermissions($expected_mode, $uri, $message = '') {
     // Mask out all but the last three octets.
diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php
index 63dff16a8d42e09605985a9dcb6420270375d745..f8d2db7677f14b3d437d3a834291052fab471c68 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php
@@ -71,8 +71,6 @@ public function testSetFormState() {
    * @covers ::setAlwaysProcess
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $always_process
    */
   public function testSetAlwaysProcess($always_process) {
     $this->decoratedFormState->setAlwaysProcess($always_process)
@@ -85,8 +83,6 @@ public function testSetAlwaysProcess($always_process) {
    * @covers ::getAlwaysProcess
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $always_process
    */
   public function testGetAlwaysProcess($always_process) {
     $this->decoratedFormState->getAlwaysProcess()
@@ -129,8 +125,6 @@ public function testGetButtons() {
    * @covers ::setCached
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $cache
    */
   public function testSetCached($cache) {
     $this->decoratedFormState->setCached($cache)
@@ -143,8 +137,6 @@ public function testSetCached($cache) {
    * @covers ::isCached
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $cache
    */
   public function testIsCached($cache) {
     $this->decoratedFormState->isCached()
@@ -157,8 +149,6 @@ public function testIsCached($cache) {
    * @covers ::setCached
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $cache
    */
   public function testSetCachedWithLogicException($cache) {
     $this->decoratedFormState->setCached($cache)
@@ -193,6 +183,8 @@ public function testSetExecuted() {
    * @dataProvider providerSingleBooleanArgument
    *
    * @param bool $executed
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::isExecuted()'s
+   *   return value.
    */
   public function testIsExecuted($executed) {
     $this->decoratedFormState->isExecuted()
@@ -240,8 +232,6 @@ public function testGetGroups() {
    * @covers ::setHasFileElement
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $has_file_element
    */
   public function testSetHasFileElement($has_file_element) {
     $this->decoratedFormState->setHasFileElement($has_file_element)
@@ -254,8 +244,6 @@ public function testSetHasFileElement($has_file_element) {
    * @covers ::hasFileElement
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $has_file_element
    */
   public function testHasFileElement($has_file_element) {
     $this->decoratedFormState->hasFileElement()
@@ -269,11 +257,6 @@ public function testHasFileElement($has_file_element) {
    * @covers ::setLimitValidationErrors
    *
    * @dataProvider providerLimitValidationErrors
-   *
-   * @param array[]|null $limit_validation_errors
-   *   Any valid value for
-   *   \Drupal\Core\Form\FormStateInterface::setLimitValidationErrors()'s
-   *   $limit_validation_errors argument;
    */
   public function testSetLimitValidationErrors($limit_validation_errors) {
     $this->decoratedFormState->setLimitValidationErrors($limit_validation_errors)
@@ -286,11 +269,6 @@ public function testSetLimitValidationErrors($limit_validation_errors) {
    * @covers ::getLimitValidationErrors
    *
    * @dataProvider providerLimitValidationErrors
-   *
-   * @param array[]|null $limit_validation_errors
-   *   Any valid value for
-   *   \Drupal\Core\Form\FormStateInterface::getLimitValidationErrors()'s
-   *   return value;
    */
   public function testGetLimitValidationErrors($limit_validation_errors) {
     $this->decoratedFormState->getLimitValidationErrors()
@@ -318,8 +296,6 @@ public function providerLimitValidationErrors() {
    * @covers ::setMethod
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $method
    */
   public function testSetMethod($method) {
     $this->decoratedFormState->setMethod($method)
@@ -332,10 +308,6 @@ public function testSetMethod($method) {
    * @covers ::isMethodType
    *
    * @dataProvider providerIsMethodType
-   *
-   * @param bool $expected_return_value
-   * @param string $method_type
-   *   Either "GET" or "POST".
    */
   public function testIsMethodType($expected_return_value, $method_type) {
     $this->decoratedFormState->isMethodType($method_type)
@@ -361,8 +333,6 @@ public function providerIsMethodType() {
    * @covers ::setRequestMethod
    *
    * @dataProvider providerSetRequestMethod
-   *
-   * @param bool $method
    */
   public function testSetRequestMethod($method) {
     $this->decoratedFormState->setRequestMethod($method)
@@ -385,8 +355,6 @@ public function providerSetRequestMethod() {
    * @covers ::setValidationEnforced
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $must_validate
    */
   public function testSetValidationEnforced($must_validate) {
     $this->decoratedFormState->setValidationEnforced($must_validate)
@@ -399,8 +367,6 @@ public function testSetValidationEnforced($must_validate) {
    * @covers ::isValidationEnforced
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $must_validate
    */
   public function testIsValidationEnforced($must_validate) {
     $this->decoratedFormState->isValidationEnforced()
@@ -414,8 +380,6 @@ public function testIsValidationEnforced($must_validate) {
    * @covers ::disableRedirect
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $no_redirect
    */
   public function testDisableRedirect($no_redirect) {
     $this->decoratedFormState->disableRedirect($no_redirect)
@@ -428,8 +392,6 @@ public function testDisableRedirect($no_redirect) {
    * @covers ::isRedirectDisabled
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $no_redirect
    */
   public function testIsRedirectDisabled($no_redirect) {
     $this->decoratedFormState->isRedirectDisabled()
@@ -443,8 +405,6 @@ public function testIsRedirectDisabled($no_redirect) {
    * @covers ::setProcessInput
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $process_input
    */
   public function testSetProcessInput($process_input) {
     $this->decoratedFormState->setProcessInput($process_input)
@@ -457,8 +417,6 @@ public function testSetProcessInput($process_input) {
    * @covers ::isProcessingInput
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $process_input
    */
   public function testIsProcessingInput($process_input) {
     $this->decoratedFormState->isProcessingInput()
@@ -472,8 +430,6 @@ public function testIsProcessingInput($process_input) {
    * @covers ::setProgrammed
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $programmed
    */
   public function testSetProgrammed($programmed) {
     $this->decoratedFormState->setProgrammed($programmed)
@@ -486,8 +442,6 @@ public function testSetProgrammed($programmed) {
    * @covers ::isProgrammed
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $programmed
    */
   public function testIsProgrammed($programmed) {
     $this->decoratedFormState->isProgrammed()
@@ -501,8 +455,6 @@ public function testIsProgrammed($programmed) {
    * @covers ::setProgrammedBypassAccessCheck
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $programmed_bypass_access_check
    */
   public function testSetProgrammedBypassAccessCheck($programmed_bypass_access_check) {
     $this->decoratedFormState->setProgrammedBypassAccessCheck($programmed_bypass_access_check)
@@ -515,8 +467,6 @@ public function testSetProgrammedBypassAccessCheck($programmed_bypass_access_che
    * @covers ::isBypassingProgrammedAccessChecks
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $programmed_bypass_access_check
    */
   public function testIsBypassingProgrammedAccessChecks($programmed_bypass_access_check) {
     $this->decoratedFormState->isBypassingProgrammedAccessChecks()
@@ -646,6 +596,9 @@ public function testSetSubmitted() {
    * @dataProvider providerSingleBooleanArgument
    *
    * @param bool $submitted
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::isSubmitted()'s return
+   *   value.
    */
   public function testIsSubmitted($submitted) {
     $this->decoratedFormState->isSubmitted()
@@ -689,7 +642,13 @@ public function testGetTemporary() {
    * @dataProvider providerSetTemporaryValue
    *
    * @param string $key
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::setTemporaryValue()'s $key
+   *   argument.
    * @param mixed $value
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::setTemporaryValue()'s $value
+   *   argument.
    */
   public function testSetTemporaryValue($key, $value) {
     $this->decoratedFormState->setTemporaryValue($key, $value)
@@ -714,7 +673,13 @@ public function providerSetTemporaryValue() {
    * @dataProvider providerGetTemporaryValue
    *
    * @param string $key
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::getTemporaryValue()'s $key
+   *   argument.
    * @param mixed $value
+   *   (optional) Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::getTemporaryValue()'s return
+   *   value.
    */
   public function testGetTemporaryValue($key, $value = NULL) {
     // Use PHPUnit for mocking, because Prophecy cannot mock methods that return
@@ -746,7 +711,13 @@ public function providerGetTemporaryValue() {
    * @dataProvider providerHasTemporaryValue
    *
    * @param bool $exists
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::hasTemporaryValue()'s return
+   *   value.
    * @param string $key
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::hasTemporaryValue()'s $key
+   *   argument.
    */
   public function testHasTemporaryValue($exists, $key) {
     $this->decoratedFormState->hasTemporaryValue($key)
@@ -835,6 +806,9 @@ public function testGetValidateHandlers() {
    * @dataProvider providerSingleBooleanArgument
    *
    * @param bool $complete
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::setValidationComplete()'s $complete
+   *   argument.
    */
   public function testSetValidationComplete($complete) {
     $this->decoratedFormState->setValidationComplete($complete)
@@ -849,6 +823,9 @@ public function testSetValidationComplete($complete) {
    * @dataProvider providerSingleBooleanArgument
    *
    * @param bool $complete
+   *   Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::isValidationComplete()'s return
+   *   value.
    */
   public function testIsValidationComplete($complete) {
     $this->decoratedFormState->isValidationComplete()
@@ -864,9 +841,17 @@ public function testIsValidationComplete($complete) {
    * @dataProvider providerLoadInclude
    *
    * @param string|false $expected
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::loadInclude()'s
+   *   return value.
    * @param string $module
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::loadInclude()'s
+   *   $module argument.
    * @param string $type
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::loadInclude()'s
+   *   $type argument.
    * @param string|null $name
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::loadInclude()'s
+   *   $name argument.
    */
   public function testLoadInclude($expected, $module, $type, $name) {
     $this->decoratedFormState->loadInclude($module, $type, $name)
@@ -947,7 +932,11 @@ public function testGetCompleteForm() {
    * @dataProvider providerSet
    *
    * @param string $key
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::set()'s $key
+   *   argument.
    * @param mixed $value
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::set()'s $value
+   *   argument.
    */
   public function testSet($key, $value) {
     $this->decoratedFormState->set($key, $value)
@@ -972,7 +961,11 @@ public function providerSet() {
    * @dataProvider providerGet
    *
    * @param string $key
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::get()'s $key
+   *   argument.
    * @param mixed $value
+   *   (optional) Any valid value for
+   *   \Drupal\Core\Form\FormStateInterface::get()'s return value.
    */
   public function testGet($key, $value = NULL) {
 
@@ -1005,7 +998,11 @@ public function providerGet() {
    * @dataProvider providerHas
    *
    * @param bool $exists
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::has()'s return
+   *   value.
    * @param string $key
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::has()'s $key
+   *   argument.
    */
   public function testHas($exists, $key) {
     $this->decoratedFormState->has($key)
@@ -1285,6 +1282,8 @@ public function testSetRedirectUrl() {
    * @dataProvider providerGetRedirect
    *
    * @param bool $expected
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::getRedirect()'s
+   *   return value.
    */
   public function testGetRedirect($expected) {
     $this->decoratedFormState->getRedirect()
@@ -1380,6 +1379,8 @@ public function testGetErrors() {
    * @dataProvider providerSingleBooleanArgument
    *
    * @param bool $rebuild
+   *   Any valid value for \Drupal\Core\Form\FormStateInterface::setRebuild()'s
+   *   $rebuild argument.
    */
   public function testSetRebuild($rebuild) {
     $this->decoratedFormState->setRebuild($rebuild)
@@ -1392,8 +1393,6 @@ public function testSetRebuild($rebuild) {
    * @covers ::isRebuilding
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $rebuild
    */
   public function testIsRebuilding($rebuild) {
     $this->decoratedFormState->isRebuilding()
@@ -1407,8 +1406,6 @@ public function testIsRebuilding($rebuild) {
    * @covers ::setInvalidToken
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $expected
    */
   public function testSetInvalidToken($expected) {
     $this->decoratedFormState->setInvalidToken($expected)
@@ -1421,8 +1418,6 @@ public function testSetInvalidToken($expected) {
    * @covers ::hasInvalidToken
    *
    * @dataProvider providerSingleBooleanArgument
-   *
-   * @param bool $expected
    */
   public function testHasInvalidToken($expected) {
     $this->decoratedFormState->hasInvalidToken()
@@ -1436,9 +1431,6 @@ public function testHasInvalidToken($expected) {
    * @covers ::prepareCallback
    *
    * @dataProvider providerPrepareCallback
-   *
-   * @param string|callable $unprepared_callback
-   * @param callable $prepared_callback
    */
   public function testPrepareCallback($unprepared_callback, callable $prepared_callback) {
     $this->decoratedFormState->prepareCallback(Argument::is($unprepared_callback))
diff --git a/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php b/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
index 7bb7d86d808d574a7fff04ba0df3876703ce2162..6d5318402d924b9b79a5aeaac286659ca42ce120 100644
--- a/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@@ -61,7 +61,9 @@ class SubformStateTest extends UnitTestCase {
    * @dataProvider providerGetValues
    *
    * @param string[] $parents
+   *   The parents.
    * @param string $expected
+   *   The expected state values.
    */
   public function testGetValues(array $parents, $expected) {
     $parent_form_state = new FormState();
@@ -98,7 +100,9 @@ public function providerGetValues() {
    * @dataProvider providerGetValuesBroken
    *
    * @param string[] $parents
+   *   The parents.
    * @param string $expected
+   *   The expected state values.
    */
   public function testGetValuesBroken(array $parents, $expected) {
     $this->expectException(\UnexpectedValueException::class);
diff --git a/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php b/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php
index 3203ba27632c439019993affb709b7104c02a5ab..4e98232d94261b03da31a9aca3da195947949b76 100644
--- a/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php
+++ b/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php
@@ -34,8 +34,11 @@ protected function setUp(): void {
    * @dataProvider providerTestCreateFromOptions
    *
    * @param array $settings_config
+   *   The settings configuration.
    * @param array $parameter_config
+   *   The parameter configuration.
    * @param array $expected_config_keys
+   *   The expected config keys.
    */
   public function testCreateFromOptions($settings_config, $parameter_config, $expected_config_keys) {
     if ($settings_config) {
diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
index 6504157720b419489c480c14f5cf4e3bce395d36..33881211195f964fa405abf4ecd96c61e2ff8d60 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
@@ -509,6 +509,7 @@ class ObjectDefinition extends PluginDefinition {
    * ObjectDefinition constructor.
    *
    * @param array $definition
+   *   An associative array defining the plugin.
    */
   public function __construct(array $definition) {
     // This class does not exist but plugin definitions must provide a class.
diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php
index 1bb64cc5cc24feecf276df51e5445b87e1e2729c..f05142de62de6fc1af7a50eb474788c6899a4295 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php
@@ -12,7 +12,9 @@ class TestDerivativeDiscoveryWithObject implements DeriverInterface {
   /**
    * {@inheritdoc}
    * @param string $derivative_id
+   *   The ID for the derivative.
    * @param array $base_plugin_definition
+   *   An associative array defining the base plugin.
    *
    * @return array
    */
@@ -24,6 +26,7 @@ public function getDerivativeDefinition($derivative_id, $base_plugin_definition)
   /**
    * {@inheritdoc}
    * @param array $base_plugin_definition
+   *   An associative array defining the base plugin.
    *
    * @return array
    */
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
index d13b416140081a71b0fce5ddfa4ec99c6b8bc1a7..a6626959fa5edfd99590814492c6d72169594e67 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
@@ -548,6 +548,7 @@ protected function generatePlaceholderElement() {
 
   /**
    * @param false|array $cid_parts
+   *   The cid parts.
    * @param string[] $bubbled_cache_contexts
    *   Additional cache contexts that were bubbled when the placeholder was
    *   rendered.
diff --git a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
index 7153be5a57e0d31d60fa8496e183e9a748f0ca18..53aea79e045e8093fb339784baa9b2f965dda888 100644
--- a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
+++ b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
@@ -189,6 +189,7 @@ public function testPropertiesValidateWithMultipleLevels() {
    * @param array $tree
    *   An array of value, constraints and properties.
    * @param string $name
+   *   The name to use for the object.
    *
    * @return \Drupal\Core\TypedData\TypedDataInterface|\PHPUnit\Framework\MockObject\MockObject
    */
diff --git a/core/tests/Drupal/Tests/Core/UrlTest.php b/core/tests/Drupal/Tests/Core/UrlTest.php
index fcdabf14c953a2e4540e7a9feeb2d76e9a165710..45fbd0f33ede9bd11e966c65b4e1f4495d75858f 100644
--- a/core/tests/Drupal/Tests/Core/UrlTest.php
+++ b/core/tests/Drupal/Tests/Core/UrlTest.php
@@ -491,6 +491,7 @@ public function testMergeOptions() {
    * Tests the access() method for routed URLs.
    *
    * @param bool $access
+   *   The access value.
    *
    * @covers ::access
    * @covers ::accessManager
@@ -522,6 +523,7 @@ public function testAccessUnrouted() {
    * Tests the renderAccess() method.
    *
    * @param bool $access
+   *   The access value.
    *
    * @covers ::renderAccess
    * @dataProvider accessProvider
@@ -832,7 +834,9 @@ public function testFromRouteUriWithMissingRouteName() {
    * Creates a mock access manager for the access tests.
    *
    * @param bool $access
+   *   The access value.
    * @param \Drupal\Core\Session\AccountInterface|null $account
+   *   The account to test.
    *
    * @return \Drupal\Core\Access\AccessManagerInterface|\PHPUnit\Framework\MockObject\MockObject
    */
@@ -863,6 +867,7 @@ class TestUrl extends Url {
    * Sets the access manager.
    *
    * @param \Drupal\Core\Access\AccessManagerInterface $access_manager
+   *   The access manager.
    */
   public function setAccessManager(AccessManagerInterface $access_manager) {
     $this->accessManager = $access_manager;
diff --git a/core/tests/Drupal/Tests/DocumentElement.php b/core/tests/Drupal/Tests/DocumentElement.php
index 27c4283a24d5d850b391b4866424538ae98dcdce..d7b1617f254f363d5a8c6d3a5d3d13a0433a9a74 100644
--- a/core/tests/Drupal/Tests/DocumentElement.php
+++ b/core/tests/Drupal/Tests/DocumentElement.php
@@ -1,5 +1,9 @@
 <?php
 
+// phpcs:ignoreFile Portions of this file are a direct copy of
+// \Behat\Mink\Element\DocumentElement which uses a different code style than
+// Drupal.
+
 namespace Drupal\Tests;
 
 use Behat\Mink\Driver\BrowserKitDriver;
diff --git a/core/tests/Drupal/Tests/UnitTestCase.php b/core/tests/Drupal/Tests/UnitTestCase.php
index b06ae8dd2b06e65e9d1681f5ccd24a0e5f355f49..fed556fe3d1eab4485670ea87c300631a02649a4 100644
--- a/core/tests/Drupal/Tests/UnitTestCase.php
+++ b/core/tests/Drupal/Tests/UnitTestCase.php
@@ -101,8 +101,11 @@ protected function getRandomGenerator() {
    * Asserts if two arrays are equal by sorting them first.
    *
    * @param array $expected
+   *   An expected results array.
    * @param array $actual
+   *   The actual array value.
    * @param string $message
+   *   An optional error message.
    *
    * @deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use
    *   ::assertEquals, ::assertEqualsCanonicalizing, or ::assertSame instead.