https://git.drupal.org/project/spreadshop.git 8.x-1.x

Primary tabs

Review of the 8.x-1.x branch (commit 6e2285d):
  • Remove LICENSE.txt, it will be added by drupal.org packaging automatically.
  • The spreadshop.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
  • Bad line endings were found, always use unix style terminators. See https://www.drupal.org/coding-standards#indenting
    ./README.md:                               UTF-8 Unicode text, with very long lines, with CRLF line terminators
    ./img/spreadshop_logo_small.svg:           HTML document, ASCII text, with very long lines, with no line terminators
    README.md
    
  • 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).
    /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/spreadshop.config.js: line 9, col 5, Error - Expected indentation of 2 spaces but found 4. (indent)
    /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/spreadshop.config.js: line 11, col 5, Error - Expected indentation of 2 spaces but found 4. (indent)
    /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/spreadshop.config.js: line 12, col 9, Error - Expected indentation of 6 spaces but found 8. (indent)
    /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/spreadshop.config.js: line 14, col 13, Error - Expected indentation of 10 spaces but found 12. (indent)
    /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/spreadshop.config.js: line 29, col 6, Error - Missing semicolon. (semi)
    /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/spreadshop.config.js: line 30, col 36, Error - Newline required at end of file but not found. (eol-last)
    
    6 problems
    
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: ...ite1101/web/vendor/drupal/pareviewsh/pareview_temp/spreadshop.module
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
      9 | WARNING | Global constants should not be used, move it to a class
        |         | or interface
     10 | WARNING | Global constants should not be used, move it to a class
        |         | or interface
    --------------------------------------------------------------------------
    
    
    FILE: .../drupal/pareviewsh/pareview_temp/src/Service/SpreadshopYmlLoader.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     12 | WARNING | @author tags are not usually used in Drupal, because over
        |         | time multiple contributors will touch the code anyway
    --------------------------------------------------------------------------
    
    
    FILE: ...pal/pareviewsh/pareview_temp/src/Controller/SpreadshopController.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     85 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...or/drupal/pareviewsh/pareview_temp/src/Form/SpreadshopConfigForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
     145 | WARNING | Unused variable $formLinkArray.
     149 | WARNING | Unused variable $formLinkEntryKey.
     312 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
    --------------------------------------------------------------------------
    
    Time: 541ms; 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: ...ite1101/web/vendor/drupal/pareviewsh/pareview_temp/spreadshop.module
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------
  7 | ERROR   | [x] Additional blank lines found at end of doc comment
 15 | WARNING | [ ] Hook implementations should not duplicate @param
    |         |     documentation
 15 | ERROR   | [ ] Missing parameter comment
 18 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/README.md
--------------------------------------------------------------------------
FOUND 1 ERROR AND 17 WARNINGS AFFECTING 18 LINES
--------------------------------------------------------------------------
   5 | WARNING | [ ] Line exceeds 80 characters; contains 170 characters
  10 | WARNING | [ ] Line exceeds 80 characters; contains 171 characters
  12 | WARNING | [ ] Line exceeds 80 characters; contains 193 characters
  51 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
  58 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
  61 | WARNING | [ ] Line exceeds 80 characters; contains 180 characters
  64 | WARNING | [ ] Line exceeds 80 characters; contains 367 characters
  67 | WARNING | [ ] Line exceeds 80 characters; contains 215 characters
  70 | WARNING | [ ] Line exceeds 80 characters; contains 135 characters
  95 | WARNING | [ ] Line exceeds 80 characters; contains 129 characters
  96 | WARNING | [ ] Line exceeds 80 characters; contains 109 characters
  99 | WARNING | [ ] Line exceeds 80 characters; contains 289 characters
 102 | WARNING | [ ] Line exceeds 80 characters; contains 316 characters
 105 | WARNING | [ ] Line exceeds 80 characters; contains 224 characters
 108 | WARNING | [ ] Line exceeds 80 characters; contains 219 characters
 111 | WARNING | [ ] Line exceeds 80 characters; contains 228 characters
 116 | WARNING | [ ] Line exceeds 80 characters; contains 266 characters
 131 | ERROR   | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Routing/SpreadshopRoutes.php
