Revision of https://git.drupal.org/project/gmap_polygon_field.git 8.x-1.x from Fri, 03/08/2019 - 22:43

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 e18adfa):
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
  • ESLint has found some issues with your code (please check the JavaScript coding standards). See attachment.
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: ...p/src/Plugin/Field/FieldFormatter/GmapPolygonFieldBasicFormatter.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     25 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     26 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...ew_temp/src/Plugin/Field/FieldWidget/GmapPolygonFieldBasicWidget.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     27 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     29 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...pal/pareviewsh/pareview_temp/src/Controller/SamplePageController.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     16 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/src/Form/SettingsForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     84 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    Time: 467ms; Memory: 4Mb
    
  • 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: ...00000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/README.txt
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 26 | WARNING | Line exceeds 80 characters; contains 88 characters
--------------------------------------------------------------------------


FILE: ...viewsh/pareview_temp/src/Plugin/Field/FieldType/GmapPolygonField.php
--------------------------------------------------------------------------
FOUND 28 ERRORS AND 1 WARNING AFFECTING 19 LINES
--------------------------------------------------------------------------
  7 | WARNING | [x] Unused use statement
 13 | ERROR   | [x] Whitespace found at end of line
 20 | ERROR   | [x] There must be exactly one newline after the class
    |         |     comment
 27 | ERROR   | [x] Expected 1 blank line before function; 0 found
 28 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 28 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 28 | ERROR   | [x] Short array syntax must be used to define arrays
 29 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 29 | ERROR   | [x] Short array syntax must be used to define arrays
 30 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 30 | ERROR   | [x] Array indentation error, expected 7 spaces but found
    |         |     6
 30 | ERROR   | [x] Short array syntax must be used to define arrays
 31 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 32 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 33 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 34 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 35 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 36 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 43 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 43 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 43 | ERROR   | [x] Short array syntax must be used to define arrays
 44 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 44 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 45 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 45 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 52 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 52 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 53 | ERROR   | [x] Expected 1 blank line after function; 0 found
 54 | ERROR   | [x] The closing brace for the class must have an empty
    |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...p/src/Plugin/Field/FieldFormatter/GmapPolygonFieldBasicFormatter.php
--------------------------------------------------------------------------
FOUND 62 ERRORS AFFECTING 29 LINES
--------------------------------------------------------------------------
 20 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
 21 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 22 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 23 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
 23 | ERROR | [x] Expected 1 blank line before function; 0 found
 24 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 24 | ERROR | [x] Short array syntax must be used to define arrays
 25 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 26 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 28 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 29 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 29 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4
 30 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 30 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
 30 | ERROR | [x] Short array syntax must be used to define arrays
 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 32 | ERROR | [x] Array indentation error, expected 7 spaces but found 10
 33 | ERROR | [x] Array indentation error, expected 7 spaces but found 10
 33 | ERROR | [x] Short array syntax must be used to define arrays
 34 | ERROR | [x] Array indentation error, expected 7 spaces but found 10
 34 | ERROR | [x] Short array syntax must be used to define arrays
 35 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 35 | ERROR | [x] Array indentation error, expected 12 spaces but found 6
 35 | ERROR | [x] Short array syntax must be used to define arrays
 36 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 36 | ERROR | [x] Array indentation error, expected 12 spaces but found 6
 36 | ERROR | [x] Short array syntax must be used to define arrays
 37 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 37 | ERROR | [x] Array indentation error, expected 8 spaces but found 7
 37 | ERROR | [x] Short array syntax must be used to define arrays
 38 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 38 | ERROR | [x] Array indentation error, expected 9 spaces but found 13
 38 | ERROR | [x] Short array syntax must be used to define arrays
 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 39 | ERROR | [x] Array indentation error, expected 9 spaces but found 13
 39 | ERROR | [x] Short array syntax must be used to define arrays
 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 40 | ERROR | [x] Array indentation error, expected 9 spaces but found 13
 40 | ERROR | [x] Short array syntax must be used to define arrays
 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 41 | ERROR | [x] Array indentation error, expected 9 spaces but found 13
 41 | ERROR | [x] Short array syntax must be used to define arrays
 42 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 42 | ERROR | [x] Array closing indentation error, expected 7 spaces but
    |       |     found 11
 43 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 44 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 44 | ERROR | [x] Array closing indentation error, expected 10 spaces but
    |       |     found 4
 45 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 47 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 47 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 48 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
 48 | ERROR | [x] Expected 1 blank line after function; 0 found
 49 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 62 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ew_temp/src/Plugin/Field/FieldWidget/GmapPolygonFieldBasicWidget.php
