Fix the issues reported by phpcs

Created on 10 December 2017, over 6 years ago
Updated 31 May 2023, about 1 year ago

Problem/Motivation

Getting following error/warnings

FILE: ...var/www/projects/public_html/modules/group/group.post_update.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 13 | ERROR | Doc comment short description must be on a single line,
    |       | further text should be a separate paragraph
 27 | ERROR | Doc comment short description must be on a single line,
    |       | further text should be a separate paragraph
----------------------------------------------------------------------


FILE: /var/www/projects/public_html/modules/group/group.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: /var/www/projects/public_html/modules/group/group.module
----------------------------------------------------------------------
FOUND 8 ERRORS AND 4 WARNINGS AFFECTING 9 LINES
----------------------------------------------------------------------
  95 | ERROR   | [x] Doc comment long description must end with a
     |         |     full stop
 102 | ERROR   | [ ] Type hint "array" missing for $variables
 129 | ERROR   | [x] Doc comment long description must end with a
     |         |     full stop
 136 | ERROR   | [ ] Type hint "array" missing for $variables
 179 | WARNING | [ ] Hook implementations should not duplicate @param
     |         |     documentation
 179 | ERROR   | [ ] Missing parameter comment
 180 | WARNING | [ ] Hook implementations should not duplicate @param
     |         |     documentation
 180 | ERROR   | [ ] Missing parameter comment
 181 | WARNING | [ ] Hook implementations should not duplicate @param
     |         |     documentation
 181 | ERROR   | [ ] Missing parameter comment
 183 | ERROR   | [ ] Type hint "array" missing for $form
 512 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...group/tests/modules/group_test_config/group_test_config.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: ...group/tests/modules/group_test_plugin/group_test_plugin.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: ..._html/modules/group/tests/modules/group_test/group_test.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: ...s/group/tests/modules/group_test_views/group_test_views.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: ..._html/modules/group/tests/src/Unit/GroupRoleSynchronizerTest.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
  35 | ERROR | [x] Missing function doc comment
 171 | ERROR | [ ] Type hint "array" missing for $entity_ids
 171 | ERROR | [ ] Type hint "array" missing for $entities
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...dules/group/tests/src/Kernel/GroupTokenReplaceKernelTestBase.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 24 | ERROR | [x] Missing function doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...tml/modules/group/tests/src/Kernel/Views/GroupIdArgumentTest.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 23 | ERROR | If the line declaring an array spans longer than 80
    |       | characters, each element should be broken into its own
    |       | line
----------------------------------------------------------------------


FILE: .../tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 21 | ERROR | If the line declaring an array spans longer than 80
    |       | characters, each element should be broken into its own
    |       | line
 73 | ERROR | Type hint "array" missing for $values
 92 | ERROR | Type hint "array" missing for $values
----------------------------------------------------------------------


FILE: ...p/tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
  22 | ERROR | If the line declaring an array spans longer than 80
     |       | characters, each element should be broken into its own
     |       | line
  88 | ERROR | Type hint "array" missing for $values
 107 | ERROR | Type hint "array" missing for $values
----------------------------------------------------------------------


FILE: ...src/Kernel/Views/GroupContentToEntityReverseRelationshipTest.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
 5 | WARNING | [x] Unused use statement
 6 | WARNING | [x] Unused use statement
 7 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...blic_html/modules/group/tests/src/Kernel/GroupKernelTestBase.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 79 | ERROR | Type hint "array" missing for $values
----------------------------------------------------------------------


FILE: ...ic_html/modules/group/tests/src/Kernel/GroupTokenReplaceTest.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 10 | ERROR | [ ] Doc comment short description must be on a single
    |       |     line, further text should be a separate paragraph
 19 | ERROR | [x] Visibility must be declared on method
    |       |     "testGroupTokenReplacement"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: .../modules/group/tests/src/Kernel/GroupContentTokenReplaceTest.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 10 | ERROR | [ ] Doc comment short description must be on a single
    |       |     line, further text should be a separate paragraph
 19 | ERROR | [x] Visibility must be declared on method
    |       |     "testGroupContentTokenReplacement"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ..._html/modules/group/tests/src/Kernel/GroupContentStorageTest.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 50 | ERROR | Type hint "array" missing for $values
 67 | ERROR | Type hint "array" missing for $values