--------------------------------------------------------------------------
FOUND 34 ERRORS AND 3 WARNINGS AFFECTING 31 LINES
--------------------------------------------------------------------------
 10 | ERROR   | [x] Doc comment long description must end with a full
    |         |     stop
 13 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
    |         |     found 2
 14 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
    |         |     found 2
 15 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
    |         |     found 5
 18 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 20 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 21 | ERROR   | [x] Doc comment short description must end with a full
    |         |     stop
 23 | ERROR   | [ ] Content missing for @var tag in member variable
    |         |     comment
 25 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 25 | WARNING | [ ] Property name "$_form" should not be prefixed with an
    |         |     underscore to indicate visibility
 25 | ERROR   | [ ] Class property $_form should use lowerCamel naming
    |         |     without underscores
 25 | ERROR   | [ ] There must not be more than one property declared per
    |         |     statement
 25 | WARNING | [ ] Property name "$_formValue" should not be prefixed
    |         |     with an underscore to indicate visibility
 25 | ERROR   | [ ] Class property $_formValue should use lowerCamel
    |         |     naming without underscores
 28 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 29 | ERROR   | [x] Doc comment short description must end with a full
    |         |     stop
 33 | ERROR   | [ ] Description for the @return value is missing
 35 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 35 | ERROR   | [x] Expected 1 blank line before function; 2 found
 36 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 37 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 38 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 39 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 44 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found:
    |         |     '\Drupal\spreadshop\Controller\SpreadshopController::spreadshopPage'
 48 | ERROR   | [x] Array indentation error, expected 14 spaces but found
    |         |     12
 51 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 52 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 54 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 55 | ERROR   | [x] Doc comment short description must end with a full
    |         |     stop
 57 | ERROR   | [ ] Description for the @return value is missing
 59 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 60 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 61 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 62 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 64 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 8
 65 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 4
 66 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../drupal/pareviewsh/pareview_temp/src/Service/SpreadshopYmlLoader.php
--------------------------------------------------------------------------
FOUND 35 ERRORS AFFECTING 24 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
  5 | ERROR | [x] Doc comment short description must end with a full stop
  5 | ERROR | [ ] Doc comment short description must be on a single line,
    |       |     further text should be a separate paragraph
 11 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 2
 12 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 3
 13 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 2
 14 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 2
 15 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 5
 20 | ERROR | [x] There must be one blank line after the last USE
    |       |     statement; 2 found;
 24 | ERROR | [x] Doc comment short description must end with a full stop
 27 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 2
 28 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 2
 29 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
    |       |     found 5
 32 | ERROR | [x] Opening brace should be on the same line as the
    |       |     declaration
 35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 36 | ERROR | [x] Doc comment short description must end with a full stop
 38 | ERROR | [ ] Parameter comment must start with a capital letter
 38 | ERROR | [x] Parameter comment must be on the next line
 38 | ERROR | [x] Parameter comment must end with a full stop
 39 | ERROR | [ ] Parameter comment must start with a capital letter
 39 | ERROR | [x] Parameter comment must be on the next line
 39 | ERROR | [x] Parameter comment must end with a full stop
 41 | ERROR | [ ] Description for the @return value is missing
 43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 43 | ERROR | [ ] Type hint "fileName" missing for $fileName
 43 | ERROR | [ ] Type hint "array" missing for $arrayKey
 43 | ERROR | [x] Expected 1 blank line before function; 2 found
 44 | ERROR | [x] Opening brace should be on the same line as the
    |       |     declaration
 46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 46 | ERROR | [x] Concat operator must be surrounded by a single space
 46 | ERROR | [x] Concat operator must be surrounded by a single space
 46 | ERROR | [x] Concat operator must be surrounded by a single space
 48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 51 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...pal/pareviewsh/pareview_temp/src/Controller/SpreadshopController.php