--------------------------------------------------------------------------
FOUND 78 ERRORS AFFECTING 34 LINES
--------------------------------------------------------------------------
 20 | ERROR | [x] There must be exactly one newline after the class
    |       |     comment
 26 | ERROR | [x] Expected 1 blank line before function; 0 found
 27 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 28 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 29 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 30 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 31 | ERROR | [x] Whitespace found at end of line
 32 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 32 | ERROR | [x] Short array syntax must be used to define arrays
 33 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 34 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 34 | ERROR | [x] Short array syntax must be used to define arrays
 35 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 35 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 35 | ERROR | [x] Array indentation error, expected 5 spaces but found 2
 36 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 36 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 36 | ERROR | [x] Array indentation error, expected 5 spaces but found 2
 36 | ERROR | [x] Short array syntax must be used to define arrays
 36 | ERROR | [x] Short array syntax must be used to define arrays
 37 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 37 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 37 | ERROR | [x] Array indentation error, expected 5 spaces but found 2
 37 | ERROR | [x] Short array syntax must be used to define arrays
 38 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 38 | ERROR | [x] Short array syntax must be used to define arrays
 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 39 | ERROR | [x] Short array syntax must be used to define arrays
 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 40 | ERROR | [x] Array indentation error, expected 6 spaces but found 5
 40 | ERROR | [x] Short array syntax must be used to define arrays
 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 41 | ERROR | [x] Array indentation error, expected 7 spaces but found 11
 41 | ERROR | [x] Short array syntax must be used to define arrays
 42 | ERROR | [x] Array indentation error, expected 7 spaces but found 14
 42 | ERROR | [x] Short array syntax must be used to define arrays
 43 | ERROR | [x] Array indentation error, expected 7 spaces but found 14
 43 | ERROR | [x] Short array syntax must be used to define arrays
 44 | ERROR | [x] Array indentation error, expected 7 spaces but found 14
 44 | ERROR | [x] Short array syntax must be used to define arrays
 45 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 45 | ERROR | [x] Array closing indentation error, expected 5 spaces but
    |       |     found 9
 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 47 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 48 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 48 | ERROR | [x] Array closing indentation error, expected 3 spaces but
    |       |     found 1
 49 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 49 | ERROR | [x] Short array syntax must be used to define arrays
 50 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 50 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 50 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 51 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 51 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 51 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 51 | ERROR | [x] Short array syntax must be used to define arrays
 51 | ERROR | [x] Short array syntax must be used to define arrays
 52 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 52 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 52 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 53 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 53 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 53 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 54 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 56 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 57 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 57 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 58 | ERROR | [x] Expected 1 blank line after function; 0 found
 59 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 78 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...pal/pareviewsh/pareview_temp/src/Controller/SamplePageController.php
--------------------------------------------------------------------------
FOUND 73 ERRORS AFFECTING 32 LINES
--------------------------------------------------------------------------
 14 | ERROR | [x] Expected 1 blank line before function; 0 found
 15 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 15 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 16 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 16 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 17 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 17 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 18 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 18 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
 18 | ERROR | [x] Short array syntax must be used to define arrays
 19 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 19 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces,
    |       |     found 5
 20 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 20 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces,
    |       |     found 2
 20 | ERROR | [x] Array indentation error, expected 5 spaces but found 2
 21 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 22 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 22 | ERROR | [x] Closing brace indented incorrectly; expected 3 spaces,
    |       |     found 1
 24 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 24 | ERROR | [x] Short array syntax must be used to define arrays
 25 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 25 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 25 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 26 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 26 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 26 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 26 | ERROR | [x] Short array syntax must be used to define arrays
 26 | ERROR | [x] Short array syntax must be used to define arrays
 27 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 27 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 27 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 27 | ERROR | [x] Short array syntax must be used to define arrays
 28 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 28 | ERROR | [x] Short array syntax must be used to define arrays
 29 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 29 | ERROR | [x] Short array syntax must be used to define arrays
 30 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 30 | ERROR | [x] Array indentation error, expected 6 spaces but found 5
 30 | ERROR | [x] Short array syntax must be used to define arrays
 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 31 | ERROR | [x] Array indentation error, expected 7 spaces but found 11
 32 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 32 | ERROR | [x] Array indentation error, expected 7 spaces but found 11
 33 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 33 | ERROR | [x] Array indentation error, expected 7 spaces but found 11
 34 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 34 | ERROR | [x] Array indentation error, expected 7 spaces but found 11
 35 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 35 | ERROR | [x] Array closing indentation error, expected 5 spaces but
    |       |     found 9
 36 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 37 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 38 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 39 | ERROR | [x] Short array syntax must be used to define arrays
 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 40 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 40 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 41 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 41 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 41 | ERROR | [x] Short array syntax must be used to define arrays
 41 | ERROR | [x] Short array syntax must be used to define arrays
 42 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 42 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces,
    |       |     found 2
 42 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
 43 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 44 | ERROR | [x] Spaces must be used to indent lines; tabs are not
    |       |     allowed
 44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
 45 | ERROR | [x] Expected 1 blank line after function; 0 found
 46 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 73 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/src/Form/SettingsForm.php