----------------------------------------------------------------------


FILE: ...html/modules/group/tests/src/Functional/GroupBrowserTestBase.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
 65 | ERROR | [ ] Type hint "array" missing for $values
 67 | ERROR | [x] Array indentation error, expected 6 spaces but
    |       |     found 8
 68 | ERROR | [x] Array indentation error, expected 6 spaces but
    |       |     found 8
 69 | ERROR | [x] Array closing indentation error, expected 4 spaces
    |       |     but found 6
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: .../projects/public_html/modules/group/modules/gnode/gnode.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: ...up/modules/gnode/tests/src/Kernel/GroupNodeAccessRecordsTest.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
  71 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: 0
 112 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: 0
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...odules/gnode/src/Plugin/GroupContentEnabler/GroupNodeDeriver.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
  8 | ERROR | [x] Missing class doc comment
 11 | ERROR | [ ] Doc comment short description must start with a
    |       |     capital letter
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ww/projects/public_html/modules/group/modules/gnode/gnode.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 303 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: )
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...cts/public_html/modules/group/modules/grolesync/grolesync.module
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 1 | ERROR | [x] The PHP open tag must be followed by exactly one
   |       |     blank line
 2 | ERROR | [x] You must use "/**" style comments for a file comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...s/public_html/modules/group/modules/grolesync/grolesync.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added
   |         | by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added
   |         | by drupal.org packaging automatically
----------------------------------------------------------------------


FILE: /var/www/projects/public_html/modules/group/group.api.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
  8 | WARNING | [x] Unused use statement
 21 | ERROR   | [x] Data types in @param tags need to be fully
    |         |     namespaced
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ..._html/modules/group/src/Plugin/GroupContentEnablerCollection.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
 15 | ERROR   | Description for the @return value is missing
 17 | WARNING | Possible useless method overriding detected
----------------------------------------------------------------------


FILE: ...c_html/modules/group/src/Plugin/GroupContentEnablerInterface.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
  26 | ERROR | Description for the @return value is missing
  33 | ERROR | Description for the @return value is missing
  40 | ERROR | Description for the @return value is missing
 121 | ERROR | Missing parameter comment
 147 | ERROR | Description for the @return value is missing
 154 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------


FILE: ...public_html/modules/group/src/Plugin/GroupContentEnablerBase.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
----------------------------------------------------------------------
 405 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 408 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 411 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 487 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: 1
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...cts/public_html/modules/group/src/Plugin/Condition/GroupType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 22 | ERROR | [x] Additional blank lines found at end of doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...lic_html/modules/group/src/Plugin/GroupContentEnablerManager.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------
  86 | ERROR | [ ] Parameter $entity_type_manager is not described in
     |       |     comment
  96 | ERROR | [x] Separate the @param and @var sections by a blank
     |       |     line.
 111 | ERROR | [ ] Description for the @return value is missing
 123 | ERROR | [ ] Description for the @return value is missing
 131 | ERROR | [x] Whitespace found at end of line
 330 | ERROR | [ ] Type hint "array" missing for $map
 377 | ERROR | [ ] Type hint "array" missing for $map
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ml/modules/group/src/Plugin/Menu/LocalAction/WithDestination.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 13 | ERROR | [x] Whitespace found at end of line
 16 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...group/src/Plugin/views/relationship/GroupContentToEntityBase.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 31 | ERROR | [ ] Parameter $configuration is not described in
    |       |     comment
 31 | ERROR | [ ] Parameter $plugin_id is not described in comment
 31 | ERROR | [ ] Parameter $plugin_definition is not described in
    |       |     comment
 67 | ERROR | [x] The abstract declaration must precede the
    |       |     visibility declaration
 77 | ERROR | [x] The abstract declaration must precede the
    |       |     visibility declaration
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...les/group/src/Plugin/views/relationship/GroupContentToEntity.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
  5 | WARNING | [x] Unused use statement
  6 | WARNING | [x] Unused use statement
  7 | WARNING | [x] Unused use statement
  8 | WARNING | [x] Unused use statement
  9 | WARNING | [x] Unused use statement
 10 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ules/group/src/Plugin/views/relationship/GroupToGroupContent.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------
 42 | ERROR | Parameter $configuration is not described in comment
 42 | ERROR | Parameter $plugin_id is not described in comment
 42 | ERROR | Parameter $plugin_definition is not described in
    |       | comment
