https://git.drupal.org/project/field_collection.git 8.x-3.x

Primary tabs

Git errors: Review of the 8.x-3.x branch (commit e098164):
  • Your README.txt does not follow best practices (headings need to be uppercase). See https://www.drupal.org/node/2181737 .
    • The INTRODUCTION section is missing.
    • The REQUIREMENTS section is missing.
    • The INSTALLATION section is missing.
    • The CONFIGURATION section is missing.
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/field_collection.info.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     8 | WARNING | All dependencies must be prefixed with the project name,
       |         | for example "drupal:"
    --------------------------------------------------------------------------
    
    
    FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/field_collection.module
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
      51 | WARNING | There must be no blank line following an inline comment
      54 | WARNING | There must be no blank line following an inline comment
     103 | WARNING | Unused variable $s.
    --------------------------------------------------------------------------
    
    
    FILE: ...b/vendor/drupal/pareviewsh/pareview_temp/src/FieldCollectionForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     26 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     35 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...r/drupal/pareviewsh/pareview_temp/src/Entity/FieldCollectionItem.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
      58 | WARNING | There must be no blank line following an inline comment
     392 | WARNING | There must be no blank line following an inline comment
    --------------------------------------------------------------------------
    
    
    FILE: ...ndor/drupal/pareviewsh/pareview_temp/src/FieldCollectionItemForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    --------------------------------------------------------------------------
      61 | WARNING | There must be no blank line following an inline comment
      63 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
      89 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      96 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     107 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...r/drupal/pareviewsh/pareview_temp/src/FieldCollectionListBuilder.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     13 | WARNING | There must be no blank line following an inline comment
    --------------------------------------------------------------------------
    
    
    FILE: ...src/Plugin/Field/FieldFormatter/FieldCollectionEditableFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     26 | WARNING | Unused variable $delta.
    --------------------------------------------------------------------------
    
    
    FILE: ...emp/src/Plugin/Field/FieldFormatter/FieldCollectionListFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     29 | WARNING | Unused variable $settings.
     32 | WARNING | There must be no blank line following an inline comment
    --------------------------------------------------------------------------
    
    
    FILE: ...mp/src/Plugin/Field/FieldFormatter/FieldCollectionLinksFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    --------------------------------------------------------------------------
     18 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     20 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     28 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     50 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     53 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...iew_temp/src/Plugin/Field/FieldWidget/FieldCollectionEmbedWidget.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     83 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...w_temp/src/Access/FieldCollectionItemHostRevisionsOperationCheck.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     54 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...iewsh/pareview_temp/src/Controller/FieldCollectionItemController.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
      35 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      93 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     123 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: .../pareview_temp/tests/src/Functional/FieldCollectionBasicTestCase.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     13 | WARNING | There must be no blank line following an inline comment
    --------------------------------------------------------------------------
    
    Time: 1.58 secs; Memory: 6Mb
    
This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...00000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/README.txt
--------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------
  4 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 17 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 36 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/field_collection.module
--------------------------------------------------------------------------
FOUND 7 ERRORS AND 4 WARNINGS AFFECTING 9 LINES
--------------------------------------------------------------------------
  51 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
  54 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
  54 | ERROR   | [x] No space found before comment text; expected "//
     |         |     entity_info_cache_clear();" but found
     |         |     "//entity_info_cache_clear();"
  64 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 102 | ERROR   | [x] Missing function doc comment
 117 | ERROR   | [x] Object operator not indented correctly; expected 6
     |         |     spaces but found 8
 156 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
     |         |     Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
     |         |     "* Implements hook_foo_BAR_ID_bar() for
     |         |     xyz-bar.html.twig.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 156 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
 190 | ERROR   | [x] Parameter comment indentation must be 3 spaces,
     |         |     found 1 spaces
 193 | ERROR   | [ ] Type hint "array" missing for $variables
 199 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...b/vendor/drupal/pareviewsh/pareview_temp/src/FieldCollectionForm.php
--------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------
 37 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 39 | ERROR   | [x] Closing parenthesis of array declaration must be on a
    |         |     new line
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...endor/drupal/pareviewsh/pareview_temp/src/Entity/FieldCollection.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------
 61 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
 62 | ERROR   | [ ] Missing @var tag in member variable comment
 65 | ERROR   | [x] Missing function doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...r/drupal/pareviewsh/pareview_temp/src/Entity/FieldCollectionItem.php
