Fix the issues reported by phpcs

Created on 10 December 2017, about 7 years ago
Updated 20 August 2024, 4 months 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

Closed: outdated

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

Merge Requests

Comments & Activities

Not all content is available!

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

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.

  • Status changed to Needs review over 1 year ago
  • 🇮🇳India chanchal tiwari

    I have created a patch to fix this issue. Please review it.

  • Status changed to Needs work over 1 year ago
  • Assigned to nitin_lama
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇮🇳India dev2.addweb

    nilesh.addweb made their first commit to this issue’s fork.

  • Assigned to dev2.addweb
  • Status changed to Needs work 4 months ago
  • 🇵🇭Philippines cleavinjosh

    Hi @nilesh.addweb,

    I tried to apply MR!169 but it was not applied successfully.

    ➜  group git:(8.x-1.x) curl https://git.drupalcode.org/project/group/-/merge_requests/169.diff | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  223k    0  223k    0     0   364k      0 --:--:-- --:--:-- --:--:--  364k
    patching file composer.json
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file composer.json.rej
    patching file css/permissions.css
    patching file css/toolbar.icons.theme.css
    patching file group.api.php
    patching file group.info.yml
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file group.info.yml.rej
    patching file group.install
    patching file group.module
    Hunk #5 FAILED at 553.
    Hunk #6 succeeded at 697 (offset 1 line).
    Hunk #7 succeeded at 736 (offset 1 line).
    1 out of 7 hunks FAILED -- saving rejects to file group.module.rej
    patching file group.post_update.php
    patching file modules/gnode/gnode.info.yml
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file modules/gnode/gnode.info.yml.rej
    patching file modules/gnode/gnode.module
    patching file modules/gnode/src/Controller/GroupNodeController.php
    patching file modules/gnode/src/Plugin/GroupContentEnabler/GroupNode.php
    patching file modules/gnode/src/Plugin/GroupContentEnabler/GroupNodeDeriver.php
    patching file modules/gnode/tests/src/Functional/EntityOperationsTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file modules/gnode/tests/src/Functional/EntityOperationsTest.php.rej
    patching file modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php.rej
    patching file src/Access/CalculatedGroupPermissionsInterface.php
    patching file src/Access/CalculatedGroupPermissionsItem.php
    patching file src/Access/CalculatedGroupPermissionsTrait.php
    patching file src/Access/ChainGroupPermissionCalculator.php
    Hunk #2 FAILED at 217.
    1 out of 5 hunks FAILED -- saving rejects to file src/Access/ChainGroupPermissionCalculator.php.rej
    patching file src/Access/ChainGroupPermissionCalculatorInterface.php
    patching file src/Access/DefaultGroupPermissionCalculator.php
    patching file src/Access/GroupAccessResult.php
    patching file src/Access/GroupContentCreateAccessCheck.php
    patching file src/Access/GroupContentCreateAnyAccessCheck.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file src/Access/GroupContentCreateAnyAccessCheck.php.rej
    patching file src/Access/GroupContentCreateEntityAccessCheck.php
    patching file src/Access/GroupInstalledContentAccessCheck.php
    patching file src/Access/GroupMemberAccessCheck.php
    patching file src/Access/GroupOwnsContentAccessCheck.php
    patching file src/Access/GroupPermissionAccessCheck.php
    patching file src/Access/GroupPermissionHandler.php
    Hunk #1 FAILED at 113.
    Hunk #2 FAILED at 170.
    Hunk #3 FAILED at 200.
    Hunk #4 FAILED at 226.
    4 out of 4 hunks FAILED -- saving rejects to file src/Access/GroupPermissionHandler.php.rej
    patching file src/Access/GroupPermissionHandlerInterface.php
    Hunk #2 FAILED at 49.
    1 out of 2 hunks FAILED -- saving rejects to file src/Access/GroupPermissionHandlerInterface.php.rej
    patching file src/Access/GroupPermissions.php
    patching file src/Access/RefinableCalculatedGroupPermissionsInterface.php
    patching file src/Access/SynchronizedGroupPermissionCalculator.php
    Hunk #2 FAILED at 55.
    1 out of 2 hunks FAILED -- saving rejects to file src/Access/SynchronizedGroupPermissionCalculator.php.rej
    patching file src/Annotation/GroupContentEnabler.php
    patching file src/Breadcrumb/GroupContentTypeBreadcrumbBuilder.php
    patching file src/ConfigTranslation/GroupRoleMapper.php
    patching file src/Controller/GroupMembershipController.php
    patching file src/Entity/Access/GroupContentAccessControlHandler.php
    patching file src/Entity/Access/GroupContentQueryAccessHandler.php
    patching file src/Entity/Access/GroupQueryAccessHandler.php
    patching file src/Entity/Access/GroupRoleAccessControlHandler.php
    patching file src/Entity/Access/QueryAccessHandlerBase.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file src/Entity/Access/QueryAccessHandlerBase.php.rej
    patching file src/Entity/Controller/GroupContentController.php
    patching file src/Entity/Controller/GroupContentListBuilder.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file src/Entity/Controller/GroupContentListBuilder.php.rej
    patching file src/Entity/Controller/GroupController.php
    patching file src/Entity/Controller/GroupListBuilder.php
    Hunk #2 FAILED at 157.
    1 out of 2 hunks FAILED -- saving rejects to file src/Entity/Controller/GroupListBuilder.php.rej
    patching file src/Entity/Controller/GroupRoleController.php
    patching file src/Entity/Controller/GroupRoleListBuilder.php
    Hunk #3 FAILED at 69.
    1 out of 4 hunks FAILED -- saving rejects to file src/Entity/Controller/GroupRoleListBuilder.php.rej
    patching file src/Entity/Controller/GroupTypeController.php
    patching file src/Entity/Controller/GroupTypeListBuilder.php
    patching file src/Entity/Form/GroupContentTypeDeleteForm.php
    patching file src/Entity/Form/GroupContentTypeForm.php
    patching file src/Entity/Form/GroupForm.php
    patching file src/Entity/Form/GroupRevisionDeleteForm.php
    Hunk #2 FAILED at 136.
    1 out of 2 hunks FAILED -- saving rejects to file src/Entity/Form/GroupRevisionDeleteForm.php.rej
    patching file src/Entity/Form/GroupRoleForm.php
    patching file src/Entity/Form/GroupTypeDeleteForm.php
    patching file src/Entity/Group.php
    patching file src/Entity/GroupContent.php
    patching file src/Entity/GroupContentInterface.php
    patching file src/Entity/GroupContentTypeInterface.php
    patching file src/Entity/GroupInterface.php
    patching file src/Entity/GroupRole.php
    patching file src/Entity/GroupRoleInterface.php
    patching file src/Entity/GroupType.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file src/Entity/GroupType.php.rej
    patching file src/Entity/Routing/GroupContentRouteProvider.php
    patching file src/Entity/Storage/GroupContentTypeStorageInterface.php
    patching file src/Entity/Storage/GroupRoleStorage.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file src/Entity/Storage/GroupRoleStorage.php.rej
    patching file src/Entity/Storage/GroupRoleStorageInterface.php
    patching file src/EventSubscriber/ConfigSubscriber.php
    patching file src/Form/GroupJoinForm.php
    patching file src/Form/GroupLeaveForm.php
    patching file src/Form/GroupPermissionsForm.php
    Hunk #2 FAILED at 103.
    Hunk #3 FAILED at 179.
    Hunk #4 FAILED at 191.
    Hunk #5 succeeded at 244 (offset -3 lines).
    Hunk #6 succeeded at 272 (offset -3 lines).
    3 out of 6 hunks FAILED -- saving rejects to file src/Form/GroupPermissionsForm.php.rej
    patching file src/Form/GroupSettingsForm.php
    patching file src/GroupMembership.php
    patching file src/GroupMembershipLoader.php
    patching file src/GroupRoleSynchronizer.php
    Hunk #2 FAILED at 62.
    Hunk #3 FAILED at 85.
    2 out of 3 hunks FAILED -- saving rejects to file src/GroupRoleSynchronizer.php.rej
    patching file src/GroupRoleSynchronizerInterface.php
    patching file src/GroupServiceProvider.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file src/GroupServiceProvider.php.rej
    patching file src/Plugin/Block/GroupOperationsBlock.php
    patching file src/Plugin/Condition/GroupType.php
    patching file src/Plugin/GroupContentEnabler/GroupMembership.php
    patching file src/Plugin/GroupContentEnablerBase.php
    patching file src/Plugin/GroupContentEnablerCollection.php
    patching file src/Plugin/GroupContentEnablerInterface.php
    patching file src/Plugin/GroupContentEnablerManager.php
    patching file src/Plugin/GroupContentEnablerManagerInterface.php
    patching file src/Plugin/GroupContentPermissionProvider.php
    patching file src/Plugin/Menu/LocalAction/WithDestination.php
    patching file src/Plugin/views/access/GroupPermission.php
    patching file src/Plugin/views/argument/GroupId.php
    patching file src/Plugin/views/relationship/GroupContentToEntity.php
    patching file src/Plugin/views/relationship/GroupContentToEntityBase.php
    patching file src/Plugin/views/relationship/GroupContentToEntityReverse.php
    patching file src/Plugin/views/relationship/GroupToGroupContent.php
    patching file src/ProxyClass/UninstallValidator/GroupContentUninstallValidator.php
    patching file src/QueryAccess/EntityQueryAlter.php
    patching file src/UninstallValidator/GroupContentUninstallValidator.php
    patching file tests/modules/group_test/group_test.info.yml
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test/group_test.info.yml.rej
    patching file tests/modules/group_test_config/group_test_config.info.yml
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test_config/group_test_config.info.yml.rej
    patching file tests/modules/group_test_plugin/group_test_plugin.info.yml
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test_plugin/group_test_plugin.info.yml.rej
    patching file tests/modules/group_test_plugin/src/Entity/EntityTestWithOwner.php
    patching file tests/modules/group_test_plugin/src/Plugin/GroupContentEnabler/NodeAsContentDeriver.php
    patching file tests/modules/group_test_views/group_test_views.info.yml
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test_views/group_test_views.info.yml.rej
    patching file tests/src/Functional/EntityOperationsTest.php
    patching file tests/src/Functional/GroupBrowserTestBase.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file tests/src/Functional/GroupBrowserTestBase.php.rej
    patching file tests/src/Functional/GroupCreatorWizardTest.php
    patching file tests/src/Functional/GroupTypeFormTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Functional/GroupTypeFormTest.php.rej
    patching file tests/src/Kernel/ChainGroupPermissionCalculatorTest.php
    Hunk #3 FAILED at 38.
    Hunk #4 FAILED at 68.
    Hunk #5 FAILED at 79.
    Hunk #6 FAILED at 91.
    Hunk #7 FAILED at 122.
    Hunk #8 FAILED at 132.
    Hunk #9 FAILED at 142.
    Hunk #10 FAILED at 154.
    Hunk #11 FAILED at 175.
    Hunk #12 FAILED at 189.
    Hunk #13 FAILED at 203.
    11 out of 13 hunks FAILED -- saving rejects to file tests/src/Kernel/ChainGroupPermissionCalculatorTest.php.rej
    patching file tests/src/Kernel/EntityAccessComplexTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file tests/src/Kernel/EntityAccessComplexTest.php.rej
    patching file tests/src/Kernel/EntityAccessTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file tests/src/Kernel/EntityAccessTest.php.rej
    patching file tests/src/Kernel/EntityQueryAlterCacheabilityTest.php
    Hunk #2 FAILED at 15.
    Hunk #3 FAILED at 34.
    Hunk #4 FAILED at 58.
    Hunk #5 FAILED at 80.
    4 out of 5 hunks FAILED -- saving rejects to file tests/src/Kernel/EntityQueryAlterCacheabilityTest.php.rej
    patching file tests/src/Kernel/EntityQueryAlterComplexTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file tests/src/Kernel/EntityQueryAlterComplexTest.php.rej
    patching file tests/src/Kernel/EntityQueryAlterTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    5 out of 5 hunks ignored -- saving rejects to file tests/src/Kernel/EntityQueryAlterTest.php.rej
    patching file tests/src/Kernel/GroupAccessControlHandlerTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupAccessControlHandlerTest.php.rej
    patching file tests/src/Kernel/GroupConfigTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupConfigTest.php.rej
    The next patch would create the file tests/src/Kernel/GroupContentCreateAccessTest.php,
    which already exists!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupContentCreateAccessTest.php.rej
    patching file tests/src/Kernel/GroupContentCrudHookTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupContentCrudHookTest.php.rej
    patching file tests/src/Kernel/GroupContentQueryAccessHandlerTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    10 out of 10 hunks ignored -- saving rejects to file tests/src/Kernel/GroupContentQueryAccessHandlerTest.php.rej
    patching file tests/src/Kernel/GroupContentStorageTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/GroupContentStorageTest.php.rej
    patching file tests/src/Kernel/GroupContentTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupContentTest.php.rej
    patching file tests/src/Kernel/GroupContentTokenReplaceTest.php
    patching file tests/src/Kernel/GroupCreatorTest.php
    patching file tests/src/Kernel/GroupKernelTestBase.php
    Hunk #2 FAILED at 15.
    Hunk #3 FAILED at 27.
    2 out of 3 hunks FAILED -- saving rejects to file tests/src/Kernel/GroupKernelTestBase.php.rej
    patching file tests/src/Kernel/GroupQueryAccessHandlerTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    15 out of 15 hunks ignored -- saving rejects to file tests/src/Kernel/GroupQueryAccessHandlerTest.php.rej
    patching file tests/src/Kernel/GroupRoleStorageTest.php
    Hunk #2 FAILED at 41.
    Hunk #3 FAILED at 60.
    Hunk #4 succeeded at 111 (offset 2 lines).
    2 out of 4 hunks FAILED -- saving rejects to file tests/src/Kernel/GroupRoleStorageTest.php.rej
    patching file tests/src/Kernel/GroupRoleSynchronizationTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupRoleSynchronizationTest.php.rej
    patching file tests/src/Kernel/GroupTest.php
    Hunk #2 FAILED at 23.
    1 out of 2 hunks FAILED -- saving rejects to file tests/src/Kernel/GroupTest.php.rej
    patching file tests/src/Kernel/GroupTokenReplaceKernelTestBase.php
    Hunk #1 FAILED at 21.
    1 out of 1 hunk FAILED -- saving rejects to file tests/src/Kernel/GroupTokenReplaceKernelTestBase.php.rej
    patching file tests/src/Kernel/GroupTokenReplaceTest.php
    patching file tests/src/Kernel/GroupTypeImportTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupTypeImportTest.php.rej
    patching file tests/src/Kernel/GroupTypeTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/GroupTypeTest.php.rej
    patching file tests/src/Kernel/LatestRevisionAccessTest.php
    Hunk #1 FAILED at 2.
    Hunk #2 FAILED at 20.
    Hunk #3 FAILED at 46.
    3 out of 3 hunks FAILED -- saving rejects to file tests/src/Kernel/LatestRevisionAccessTest.php.rej
    patching file tests/src/Kernel/RevisionUiAccessTest.php
    Hunk #1 FAILED at 3.
    Hunk #2 FAILED at 47.
    Hunk #3 FAILED at 206.
    Hunk #4 succeeded at 767 (offset 5 lines).
    Hunk #5 FAILED at 794.
    4 out of 5 hunks FAILED -- saving rejects to file tests/src/Kernel/RevisionUiAccessTest.php.rej
    patching file tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php.rej
    patching file tests/src/Kernel/Views/GroupContentToEntityReverseRelationshipTest.php
    patching file tests/src/Kernel/Views/GroupIdArgumentTest.php
    Hunk #1 FAILED at 20.
    Hunk #2 FAILED at 41.
    2 out of 3 hunks FAILED -- saving rejects to file tests/src/Kernel/Views/GroupIdArgumentTest.php.rej
    patching file tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php.rej
    patching file tests/src/Unit/GroupContentAccessControlHandlerTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    10 out of 10 hunks ignored -- saving rejects to file tests/src/Unit/GroupContentAccessControlHandlerTest.php.rej
    patching file tests/src/Unit/GroupContentEnablerManagerTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    4 out of 4 hunks ignored -- saving rejects to file tests/src/Unit/GroupContentEnablerManagerTest.php.rej
    The next patch would create the file tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php,
    which already exists!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php.rej
    patching file tests/src/Unit/GroupContentPermissionProviderTest.php
    patching file tests/src/Unit/GroupPermissionCheckerTest.php
    Hunk #1 FAILED at 36.
    1 out of 12 hunks FAILED -- saving rejects to file tests/src/Unit/GroupPermissionCheckerTest.php.rej
    patching file tests/src/Unit/GroupPermissionHashGeneratorTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/GroupPermissionHashGeneratorTest.php.rej
    patching file tests/src/Unit/GroupPermissionsCacheContextTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n] n
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/GroupPermissionsCacheContextTest.php.rej
    patching file tests/src/Unit/GroupRoleSynchronizerTest.php
    Hunk #2 FAILED at 33.
    Hunk #3 FAILED at 119.
    2 out of 3 hunks FAILED -- saving rejects to file tests/src/Unit/GroupRoleSynchronizerTest.php.rej
    patching file tests/src/Unit/IsGroupMemberCacheContextTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/IsGroupMemberCacheContextTest.php.rej
    patching file tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php.rej
    patching file tests/src/Unit/RouteGroupCacheContextTest.php
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/RouteGroupCacheContextTest.php.rej
    ➜  group git:(8.x-1.x)
    ➜  group git:(8.x-1.x) curl https://git.drupalcode.org/project/group/-/merge_requests/169.diff | git apply -v
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  223k    0  223k    0     0   471k      0 --:--:-- --:--:-- --:--:--  470k
    Checking patch composer.json...
    error: while searching for:
      "name": "drupal/group",
      "type": "drupal-module",
      "description": "This module allows you to group users, content and other entities",
      "homepage": "http://drupal.org/project/group",
      "authors": [
        {
          "name": "Kristiaan Van den Eynde",
    
    error: patch failed: composer.json:2
    error: composer.json: patch does not apply
    Checking patch css/permissions.css...
    Checking patch css/toolbar.icons.theme.css...
    Checking patch group.api.php...
    Checking patch group.info.yml...
    error: while searching for:
    description: 'Allows you to group users, content and other entities'
    package: 'Group'
    type: 'module'
    core_version_requirement: ^8.8 || ^9
    configure: 'group.settings'
    dependencies:
      - 'drupal:options'
    
    error: patch failed: group.info.yml:2
    error: group.info.yml: patch does not apply
    Checking patch group.install...
    Checking patch group.module...
    error: while searching for:
          }
        }
    
        foreach (Element::children($form['actions']) as $name) {
          // Remove preview button as it redirects back to the wrong form.
          if ($name == 'preview') {
            unset($form['actions'][$name]);
    
    error: patch failed: group.module:558
    error: group.module: patch does not apply
    Checking patch group.post_update.php...
    Checking patch modules/gnode/gnode.info.yml...
    error: while searching for:
    description: 'Enables Group functionality for the Node module'
    package: 'Group'
    type: 'module'
    core_version_requirement: ^8.8 || ^9
    dependencies:
      - 'drupal:node'
      - 'group:group'
    
    error: patch failed: modules/gnode/gnode.info.yml:2
    error: modules/gnode/gnode.info.yml: patch does not apply
    Checking patch modules/gnode/gnode.module...
    Checking patch modules/gnode/src/Controller/GroupNodeController.php...
    Checking patch modules/gnode/src/Plugin/GroupContentEnabler/GroupNode.php...
    Checking patch modules/gnode/src/Plugin/GroupContentEnabler/GroupNodeDeriver.php...
    Checking patch modules/gnode/tests/src/Functional/EntityOperationsTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['gnode'];
    
      /**
       * {@inheritdoc}
    
    error: patch failed: modules/gnode/tests/src/Functional/EntityOperationsTest.php:16
    error: modules/gnode/tests/src/Functional/EntityOperationsTest.php: patch does not apply
    Checking patch modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php...
    error: while searching for:
       *
       * @var array
       */
      public static $modules = ['group', 'options', 'entity', 'variationcache', 'node', 'gnode', 'views'];
    
      /**
       * Tests that the module's config installs properly.
    
    error: patch failed: modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php:16
    error: modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php: patch does not apply
    Checking patch src/Access/CalculatedGroupPermissionsInterface.php...
    Checking patch src/Access/CalculatedGroupPermissionsItem.php...
    Checking patch src/Access/CalculatedGroupPermissionsTrait.php...
    Checking patch src/Access/ChainGroupPermissionCalculator.php...
    error: while searching for:
       *   The combined persistent cache contexts from all calculators.
       */
      protected function getPersistentCacheContexts($constant_name) {
        $cid = 'group_permission:chain_calulator:contexts:' . $constant_name;
    
        // Retrieve the contexts from the regular static cache if available.
        if ($static_cache = $this->regularStatic->get($cid)) {
    
    error: patch failed: src/Access/ChainGroupPermissionCalculator.php:217
    error: src/Access/ChainGroupPermissionCalculator.php: patch does not apply
    Checking patch src/Access/ChainGroupPermissionCalculatorInterface.php...
    Checking patch src/Access/DefaultGroupPermissionCalculator.php...
    Checking patch src/Access/GroupAccessResult.php...
    Checking patch src/Access/GroupContentCreateAccessCheck.php...
    Checking patch src/Access/GroupContentCreateAnyAccessCheck.php...
    error: while searching for:
        $storage = $this->entityTypeManager->getStorage('group_content_type');
        $entity_query = $storage->getQuery();
        $entity_query->condition('group_type', $group->bundle());
        $group_content_type_ids = $entity_query->execute();
    
        // Find out which ones the user has access to create.
        foreach ($group_content_type_ids as $group_content_type_id) {
    
    error: patch failed: src/Access/GroupContentCreateAnyAccessCheck.php:57
    error: src/Access/GroupContentCreateAnyAccessCheck.php: patch does not apply
    Checking patch src/Access/GroupContentCreateEntityAccessCheck.php...
    Checking patch src/Access/GroupInstalledContentAccessCheck.php...
    Checking patch src/Access/GroupMemberAccessCheck.php...
    Checking patch src/Access/GroupOwnsContentAccessCheck.php...
    Checking patch src/Access/GroupPermissionAccessCheck.php...
    Checking patch src/Access/GroupPermissionHandler.php...
    error: while searching for:
       * {@inheritdoc}
       */
      public function getPermissions($include_plugins = FALSE) {
        $all_permissions = $this->buildPermissionsYaml();
    
        // Add the plugin defined permissions to the whole. We query all defined
        // plugins to avoid scenarios where modules want to ship with default
        // configuration but can't because their plugins may not be installed along
        // with the module itself (i.e.: non-enforced plugins).
        if ($include_plugins) {
          /** @var \Drupal\group\Plugin\GroupContentEnablerInterface $plugin */
          foreach ($this->pluginManager->getAll() as $plugin) {
            $provider = $plugin->getProvider();
            $section = $plugin->getLabel()->__toString();
    
            foreach ($plugin->getPermissions() as $permission_name => $permission) {
              $permission += ['provider' => $provider, 'section' => $section];
              $all_permissions[$permission_name] = $this->completePermission($permission);
            }
          }
        }
    
        return $this->sortPermissions($all_permissions);
      }
    
      /**
       * {@inheritdoc}
       */
      public function getPermissionsByGroupType(GroupTypeInterface $group_type) {
        $all_permissions = $this->buildPermissionsYaml();
    
        // Add the plugin defined permissions to the whole.
        foreach ($group_type->getInstalledContentPlugins() as $plugin) {
          $provider = $plugin->getProvider();
          $section = $plugin->getLabel()->__toString();
    
          /** @var \Drupal\group\Plugin\GroupContentEnablerInterface $plugin */
          foreach ($plugin->getPermissions() as $permission_name => $permission) {
            $permission += ['provider' => $provider, 'section' => $section];
            $all_permissions[$permission_name] = $this->completePermission($permission);
          }
        }
    
    
    error: patch failed: src/Access/GroupPermissionHandler.php:113
    error: src/Access/GroupPermissionHandler.php: patch does not apply
    Checking patch src/Access/GroupPermissionHandlerInterface.php...
    error: while searching for:
       *     the module providing the permission. You may set this to another
       *     module's name to make it appear as if the permission was provided by
       *     that module.
       *   - section: (optional) The section name of the permission. This is used to
       *     maintain a clear overview on the permissions form. Defaults to the
       *     plugin name for plugin provided permissions and to "General" for all
       *     other permissions.
       */
      public function getPermissions($include_plugins = FALSE);
    
    
    error: patch failed: src/Access/GroupPermissionHandlerInterface.php:49
    error: src/Access/GroupPermissionHandlerInterface.php: patch does not apply
    Checking patch src/Access/GroupPermissions.php...
    Checking patch src/Access/RefinableCalculatedGroupPermissionsInterface.php...
    Checking patch src/Access/SynchronizedGroupPermissionCalculator.php...
    error: while searching for:
        $group_role_storage = $this->entityTypeManager->getStorage('group_role');
        $roles = $account->getRoles(TRUE);
    
        foreach ($group_type_storage->getQuery()->execute() as $group_type_id) {
          $permission_sets = [];
    
          $group_role_ids = [];
    
    error: patch failed: src/Access/SynchronizedGroupPermissionCalculator.php:53
    error: src/Access/SynchronizedGroupPermissionCalculator.php: patch does not apply
    Checking patch src/Annotation/GroupContentEnabler.php...
    Checking patch src/Breadcrumb/GroupContentTypeBreadcrumbBuilder.php...
    Checking patch src/ConfigTranslation/GroupRoleMapper.php...
    Checking patch src/Controller/GroupMembershipController.php...
    Checking patch src/Entity/Access/GroupContentAccessControlHandler.php...
    Checking patch src/Entity/Access/GroupContentQueryAccessHandler.php...
    Checking patch src/Entity/Access/GroupQueryAccessHandler.php...
    Checking patch src/Entity/Access/GroupRoleAccessControlHandler.php...
    Checking patch src/Entity/Access/QueryAccessHandlerBase.php...
    error: while searching for:
    
        // Allow other modules to modify the conditions before they are used.
        $event = new QueryAccessEvent($conditions, $operation, $account, $entity_type_id);
        $this->eventDispatcher->dispatch("entity.query_access", $event);
        $this->eventDispatcher->dispatch("entity.query_access.{$entity_type_id}", $event);
    
        return $conditions;
      }
    
    error: patch failed: src/Entity/Access/QueryAccessHandlerBase.php:87
    error: src/Entity/Access/QueryAccessHandlerBase.php: patch does not apply
    Checking patch src/Entity/Controller/GroupContentController.php...
    Checking patch src/Entity/Controller/GroupContentListBuilder.php...
    error: while searching for:
          $query->pager($this->limit);
        }
    
        return $query->execute();
      }
    
      /**
    
    error: patch failed: src/Entity/Controller/GroupContentListBuilder.php:85
    error: src/Entity/Controller/GroupContentListBuilder.php: patch does not apply
    Checking patch src/Entity/Controller/GroupController.php...
    Checking patch src/Entity/Controller/GroupListBuilder.php...
    error: while searching for:
          $query->pager($this->limit);
        }
    
        return $query->execute();
      }
    
      /**
    
    error: patch failed: src/Entity/Controller/GroupListBuilder.php:157
    error: src/Entity/Controller/GroupListBuilder.php: patch does not apply
    Checking patch src/Entity/Controller/GroupRoleController.php...
    Checking patch src/Entity/Controller/GroupRoleListBuilder.php...
    error: while searching for:
          $query->pager($this->limit);
        }
    
        return array_values($query->execute());
      }
    
      /**
    
    error: patch failed: src/Entity/Controller/GroupRoleListBuilder.php:69
    error: src/Entity/Controller/GroupRoleListBuilder.php: patch does not apply
    Checking patch src/Entity/Controller/GroupTypeController.php...
    Checking patch src/Entity/Controller/GroupTypeListBuilder.php...
    Checking patch src/Entity/Form/GroupContentTypeDeleteForm.php...
    Checking patch src/Entity/Form/GroupContentTypeForm.php...
    Checking patch src/Entity/Form/GroupForm.php...
    Checking patch src/Entity/Form/GroupRevisionDeleteForm.php...
    error: while searching for:
      protected function countRevisions(GroupInterface $group) {
        return $this->groupStorage
          ->getQuery()
          ->allRevisions()
          ->condition('id', $group->id())
          ->count()
    
    error: patch failed: src/Entity/Form/GroupRevisionDeleteForm.php:136
    error: src/Entity/Form/GroupRevisionDeleteForm.php: patch does not apply
    Checking patch src/Entity/Form/GroupRoleForm.php...
    Checking patch src/Entity/Form/GroupTypeDeleteForm.php...
    Checking patch src/Entity/Group.php...
    Checking patch src/Entity/GroupContent.php...
    Checking patch src/Entity/GroupContentInterface.php...
    Checking patch src/Entity/GroupContentTypeInterface.php...
    Checking patch src/Entity/GroupInterface.php...
    Checking patch src/Entity/GroupRole.php...
    Checking patch src/Entity/GroupRoleInterface.php...
    Checking patch src/Entity/GroupType.php...
    error: while searching for:
          $query->condition('internal', FALSE);
        }
    
        return $query->execute();
      }
    
      /**
    
    error: patch failed: src/Entity/GroupType.php:160
    error: src/Entity/GroupType.php: patch does not apply
    Checking patch src/Entity/Routing/GroupContentRouteProvider.php...
    Checking patch src/Entity/Storage/GroupContentTypeStorageInterface.php...
    Checking patch src/Entity/Storage/GroupRoleStorage.php...
    error: while searching for:
        $query->condition('id', array_keys($definitions));
    
        // Create the group roles that do not exist yet.
        foreach (array_diff_key($definitions, $query->execute()) as $definition) {
          $this->save($this->create($definition));
        }
      }
    
    error: patch failed: src/Entity/Storage/GroupRoleStorage.php:200
    error: src/Entity/Storage/GroupRoleStorage.php: patch does not apply
    Checking patch src/Entity/Storage/GroupRoleStorageInterface.php...
    Checking patch src/EventSubscriber/ConfigSubscriber.php...
    Checking patch src/Form/GroupJoinForm.php...
    Checking patch src/Form/GroupLeaveForm.php...
    Checking patch src/Form/GroupPermissionsForm.php...
    error: while searching for:
    
        // Create a list of group permissions ordered by their provider and section.
        foreach ($this->groupPermissionHandler->getPermissionsByGroupType($this->getGroupType()) as $permission_name => $permission) {
          $by_provider_and_section[$permission['provider']][$permission['section']][$permission_name] = $permission;
        }
    
        // Always put the 'General' section at the top if provided.
        foreach ($by_provider_and_section as $provider => $sections) {
          if (isset($sections['General'])) {
            $by_provider_and_section[$provider] = ['General' => $sections['General']] + $sections;
          }
        }
    
    
    error: patch failed: src/Form/GroupPermissionsForm.php:103
    error: src/Form/GroupPermissionsForm.php: patch does not apply
    Checking patch src/Form/GroupSettingsForm.php...
    Checking patch src/GroupMembership.php...
    Checking patch src/GroupMembershipLoader.php...
    Checking patch src/GroupRoleSynchronizer.php...
    error: while searching for:
      public function getGroupRoleIdsByGroupTypes($group_type_ids) {
        $group_role_ids = [];
    
        $role_ids = $this->entityTypeManager->getStorage('user_role')->getQuery()->execute();
        foreach ($role_ids as $role_id) {
          foreach ($group_type_ids as $group_type_id) {
            $group_role_ids[] = $this->getGroupRoleId($group_type_id, $role_id);
    
    error: patch failed: src/GroupRoleSynchronizer.php:63
    error: src/GroupRoleSynchronizer.php: patch does not apply
    Checking patch src/GroupRoleSynchronizerInterface.php...
    Checking patch src/GroupServiceProvider.php...
    error: while searching for:
        // choking on the variation_cache_factory service no longer being there.
        if (!$container->hasDefinition('variation_cache_factory')) {
          $definition = new Definition('\Drupal\group\VariationCacheFactoryUpdateFix');
          $container->addDefinitions(['variation_cache_factory' => $definition]);
        }
      }
    
    error: patch failed: src/GroupServiceProvider.php:19
    error: src/GroupServiceProvider.php: patch does not apply
    Checking patch src/Plugin/Block/GroupOperationsBlock.php...
    Checking patch src/Plugin/Condition/GroupType.php...
    Checking patch src/Plugin/GroupContentEnabler/GroupMembership.php...
    Checking patch src/Plugin/GroupContentEnablerBase.php...
    Checking patch src/Plugin/GroupContentEnablerCollection.php...
    Checking patch src/Plugin/GroupContentEnablerInterface.php...
    Checking patch src/Plugin/GroupContentEnablerManager.php...
    Checking patch src/Plugin/GroupContentEnablerManagerInterface.php...
    Checking patch src/Plugin/GroupContentPermissionProvider.php...
    Checking patch src/Plugin/Menu/LocalAction/WithDestination.php...
    Checking patch src/Plugin/views/access/GroupPermission.php...
    Checking patch src/Plugin/views/argument/GroupId.php...
    Checking patch src/Plugin/views/relationship/GroupContentToEntity.php...
    Checking patch src/Plugin/views/relationship/GroupContentToEntityBase.php...
    Checking patch src/Plugin/views/relationship/GroupContentToEntityReverse.php...
    Checking patch src/Plugin/views/relationship/GroupToGroupContent.php...
    Checking patch src/ProxyClass/UninstallValidator/GroupContentUninstallValidator.php...
    Checking patch src/QueryAccess/EntityQueryAlter.php...
    Checking patch src/UninstallValidator/GroupContentUninstallValidator.php...
    Checking patch tests/modules/group_test/group_test.info.yml...
    error: while searching for:
    description: 'Support module for Group tests.'
    package: 'Testing'
    type: 'module'
    core_version_requirement: ^8.8 || ^9
    dependencies:
      - 'group:group'
      - 'drupal:user'
    
    error: patch failed: tests/modules/group_test/group_test.info.yml:2
    error: tests/modules/group_test/group_test.info.yml: patch does not apply
    Checking patch tests/modules/group_test_config/group_test_config.info.yml...
    error: while searching for:
    description: 'Support module for group configuration tests.'
    package: 'Testing'
    type: 'module'
    core_version_requirement: ^8.8 || ^9
    dependencies:
      - 'group:group'
    
    error: patch failed: tests/modules/group_test_config/group_test_config.info.yml:2
    error: tests/modules/group_test_config/group_test_config.info.yml: patch does not apply
    Checking patch tests/modules/group_test_plugin/group_test_plugin.info.yml...
    error: while searching for:
    description: 'Provides group plugins to run tests with.'
    package: 'Testing'
    type: 'module'
    core_version_requirement: ^8.8 || ^9
    dependencies:
      - 'group:group'
      - 'drupal:language'
    
    error: patch failed: tests/modules/group_test_plugin/group_test_plugin.info.yml:2
    error: tests/modules/group_test_plugin/group_test_plugin.info.yml: patch does not apply
    Checking patch tests/modules/group_test_plugin/src/Entity/EntityTestWithOwner.php...
    Checking patch tests/modules/group_test_plugin/src/Plugin/GroupContentEnabler/NodeAsContentDeriver.php...
    Checking patch tests/modules/group_test_views/group_test_views.info.yml...
    error: while searching for:
    description: 'Provides default views for group views tests.'
    package: 'Testing'
    type: 'module'
    core_version_requirement: ^8.8 || ^9
    dependencies:
      - 'group:group'
      - 'drupal:views'
    
    error: patch failed: tests/modules/group_test_views/group_test_views.info.yml:2
    error: tests/modules/group_test_views/group_test_views.info.yml: patch does not apply
    Checking patch tests/src/Functional/EntityOperationsTest.php...
    Checking patch tests/src/Functional/GroupBrowserTestBase.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group', 'group_test_config'];
    
      /**
       * The entity type manager service.
    
    error: patch failed: tests/src/Functional/GroupBrowserTestBase.php:12
    error: tests/src/Functional/GroupBrowserTestBase.php: patch does not apply
    Checking patch tests/src/Functional/GroupCreatorWizardTest.php...
    Checking patch tests/src/Functional/GroupTypeFormTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $this->entityFieldManager = $this->container->get('entity_field.manager');
      }
    
    error: patch failed: tests/src/Functional/GroupTypeFormTest.php:19
    error: tests/src/Functional/GroupTypeFormTest.php: patch does not apply
    Checking patch tests/src/Kernel/ChainGroupPermissionCalculatorTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $this->permissionCalculator = $this->container->get('group_permission.chain_calculator');
        $this->roleSynchronizer = $this->container->get('group_role.synchronizer');
    
    error: patch failed: tests/src/Kernel/ChainGroupPermissionCalculatorTest.php:39
    error: tests/src/Kernel/ChainGroupPermissionCalculatorTest.php: patch does not apply
    Checking patch tests/src/Kernel/EntityAccessComplexTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test_plugin', 'node'];
    
      /**
       * The node storage to use in testing.
    
    error: patch failed: tests/src/Kernel/EntityAccessComplexTest.php:17
    error: tests/src/Kernel/EntityAccessComplexTest.php: patch does not apply
    Checking patch tests/src/Kernel/EntityAccessTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test_plugin'];
    
      /**
       * The test entity storage to use in testing.
    
    error: patch failed: tests/src/Kernel/EntityAccessTest.php:12
    error: tests/src/Kernel/EntityAccessTest.php: patch does not apply
    Checking patch tests/src/Kernel/EntityQueryAlterCacheabilityTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['node'];
    
      /**
       * The grouped entity storage to use in testing.
    
    error: patch failed: tests/src/Kernel/EntityQueryAlterCacheabilityTest.php:16
    error: tests/src/Kernel/EntityQueryAlterCacheabilityTest.php: patch does not apply
    Checking patch tests/src/Kernel/EntityQueryAlterComplexTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test_plugin', 'node', 'views'];
    
      /**
       * The grouped storage to use in testing.
    
    error: patch failed: tests/src/Kernel/EntityQueryAlterComplexTest.php:24
    error: tests/src/Kernel/EntityQueryAlterComplexTest.php: patch does not apply
    Checking patch tests/src/Kernel/EntityQueryAlterTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test_plugin', 'views'];
    
      /**
       * The grouped entity storage to use in testing.
    
    error: patch failed: tests/src/Kernel/EntityQueryAlterTest.php:20
    error: tests/src/Kernel/EntityQueryAlterTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupAccessControlHandlerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $this->installConfig(['user']);
        $this->groupType = $this->createGroupType(['id' => 'foo', 'creator_membership' => FALSE]);
    
    error: patch failed: tests/src/Kernel/GroupAccessControlHandlerTest.php:27
    error: tests/src/Kernel/GroupAccessControlHandlerTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupConfigTest.php...
    error: while searching for:
       *
       * @var array
       */
      public static $modules = ['group', 'options', 'entity', 'variationcache', 'block', 'views'];
    
      /**
       * Tests that the module's config installs properly.
    
    error: patch failed: tests/src/Kernel/GroupConfigTest.php:16
    error: tests/src/Kernel/GroupConfigTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupContentCreateAccessTest.php...
    error: tests/src/Kernel/GroupContentCreateAccessTest.php: already exists in working directory
    Checking patch tests/src/Kernel/GroupContentCrudHookTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
    
        // Required to be able to delete accounts. See User::postDelete().
    
    error: patch failed: tests/src/Kernel/GroupContentCrudHookTest.php:12
    error: tests/src/Kernel/GroupContentCrudHookTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupContentQueryAccessHandlerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test_plugin'];
    
      /**
       * The query access handler.
    
    error: patch failed: tests/src/Kernel/GroupContentQueryAccessHandlerTest.php:18
    error: tests/src/Kernel/GroupContentQueryAccessHandlerTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupContentStorageTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test_plugin'];
    
      /**
       * The group content storage handler.
    
    error: patch failed: tests/src/Kernel/GroupContentStorageTest.php:15
    error: tests/src/Kernel/GroupContentStorageTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupContentTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group_test', 'group_test_plugin'];
    
      /**
       * Tests that entity url templates are functional.
    
    error: patch failed: tests/src/Kernel/GroupContentTest.php:16
    error: tests/src/Kernel/GroupContentTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupContentTokenReplaceTest.php...
    Checking patch tests/src/Kernel/GroupCreatorTest.php...
    Checking patch tests/src/Kernel/GroupKernelTestBase.php...
    error: while searching for:
       * @todo Refactor tests to not automatically use group_test_config unless they
       *       have a good reason to.
       */
      public static $modules = ['group', 'options', 'entity', 'variationcache', 'group_test_config'];
    
      /**
       * The content enabler plugin manager.
    
    error: patch failed: tests/src/Kernel/GroupKernelTestBase.php:16
    error: tests/src/Kernel/GroupKernelTestBase.php: patch does not apply
    Checking patch tests/src/Kernel/GroupQueryAccessHandlerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $entity_type = $this->entityTypeManager->getDefinition('group');
        $this->handler = GroupQueryAccessHandler::createInstance($this->container, $entity_type);
    
    error: patch failed: tests/src/Kernel/GroupQueryAccessHandlerTest.php:25
    error: tests/src/Kernel/GroupQueryAccessHandlerTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupRoleStorageTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $this->storage = $this->entityTypeManager->getStorage('group_role');
    
    
    error: patch failed: tests/src/Kernel/GroupRoleStorageTest.php:44
    error: tests/src/Kernel/GroupRoleStorageTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupRoleSynchronizationTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
    
        // The sheer functionality of the synchronizer service is tested elsewhere
    
    error: patch failed: tests/src/Kernel/GroupRoleSynchronizationTest.php:21
    error: tests/src/Kernel/GroupRoleSynchronizationTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $this->group = $this->createGroup();
      }
    
    error: patch failed: tests/src/Kernel/GroupTest.php:23
    error: tests/src/Kernel/GroupTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupTokenReplaceKernelTestBase.php...
    error: while searching for:
       */
      protected $tokenService;
    
      protected function setUp() {
        parent::setUp();
        $this->interfaceLanguage = \Drupal::languageManager()->getCurrentLanguage();
        $this->tokenService = \Drupal::token();
    
    error: patch failed: tests/src/Kernel/GroupTokenReplaceKernelTestBase.php:21
    error: tests/src/Kernel/GroupTokenReplaceKernelTestBase.php: patch does not apply
    Checking patch tests/src/Kernel/GroupTokenReplaceTest.php...
    Checking patch tests/src/Kernel/GroupTypeImportTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
    
        // The system.site key is required for import validation.
    
    error: patch failed: tests/src/Kernel/GroupTypeImportTest.php:15
    error: tests/src/Kernel/GroupTypeImportTest.php: patch does not apply
    Checking patch tests/src/Kernel/GroupTypeTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
        $this->groupType = $this->entityTypeManager
          ->getStorage('group_type')
    
    error: patch failed: tests/src/Kernel/GroupTypeTest.php:24
    error: tests/src/Kernel/GroupTypeTest.php: patch does not apply
    Checking patch tests/src/Kernel/LatestRevisionAccessTest.php...
    error: while searching for:
    
    namespace Drupal\Tests\group\Kernel;
    
    use Drupal\Core\Url;
    use Drupal\group\Entity\GroupInterface;
    use Drupal\Tests\content_moderation\Traits\ContentModerationTestTrait;
    use Symfony\Cmf\Component\Routing\RouteObjectInterface;
    use Symfony\Component\HttpFoundation\Request;
    
    /**
    
    error: patch failed: tests/src/Kernel/LatestRevisionAccessTest.php:2
    error: tests/src/Kernel/LatestRevisionAccessTest.php: patch does not apply
    Checking patch tests/src/Kernel/RevisionUiAccessTest.php...
    error: while searching for:
    namespace Drupal\Tests\group\Kernel;
    
    use Drupal\Core\Entity\ContentEntityInterface;
    use Drupal\Core\Url;
    use Drupal\group\Entity\GroupInterface;
    use Symfony\Cmf\Component\Routing\RouteObjectInterface;
    use Symfony\Component\HttpFoundation\Request;
    
    /**
    
    error: patch failed: tests/src/Kernel/RevisionUiAccessTest.php:3
    error: tests/src/Kernel/RevisionUiAccessTest.php: patch does not apply
    Checking patch tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = [
        'group',
        'options',
        'entity',
    
    error: patch failed: tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php:18
    error: tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php: patch does not apply
    Checking patch tests/src/Kernel/Views/GroupContentToEntityReverseRelationshipTest.php...
    Checking patch tests/src/Kernel/Views/GroupIdArgumentTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = ['group', 'options', 'entity', 'variationcache', 'field', 'text', 'group_test_config', 'group_test_views'];
    
      /**
       * Views used by this test.
    
    error: patch failed: tests/src/Kernel/Views/GroupIdArgumentTest.php:20
    error: tests/src/Kernel/Views/GroupIdArgumentTest.php: patch does not apply
    Checking patch tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public static $modules = [
        'group',
        'options',
        'entity',
    
    error: patch failed: tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php:19
    error: tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php: patch does not apply
    Checking patch tests/src/Unit/GroupContentAccessControlHandlerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
    
        $cache_context_manager = $this->prophesize(CacheContextsManager::class);
    
    error: patch failed: tests/src/Unit/GroupContentAccessControlHandlerTest.php:39
    error: tests/src/Unit/GroupContentAccessControlHandlerTest.php: patch does not apply
    Checking patch tests/src/Unit/GroupContentEnablerManagerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      protected function setUp() {
        parent::setUp();
    
        $this->cacheBackend = $this->prophesize(CacheBackendInterface::class);
    
        $this->moduleHandler = $this->prophesize(ModuleHandlerInterface::class);
        $this->moduleHandler->getImplementations('entity_type_build')->willReturn([]);
        $this->moduleHandler->alter('group_content_info', Argument::type('array'))->willReturn(NULL);
    
        $this->entityTypeManager = $this->prophesize(EntityTypeManagerInterface::class);
    
    error: patch failed: tests/src/Unit/GroupContentEnablerManagerTest.php:69
    error: tests/src/Unit/GroupContentEnablerManagerTest.php: patch does not apply
    Checking patch tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php...
    error: tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php: already exists in working directory
    Checking patch tests/src/Unit/GroupContentPermissionProviderTest.php...
    Checking patch tests/src/Unit/GroupPermissionCheckerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
        $this->permissionCalculator = $this->prophesize(ChainGroupPermissionCalculatorInterface::class);
        $this->permissionChecker = new GroupPermissionChecker($this->permissionCalculator->reveal());
    
    error: patch failed: tests/src/Unit/GroupPermissionCheckerTest.php:36
    error: tests/src/Unit/GroupPermissionCheckerTest.php: patch does not apply
    Checking patch tests/src/Unit/GroupPermissionHashGeneratorTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
        new Settings(['hash_salt' => 'SALT']);
        $private_key = $this->prophesize(PrivateKey::class);
    
    error: patch failed: tests/src/Unit/GroupPermissionHashGeneratorTest.php:55
    error: tests/src/Unit/GroupPermissionHashGeneratorTest.php: patch does not apply
    Checking patch tests/src/Unit/GroupPermissionsCacheContextTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
        $this->currentUser = $this->prophesize(AccountProxyInterface::class);
        $this->permissionsHashGenerator = $this->prophesize(GroupPermissionsHashGeneratorInterface::class);
    
    error: patch failed: tests/src/Unit/GroupPermissionsCacheContextTest.php:33
    error: tests/src/Unit/GroupPermissionsCacheContextTest.php: patch does not apply
    Checking patch tests/src/Unit/GroupRoleSynchronizerTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
        $this->entityTypeManager = $this->prophesize(EntityTypeManagerInterface::class);
        $this->groupRoleSynchronizer = new GroupRoleSynchronizer($this->entityTypeManager->reveal());
    
    error: patch failed: tests/src/Unit/GroupRoleSynchronizerTest.php:35
    error: tests/src/Unit/GroupRoleSynchronizerTest.php: patch does not apply
    Checking patch tests/src/Unit/IsGroupMemberCacheContextTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
        $this->currentUser = $this->prophesize(AccountProxyInterface::class)->reveal();
        $this->group = $this->prophesize(GroupInterface::class)->reveal();
    
    error: patch failed: tests/src/Unit/IsGroupMemberCacheContextTest.php:39
    error: tests/src/Unit/IsGroupMemberCacheContextTest.php: patch does not apply
    Checking patch tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php...
    error: while searching for:
        $this->assertNotFalse($calculated_permissions->getItem(CGPII::SCOPE_GROUP_TYPE, 'bar'), 'Original item that did not conflict was kept.');
        $this->assertNotFalse($calculated_permissions->getItem(CGPII::SCOPE_GROUP_TYPE, 'baz'), 'Incoming item that did not conflict was added.');
        $this->assertSame(['baz', 'bob', 'charlie'], $calculated_permissions->getItem(CGPII::SCOPE_GROUP_TYPE, 'foo')->getPermissions(), 'Permissions were merged properly.');
        $this->assertSame(['bar', 'foo'], $calculated_permissions->getCacheContexts(), 'Cache contexts were merged properly');
        $this->assertSame(['bar', 'foo'], $calculated_permissions->getCacheTags(), 'Cache tags were merged properly');
      }
    
    }
    
    error: patch failed: tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php:129
    error: tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php: patch does not apply
    Checking patch tests/src/Unit/RouteGroupCacheContextTest.php...
    error: while searching for:
      /**
       * {@inheritdoc}
       */
      public function setUp() {
        parent::setUp();
        $this->currentRouteMatch = $this->prophesize(RouteMatchInterface::class);
        $this->entityTypeManager = $this->prophesize(EntityTypeManagerInterface::class);
    
    error: patch failed: tests/src/Unit/RouteGroupCacheContextTest.php:36
    error: tests/src/Unit/RouteGroupCacheContextTest.php: patch does not apply
    ➜  group git:(8.x-1.x)

    Please check and advise.
    Thank you.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    The merge request is 174 commits behind the upstream repository. It needs to be rebased.

  • Status changed to Closed: outdated 4 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    There are no PHP_CodeSniffer errors/warnings reported before doing any change in the module.
    I take that the 174 commits done after the merge request was created already fixed them.

  • Issue was unassigned.
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    The module is using its own phpcs.xml file.
    When PHP_CodeSniffer is used for this module, that phpcs.xml file must be used.

  • Pipeline finished with Success
    4 months ago
    Total: 884s
    #259537
Production build 0.71.5 2024