----------------------------------------------------------------------


FILE: ...up/src/Plugin/views/relationship/GroupContentToEntityReverse.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
  5 | WARNING | [x] Unused use statement
  6 | WARNING | [x] Unused use statement
  7 | WARNING | [x] Unused use statement
  8 | WARNING | [x] Unused use statement
  9 | WARNING | [x] Unused use statement
 10 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: .../public_html/modules/group/src/Plugin/views/argument/GroupId.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 32 | ERROR | [x] Data types in @param tags need to be fully
    |       |     namespaced
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...c_html/modules/group/src/Plugin/views/access/GroupPermission.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
 125 | WARNING | [ ] Only string literals should be passed to t()
     |         |     where possible
 143 | ERROR   | [x] Inline comments must end in full-stops,
     |         |     exclamation marks, colons, question marks, or
     |         |     closing parentheses
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...modules/group/src/Plugin/GroupContentEnablerManagerInterface.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
  56 | ERROR | [x] Whitespace found at end of line
  59 | ERROR | [x] Whitespace found at end of line
  77 | ERROR | [ ] Missing parameter type
  95 | ERROR | [x] Whitespace found at end of line
 111 | ERROR | [x] Whitespace found at end of line
 117 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ..._html/modules/group/src/Controller/GroupMembershipController.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 26 | ERROR | [x] Whitespace found at end of line
 33 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...projects/public_html/modules/group/src/GroupRoleSynchronizer.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 81 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 82 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
 83 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: .../group/src/UninstallValidator/GroupContentUninstallValidator.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 12 | ERROR | [x] Missing class doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...dules/group/src/Breadcrumb/GroupContentTypeBreadcrumbBuilder.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 18 | ERROR | Missing short description in doc comment
 28 | ERROR | Missing short description in doc comment
----------------------------------------------------------------------


FILE: ...ects/public_html/modules/group/src/Form/GroupPermissionsForm.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 5 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------
  70 | ERROR   | [x] Expected 1 space after "="; 2 found
 182 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: ]
 198 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: ]
 203 | WARNING | [ ] Line exceeds 80 characters; contains 81
     |         |     characters
 253 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: $role_name
 254 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: ]
 281 | ERROR   | [x] Visibility must be declared on method
     |         |     "submitForm"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...w/projects/public_html/modules/group/src/Form/GroupLeaveForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 18 | WARNING | Only string literals should be passed to t() where
    |         | possible
----------------------------------------------------------------------


FILE: ...projects/public_html/modules/group/src/GroupMembershipLoader.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 54 | ERROR | Description for the @return value is missing
 69 | ERROR | Type hint "array" missing for $entities
----------------------------------------------------------------------


FILE: ...ProxyClass/UninstallValidator/GroupContentUninstallValidator.php
----------------------------------------------------------------------
FOUND 39 ERRORS AND 2 WARNINGS AFFECTING 38 LINES
----------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should
    |         |     not begin with a file doc comment
  4 | WARNING | [ ] Line exceeds 80 characters; contains 158
    |         |     characters
  9 | ERROR   | [x] Line indented incorrectly; expected 2 spaces,
    |         |     found 4
 10 | WARNING | [ ] Line exceeds 80 characters; contains 98
    |         |     characters
 14 | ERROR   | [x] Line indented incorrectly; expected 2 spaces,
    |         |     found 4
 14 | ERROR   | [x] Namespaced classes/interfaces/traits should be
    |         |     referenced with use statements
 15 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 17 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 19 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 24 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 26 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 31 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 33 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 38 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 40 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 48 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 48 | ERROR   | [x] Namespaced classes/interfaces/traits should be
    |         |     referenced with use statements
 49 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 50 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 51 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 52 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 54 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 60 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 61 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 62 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 63 | ERROR   | [x] Line indented incorrectly; expected 8 spaces,
    |         |     found 16
 64 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 66 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 67 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 69 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 72 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 73 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 74 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 75 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 77 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 80 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 80 | ERROR   | [x] Namespaced classes/interfaces/traits should be
    |         |     referenced with use statements
 81 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 82 | ERROR   | [x] Line indented incorrectly; expected 6 spaces,
    |         |     found 12
 83 | ERROR   | [x] Line indented incorrectly; expected 4 spaces,
    |         |     found 8
 85 | ERROR   | [x] Line indented incorrectly; expected 2 spaces,
    |         |     found 4