--------------------------------------------------------------------------
FOUND 28 ERRORS AND 8 WARNINGS AFFECTING 29 LINES
--------------------------------------------------------------------------
   7 | WARNING | [x] Unused use statement
  58 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
  64 | ERROR   | [ ] Missing @var tag in member variable comment
  65 | ERROR   | [ ] Class property $host_id should use lowerCamel naming
     |         |     without underscores
  72 | ERROR   | [ ] Class property $host_revision_id should use
     |         |     lowerCamel naming without underscores
  96 | ERROR   | [x] Closing parenthesis of array declaration must be on
     |         |     a new line
 111 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
 113 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
 148 | ERROR   | [ ] Missing parameter type
 156 | WARNING | [ ] Line exceeds 80 characters; contains 131 characters
 157 | WARNING | [ ] Line exceeds 80 characters; contains 99 characters
 157 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
 159 | ERROR   | [x] Line indented incorrectly; expected 5 spaces, found
     |         |     4
 176 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 177 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 178 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     10
 179 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 181 | ERROR   | [x] Line indented incorrectly; expected 7 spaces, found
     |         |     6
 241 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 277 | ERROR   | [x] Expected 1 space after IF keyword; 0 found
 278 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     10
 312 | ERROR   | [x] Data types in @var tags need to be fully namespaced
 315 | ERROR   | [x] Inline comments must start with a capital letter
 315 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 319 | ERROR   | [x] Inline comments must start with a capital letter
 319 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 323 | ERROR   | [x] Concat operator must be surrounded by a single space
 323 | ERROR   | [x] Concat operator must be surrounded by a single space
 324 | ERROR   | [x] Concat operator must be surrounded by a single space
 324 | ERROR   | [x] Concat operator must be surrounded by a single space
 356 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 357 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 359 | ERROR   | [x] Line indented incorrectly; expected 7 spaces, found
     |         |     6
 392 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
 392 | ERROR   | [x] No space found before comment text; expected "//
     |         |     drupal_alter('field_collection_is_empty', $is_empty,
     |         |     $this);" but found
     |         |     "//drupal_alter('field_collection_is_empty',
     |         |     $is_empty, $this);"
 392 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ndor/drupal/pareviewsh/pareview_temp/src/FieldCollectionItemForm.php
--------------------------------------------------------------------------
FOUND 18 ERRORS AND 4 WARNINGS AFFECTING 21 LINES
--------------------------------------------------------------------------
   8 | ERROR   | [x] Missing class doc comment
  23 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  24 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  25 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  26 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  29 | WARNING | [ ] Line exceeds 80 characters; contains 153 characters
  32 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
  33 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  34 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  38 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  39 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  40 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  41 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  42 | WARNING | [ ] Line exceeds 80 characters; contains 111 characters
  42 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
  44 | ERROR   | [x] Line indented incorrectly; expected 5 spaces, found
     |         |     4
  61 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
  87 | ERROR   | [x] TRUE, FALSE and NULL must be uppercase; expected
     |         |     "FALSE" but found "false"
  93 | ERROR   | [x] TRUE, FALSE and NULL must be uppercase; expected
     |         |     "FALSE" but found "false"
 114 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
 115 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
 117 | ERROR   | [x] Line indented incorrectly; expected 5 spaces, found
     |         |     4
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...r/drupal/pareviewsh/pareview_temp/src/FieldCollectionListBuilder.php
--------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 1 LINE
--------------------------------------------------------------------------
 13 | WARNING | [ ] Line exceeds 80 characters; contains 131 characters
 13 | WARNING | [x] There must be no blank line following an inline
    |         |     comment
 13 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...viewsh/pareview_temp/src/FieldCollectionItemAccessControlHandler.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 9 | ERROR | [x] Missing class doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...drupal/pareviewsh/pareview_temp/src/FieldCollectionItemInterface.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
 24 | ERROR | Missing parameter name
 48 | ERROR | Description for the @return value is missing
 58 | ERROR | Parameter tags must be grouped together in a doc comment
 58 | ERROR | Missing parameter type
 62 | ERROR | Type hint "\Drupal\Core\Entity\ContentEntityInterface"
    |       | missing for $entity
--------------------------------------------------------------------------


