Issue #3123058 by longwave, jungle, xjm, daffie: Fix 'Drupal.Commenting.DocComment.ParamGroup' coding standard

merge-requests/539/head
Alex Pott 2021-04-09 00:20:05 +01:00
parent 71906d9e67
commit 93084ba962
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
8 changed files with 1 additions and 11 deletions

View File

@ -70,7 +70,6 @@ class EntityDisplayRebuilder implements ContainerInjectionInterface {
*
* @param string $entity_type_id
* The entity type machine name.
*
* @param string $bundle
* The bundle we need to rebuild.
*/

View File

@ -54,7 +54,6 @@ interface StatisticsStorageInterface {
* - '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.
*

View File

@ -101,7 +101,6 @@ class LanguageSelectElementTest extends BrowserTestBase {
*
* @param string $id
* The id of the language select element to check.
*
* @param array $options
* An array with options to compare with.
*/

View File

@ -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.
*/

View File

@ -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'.

View File

@ -1365,7 +1365,6 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
* - 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 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
*
* @param $array
* An array of values.
*
* @param $parent_keys
* An array of parent keys. This will represent the array depth.
*
@ -1793,7 +1791,6 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
* - 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.
*

View File

@ -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>

View File

@ -255,7 +255,6 @@ class EntityDecoupledTranslationRevisionsTest extends EntityKernelTestBase {
* @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.