----------------------------------------------------------------------
PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: .../public_html/modules/group/src/Access/GroupPermissionHandler.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
 168 | ERROR   | Type hint "array" missing for $permission
 180 | WARNING | Only string literals should be passed to t() where
     |         | possible
 182 | WARNING | Only string literals should be passed to t() where
     |         | possible
 185 | WARNING | Only string literals should be passed to t() where
     |         | possible
----------------------------------------------------------------------


FILE: ...ic_html/modules/group/src/Access/GroupOwnsContentAccessCheck.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 15 | ERROR | Doc comment short description must be on a single line,
    |       | further text should be a separate paragraph
----------------------------------------------------------------------


FILE: ..._html/modules/group/src/Access/GroupPermissionsHashGenerator.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
  46 | ERROR | Parameter $static is not described in comment
  53 | ERROR | Missing parameter name
 144 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------


FILE: ...ojects/public_html/modules/group/src/Access/GroupPermissions.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 22 | ERROR | [x] Expected 1 space after asterisk; 3 found
 22 | ERROR | [x] Separate the @return and @see sections by a blank
    |       |     line.
 26 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...tml/modules/group/src/Access/GroupPermissionHandlerInterface.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 28 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------


FILE: ...lic_html/modules/group/src/Access/GroupPermissionAccessCheck.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 14 | ERROR | Doc comment short description must be on a single line,
    |       | further text should be a separate paragraph
----------------------------------------------------------------------


FILE: ...ules/group/src/Cache/Context/GroupMembershipCacheContextBase.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 23 | ERROR | Inline doc block comments are not allowed; use "/*
    |       | Comment */" or "// Comment" instead
 27 | ERROR | Doc comment short description must be on a single line,
    |       | further text should be a separate paragraph
 82 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------


FILE: ...les/group/src/Cache/Context/GroupMembershipRolesCacheContext.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 61 | ERROR | [x] Expected 1 space after "="; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ublic_html/modules/group/src/Cache/Context/GroupCacheContext.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 10 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...c_html/modules/group/src/Cache/Context/GroupCacheContextBase.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 21 | ERROR | Inline doc block comments are not allowed; use "/*
    |       | Comment */" or "// Comment" instead
 25 | ERROR | Doc comment short description must be on a single line,
    |       | further text should be a separate paragraph
----------------------------------------------------------------------


FILE: ...public_html/modules/group/src/Context/GroupRouteContextTrait.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 51 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...r/www/projects/public_html/modules/group/src/GroupMembership.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
 10 | ERROR | [x] Whitespace found at end of line
 45 | ERROR | [ ] Description for the @return value is missing
 54 | ERROR | [ ] Description for the @return value is missing
 63 | ERROR | [ ] Description for the @return value is missing
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...public_html/modules/group/src/Annotation/GroupContentEnabler.php
----------------------------------------------------------------------
FOUND 13 ERRORS AND 1 WARNING AFFECTING 13 LINES
----------------------------------------------------------------------
  10 | ERROR   | [x] Doc comment long description must end with a
     |         |     full stop
  53 | ERROR   | [ ] Class property $entity_type_id should use
     |         |     lowerCamel naming without underscores
  56 | WARNING | [ ] Line exceeds 80 characters; contains 82
     |         |     characters
  56 | ERROR   | [ ] Doc comment short description must start with a
     |         |     capital letter
  62 | ERROR   | [ ] Class property $entity_bundle should use
     |         |     lowerCamel naming without underscores
  65 | ERROR   | [ ] Doc comment short description must start with a
     |         |     capital letter
  77 | ERROR   | [ ] Class property $entity_access should use
     |         |     lowerCamel naming without underscores
  80 | ERROR   | [ ] Doc comment short description must start with a
     |         |     capital letter
  89 | ERROR   | [ ] Class property $pretty_path_key should use
     |         |     lowerCamel naming without underscores
  92 | ERROR   | [ ] Doc comment short description must start with a
     |         |     capital letter
  96 | ERROR   | [ ] Class property $reference_label should use
     |         |     lowerCamel naming without underscores
  99 | ERROR   | [ ] Doc comment short description must start with a
     |         |     capital letter
 103 | ERROR   | [ ] Class property $reference_description should use
     |         |     lowerCamel naming without underscores
 106 | ERROR   | [ ] Doc comment short description must start with a
     |         |     capital letter
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...public_html/modules/group/src/GroupRoleSynchronizerInterface.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
 15 | ERROR | Missing parameter type
 17 | ERROR | Missing parameter type
 28 | ERROR | Missing parameter type
 39 | ERROR | Missing parameter type
 57 | ERROR | Type hint "array" missing for $group_type_ids
 57 | ERROR | Type hint "array" missing for $role_ids