FILE: ...eviewsh/pareview_temp/src/Plugin/Field/FieldType/FieldCollection.php
--------------------------------------------------------------------------
FOUND 38 ERRORS AND 6 WARNINGS AFFECTING 41 LINES
--------------------------------------------------------------------------
   5 | WARNING | [x] Unused use statement
  52 | ERROR   | [x] Short array syntax must be used to define arrays
 113 | ERROR   | [x] Short array syntax must be used to define arrays
 126 | ERROR   | [x] Short array syntax must be used to define arrays
 134 | ERROR   | [ ] Missing short description in doc comment
 156 | ERROR   | [x] Line indented incorrectly; expected 7 spaces, found
     |         |     6
 163 | ERROR   | [x] Missing function doc comment
 175 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 179 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 183 | ERROR   | [x] Expected 1 blank line before function; 0 found
 188 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 189 | ERROR   | [x] Expected 1 space after IF keyword; 0 found
 200 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
 201 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters
 203 | ERROR   | [x] Line indented incorrectly; expected 7 spaces, found
     |         |     6
 207 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 211 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 212 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 212 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 213 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 214 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 215 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     10
 216 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     12
 217 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     12
 218 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     12
 219 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 220 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 221 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     10
 222 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     10
 223 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     12
 224 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     12
 225 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     10
 226 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 228 | ERROR   | [x] Line indented incorrectly; expected 7 spaces, found
     |         |     6
 242 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 242 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     10
 243 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     10
 244 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     10
 246 | ERROR   | [x] Line indented incorrectly; expected 9 spaces, found
     |         |     8
 250 | ERROR   | [x] No space found before comment text; expected "//
     |         |     $entity->archived = FALSE;" but found
     |         |     "//$entity->archived = FALSE;"
 250 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 271 | ERROR   | [x] Use "elseif" in place of "else if"
 285 | ERROR   | [x] Short array syntax must be used to define arrays
 288 | ERROR   | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 38 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...src/Plugin/Field/FieldFormatter/FieldCollectionEditableFormatter.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
 22 | ERROR | [x] Expected 1 blank line before function; 0 found
 23 | ERROR | [x] Comments may not appear after statements
 24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
 49 | ERROR | [x] Expected 1 blank line after function; 0 found
 50 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...mp/src/Plugin/Field/FieldFormatter/FieldCollectionItemsFormatter.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
 29 | ERROR | [x] Inline comments must end in full-stops, exclamation
    |       |     marks, colons, question marks, or closing parentheses
 30 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
 37 | ERROR | [x] Expected 1 blank line after function; 0 found
 38 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...emp/src/Plugin/Field/FieldFormatter/FieldCollectionListFormatter.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------
 30 | ERROR   | [x] Comments may not appear after statements
 31 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
    |         |     16
 32 | WARNING | [x] There must be no blank line following an inline
    |         |     comment
 32 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
    |         |     16
 60 | ERROR   | [x] Array closing indentation error, expected 14 spaces
    |         |     but found 10
 61 | ERROR   | [x] Line indented incorrectly; expected 12 spaces, found
    |         |     10
 61 | ERROR   | [x] Object operator not indented correctly; expected 12
    |         |     spaces but found 10
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...mp/src/Plugin/Field/FieldFormatter/FieldCollectionLinksFormatter.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 11 | ERROR | [x] Missing class doc comment
 47 | ERROR | [x] You must use "/**" style comments for a function
    |       |     comment
 47 | ERROR | [x] Expected 1 blank line before function; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iew_temp/src/Plugin/Field/FieldWidget/FieldCollectionEmbedWidget.php
