FILE: /var/www/html/drupalwebcopy/modules/timepad/timepad.install ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: /var/www/html/drupalwebcopy/modules/timepad/TimePadApi.class.inc ---------------------------------------------------------------------- FOUND 78 ERRORS AFFECTING 73 LINES ---------------------------------------------------------------------- 3 | ERROR | [ ] Missing short description in doc comment 12 | ERROR | [x] Doc comment short description must end with a full | | stop 22 | ERROR | [x] Doc comment short description must end with a full | | stop 27 | ERROR | [x] Doc comment short description must end with a full | | stop 33 | ERROR | [x] Doc comment short description must end with a full | | stop 34 | ERROR | [ ] Missing @var tag in member variable comment 39 | ERROR | [ ] Missing @var tag in member variable comment 59 | ERROR | [ ] Missing parameter comment 60 | ERROR | [ ] Missing parameter comment 62 | ERROR | [ ] Description for the @return value is missing 72 | ERROR | [ ] Missing parameter comment 74 | ERROR | [ ] Description for the @return value is missing 78 | ERROR | [ ] Type hint "array" missing for $params 98 | ERROR | [ ] Missing parameter comment 100 | ERROR | [ ] Description for the @return value is missing 104 | ERROR | [ ] Type hint "array" missing for $params 111 | ERROR | [ ] Missing parameter comment 112 | ERROR | [ ] Missing parameter comment 114 | ERROR | [ ] Description for the @return value is missing 118 | ERROR | [ ] Type hint "array" missing for $params 125 | ERROR | [ ] Missing parameter comment 127 | ERROR | [ ] Parameter tags must be grouped together in a doc | | comment 127 | ERROR | [ ] Missing parameter comment 128 | ERROR | [x] Separate the @param and @return sections by a | | blank line. 128 | ERROR | [ ] Description for the @return value is missing 129 | ERROR | [x] Separate the @return and @throws sections by a | | blank line. 133 | ERROR | [ ] Type hint "array" missing for $params 153 | ERROR | [x] Doc comment parameter name "$params." must not end | | with a dot 155 | ERROR | [x] Expected "array" but found "array." for function | | return type 155 | ERROR | [ ] Description for the @return value is missing 156 | ERROR | [x] Separate the @return and @throws sections by a | | blank line. 162 | ERROR | [ ] Parameter $method is not described in comment 165 | ERROR | [ ] Missing parameter type 166 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 194 | ERROR | [ ] Description for the @return value is missing 215 | ERROR | [ ] Missing parameter comment 216 | ERROR | [ ] Missing parameter comment 217 | ERROR | [ ] Missing parameter comment 218 | ERROR | [ ] Missing parameter comment 219 | ERROR | [ ] Missing parameter comment 219 | ERROR | [x] Expected "int" but found "integer" for parameter | | type 221 | ERROR | [ ] Description for the @return value is missing 227 | ERROR | [ ] Type hint "array" missing for $headers 301 | ERROR | [ ] Missing parameter comment 302 | ERROR | [ ] Missing parameter comment 304 | ERROR | [ ] Description for the @return value is missing 308 | ERROR | [ ] Type hint "array" missing for $params 315 | ERROR | [ ] Missing parameter comment 316 | ERROR | [ ] Missing parameter comment 318 | ERROR | [ ] Description for the @return value is missing 322 | ERROR | [ ] Type hint "array" missing for $params 342 | ERROR | [ ] Missing parameter comment 343 | ERROR | [ ] Missing parameter comment 344 | ERROR | [ ] Missing parameter comment 346 | ERROR | [ ] Description for the @return value is missing 350 | ERROR | [ ] Type hint "array" missing for $params 370 | ERROR | [ ] Missing parameter comment 371 | ERROR | [ ] Missing parameter comment 373 | ERROR | [ ] Description for the @return value is missing 377 | ERROR | [ ] Type hint "array" missing for $params 397 | ERROR | [ ] Missing parameter comment 398 | ERROR | [ ] Missing parameter comment 400 | ERROR | [ ] Description for the @return value is missing 404 | ERROR | [ ] Type hint "array" missing for $params 408 | ERROR | [ ] Parameter $organization_id is not described in | | comment 411 | ERROR | [ ] Missing parameter comment 412 | ERROR | [ ] Missing parameter comment 412 | ERROR | [ ] Doc comment for parameter $event_id does not match | | actual variable name $params 413 | ERROR | [ ] Missing parameter comment 415 | ERROR | [ ] Description for the @return value is missing 419 | ERROR | [ ] Type hint "array" missing for $params 439 | ERROR | [ ] Missing parameter comment 440 | ERROR | [ ] Missing parameter comment 441 | ERROR | [ ] Missing parameter comment 443 | ERROR | [ ] Description for the @return value is missing 447 | ERROR | [ ] Type hint "array" missing for $params 449 | ERROR | [x] Expected 1 blank line after function; 0 found 450 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...ww/html/drupalwebcopy/modules/timepad/examples/eventsGetList.php ---------------------------------------------------------------------- FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 15 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 2 | ERROR | [ ] Missing short description in doc comment 3 | ERROR | [x] The second line in the file doc comment must be | | "@file" 34 | ERROR | [x] Comments may not appear after statements 36 | WARNING | [ ] Line exceeds 80 characters; contains 96 | | characters 36 | ERROR | [x] Comments may not appear after statements 38 | ERROR | [x] Comments may not appear after statements 53 | ERROR | [x] There should be no white space after an opening | | "(" 53 | ERROR | [x] Comments may not appear after statements 65 | ERROR | [x] Comments may not appear after statements 66 | ERROR | [x] Comments may not appear after statements 69 | ERROR | [x] Comments may not appear after statements 70 | ERROR | [x] Expected one space after the comma, 3 found 70 | ERROR | [x] Comments may not appear after statements 71 | WARNING | [ ] Line exceeds 80 characters; contains 82 | | characters 71 | ERROR | [x] Comments may not appear after statements 72 | ERROR | [x] Comments may not appear after statements 73 | ERROR | [x] Comments may not appear after statements 74 | ERROR | [x] Comments may not appear after statements 74 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses ---------------------------------------------------------------------- PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...r/www/html/drupalwebcopy/modules/timepad/examples/eventsEdit.php ---------------------------------------------------------------------- FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 2 | ERROR | [ ] Missing short description in doc comment 3 | ERROR | [x] The second line in the file doc comment must be | | "@file" 8 | ERROR | [x] Comments may not appear after statements 16 | ERROR | [x] Comments may not appear after statements 23 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 25 | ERROR | [x] Comments may not appear after statements 33 | ERROR | [x] Comments may not appear after statements ---------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...l/drupalwebcopy/modules/timepad/examples/organizationsCreate.php ---------------------------------------------------------------------- FOUND 7 ERRORS AFFECTING 7 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 2 | ERROR | [ ] Missing short description in doc comment 3 | ERROR | [x] The second line in the file doc comment must be | | "@file" 9 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 11 | ERROR | [x] Comments may not appear after statements 12 | ERROR | [x] Comments may not appear after statements 13 | ERROR | [x] Comments may not appear after statements ---------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...www/html/drupalwebcopy/modules/timepad/examples/eventsCreate.php ---------------------------------------------------------------------- FOUND 10 ERRORS AND 1 WARNING AFFECTING 10 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 2 | ERROR | [ ] Missing short description in doc comment 3 | ERROR | [x] The second line in the file doc comment must be | | "@file" 11 | ERROR | [x] Comments may not appear after statements 12 | ERROR | [x] Comments may not appear after statements 12 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, question marks, or | | closing parentheses 17 | ERROR | [x] Comments may not appear after statements 24 | WARNING | [x] A comma should follow the last multiline array | | item. Found: ) 26 | ERROR | [x] Comments may not appear after statements 34 | ERROR | [x] Comments may not appear after statements 39 | ERROR | [x] Comments may not appear after statements ---------------------------------------------------------------------- PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: /var/www/html/drupalwebcopy/modules/timepad/timepad.module ---------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 72 | ERROR | [ ] Description for the @return value is missing 121 | ERROR | [x] Case breaking statements must be followed by a | | single blank line 124 | ERROR | [x] Case breaking statements must be followed by a | | single blank line ---------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- Time: 550ms; Memory: 10.5Mb