----------------------------------------------------------------------


FILE: ...ic_html/modules/group/src/Entity/Views/GroupContentViewsData.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 29 | ERROR | [x] Expected
    |       |     "\Drupal\Core\Entity\EntityManagerInterface" but
    |       |     found "\Drupal\Core\Entity\EntityManagerInterface;"
    |       |     for @var tag in member variable comment
 33 | ERROR | [ ] Parameter $entity_type is not described in comment
 33 | ERROR | [ ] Parameter $storage_controller is not described in
    |       |     comment
 33 | ERROR | [ ] Parameter $entity_manager is not described in
    |       |     comment
 33 | ERROR | [ ] Parameter $module_handler is not described in
    |       |     comment
 33 | ERROR | [ ] Parameter $translation_manager is not described in
    |       |     comment
 39 | ERROR | [x] Visibility must be declared on method "__construct"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...s/public_html/modules/group/src/Entity/GroupContentInterface.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
 19 | ERROR | Description for the @return value is missing
 26 | ERROR | Description for the @return value is missing
 33 | ERROR | Description for the @return value is missing
 40 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------


FILE: ...tml/modules/group/src/Entity/Controller/GroupRoleListBuilder.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
  24 | ERROR   | [x] Data types in @var tags need to be fully
     |         |     namespaced
  24 | ERROR   | [x] Do not append variable name "$groupType" to the
     |         |     type declaration in a member variable comment
 121 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: )
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...tml/modules/group/src/Entity/Controller/GroupTypeListBuilder.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 85 | WARNING | [x] A comma should follow the last multiline array
    |         |     item. Found: )
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...html/modules/group/src/Entity/Controller/GroupTypeController.php
----------------------------------------------------------------------
FOUND 4 ERRORS AND 3 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------
 102 | ERROR   | [x] Expected 1 space after "=>"; 2 found
 153 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: )
 156 | WARNING | [x] A comma should follow the last multiline array
     |         |     item. Found: )
 178 | WARNING | [ ] Line exceeds 80 characters; contains 81
     |         |     characters
 183 | ERROR   | [ ] Type hint
     |         |     "\Drupal\group\Plugin\GroupContentEnablerInterface"
     |         |     missing for $plugin
 197 | ERROR   | [ ] Type hint
     |         |     "\Drupal\group\Plugin\GroupContentEnablerInterface"
     |         |     missing for $plugin
 248 | ERROR   | [ ] Type hint
     |         |     "\Drupal\group\Plugin\GroupContentEnablerInterface"
     |         |     missing for $plugin
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...html/modules/group/src/Entity/Controller/GroupRoleController.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 12 | ERROR | [x] Expected 1 space before opening brace; found 2
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...projects/public_html/modules/group/src/Entity/GroupInterface.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
  29 | ERROR | Description for the @return value is missing
  44 | ERROR | Type hint "array" missing for $values
  58 | ERROR | Type hint "array" missing for $filters
  91 | ERROR | Type hint "array" missing for $filters
 105 | ERROR | Type hint "array" missing for $values
----------------------------------------------------------------------


FILE: .../www/projects/public_html/modules/group/src/Entity/GroupRole.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 199 | ERROR | [ ] Public method name "GroupRole::inPermissionsUI" is
     |       |     not in lowerCamel format
 326 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...tml/modules/group/src/Entity/Storage/GroupContentTypeStorage.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
  80 | ERROR | [x] Whitespace found at end of line
 117 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...odules/group/src/Entity/Storage/GroupContentStorageInterface.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 29 | ERROR | Type hint "array" missing for $values
 45 | ERROR | Type hint "array" missing for $filters