--------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
--------------------------------------------------------------------------
  32 | ERROR | [x] Inline comments must end in full-stops, exclamation
     |       |     marks, colons, question marks, or closing parentheses
 107 | ERROR | [x] Inline comments must end in full-stops, exclamation
     |       |     marks, colons, question marks, or closing parentheses
 130 | ERROR | [ ] Doc comment short description must start with a
     |       |     capital letter
 164 | ERROR | [ ] Doc comment short description must start with a
     |       |     capital letter
 200 | ERROR | [x] Use "elseif" in place of "else if"
 334 | ERROR | [ ] Missing parameter comment
 335 | ERROR | [ ] Missing parameter comment
 342 | ERROR | [x] Visibility must be declared on method "ajaxRemove"
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...src/Plugin/views/relationship/FieldCollectionHandlerRelationship.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
 17 | ERROR | [x] Expected 1 space before opening brace; found 2
 76 | ERROR | [x] Expected 1 blank line after function; 0 found
 77 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...review_temp/src/Plugin/migrate/destination/EntityFieldCollection.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
  8 | ERROR | [ ] Missing short description in doc comment
 33 | ERROR | [x] Expected 1 blank line after function; 0 found
 34 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...h/pareview_temp/src/Access/FieldCollectionItemHostOperationCheck.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 16 | ERROR | [ ] Parameter $route is not described in comment
 16 | ERROR | [ ] Parameter $field_collection_item_revision is not
    |       |     described in comment
 16 | ERROR | [ ] Parameter $field_collection_item is not described in
    |       |     comment
 22 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1
    |       |     spaces
 22 | ERROR | [x] Parameter comment must end with a full stop
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...w_temp/src/Access/FieldCollectionItemHostRevisionsOperationCheck.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
 41 | ERROR | [ ] Parameter $route is not described in comment
 41 | ERROR | [ ] Parameter $field_collection_item_revision is not
    |       |     described in comment
 41 | ERROR | [ ] Parameter $field_collection_item is not described in
    |       |     comment
 47 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1
    |       |     spaces
 47 | ERROR | [x] Parameter comment must end with a full stop
 63 | ERROR | [x] Use "elseif" in place of "else if"
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/src/Access/FieldCollectionItemHostAddOperationCheck.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 31 | ERROR | [ ] Parameter $host_type is not described in comment
 31 | ERROR | [ ] Parameter $host_id is not described in comment
 37 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1
    |       |     spaces
 37 | ERROR | [x] Parameter comment must end with a full stop
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...pareviewsh/pareview_temp/src/FieldCollectionAccessControlHandler.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 7 | ERROR | [x] Missing class doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iewsh/pareview_temp/src/Controller/FieldCollectionItemController.php
--------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------
 21 | ERROR | [ ] Parameter tags must be grouped together in a doc
    |       |     comment
 21 | ERROR | [ ] Missing parameter type
 24 | ERROR | [ ] Parameter tags must be grouped together in a doc
    |       |     comment
 24 | ERROR | [ ] Missing parameter type
 30 | ERROR | [x] Return comment indentation must be 3 spaces, found 1
    |       |     spaces
 76 | ERROR | [x] The first index in a multi-value array must be on a new
    |       |     line
 77 | ERROR | [x] Array indentation error, expected 8 spaces but found 6
 78 | ERROR | [x] Array indentation error, expected 8 spaces but found 6
 78 | ERROR | [x] Closing parenthesis of array declaration must be on a
    |       |     new line
 86 | ERROR | [x] Data types in @param tags need to be fully namespaced
 86 | ERROR | [x] Data types in @param tags need to be fully namespaced
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareviewsh/pareview_temp/src/Form/FieldCollectionItemDeleteForm.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------
 46 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 56 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/field_collection.theme.css
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
  1 | ERROR | [x] Selectors must be on a single line
  2 | ERROR | [x] Blank lines are not allowed between class names
  4 | ERROR | [x] CSS colours must be defined in lowercase; expected
    |       |     #d3d7d9 but found #D3D7D9
 19 | ERROR | [x] CSS colours must be defined in lowercase; expected
    |       |     #d3d7d9 but found #D3D7D9
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/field_collection.api.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 19 | ERROR | [x] Expected "bool" but found "boolean" for parameter type
 32 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...view_temp/tests/src/FunctionalJavascript/FieldCollectionAjaxTest.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------
 56 | WARNING | [ ] Line exceeds 80 characters; contains 117 characters
 56 | ERROR   | [x] No space found before comment text; expected "//
    |         |     $this->drupalPostAjaxForm('node/add/article', [],
    |         |     ['field_test_collection_add_more' => t('Add another
    |         |     item')]);" but found
    |         |     "//$this->drupalPostAjaxForm('node/add/article', [],
    |         |     ['field_test_collection_add_more' => t('Add another
    |         |     item')]);"
 56 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
 58 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
 69 | ERROR   | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareview_temp/tests/src/Functional/FieldCollectionBasicTestCase.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------
  11 | ERROR   | [ ] Comment indentation error, expected only 1 spaces
  13 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
  41 | ERROR   | [ ] Public method name
     |         |     "FieldCollectionBasicTestCase::testCRUD" is not in
     |         |     lowerCamel format
 214 | ERROR   | [ ] Public method name
     |         |     "FieldCollectionBasicTestCase::testBasicUI" is not
     |         |     in lowerCamel format
 241 | WARNING | [ ] Only string literals should be passed to t() where
     |         |     possible
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ewsh/pareview_temp/tests/src/Functional/FieldCollectionTestTrait.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
 19 | ERROR | Class property $field_collection_field_storage should use
    |       | lowerCamel naming without underscores
 26 | ERROR | Class property $field_collection_field should use
    |       | lowerCamel naming without underscores
 33 | ERROR | Class property $inner_field_name should use lowerCamel
    |       | naming without underscores
 40 | ERROR | Class property $inner_field_definition should use
    |       | lowerCamel naming without underscores
 47 | ERROR | Class property $field_collection_name should use lowerCamel
    |       | naming without underscores
--------------------------------------------------------------------------


FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/field_collection.views.inc
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 9 | WARNING | [x] Unused use statement
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 2.86 secs; Memory: 8Mb