Revision of http://git.drupal.org/project/country_state_city from Wed, 03/25/2020 - 22:24

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Review of the 8.x-1.x branch (commit 31cc7c1):
  • Bad line endings were found, always use unix style terminators. See https://www.drupal.org/coding-standards#indenting
    ./data/cities.json:                                                     ASCII text, with very long lines, with no line terminators
    
    
  • 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: ...viewsh/pareview_temp/src/Plugin/Field/FieldType/CountryStateType.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     108 | WARNING | Variable $city is undefined.
    --------------------------------------------------------------------------
    
    
    FILE: ...sh/pareview_temp/src/Plugin/Field/FieldFormatter/ContryFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     60 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...ew_temp/src/Plugin/Field/FieldFormatter/ContryStateCityFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
     60 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     61 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     62 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...areview_temp/src/Plugin/Field/FieldFormatter/ContryISO3Formatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     60 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...areview_temp/src/Plugin/Field/FieldFormatter/ContryISO2Formatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     60 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...review_temp/src/Plugin/Field/FieldFormatter/ContryStateFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     60 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     61 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...sh/pareview_temp/src/Plugin/Field/FieldWidget/CountryStateWidget.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 14 WARNINGS AFFECTING 14 LINES
    --------------------------------------------------------------------------
      57 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      64 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      66 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      78 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      80 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      91 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
      99 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     103 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     130 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     137 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     141 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     155 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     165 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     175 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...areview_temp/src/Plugin/Field/FieldWidget/CountryStateCityWidget.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 19 WARNINGS AFFECTING 19 LINES
    --------------------------------------------------------------------------
      58 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      65 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      67 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      79 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      81 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      92 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     100 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     104 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     121 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     129 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     133 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     163 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     170 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     174 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     188 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     198 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     208 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     219 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     230 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...eviewsh/pareview_temp/src/Plugin/Field/FieldWidget/CountryWidget.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES
    --------------------------------------------------------------------------
      56 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      63 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      65 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      77 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      79 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      99 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     106 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     110 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     130 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...endor/drupal/pareviewsh/pareview_temp/src/Form/StateSettingsForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     68 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...vendor/drupal/pareviewsh/pareview_temp/src/Form/CitySettingsForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     68 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Form/CountrySettingsForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     68 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...endor/drupal/pareviewsh/pareview_temp/country_state_city.routing.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    --------------------------------------------------------------------------
      48 | WARNING | The administration page callback should probably use
         |         | "administer site configuration" - which implies the user
         |         | can change something - rather than "access
         |         | administration pages" which is about viewing but not
         |         | changing configurations.
     101 | WARNING | The administration page callback should probably use
         |         | "administer site configuration" - which implies the user
         |         | can change something - rather than "access
         |         | administration pages" which is about viewing but not
         |         | changing configurations.
     154 | WARNING | The administration page callback should probably use
         |         | "administer site configuration" - which implies the user
         |         | can change something - rather than "access
         |         | administration pages" which is about viewing but not
         |         | changing configurations.
     164 | WARNING | The administration page callback should probably use
         |         | "administer site configuration" - which implies the user
         |         | can change something - rather than "access
         |         | administration pages" which is about viewing but not
         |         | changing configurations.
     172 | WARNING | The administration page callback should probably use
         |         | "administer site configuration" - which implies the user
         |         | can change something - rather than "access
         |         | administration pages" which is about viewing but not
         |         | changing configurations.
    --------------------------------------------------------------------------
    
    Time: 2.67 secs; Memory: 6Mb
    
  • No automated test cases were found, did you consider writing PHPUnit tests? This is not a requirement but encouraged for professional software development.
