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

Primary tabs

Git errors: Review of the 8.x-1.x branch (commit 2ab5bb8):
  • Your README.txt does not follow best practices (headings need to be uppercase). See https://www.drupal.org/node/2181737 .
    • The INTRODUCTION section is missing.
    • The REQUIREMENTS section is missing.
    • The CONFIGURATION section is missing.
  • The "?>" PHP delimiter at the end of files is discouraged, see https://www.drupal.org/node/318#phptags
    ./src/BeerOClockSettingsForm.php
    ./src/CheckController.php
    ./src/Plugin/Block/BeerOClockBlock.php
    ./tests/src/Unit/BeerOClockTest.php
    
  • 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: ...101/web/vendor/drupal/pareviewsh/pareview_temp/beer_o_clock.info.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     8 | WARNING | All dependencies must be prefixed with the project name,
       |         | for example "drupal:"
    --------------------------------------------------------------------------
    
    
    FILE: ...e1101/web/vendor/drupal/pareviewsh/pareview_temp/beer_o_clock.module
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    --------------------------------------------------------------------------
      42 | WARNING | The administration menu 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.
      49 | WARNING | The administration menu 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.
      62 | WARNING | #description values usually have to run through t() for
         |         | translation
     205 | WARNING | All variables defined by your module must be prefixed
         |         | with your module's name to avoid name collisions with
         |         | others. Expected start with "beer_o_clock" but found
         |         | "display_boc_countdown"
    --------------------------------------------------------------------------
    
    
    FILE: ...endor/drupal/pareviewsh/pareview_temp/src/BeerOClockSettingsForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 17 WARNINGS AFFECTING 17 LINES
    --------------------------------------------------------------------------
     41 | WARNING | #description values usually have to run through t() for
        |         | translation
     43 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     44 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     45 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     46 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     47 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     48 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     49 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     56 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     57 | 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
     66 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     71 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     74 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     76 | 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
     82 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/CheckController.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     24 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...drupal/pareviewsh/pareview_temp/src/Plugin/Block/BeerOClockBlock.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     33 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
    --------------------------------------------------------------------------
    
    Time: 600ms; Memory: 4Mb
    
This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...101/web/vendor/drupal/pareviewsh/pareview_temp/beer_o_clock.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
--------------------------------------------------------------------------


