diff --git a/core/modules/field/src/EntityDisplayRebuilder.php b/core/modules/field/src/EntityDisplayRebuilder.php index 74c39737441d48695a52a4b50f040105a4b8eff9..4e618f657be05de39cf40515107d12551b8ff5fe 100644 --- a/core/modules/field/src/EntityDisplayRebuilder.php +++ b/core/modules/field/src/EntityDisplayRebuilder.php @@ -70,7 +70,6 @@ public static function create(ContainerInterface $container) { * * @param string $entity_type_id * The entity type machine name. - * * @param string $bundle * The bundle we need to rebuild. */ diff --git a/core/modules/statistics/src/StatisticsStorageInterface.php b/core/modules/statistics/src/StatisticsStorageInterface.php index 9109929ff1449536039d81bc74be9e23c69e4f92..b5da88a9f329cd42f1a381658c23ab033bd68ea0 100644 --- a/core/modules/statistics/src/StatisticsStorageInterface.php +++ b/core/modules/statistics/src/StatisticsStorageInterface.php @@ -54,7 +54,6 @@ public function fetchView($id); * - 'totalcount' The total number of views. * - 'daycount' The number of views today. * - 'timestamp' The unix timestamp of the last view. - * * @param int $limit * The number of entity IDs to return. * diff --git a/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php b/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php index f52f8bf87dcfdab3db241754f11761ef7b8e7974..9d65a2273778fb745f60a1282aaf9a1068d5f8c4 100644 --- a/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php +++ b/core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php @@ -101,7 +101,6 @@ public function testHiddenLanguageSelectElement() { * * @param string $id * The id of the language select element to check. - * * @param array $options * An array with options to compare with. */ diff --git a/core/modules/user/src/Plugin/views/argument_default/User.php b/core/modules/user/src/Plugin/views/argument_default/User.php index 448f79c55df31effdd91be60d8d719c41d3bb3b4..3a4aa06c3c000f5b4037e1db190c2c6da4199103 100644 --- a/core/modules/user/src/Plugin/views/argument_default/User.php +++ b/core/modules/user/src/Plugin/views/argument_default/User.php @@ -37,7 +37,6 @@ class User extends ArgumentDefaultPluginBase implements CacheableDependencyInter * The plugin_id for the plugin instance. * @param mixed $plugin_definition * The plugin implementation definition. - * * @param \Drupal\Core\Routing\RouteMatchInterface $route_match * The route match. */ diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 54c311ceb776179a6cb6fbff0a4f1f59665cedcc..ef7bd083d14f131e64998223ceb96a4a3f72228e 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -1026,7 +1026,6 @@ function user_role_revoke_permissions($rid, array $permissions = []) { * - 'status_blocked': Account blocked. * - 'cancel_confirm': Account cancellation request. * - 'status_canceled': Account canceled. - * * @param \Drupal\Core\Session\AccountInterface $account * The user object of the account being notified. Must contain at * least the fields 'uid', 'name', and 'mail'. diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php index cbd700faf260351f4ba8573bf1ede503af0094c9..a8a31f4f17f41b9dd5c269da91c9928d670e442e 100644 --- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php @@ -1365,7 +1365,6 @@ protected function renderAltered($alter, $tokens) { * - word_boundary: Trim only on a word boundary. * - ellipsis: Show an ellipsis (…) at the end of the trimmed string. * - html: Make sure that the html is correct. - * * @param string $value * The string which should be trimmed. * @@ -1681,7 +1680,6 @@ protected function getFieldTokenPlaceholder() { * * @param $array * An array of values. - * * @param $parent_keys * An array of parent keys. This will represent the array depth. * @@ -1793,7 +1791,6 @@ public function adminLabel($short = FALSE) { * - word_boundary: Trim only on a word boundary. * - ellipsis: Show an ellipsis (…) at the end of the trimmed string. * - html: Make sure that the html is correct. - * * @param string $value * The string which should be trimmed. * diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index c8d861ea746ead13c75a66056bb74625e79ebcf3..124c13fdbe67be75a85c8fa7c7aa9f08f60225d5 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -49,14 +49,13 @@ <!-- Sniff for these errors: SpacingAfterTagGroup, WrongEnd, SpacingBetween, ContentAfterOpen, SpacingBeforeShort, TagValueIndent, ShortStartSpace, SpacingAfter, LongNotCapital, ShortFullStop, TagGroupSpacing, Empty, - TagsNotGrouped --> + TagsNotGrouped, ParamGroup --> <!-- ParamNotFirst still not decided for PHPUnit-based tests. @see https://www.drupal.org/node/2253915 --> <exclude name="Drupal.Commenting.DocComment.ParamNotFirst"/> <exclude name="Drupal.Commenting.DocComment.SpacingBeforeTags"/> <exclude name="Drupal.Commenting.DocComment.LongFullStop"/> <exclude name="Drupal.Commenting.DocComment.ShortNotCapital"/> - <exclude name="Drupal.Commenting.DocComment.ParamGroup"/> <exclude name="Drupal.Commenting.DocComment.ShortSingleLine"/> <exclude name="Drupal.Commenting.DocComment.MissingShort"/> </rule> diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php index f2be89d3fd0399f19428940ca2ddb9c20836e05c..57e5f5f09b5fc97876db3d61d53d9c5529c737ec 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php @@ -255,7 +255,6 @@ public function dataTestUntranslatableFields() { * @param array[] $sequence * An array with arrays of arguments for the ::doSaveNewRevision() method as * values. Every child array corresponds to a method invocation. - * * @param bool $default_translation_affected * Whether untranslatable field changes affect all revisions or only the * default revision.