Revision of https://git.drupal.org/project/cloudfront_path_invalidate.git from Thu, 05/16/2019 - 01:27

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

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

FILE: ...or/drupal/pareviewsh/pareview_temp/cloudfront_path_invalidate.module
--------------------------------------------------------------------------
FOUND 20 ERRORS AND 4 WARNINGS AFFECTING 18 LINES
--------------------------------------------------------------------------
   1 | ERROR   | [x] The PHP open tag must be followed by exactly one
     |         |     blank line
   5 | ERROR   | [x] There must be exactly one blank line after the file
     |         |     comment
   9 | ERROR   | [x] Expected 1 blank line before function; 0 found
 112 | ERROR   | [x] Expected 1 space after closing parenthesis; found 0
 120 | ERROR   | [x] Opening brace must be the last content on the line
 120 | ERROR   | [x] There should be no white space after an opening "{"
 120 | ERROR   | [x] There should be no white space before a closing "}"
 120 | ERROR   | [x] Closing brace must be on a line by itself
 134 | ERROR   | [x] No space found before comment text; expected "//
     |         |     Invalidating object at AWS CloudFront" but found
     |         |     "//Invalidating object at AWS CloudFront"
 134 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 144 | ERROR   | [ ] Inline doc block comments are not allowed; use "/*
     |         |     Comment */" or "// Comment" instead
 163 | ERROR   | [x] No space found before comment text; expected "//
     |         |     die("Connection failed: {$errno} {$errstr}\n");" but
     |         |     found "//die("Connection failed: {$errno}
     |         |     {$errstr}\n");"
 163 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 166 | ERROR   | [x] Inline control structures are not allowed
 173 | ERROR   | [x] Inline control structures are not allowed
 185 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 196 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 207 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 212 | ERROR   | [x] Missing function doc comment
 215 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: )
 217 | ERROR   | [x] Inline control structures are not allowed
 220 | ERROR   | [x] Inline control structures are not allowed
 220 | ERROR   | [x] Expected 1 space after ELSE keyword; newline found
 223 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...00000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/README.txt
--------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------
 18 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters
 70 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters
 70 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ndor/drupal/pareviewsh/pareview_temp/cloudfront_path_invalidate.info
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 4 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 655ms; Memory: 4Mb