FILE: ...e1101/web/vendor/drupal/pareviewsh/pareview_temp/beer_o_clock.module
--------------------------------------------------------------------------
FOUND 87 ERRORS AND 9 WARNINGS AFFECTING 74 LINES
--------------------------------------------------------------------------
   1 | ERROR   | [x] The PHP open tag must be followed by exactly one
     |         |     blank line
   3 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
   4 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
   4 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
   5 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
   6 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
   6 | ERROR   | [x] Doc comment long description must end with a full
     |         |     stop
   7 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
   8 | ERROR   | [x] Additional blank lines found at end of doc comment
   8 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  24 | ERROR   | [x] Short array syntax must be used to define arrays
  25 | ERROR   | [x] Short array syntax must be used to define arrays
  26 | ERROR   | [x] Short array syntax must be used to define arrays
  35 | ERROR   | [x] Short array syntax must be used to define arrays
  36 | ERROR   | [x] Short array syntax must be used to define arrays
  38 | ERROR   | [x] Short array syntax must be used to define arrays
  42 | ERROR   | [x] Short array syntax must be used to define arrays
  42 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: )
  44 | ERROR   | [x] Short array syntax must be used to define arrays
  49 | ERROR   | [x] Short array syntax must be used to define arrays
  55 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
  58 | ERROR   | [x] Inline comments must start with a capital letter
  58 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
  59 | ERROR   | [x] Short array syntax must be used to define arrays
  63 | ERROR   | [x] Short array syntax must be used to define arrays
  75 | ERROR   | [x] Short array syntax must be used to define arrays
  83 | ERROR   | [x] Short array syntax must be used to define arrays
  89 | ERROR   | [x] Short array syntax must be used to define arrays
 102 | ERROR   | [ ] Doc comment short description must be on a single
     |         |     line, further text should be a separate paragraph
 108 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
 116 | ERROR   | [x] Short array syntax must be used to define arrays
 118 | ERROR   | [x] Expected 1 space after ELSE keyword; 0 found
 120 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     5
 121 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     5
 123 | ERROR   | [x] No space found before comment text; expected "//
     |         |     makes today negative number" but found "//makes
     |         |     today negative number"
 123 | ERROR   | [x] Inline comments must start with a capital letter
 123 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 126 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     9
 126 | ERROR   | [x] No space found before comment text; expected "//
     |         |     ternary if it is more than one it is day day is days
     |         |     other wise" but found "//ternary if it is more than
     |         |     one it is day day is days other wise"
 126 | ERROR   | [x] Inline comments must start with a capital letter
 126 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 127 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     9
 128 | ERROR   | [x] No space found before comment text; expected "//
     |         |     finds number of days till beer o'clock (if negative
     |         |     it effectively" but found "//finds number of days
     |         |     till beer o'clock (if negative it effectively"
 128 | ERROR   | [x] Inline comments must start with a capital letter
 129 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     7
 129 | ERROR   | [x] No space found before comment text; expected "//
     |         |     becomes addition" but found "//becomes addition"
 129 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 130 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     7
 131 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     7
 131 | ERROR   | [x] No space found before comment text; expected "//
     |         |     increase change beer o'clock to be the next friday"
     |         |     but found "//increase change beer o'clock to be the
     |         |     next friday"
 131 | ERROR   | [x] Inline comments must start with a capital letter
 131 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 132 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     7
 133 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     5
 134 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     5
 136 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     6
 137 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found
     |         |     8
 138 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     6
 140 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     5
 141 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 141 | ERROR   | [x] No space found before comment text; expected "//
     |         |     change beer o'clock to be correct hour" but found
     |         |     "//change beer o'clock to be correct hour"
 141 | ERROR   | [x] Inline comments must start with a capital letter
 141 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 142 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 143 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 144 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 144 | ERROR   | [x] A cast statement must be followed by a single space
 145 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 145 | ERROR   | [x] Short array syntax must be used to define arrays
 145 | ERROR   | [x] Short array syntax must be used to define arrays
 147 | ERROR   | [x] Short array syntax must be used to define arrays
 156 | ERROR   | [x] Missing function doc comment
 157 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     4
 161 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
     |         |     Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
     |         |     "* Implements hook_foo_BAR_ID_bar() for
     |         |     xyz-bar.html.twig.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 162 | ERROR   | [ ] Wrong function doc comment end; expected "*/", found
     |         |     "**/"
 164 | ERROR   | [x] Short array syntax must be used to define arrays
 165 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
 166 | ERROR   | [x] Array indentation error, expected 4 spaces but found
     |         |     3
 169 | ERROR   | [x] Expected 1 blank line after function; 0 found
 171 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
     |         |     Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
     |         |     "* Implements hook_foo_BAR_ID_bar() for
     |         |     xyz-bar.html.twig.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 172 | ERROR   | [ ] Wrong function doc comment end; expected "*/", found
     |         |     "**/"
 183 | ERROR   | [x] Expected 1 blank line after function; 0 found
 185 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
     |         |     Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
     |         |     "* Implements hook_foo_BAR_ID_bar() for
     |         |     xyz-bar.html.twig.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 186 | ERROR   | [ ] Wrong function doc comment end; expected "*/", found
     |         |     "**/"
 188 | ERROR   | [x] Short array syntax must be used to define arrays
 189 | ERROR   | [x] Short array syntax must be used to define arrays
 190 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
 191 | WARNING | [ ] Avoid backslash escaping in translatable strings
     |         |     when possible, use "" quotes instead
 197 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
     |         |     Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
     |         |     "* Implements hook_foo_BAR_ID_bar() for
     |         |     xyz-bar.html.twig.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 198 | ERROR   | [ ] Wrong function doc comment end; expected "*/", found
     |         |     "**/"
 200 | ERROR   | [x] Short array syntax must be used to define arrays
 202 | ERROR   | [x] Short array syntax must be used to define arrays
 209 | ERROR   | [x] Expected 1 blank line after function; 0 found
 211 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
     |         |     Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
     |         |     "* Implements hook_foo_BAR_ID_bar() for
     |         |     xyz-bar.html.twig.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 212 | ERROR   | [ ] Wrong function doc comment end; expected "*/", found
     |         |     "**/"
 213 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 82 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...endor/drupal/pareviewsh/pareview_temp/src/BeerOClockSettingsForm.php