--------------------------------------------------------------------------
FOUND 31 ERRORS AND 2 WARNINGS AFFECTING 27 LINES
--------------------------------------------------------------------------
   3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
     |         |     begin with a file doc comment
   8 | ERROR   | [x] There must be one blank line after the namespace
     |         |     declaration
  12 | ERROR   | [x] Missing class doc comment
  16 | ERROR   | [x] Expected 1 blank line before function; 0 found
  17 | ERROR   | [x] Short array syntax must be used to define arrays
  28 | ERROR   | [x] Whitespace found at end of line
  35 | ERROR   | [x] Short array syntax must be used to define arrays
  45 | ERROR   | [x] Short array syntax must be used to define arrays
  51 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
  53 | ERROR   | [x] Short array syntax must be used to define arrays
  56 | ERROR   | [x] Short array syntax must be used to define arrays
  62 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
  64 | ERROR   | [x] Short array syntax must be used to define arrays
  67 | ERROR   | [x] Short array syntax must be used to define arrays
  75 | ERROR   | [x] Short array syntax must be used to define arrays
  78 | ERROR   | [x] Short array syntax must be used to define arrays
  86 | ERROR   | [x] Short array syntax must be used to define arrays
  89 | ERROR   | [x] Short array syntax must be used to define arrays
  91 | ERROR   | [x] Short array syntax must be used to define arrays
 124 | ERROR   | [ ] Type hint "array" missing for $element
 124 | ERROR   | [ ] Type hint "array" missing for $complete_form
 124 | ERROR   | [ ] Public method name "SettingsForm::validate_color" is
     |         |     not in lowerCamel format
 128 | ERROR   | [x] Short array syntax must be used to define arrays
 142 | ERROR   | [ ] Type hint "array" missing for $element
 142 | ERROR   | [ ] Type hint "array" missing for $complete_form
 142 | ERROR   | [ ] Public method name
     |         |     "SettingsForm::validate_stroke_opacity" is not in
     |         |     lowerCamel format
 145 | ERROR   | [x] Short array syntax must be used to define arrays
 159 | ERROR   | [ ] Type hint "array" missing for $element
 159 | ERROR   | [ ] Type hint "array" missing for $complete_form
 159 | ERROR   | [ ] Public method name
     |         |     "SettingsForm::validate_stroke_weight" is not in
     |         |     lowerCamel format
 162 | ERROR   | [x] Short array syntax must be used to define arrays
 164 | ERROR   | [x] Expected 1 blank line after function; 0 found
 165 | ERROR   | [x] The closing brace for the class must have an empty
     |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 22 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/gmap_polygon_field.module
--------------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 8 LINES
--------------------------------------------------------------------------
  8 | WARNING | [x] Unused use statement
  8 | ERROR   | [x] When importing a class with "use", do not include a
    |         |     leading \
 16 | ERROR   | [x] Expected 1 space after "="; 2 found
 17 | ERROR   | [x] Short array syntax must be used to define arrays
 19 | ERROR   | [x] Short array syntax must be used to define arrays
 20 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 20 | ERROR   | [x] Array indentation error, expected 4 spaces but found
    |         |     3
 20 | ERROR   | [x] Short array syntax must be used to define arrays
 21 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 21 | ERROR   | [x] Array indentation error, expected 4 spaces but found
    |         |     3
 21 | ERROR   | [x] Short array syntax must be used to define arrays
 22 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
 22 | ERROR   | [x] Array indentation error, expected 5 spaces but found
    |         |     4
 22 | ERROR   | [x] Short array syntax must be used to define arrays
 23 | ERROR   | [x] Spaces must be used to indent lines; tabs are not
    |         |     allowed
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...b/vendor/drupal/pareviewsh/pareview_temp/gmap_polygon_field.info.yml
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 1 | WARNING | Remove "version" from the info file, it will be added by
   |         | drupal.org packaging automatically
--------------------------------------------------------------------------

Time: 1 secs; Memory: 6Mb
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 27, col 9, Error - Expected space(s) after "if". (keyword-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 27, col 9, Error - Expected { after 'if' condition. (curly)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 39, col 39, Error - Unexpected trailing comma. (comma-dangle)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 51, col 31, Error - Unexpected trailing comma. (comma-dangle)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 53, col 9, Error - Expected { after 'if' condition. (curly)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 53, col 9, Error - Expected space(s) after "if". (keyword-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 53, col 68, Error - Expected '===' and instead saw '=='. (eqeqeq)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 53, col 128, Error - Expected '===' and instead saw '=='. (eqeqeq)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 55, col 9, Error - Expected { after 'if' condition. (curly)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 55, col 9, Error - Expected space(s) after "if". (keyword-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 55, col 66, Error - Expected '===' and instead saw '=='. (eqeqeq)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 55, col 124, Error - Expected '===' and instead saw '=='. (eqeqeq)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 57, col 9, Error - Expected { after 'if' condition. (curly)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 57, col 9, Error - Expected space(s) after "if". (keyword-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 59, col 9, Error - Expected { after 'if' condition. (curly)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 59, col 9, Error - Expected space(s) after "if". (keyword-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 95, col 27, Error - Multiple spaces found before 'function'. (no-multi-spaces)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 96, col 13, Error - Split 'var' declarations into multiple statements. (one-var)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 99, col 33, Error - Expected '===' and instead saw '=='. (eqeqeq)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/gmap_polygon_field.js: line 99, col 36, Error - Unexpected use of undefined. (no-undefined)

20 problems