This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/README.md
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 49 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/country_state_city.module
--------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------
  8 | WARNING | [x] Unused use statement
 13 | ERROR   | [x] Namespaced classes/interfaces/traits should be
    |         |     referenced with use statements
 30 | ERROR   | [x] Expected 1 blank line after function; 2 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/src/Entity/CountryList.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------
  12 | WARNING | [x] Unused use statement
  99 | ERROR   | [ ] Public method name "CountryList::getISO2" is not in
     |         |     lowerCamel format
 106 | ERROR   | [ ] Public method name "CountryList::setISO2" is not in
     |         |     lowerCamel format
 114 | ERROR   | [ ] Public method name "CountryList::getISO3" is not in
     |         |     lowerCamel format
 121 | ERROR   | [ ] Public method name "CountryList::setISO3" is not in
     |         |     lowerCamel format
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/src/Entity/StateList.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 12 | WARNING | [x] Unused use statement
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/Entity/CityList.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 12 | WARNING | [x] Unused use statement
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areviewsh/pareview_temp/src/Entity/Controller/CountryListBuilder.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 82 | ERROR | [x] Expected 1 space before "+"; 0 found
 82 | ERROR | [x] Expected 1 space after "+"; 0 found
 94 | ERROR | [x] Expected 1 space before "+"; 0 found
 94 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...l/pareviewsh/pareview_temp/src/Entity/Controller/CityListBuilder.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
 78 | ERROR | [x] Whitespace found at end of line
 79 | ERROR | [x] Expected 1 space before "+"; 0 found
 79 | ERROR | [x] Expected 1 space after "+"; 0 found
 87 | ERROR | [x] Whitespace found at end of line
 88 | ERROR | [x] Expected 1 space before "+"; 0 found
 88 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareviewsh/pareview_temp/src/Entity/Controller/StateListBuilder.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 79 | ERROR | [x] Expected 1 space before "+"; 0 found
 79 | ERROR | [x] Expected 1 space after "+"; 0 found
 88 | ERROR | [x] Expected 1 space before "+"; 0 found
 88 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/src/CityListInterface.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 17 | ERROR | [x] Whitespace found at end of line
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareviewsh/pareview_temp/src/Plugin/Field/FieldType/CountryType.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------
 32 | ERROR | [x] Array closing indentation error, expected 4 spaces but
    |       |     found 6
 32 | ERROR | [x] Expected 1 space before "+"; 0 found
 32 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...viewsh/pareview_temp/src/Plugin/Field/FieldType/CountryStateType.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------
 32 | ERROR | [x] Array closing indentation error, expected 4 spaces but
    |       |     found 6
 32 | ERROR | [x] Expected 1 space before "+"; 0 found
 32 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...sh/pareview_temp/src/Plugin/Field/FieldType/CountryStateCityType.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------
 32 | ERROR | [x] Array closing indentation error, expected 4 spaces but
    |       |     found 6
 32 | ERROR | [x] Expected 1 space before "+"; 0 found
 32 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...sh/pareview_temp/src/Plugin/Field/FieldFormatter/ContryFormatter.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 30 | ERROR | [x] Expected 1 space before "+"; 0 found
 30 | ERROR | [x] Expected 1 space after "+"; 0 found
 39 | ERROR | [x] Expected 1 space before "+"; 0 found
 39 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ew_temp/src/Plugin/Field/FieldFormatter/ContryStateCityFormatter.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 30 | ERROR | [x] Expected 1 space before "+"; 0 found
 30 | ERROR | [x] Expected 1 space after "+"; 0 found
 39 | ERROR | [x] Expected 1 space before "+"; 0 found
 39 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/src/Plugin/Field/FieldFormatter/ContryISO3Formatter.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 30 | ERROR | [x] Expected 1 space before "+"; 0 found
 30 | ERROR | [x] Expected 1 space after "+"; 0 found
 39 | ERROR | [x] Expected 1 space before "+"; 0 found
 39 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/src/Plugin/Field/FieldFormatter/ContryISO2Formatter.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 30 | ERROR | [x] Expected 1 space before "+"; 0 found
 30 | ERROR | [x] Expected 1 space after "+"; 0 found
 39 | ERROR | [x] Expected 1 space before "+"; 0 found
 39 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...review_temp/src/Plugin/Field/FieldFormatter/ContryStateFormatter.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 30 | ERROR | [x] Expected 1 space before "+"; 0 found
 30 | ERROR | [x] Expected 1 space after "+"; 0 found
 39 | ERROR | [x] Expected 1 space before "+"; 0 found
 39 | ERROR | [x] Expected 1 space after "+"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...sh/pareview_temp/src/Plugin/Field/FieldWidget/CountryStateWidget.php
