https://git.drupal.org/project/xssprotection.git

Primary tabs

Git errors: Review of the 7.x-1.x branch (commit af043ed): This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...1101/web/vendor/drupal/pareviewsh/pareview_temp/xssprotection.module
--------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------
 16 | WARNING | [ ] Line exceeds 80 characters; contains 117 characters
 16 | ERROR   | [x] Perl-style comments are not allowed; use "// Comment"
    |         |     instead
 17 | ERROR   | [x] Perl-style comments are not allowed; use "// Comment"
    |         |     instead
 20 | ERROR   | [x] Perl-style comments are not allowed; use "// Comment"
    |         |     instead
 21 | ERROR   | [x] Perl-style comments are not allowed; use "// Comment"
    |         |     instead
 22 | ERROR   | [x] Perl-style comments are not allowed; use "// Comment"
    |         |     instead
 29 | ERROR   | [x] Whitespace found at end of line
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...101/web/vendor/drupal/pareviewsh/pareview_temp/xssprotection.install
--------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------
  4 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  5 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  6 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  9 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
  9 | 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."
 10 | ERROR   | [x] Expected 1 space(s) before asterisk; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/xssprotection.admin.inc
--------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------
 12 | ERROR   | [x] Whitespace found at end of line
 26 | WARNING | [ ] Do not pass empty strings to t()
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...te1101/web/vendor/drupal/pareviewsh/pareview_temp/xssprotection.info
--------------------------------------------------------------------------
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: 215ms; Memory: 4Mb