--------------------------------------------------------------------------
FOUND 97 ERRORS AND 5 WARNINGS AFFECTING 77 LINES
--------------------------------------------------------------------------
   3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
     |         |     begin with a file doc comment
   5 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
   5 | ERROR   | [ ] Doc comment short description must be on a single
     |         |     line, further text should be a separate paragraph
  11 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 2
  12 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 2
  13 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 2
  14 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 5
  22 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
  24 | ERROR   | [x] Doc comment long description must end with a full
     |         |     stop
  27 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 2
  28 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 2
  29 | ERROR   | [x] Tag value indented incorrectly; expected 1 space but
     |         |     found 5
  32 | ERROR   | [x] Opening brace should be on the same line as the
     |         |     declaration
  34 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  35 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
  37 | ERROR   | [ ] Content missing for @var tag in member variable
     |         |     comment
  39 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  39 | WARNING | [ ] Property name "$_form" should not be prefixed with
     |         |     an underscore to indicate visibility
  39 | ERROR   | [ ] Class property $_form should use lowerCamel naming
     |         |     without underscores
  39 | ERROR   | [ ] There must not be more than one property declared
     |         |     per statement
  39 | WARNING | [ ] Property name "$_formValue" should not be prefixed
     |         |     with an underscore to indicate visibility
  39 | ERROR   | [ ] Class property $_formValue should use lowerCamel
     |         |     naming without underscores
  39 | WARNING | [ ] Property name "$_jsSettings" should not be prefixed
     |         |     with an underscore to indicate visibility
  39 | ERROR   | [ ] Class property $_jsSettings should use lowerCamel
     |         |     naming without underscores
  39 | WARNING | [ ] Property name "$_integrationProvider" should not be
     |         |     prefixed with an underscore to indicate visibility
  39 | ERROR   | [ ] Class property $_integrationProvider should use
     |         |     lowerCamel naming without underscores
  39 | WARNING | [ ] Property name "$_prefixRegion" should not be
     |         |     prefixed with an underscore to indicate visibility
  39 | ERROR   | [ ] Class property $_prefixRegion should use lowerCamel
     |         |     naming without underscores
  41 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  44 | ERROR   | [ ] Description for the @return value is missing
  46 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  47 | ERROR   | [x] Opening brace should be on the same line as the
     |         |     declaration
  48 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  49 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 8
  50 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 12
  52 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 8
  53 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 12
  57 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 12
  58 | ERROR   | [x] Array indentation error, expected 14 spaces but
     |         |     found 16
  59 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  60 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  61 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  62 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  63 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  64 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  65 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  66 | ERROR   | [x] Array indentation error, expected 18 spaces but
     |         |     found 20
  72 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  73 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  75 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  78 | ERROR   | [ ] Parameter comment must start with a capital letter
  78 | ERROR   | [x] Parameter comment must be on the next line
  78 | ERROR   | [x] Parameter comment must end with a full stop
  80 | ERROR   | [ ] Description for the @return value is missing
  82 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
  82 | ERROR   | [ ] Type hint "value" missing for $value
  83 | ERROR   | [x] Opening brace should be on the same line as the
     |         |     declaration
  85 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  87 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  87 | ERROR   | [x] Namespaced classes/interfaces/traits should be
     |         |     referenced with use statements
  88 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  90 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
  91 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
  92 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
  93 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
  93 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
  94 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
  95 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
  96 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
  96 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
  97 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
  98 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
  99 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
  99 | ERROR   | [x] Concat operator must be surrounded by a single space
 100 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 100 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
 101 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 102 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
 103 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 103 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
 104 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 105 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
 106 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 106 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
 107 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 108 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
 109 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 109 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
 110 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 111 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
 112 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 112 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
 113 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 114 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
 115 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
 115 | ERROR   | [x] Case breaking statement indented incorrectly;
     |         |     expected 10 spaces, found 12
 116 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     8
 117 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     12
 118 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
 120 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     8
 121 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
 122 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 85 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...or/drupal/pareviewsh/pareview_temp/src/Form/SpreadshopConfigForm.php