--------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
  29 | ERROR | [x] Array closing indentation error, expected 4 spaces but
     |       |     found 6
  29 | ERROR | [x] Expected 1 space before "+"; 0 found
  29 | ERROR | [x] Expected 1 space after "+"; 0 found
  98 | ERROR | [x] Expected 1 space after "=="; 0 found
 102 | ERROR | [x] Expected 1 space before ">"; 0 found
 102 | ERROR | [x] Expected 1 space after ">"; 0 found
 136 | ERROR | [x] Expected 1 space after "=="; 0 found
 140 | ERROR | [x] Expected 1 space before ">"; 0 found
 140 | ERROR | [x] Expected 1 space after ">"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/src/Plugin/Field/FieldWidget/CountryStateCityWidget.php
--------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------
  29 | ERROR | [x] Array closing indentation error, expected 4 spaces but
     |       |     found 6
  29 | ERROR | [x] Expected 1 space before "+"; 0 found
  29 | ERROR | [x] Expected 1 space after "+"; 0 found
  99 | ERROR | [x] Expected 1 space after "=="; 0 found
 103 | ERROR | [x] Expected 1 space before ">"; 0 found
 103 | ERROR | [x] Expected 1 space after ">"; 0 found
 128 | ERROR | [x] Expected 1 space after "=="; 0 found
 132 | ERROR | [x] Expected 1 space before ">"; 0 found
 132 | ERROR | [x] Expected 1 space after ">"; 0 found
 169 | ERROR | [x] Expected 1 space after "=="; 0 found
 173 | ERROR | [x] Expected 1 space before ">"; 0 found
 173 | ERROR | [x] Expected 1 space after ">"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eviewsh/pareview_temp/src/Plugin/Field/FieldWidget/CountryWidget.php
--------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------
  29 | ERROR   | [x] Array closing indentation error, expected 4 spaces
     |         |     but found 6
  29 | ERROR   | [x] Expected 1 space before "+"; 0 found
  29 | ERROR   | [x] Expected 1 space after "+"; 0 found
 105 | ERROR   | [x] Expected 1 space after "=="; 0 found
 109 | ERROR   | [x] Expected 1 space before ">"; 0 found
 109 | ERROR   | [x] Expected 1 space after ">"; 0 found
 117 | ERROR   | [x] Short array syntax must be used to define arrays
 121 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: TRUE
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...endor/drupal/pareviewsh/pareview_temp/src/Form/StateSettingsForm.php
--------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 9 LINES
--------------------------------------------------------------------------
  23 | ERROR   | [ ] Parameter $config_factory is not described in
     |         |     comment
  23 | ERROR   | [ ] Parameter $messenger is not described in comment
  31 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
  32 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 120 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 121 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 122 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 126 | ERROR   | [x] There must not be a single space before a unary
     |         |     operator statement
 130 | ERROR   | [x] Expected 1 space after "!="; 0 found
 131 | ERROR   | [x] Expected 1 space before "/"; 0 found
 131 | ERROR   | [x] Expected 1 space after "/"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...vendor/drupal/pareviewsh/pareview_temp/src/Form/CitySettingsForm.php
--------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 9 LINES
--------------------------------------------------------------------------
  23 | ERROR   | [ ] Parameter $config_factory is not described in
     |         |     comment
  23 | ERROR   | [ ] Parameter $messenger is not described in comment
  31 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
  32 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 120 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 121 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 122 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 126 | ERROR   | [x] There must not be a single space before a unary
     |         |     operator statement
 130 | ERROR   | [x] Expected 1 space after "!="; 0 found
 131 | ERROR   | [x] Expected 1 space before "/"; 0 found
 131 | ERROR   | [x] Expected 1 space after "/"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Form/CountrySettingsForm.php
--------------------------------------------------------------------------
FOUND 12 ERRORS AND 1 WARNING AFFECTING 11 LINES
--------------------------------------------------------------------------
  23 | ERROR   | [ ] Parameter $config_factory is not described in
     |         |     comment
  23 | ERROR   | [ ] Parameter $messenger is not described in comment
  31 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
  32 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 120 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 121 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 122 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 123 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 124 | ERROR   | [x] Array indentation error, expected 8 spaces but found
     |         |     10
 128 | ERROR   | [x] There must not be a single space before a unary
     |         |     operator statement
 132 | ERROR   | [x] Expected 1 space after "!="; 0 found
 133 | ERROR   | [x] Expected 1 space before "/"; 0 found
 133 | ERROR   | [x] Expected 1 space after "/"; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 4.91 secs; Memory: 8Mb