--------------------------------------------------------------------------
FOUND 31 ERRORS AFFECTING 28 LINES
--------------------------------------------------------------------------
   1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
     |       |     line
   2 | ERROR | [x] Namespaced classes, interfaces and traits should not
     |       |     begin with a file doc comment
   3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
   4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
   4 | ERROR | [x] Doc comment short description must end with a full
     |       |     stop
   5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
  12 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
  13 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
  16 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
  17 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
  18 | ERROR | [x] Expected 1 blank line before function; 0 found
  32 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
  33 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
  37 | ERROR | [x] Inline comments must start with a capital letter
  37 | ERROR | [x] Inline comments must end in full-stops, exclamation
     |       |     marks, colons, question marks, or closing parentheses
  38 | ERROR | [x] Short array syntax must be used to define arrays
  42 | ERROR | [x] Short array syntax must be used to define arrays
  54 | ERROR | [x] Short array syntax must be used to define arrays
  63 | ERROR | [x] Short array syntax must be used to define arrays
  73 | ERROR | [x] Short array syntax must be used to define arrays
  79 | ERROR | [x] Short array syntax must be used to define arrays
  90 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
  91 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
  93 | ERROR | [x] No space found before comment text; expected "//
     |       |     >setPropertyConstraints('value', array('Length' =>
     |       |     array('max' => 32)));" but found
     |       |     "//>setPropertyConstraints('value', array('Length' =>
     |       |     array('max' => 32)));"
  93 | ERROR | [x] Inline comments must end in full-stops, exclamation
     |       |     marks, colons, question marks, or closing parentheses
 103 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
 104 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found
 107 | ERROR | [x] Object operator not indented correctly; expected 6
     |       |     spaces but found 9
 115 | ERROR | [x] Expected 1 blank line after function; 0 found
 116 | ERROR | [x] The closing brace for the class must have an empty
     |       |     line before it
 117 | ERROR | [x] A closing tag is not permitted at the end of a PHP
     |       |     file
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 31 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/CheckController.php
--------------------------------------------------------------------------
FOUND 42 ERRORS AND 3 WARNINGS AFFECTING 32 LINES
--------------------------------------------------------------------------
  1 | ERROR   | [x] The PHP open tag must be followed by exactly one
    |         |     blank line
  2 | ERROR   | [x] Namespaced classes, interfaces and traits should not
    |         |     begin with a file doc comment
  3 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  4 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  5 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 13 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 14 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 18 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 19 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 20 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 21 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 22 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 28 | ERROR   | [x] Expected newline after closing brace
 32 | ERROR   | [x] Short array syntax must be used to define arrays
 35 | ERROR   | [x] Short array syntax must be used to define arrays
 37 | ERROR   | [x] Short array syntax must be used to define arrays
 38 | ERROR   | [x] Short array syntax must be used to define arrays
 39 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 40 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 41 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 47 | ERROR   | [x] Missing function doc comment
 47 | ERROR   | [ ] Public method name "CheckController::isItBeerOClock"
    |         |     is not in lowerCamel format
 56 | ERROR   | [x] Expected 1 blank line after function; 2 found
 59 | ERROR   | [x] Missing function doc comment
 59 | ERROR   | [ ] Public method name
    |         |     "CheckController::secsToBeerOClock" is not in
    |         |     lowerCamel format
 62 | ERROR   | [x] Expected 1 space after IF keyword; 0 found
 62 | ERROR   | [x] Expected 1 space after closing parenthesis; found 0
 73 | ERROR   | [x] No space found before comment text; expected "//
    |         |     makes today negative number" but found "//makes today
    |         |     negative number"
 73 | ERROR   | [x] Inline comments must start with a capital letter
 73 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
 76 | ERROR   | [x] No space found before comment text; expected "//
    |         |     ternary if it is more than one it is day day is days
    |         |     other wise" but found "//ternary if it is more than
    |         |     one it is day day is days other wise"
 76 | ERROR   | [x] Inline comments must start with a capital letter
 76 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
 78 | ERROR   | [x] No space found before comment text; expected "//
    |         |     finds number of days till beer o'clock (if negative
    |         |     it effectively" but found "//finds number of days
    |         |     till beer o'clock (if negative it effectively"
 78 | ERROR   | [x] Inline comments must start with a capital letter
 79 | ERROR   | [x] No space found before comment text; expected "//
    |         |     becomes addition" but found "//becomes addition"
 79 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
 81 | ERROR   | [x] No space found before comment text; expected "//
    |         |     increase change beer o'clock to be the next friday"
    |         |     but found "//increase change beer o'clock to be the
    |         |     next friday"
 81 | ERROR   | [x] Inline comments must start with a capital letter
 81 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
 91 | ERROR   | [x] No space found before comment text; expected "//
    |         |     change beer o'clock to be correct hour" but found
    |         |     "//change beer o'clock to be correct hour"
 91 | ERROR   | [x] Inline comments must start with a capital letter
 91 | ERROR   | [x] Inline comments must end in full-stops, exclamation
    |         |     marks, colons, question marks, or closing parentheses
 94 | ERROR   | [x] A cast statement must be followed by a single space
 98 | ERROR   | [x] A closing tag is not permitted at the end of a PHP
    |         |     file
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 43 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...drupal/pareviewsh/pareview_temp/src/Plugin/Block/BeerOClockBlock.php
--------------------------------------------------------------------------
FOUND 19 ERRORS AND 5 WARNINGS AFFECTING 24 LINES
--------------------------------------------------------------------------
  1 | ERROR   | [x] The PHP open tag must be followed by exactly one
    |         |     blank line
  2 | ERROR   | [x] Namespaced classes, interfaces and traits should not
    |         |     begin with a file doc comment
  9 | WARNING | [x] Unused use statement
 10 | WARNING | [x] Unused use statement
 12 | WARNING | [x] Unused use statement
 16 | ERROR   | [x] There must be one blank line after the last USE
    |         |     statement; 2 found;
 20 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 21 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 22 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 23 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 24 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 25 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 26 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
 30 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 31 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 37 | ERROR   | [x] Expected newline after closing brace
 40 | ERROR   | [x] Short array syntax must be used to define arrays
 43 | ERROR   | [x] Short array syntax must be used to define arrays
 45 | ERROR   | [x] Short array syntax must be used to define arrays
 46 | ERROR   | [x] Short array syntax must be used to define arrays
 48 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 49 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 54 | ERROR   | [x] Missing function doc comment
 59 | ERROR   | [x] A closing tag is not permitted at the end of a PHP
    |         |     file
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...or/drupal/pareviewsh/pareview_temp/tests/src/Unit/BeerOClockTest.php
--------------------------------------------------------------------------
FOUND 19 ERRORS AND 1 WARNING AFFECTING 19 LINES
--------------------------------------------------------------------------
  1 | ERROR   | [x] The PHP open tag must be followed by exactly one
    |         |     blank line
  4 | ERROR   | [x] There must be one blank line after the last USE
    |         |     statement; 3 found;
  7 | ERROR   | [ ] More than 2 empty lines are not allowed
 12 | ERROR   | [x] There must be exactly one newline after the class
    |         |     comment
 15 | ERROR   | [ ] Missing short description in doc comment
 16 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 17 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
 18 | ERROR   | [x] Expected 1 blank line before function; 0 found
 19 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 23 | ERROR   | [x] Missing function doc comment
 24 | ERROR   | [x] Opening brace should be on the same line as the
    |         |     declaration
 25 | 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] Short array syntax must be used to define arrays
 28 | ERROR   | [x] Short array syntax must be used to define arrays
 29 | ERROR   | [x] Short array syntax must be used to define arrays
 29 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
 31 | ERROR   | [x] Expected 1 blank line after function; 0 found
 32 | ERROR   | [x] The closing brace for the class must have an empty
    |         |     line before it
 33 | ERROR   | [x] A closing tag is not permitted at the end of a PHP
    |         |     file
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 1.11 secs; Memory: 4Mb
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 6, col 24, Error - Use the function form of 'use strict'. (strict)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 7, col 2, Error - Expected indentation of 2 spaces but found 1 tab. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 7, col 24, Error - Expected space or tab after '//' in comment. (spaced-comment)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 8, col 7, Error - 'currentdate' is assigned a value but never used. (no-unused-vars)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 9, col 44, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 13, col 2, Error - Expected space or tab after '//' in comment. (spaced-comment)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 14, col 2, Error - Expected indentation of 2 spaces but found 1 tab. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 14, col 19, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 14, col 35, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 15, col 2, Error - Opening curly brace does not appear on the same line as controlling statement. (brace-style)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 17, col 6, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 17, col 18, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 18, col 3, Error - Opening curly brace does not appear on the same line as controlling statement. (brace-style)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 19, col 21, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 19, col 41, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 19, col 50, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 19, col 61, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 19, col 67, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 19, col 73, Error - There should be no spaces inside this paren. (space-in-parens)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 21, col 19, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 22, col 2, Error - Expected indentation of 0 spaces but found 1 tab. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 24, col 2, Error - Expected indentation of 2 spaces but found 1 tab. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 25, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 26, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 27, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 28, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 29, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 30, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 31, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 33, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 33, col 3, Error - Expected space(s) after "if". (keyword-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 4, Error - Expected indentation of 2 spaces but found 3 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 6, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 42, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 43, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 46, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 61, Error - A space is required after ','. (comma-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 64, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 65, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 68, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 85, Error - A space is required after ','. (comma-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 88, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 89, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 92, Error - Infix operators must be spaced. (space-infix-ops)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 34, col 109, Error - A space is required after ','. (comma-spacing)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 35, col 4, Error - Expected space or tab after '//' in comment. (spaced-comment)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 36, col 4, Error - Expected indentation of 2 spaces but found 3 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 37, col 3, Error - Expected indentation of 0 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 39, col 3, Error - Expected indentation of 2 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 40, col 4, Error - Expected indentation of 2 spaces but found 3 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 41, col 3, Error - Expected indentation of 0 spaces but found 2 tabs. (indent)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/countdown.js: line 42, col 2, Error - Expected indentation of 0 spaces but found 1 tab. (indent)

52 problems