----------------------------------------------------------------------


FILE: ...es/group/src/Entity/Storage/GroupContentTypeStorageInterface.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 57 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ublic_html/modules/group/src/Entity/Storage/GroupRoleStorage.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 29 | ERROR | The @var tag must be the first tag in a member variable
    |       | comment
----------------------------------------------------------------------


FILE: ...l/modules/group/src/Entity/Storage/GroupRoleStorageInterface.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 21 | ERROR | [x] Expected "bool" but found "boolean" for parameter
    |       |     type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ects/public_html/modules/group/src/Entity/GroupRoleInterface.php
----------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 6 LINES
----------------------------------------------------------------------
  85 | ERROR   | [ ] Public method name
     |         |     "GroupRoleInterface::inPermissionsUI" is not in
     |         |     lowerCamel format
 126 | ERROR   | [ ] Type hint "array" missing for $permissions
 156 | ERROR   | [ ] Type hint "array" missing for $permissions
 163 | WARNING | [ ] Line exceeds 80 characters; contains 81
     |         |     characters
 172 | ERROR   | [x] Expected 1 space after asterisk; 3 found
 172 | ERROR   | [x] Separate the @param and @code sections by a
     |         |     blank line.
 180 | ERROR   | [x] Expected 1 space after asterisk; 3 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ic_html/modules/group/src/Entity/Form/GroupContentDeleteForm.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 36 | ERROR | Public method name
    |       | "GroupContentDeleteForm::getCancelURL" is not in
    |       | lowerCamel format
----------------------------------------------------------------------


FILE: ...ublic_html/modules/group/src/Entity/Form/GroupTypeDeleteForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 58 | WARNING | [x] A comma should follow the last multiline array
    |         |     item. Found: '</p>'
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ects/public_html/modules/group/src/Entity/Form/GroupRoleForm.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 137 | ERROR | [ ] Missing parameter comment
 145 | ERROR | [x] Concat operator must be surrounded by a single
     |       |     space
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...projects/public_html/modules/group/src/Entity/Form/GroupForm.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 71 | ERROR | [x] Inline comments must end in full-stops, exclamation
    |       |     marks, colons, question marks, or closing
    |       |     parentheses
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...tml/modules/group/src/Entity/Form/GroupContentTypeDeleteForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 97 | WARNING | [x] A comma should follow the last multiline array
    |         |     item. Found: '</p>'
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ts/public_html/modules/group/src/Entity/Form/GroupDeleteForm.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 24 | ERROR | Public method name "GroupDeleteForm::getCancelURL" is
    |       | not in lowerCamel format
----------------------------------------------------------------------


FILE: ...blic_html/modules/group/src/Entity/Form/GroupContentTypeForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 93 | WARNING | Only string literals should be passed to t() where
    |         | possible
----------------------------------------------------------------------


FILE: ...odules/group/src/Entity/Access/GroupRoleAccessControlHandler.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 25 | ERROR | [x] Whitespace found at end of line
 32 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...blic_html/modules/group/src/Entity/GroupContentTypeInterface.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 47 | ERROR | [x] Whitespace found at end of line
 78 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /var/www/projects/public_html/modules/group/src/Entity/Group.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 74 | ERROR | Description for the @return value is missing
 83 | ERROR | Description for the @return value is missing
 92 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------


FILE: /var/www/projects/public_html/modules/group/css/permissions.css
----------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
----------------------------------------------------------------------
  7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
 22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
    |       |     4
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...w/projects/public_html/modules/group/css/toolbar.icons.theme.css
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 5 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
   |       |     4
 9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
   |       |     4
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /var/www/projects/public_html/modules/group/group.install
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 228 | ERROR | [x] Expected one space after the comma, 0 found
 250 | ERROR | [x] Expected one space after the comma, 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Time: 4.57 secs; Memory: 37Mb

Steps to reproduce

Execute the command:
phpcs --standard=“Drupal,DrupalPractice” --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css,js .

Remaining tasks

Patch review.

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇸United States arnoldbird

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024