--------------------------------------------------------------------------
FOUND 194 ERRORS AFFECTING 140 LINES
--------------------------------------------------------------------------
   3 | ERROR | [x] Namespaced classes, interfaces and traits should not
     |       |     begin with a file doc comment
   5 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
   5 | ERROR | [ ] Doc comment short description must be on a single
     |       |     line, further text should be a separate paragraph
  11 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 2
  12 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 2
  13 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 2
  14 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 5
  25 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
  28 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 2
  29 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 2
  30 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
     |       |     found 5
  33 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
  35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  36 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
  40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  43 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
  47 | ERROR | [ ] Description for the @return value is missing
  49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  50 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
  51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  52 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  55 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
  59 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
  59 | ERROR | [ ] Parameter comment must start with a capital letter
  59 | ERROR | [x] Parameter comment must be on the next line
  59 | ERROR | [x] Parameter comment must end with a full stop
  60 | ERROR | [ ] Parameter comment must start with a capital letter
  60 | ERROR | [x] Data types in @param tags need to be fully namespaced
  60 | ERROR | [x] Parameter comment must be on the next line
  60 | ERROR | [x] Parameter comment must end with a full stop
  62 | ERROR | [ ] Description for the @return value is missing
  64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
  65 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
  67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  69 | ERROR | [x] Namespaced classes/interfaces/traits should be
     |       |     referenced with use statements
  70 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  72 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  79 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  82 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
     |       |     "TRUE" but found "true"
  86 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
  97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 100 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
     |       |     "TRUE" but found "true"
 104 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 109 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 114 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 117 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
     |       |     "FALSE" but found "false"
 121 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 136 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 142 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 143 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 145 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 147 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 149 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 151 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
 153 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
 159 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 160 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 162 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 167 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 170 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 171 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
 175 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
 175 | ERROR | [ ] Parameter comment must start with a capital letter
 175 | ERROR | [x] Parameter comment must be on the next line
 175 | ERROR | [x] Parameter comment must end with a full stop
 176 | ERROR | [ ] Parameter comment must start with a capital letter
 176 | ERROR | [x] Data types in @param tags need to be fully namespaced
 176 | ERROR | [x] Parameter comment must be on the next line
 176 | ERROR | [x] Parameter comment must end with a full stop
 178 | ERROR | [ ] If there is no return value for a function, there must
     |       |     not be a @return tag.
 178 | ERROR | [ ] Description for the @return value is missing
 180 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 181 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
 182 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 184 | ERROR | [x] Object operator not indented correctly; expected 14
     |       |     spaces but found 16
 187 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 188 | ERROR | [x] Object operator not indented correctly; expected 14
     |       |     spaces but found 16
 190 | ERROR | [x] Object operator not indented correctly; expected 22
     |       |     spaces but found 20
 192 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 196 | ERROR | [x] Object operator not indented correctly; expected 14
     |       |     spaces but found 16
 199 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 200 | ERROR | [x] Object operator not indented correctly; expected 14
     |       |     spaces but found 16
 202 | ERROR | [x] Object operator not indented correctly; expected 22
     |       |     spaces but found 20
 204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 206 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 208 | ERROR | [x] Object operator not indented correctly; expected 14
     |       |     spaces but found 16
 211 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 212 | ERROR | [x] Object operator not indented correctly; expected 14
     |       |     spaces but found 16
 214 | ERROR | [x] Object operator not indented correctly; expected 22
     |       |     spaces but found 20
 216 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 217 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 217 | ERROR | [x] Expected 1 blank line after function; 2 found
 220 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 221 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
 225 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
 225 | ERROR | [ ] Parameter comment must start with a capital letter
 225 | ERROR | [x] Parameter comment must be on the next line
 225 | ERROR | [x] Parameter comment must end with a full stop
 226 | ERROR | [ ] Parameter comment must start with a capital letter
 226 | ERROR | [x] Data types in @param tags need to be fully namespaced
 226 | ERROR | [x] Parameter comment must be on the next line
 226 | ERROR | [x] Parameter comment must end with a full stop
 228 | ERROR | [ ] If there is no return value for a function, there must
     |       |     not be a @return tag.
 228 | ERROR | [ ] Description for the @return value is missing
 230 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 231 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
 233 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 234 | ERROR | [x] Object operator not indented correctly; expected 10
     |       |     spaces but found 12
 243 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 244 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 244 | ERROR | [x] Expected 1 blank line after function; 2 found
 247 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 248 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
 252 | ERROR | [ ] Description for the @return value is missing
 254 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 255 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
 256 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 259 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 261 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 264 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
 264 | ERROR | [ ] Parameter comment must start with a capital letter
 264 | ERROR | [x] Parameter comment must be on the next line
 264 | ERROR | [x] Parameter comment must end with a full stop
 265 | ERROR | [ ] Parameter comment must start with a capital letter
 265 | ERROR | [x] Data types in @param tags need to be fully namespaced
 265 | ERROR | [x] Parameter comment must be on the next line
 265 | ERROR | [x] Parameter comment must end with a full stop
 267 | ERROR | [ ] Description for the @return value is missing
 269 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 270 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
 271 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 272 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 274 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 277 | ERROR | [ ] Parameter comment must start with a capital letter
 277 | ERROR | [x] Data types in @param tags need to be fully namespaced
 277 | ERROR | [x] Parameter comment must be on the next line
 277 | ERROR | [x] Parameter comment must end with a full stop
 278 | ERROR | [x] Expected 1 spaces after parameter type; 12 found
 278 | ERROR | [ ] Parameter comment must start with a capital letter
 278 | ERROR | [x] Parameter comment must be on the next line
 278 | ERROR | [x] Parameter comment must end with a full stop
 280 | ERROR | [ ] Description for the @return value is missing
 282 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 282 | ERROR | [ ] Type hint "default" missing for $default
 283 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
 284 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 284 | ERROR | [x] Namespaced classes/interfaces/traits should be
     |       |     referenced with use statements
 285 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 287 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 288 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
 290 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found
     |       |     12
 291 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
 292 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found
     |       |     12
 296 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 296 | ERROR | [x] Expected 1 blank line after function; 2 found
 299 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 302 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
 302 | ERROR | [ ] Parameter comment must start with a capital letter
 302 | ERROR | [x] Parameter comment must be on the next line
 302 | ERROR | [x] Parameter comment must end with a full stop
 303 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
 303 | ERROR | [ ] Parameter comment must start with a capital letter
 303 | ERROR | [x] Parameter comment must be on the next line
 303 | ERROR | [x] Parameter comment must end with a full stop
 304 | ERROR | [ ] Parameter comment must start with a capital letter
 304 | ERROR | [x] Parameter comment must be on the next line
 304 | ERROR | [x] Parameter comment must end with a full stop
 305 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
 305 | ERROR | [ ] Parameter comment must start with a capital letter
 305 | ERROR | [x] Parameter comment must be on the next line
 305 | ERROR | [x] Parameter comment must end with a full stop
 307 | ERROR | [ ] Description for the @return value is missing
 309 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 309 | ERROR | [ ] Type hint "formLabel" missing for $formLabel
 309 | ERROR | [ ] Type hint "formUrl" missing for $formUrl
 309 | ERROR | [ ] Type hint "formTarget" missing for $formTarget
 309 | ERROR | [ ] Type hint "formClass" missing for $formClass
 310 | ERROR | [x] Opening brace should be on the same line as the
     |       |     declaration
 312 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 313 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 315 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 318 | ERROR | [x] Array indentation error, expected 18 spaces but found
     |       |     16
 319 | ERROR | [x] Array indentation error, expected 18 spaces but found
     |       |     16
 320 | ERROR | [x] Array indentation error, expected 18 spaces but found
     |       |     16
 326 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 327 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 328 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 164 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 1.18 secs; Memory: 6Mb