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

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 45d78f9): 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 17 ERRORS AND 4 WARNINGS AFFECTING 15 LINES
--------------------------------------------------------------------------
 114 | ERROR   | [x] Expected 1 space after closing parenthesis; found 0
 122 | ERROR   | [x] Opening brace must be the last content on the line
 122 | ERROR   | [x] There should be no white space after an opening "{"
 122 | ERROR   | [x] There should be no white space before a closing "}"
 122 | ERROR   | [x] Closing brace must be on a line by itself
 136 | ERROR   | [x] No space found before comment text; expected "//
     |         |     Invalidating object at AWS CloudFront" but found
     |         |     "//Invalidating object at AWS CloudFront"
 136 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 146 | ERROR   | [ ] Inline doc block comments are not allowed; use "/*
     |         |     Comment */" or "// Comment" instead
 165 | ERROR   | [x] No space found before comment text; expected "//
     |         |     die("Connection failed: {$errno} {$errstr}\n");" but
     |         |     found "//die("Connection failed: {$errno}
     |         |     {$errstr}\n");"
 165 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 168 | ERROR   | [x] Inline control structures are not allowed
 175 | ERROR   | [x] Inline control structures are not allowed
 187 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 198 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 209 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 214 | ERROR   | [x] Missing function doc comment
 217 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: )
 219 | ERROR   | [x] Inline control structures are not allowed
 222 | ERROR   | [x] Inline control structures are not allowed
 222 | ERROR   | [x] Expected 1 space after ELSE keyword; newline found
 225 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 20 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: 512ms; Memory: 4Mb