quickstart@qs10:~/websites/example.dev/sites/all/modules$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme webform FILE: ...tart/websites/example.dev/sites/all/modules/webform/components/date.inc -------------------------------------------------------------------------------- FOUND 4 ERROR(S) AFFECTING 4 LINE(S) -------------------------------------------------------------------------------- 170 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 194 | ERROR | BREAK statements must be followed by a single blank line 197 | ERROR | BREAK statements must be followed by a single blank line 259 | ERROR | An operator statement must be followed by a single space -------------------------------------------------------------------------------- FILE: ...art/websites/example.dev/sites/all/modules/webform/components/email.inc -------------------------------------------------------------------------------- FOUND 8 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 184 | ERROR | Function comment short description must be on a single line 187 | ERROR | Missing parameter type at position 1 189 | ERROR | Last parameter comment requires a blank newline after it 189 | ERROR | Missing parameter type at position 2 191 | ERROR | Data type of return value is missing 257 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 257 | ERROR | An operator statement must be followed by a single space 257 | ERROR | There must be a single space before an operator statement -------------------------------------------------------------------------------- FILE: ...tart/websites/example.dev/sites/all/modules/webform/components/file.inc -------------------------------------------------------------------------------- FOUND 51 ERROR(S) AND 1 WARNING(S) AFFECTING 45 LINE(S) -------------------------------------------------------------------------------- 55 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 56 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 57 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 59 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 70 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 83 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 84 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 86 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 87 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 94 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 95 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 102 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 102 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 103 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 110 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 111 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 118 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 119 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 126 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 135 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 136 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 137 | ERROR | Line indented incorrectly; expected 4 spaces, found 6 139 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 148 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 157 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 171 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 172 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 173 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 174 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 175 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 176 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 177 | WARNING | Line exceeds 80 characters; contains 108 characters 177 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 178 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 179 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 180 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 181 | ERROR | Line indented incorrectly; expected 2 spaces, found 6 182 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 185 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 275 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 289 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 386 | ERROR | Function comment short description must end with a full stop 411 | ERROR | No space before comment text; expected "// This is necessary | | until the next release of mimemail is out, see [#1388786]" but | | found "//This is necessary until the next release of mimemail | | is out, see [#1388786]" 445 | ERROR | An operator statement must be followed by a single space 445 | ERROR | There must be a single space before an operator statement 445 | ERROR | An operator statement must be followed by a single space 445 | ERROR | There must be a single space before an operator statement 457 | ERROR | An operator statement must be followed by a single space 457 | ERROR | There must be a single space before an operator statement 479 | ERROR | An operator statement must be followed by a single space 479 | ERROR | There must be a single space before an operator statement 531 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...tart/websites/example.dev/sites/all/modules/webform/components/grid.inc -------------------------------------------------------------------------------- FOUND 10 ERROR(S) AND 2 WARNING(S) AFFECTING 12 LINE(S) -------------------------------------------------------------------------------- 129 | WARNING | A comma should follow the last multiline array item. Found: ) 136 | WARNING | A comma should follow the last multiline array item. Found: ) 161 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 261 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 268 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 271 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 278 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 336 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 401 | ERROR | Missing function doc comment 408 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 421 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 427 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...rt/websites/example.dev/sites/all/modules/webform/components/hidden.inc -------------------------------------------------------------------------------- FOUND 8 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 117 | ERROR | Missing function doc comment 149 | ERROR | There should be no white space after an opening "(" 150 | ERROR | There should be no white space after an opening "(" 151 | ERROR | There should be no white space after an opening "(" 152 | ERROR | Array indentation error, expected 4 spaces but found 20 152 | ERROR | An operator statement must be followed by a single space 152 | ERROR | An operator statement must be followed by a single space 152 | ERROR | There must be a single space before an operator statement -------------------------------------------------------------------------------- FILE: ...rt/websites/example.dev/sites/all/modules/webform/components/number.inc -------------------------------------------------------------------------------- FOUND 21 ERROR(S) AND 9 WARNING(S) AFFECTING 27 LINE(S) -------------------------------------------------------------------------------- 283 | ERROR | An operator statement must be followed by a single space 293 | WARNING | Line exceeds 80 characters; contains 81 characters 414 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 421 | ERROR | Expected "foreach (...) {\n"; found "foreach(...) {\n" 458 | ERROR | Expected "foreach (...) {\n"; found "foreach(...) {\n" 465 | WARNING | Last item of an inline array must not be followed by a comma 466 | WARNING | Last item of an inline array must not be followed by a comma 467 | WARNING | Last item of an inline array must not be followed by a comma 468 | WARNING | Last item of an inline array must not be followed by a comma 469 | WARNING | Last item of an inline array must not be followed by a comma 470 | WARNING | Last item of an inline array must not be followed by a comma 471 | WARNING | Last item of an inline array must not be followed by a comma 472 | WARNING | Last item of an inline array must not be followed by a comma 480 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 480 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 482 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 483 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 519 | ERROR | Function comment short description must be on a single line 522 | ERROR | Missing parameter type at position 1 524 | ERROR | Last parameter comment requires a blank newline after it 524 | ERROR | Missing parameter type at position 2 526 | ERROR | Data type of return value is missing 548 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 573 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 576 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 609 | ERROR | BREAK statements must be followed by a single blank line 624 | ERROR | BREAK statements must be followed by a single blank line 668 | ERROR | No space before comment text; expected "// if (end($options) | | != $max) {" but found "//if (end($options) != $max) {" 670 | ERROR | No space before comment text; expected "// }" but found "//}" 670 | ERROR | There must be no blank line following an inline comment -------------------------------------------------------------------------------- FILE: ...websites/example.dev/sites/all/modules/webform/components/pagebreak.inc -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 48 | ERROR | There must be no blank line following an inline comment 48 | ERROR | Comments may not appear after statements. -------------------------------------------------------------------------------- FILE: ...rt/websites/example.dev/sites/all/modules/webform/components/select.inc -------------------------------------------------------------------------------- FOUND 13 ERROR(S) AND 2 WARNING(S) AFFECTING 14 LINE(S) -------------------------------------------------------------------------------- 55 | ERROR | No key specified for array entry; first entry specifies key 201 | ERROR | Comments may not appear after statements. 298 | WARNING | Line exceeds 80 characters; contains 92 characters 298 | ERROR | Comments may not appear after statements. 442 | ERROR | Function comment short description must be on a single line 843 | ERROR | Missing parameter type at position 1 845 | ERROR | Missing parameter type at position 2 847 | ERROR | Missing parameter type at position 3 849 | ERROR | Missing parameter type at position 4 876 | ERROR | Function comment short description must be on a single line 879 | ERROR | Missing parameter type at position 1 881 | ERROR | Missing parameter type at position 2 883 | ERROR | Missing parameter type at position 3 900 | ERROR | Inline doc block comments are not allowed; use "// Comment" | | instead 907 | WARNING | Line exceeds 80 characters; contains 87 characters -------------------------------------------------------------------------------- FILE: .../websites/example.dev/sites/all/modules/webform/components/textarea.inc -------------------------------------------------------------------------------- FOUND 4 ERROR(S) AND 1 WARNING(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 114 | WARNING | Line exceeds 80 characters; contains 89 characters 114 | ERROR | Comments may not appear after statements. 190 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 190 | ERROR | An operator statement must be followed by a single space 190 | ERROR | There must be a single space before an operator statement -------------------------------------------------------------------------------- FILE: ...websites/example.dev/sites/all/modules/webform/components/textfield.inc -------------------------------------------------------------------------------- FOUND 4 ERROR(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 139 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 227 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 227 | ERROR | An operator statement must be followed by a single space 227 | ERROR | There must be a single space before an operator statement -------------------------------------------------------------------------------- FILE: ...tart/websites/example.dev/sites/all/modules/webform/components/time.inc -------------------------------------------------------------------------------- FOUND 6 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 247 | ERROR | You must use "/**" style comments for a function comment 252 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 403 | ERROR | Missing parameter type at position 1 405 | ERROR | Last parameter comment requires a blank newline after it 405 | ERROR | Missing parameter type at position 2 407 | ERROR | Data type of return value is missing -------------------------------------------------------------------------------- FILE: ...bsites/example.dev/sites/all/modules/webform/includes/webform.admin.inc -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AND 1 WARNING(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 207 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 265 | WARNING | A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------------------- FILE: ...s/example.dev/sites/all/modules/webform/includes/webform.components.inc -------------------------------------------------------------------------------- FOUND 33 ERROR(S) AND 3 WARNING(S) AFFECTING 32 LINE(S) -------------------------------------------------------------------------------- 149 | ERROR | Last parameter comment requires a blank newline after it 149 | ERROR | Doc comment for var $form does not match actual variable name | | $variables at position 1 149 | ERROR | Missing parameter type at position 1 151 | ERROR | Data type of return value is missing 165 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 183 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 192 | ERROR | You must use "/**" style comments for a function comment 264 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 269 | ERROR | You must use "/**" style comments for a function comment 304 | ERROR | You must use "/**" style comments for a function comment 326 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 326 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 326 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 422 | WARNING | Avoid backslash escaping in translatable strings when | | possible, use "" quotes instead 438 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 440 | ERROR | Array indentation error, expected 8 spaces but found 6 441 | ERROR | Array indentation error, expected 8 spaces but found 6 442 | ERROR | Array indentation error, expected 8 spaces but found 6 443 | ERROR | Array indentation error, expected 8 spaces but found 6 444 | ERROR | Array indentation error, expected 8 spaces but found 6 445 | ERROR | Array indentation error, expected 8 spaces but found 6 446 | ERROR | Array indentation error, expected 8 spaces but found 6 554 | WARNING | A comma should follow the last multiline array item. Found: ) 635 | ERROR | There must be a single space before an operator statement 734 | ERROR | Missing parameter type at position 1 788 | ERROR | Missing parameter type at position 1 811 | WARNING | A comma should follow the last multiline array item. Found: ] 821 | ERROR | You must use "/**" style comments for a function comment 823 | ERROR | There must be no blank line following an inline comment 865 | ERROR | Missing parameter type at position 1 867 | ERROR | Missing parameter type at position 2 916 | ERROR | Missing parameter type at position 1 918 | ERROR | Missing parameter type at position 2 922 | ERROR | Missing parameter type at position 3 924 | ERROR | Missing parameter type at position 4 1091 | ERROR | Comments may not appear after statements. -------------------------------------------------------------------------------- FILE: ...sites/example.dev/sites/all/modules/webform/includes/webform.emails.inc -------------------------------------------------------------------------------- FOUND 13 ERROR(S) AND 2 WARNING(S) AFFECTING 13 LINE(S) -------------------------------------------------------------------------------- 88 | ERROR | Last parameter comment requires a blank newline after it 88 | ERROR | Doc comment for var $form does not match actual variable name | | $variables at position 1 88 | ERROR | Missing parameter type at position 1 90 | ERROR | Data type of return value is missing 97 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 124 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 159 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 189 | ERROR | BREAK statements must be followed by a single blank line 194 | ERROR | BREAK statements must be followed by a single blank line 198 | WARNING | Avoid backslash escaping in translatable strings when | | possible, use "" quotes instead 199 | ERROR | BREAK statements must be followed by a single blank line 203 | WARNING | Avoid backslash escaping in translatable strings when | | possible, use "" quotes instead 263 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 538 | ERROR | Missing parameter type at position 1 561 | ERROR | Missing parameter type at position 1 -------------------------------------------------------------------------------- FILE: ...sites/example.dev/sites/all/modules/webform/includes/webform.export.inc -------------------------------------------------------------------------------- FOUND 41 ERROR(S) AFFECTING 19 LINE(S) -------------------------------------------------------------------------------- 5 | ERROR | The third line in the file doc comment must contain a | | description and must not be indented 13 | ERROR | Data type of return value is missing 71 | ERROR | Expected "else {\n"; found "else {\n" 79 | ERROR | Class name must begin with a capital letter 79 | ERROR | Class name must use UpperCamel naming without underscores 80 | ERROR | Method name "webform_exporter::add_row" is not in lowerCamel | | format, it must not contain underscores 80 | ERROR | Missing function doc comment 80 | ERROR | No scope modifier specified for function "add_row" 83 | ERROR | Method name "webform_exporter::set_headers" is not in lowerCamel | | format, it must not contain underscores 83 | ERROR | Missing function doc comment 83 | ERROR | No scope modifier specified for function "set_headers" 89 | ERROR | Missing function doc comment 89 | ERROR | No scope modifier specified for function "bof" 92 | ERROR | Missing function doc comment 92 | ERROR | No scope modifier specified for function "eof" 96 | ERROR | Class name must begin with a capital letter 96 | ERROR | Class name must use UpperCamel naming without underscores 97 | ERROR | The PHP 4-style "var" declaration must not be used. 99 | ERROR | Method name | | "webform_exporter_delimited::webform_exporter_delimited" is not | | in lowerCamel format, it must not contain underscores 99 | ERROR | Missing function doc comment 99 | ERROR | PHP4 style constructors are not allowed; use "__construct()" | | instead 99 | ERROR | No scope modifier specified for function | | "webform_exporter_delimited" 107 | ERROR | You must use "/**" style comments for a function comment 107 | ERROR | No scope modifier specified for function "bof" 118 | ERROR | Method name "webform_exporter_delimited::add_row" is not in | | lowerCamel format, it must not contain underscores 118 | ERROR | You must use "/**" style comments for a function comment 118 | ERROR | No scope modifier specified for function "add_row" 135 | ERROR | Method name "webform_exporter_delimited::set_headers" is not in | | lowerCamel format, it must not contain underscores 135 | ERROR | You must use "/**" style comments for a function comment 135 | ERROR | No scope modifier specified for function "set_headers" 156 | ERROR | Class name must begin with a capital letter 156 | ERROR | Class name must use UpperCamel naming without underscores 157 | ERROR | The PHP 4-style "var" declaration must not be used. 159 | ERROR | Method name "webform_exporter_excel::webform_exporter_excel" is | | not in lowerCamel format, it must not contain underscores 159 | ERROR | Missing function doc comment 159 | ERROR | PHP4 style constructors are not allowed; use "__construct()" | | instead 159 | ERROR | No scope modifier specified for function | | "webform_exporter_excel" 161 | ERROR | PHP4 style calls to parent constructors are not allowed; use | | "parent::__construct()" instead 164 | ERROR | Method name "webform_exporter_excel::set_headers" is not in | | lowerCamel format, it must not contain underscores 164 | ERROR | Missing function doc comment 164 | ERROR | No scope modifier specified for function "set_headers" -------------------------------------------------------------------------------- FILE: ...bsites/example.dev/sites/all/modules/webform/includes/webform.pages.inc -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 4 LINE(S) -------------------------------------------------------------------------------- 5 | ERROR | The third line in the file doc comment must contain a | | description and must not be indented 67 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 67 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 69 | ERROR | There must be a single space before an operator statement 293 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks -------------------------------------------------------------------------------- FILE: ...sites/example.dev/sites/all/modules/webform/includes/webform.report.inc -------------------------------------------------------------------------------- FOUND 56 ERROR(S) AND 9 WARNING(S) AFFECTING 53 LINE(S) -------------------------------------------------------------------------------- 91 | ERROR | Doc comment for var $total_count does not match actual | | variable name $variables at position 1 91 | ERROR | Missing parameter type at position 1 93 | ERROR | Superfluous doc comment at position 2 93 | ERROR | Missing parameter type at position 2 158 | ERROR | Function comment short description must end with a full stop 166 | ERROR | There must be a single space before an operator statement 184 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 191 | ERROR | You must use "/**" style comments for a function comment 203 | ERROR | Doc comment for var $node does not match actual variable name | | $variables at position 1 203 | ERROR | Missing parameter type at position 1 205 | ERROR | Superfluous doc comment at position 2 205 | ERROR | Missing parameter type at position 2 207 | ERROR | Superfluous doc comment at position 3 207 | ERROR | Missing parameter type at position 3 209 | ERROR | Superfluous doc comment at position 4 209 | ERROR | Missing parameter type at position 4 211 | ERROR | Superfluous doc comment at position 5 211 | ERROR | Missing parameter type at position 5 257 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 257 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 270 | ERROR | Missing parameter type at position 1 284 | ERROR | Doc comment for var $nid does not match actual variable name | | $form at position 1 284 | ERROR | Missing parameter type at position 1 297 | ERROR | Missing function doc comment 442 | WARNING | A comma should follow the last multiline array item. Found: | | TRUE 463 | ERROR | Expected "else {\n"; found "else{\n" 467 | ERROR | Expected "else {\n"; found "else{\n" 473 | ERROR | BREAK statements must be followed by a single blank line 480 | ERROR | Expected "else {\n"; found "else{\n" 484 | ERROR | Expected "else {\n"; found "else{\n" 495 | ERROR | Expected "else {\n"; found "else{\n" 499 | ERROR | Expected "else {\n"; found "else{\n" 665 | WARNING | Line exceeds 80 characters; contains 82 characters 667 | WARNING | Line exceeds 80 characters; contains 132 characters 668 | WARNING | Line exceeds 80 characters; contains 129 characters 669 | WARNING | Line exceeds 80 characters; contains 132 characters 670 | WARNING | Line exceeds 80 characters; contains 127 characters 671 | WARNING | Line exceeds 80 characters; contains 134 characters 672 | WARNING | Line exceeds 80 characters; contains 134 characters 673 | ERROR | Additional blank line found at the end of doc comment 711 | ERROR | Comments may not appear after statements. 746 | ERROR | Expected "if (...) {\n"; found "if (...){\n" 770 | ERROR | An operator statement must be followed by a single space 818 | ERROR | Missing parameter type at position 1 820 | ERROR | Missing parameter type at position 2 829 | ERROR | Comments may not appear after statements. 830 | ERROR | There must be no blank line following an inline comment 830 | ERROR | Comments may not appear after statements. 856 | ERROR | Missing parameter type at position 1 858 | ERROR | Missing parameter type at position 2 861 | ERROR | Missing parameter type at position 3 886 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 906 | WARNING | A comma should follow the last multiline array item. Found: ) 915 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 924 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 924 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 927 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 942 | ERROR | BREAK statements must be followed by a single blank line 950 | ERROR | BREAK statements must be followed by a single blank line 956 | ERROR | BREAK statements must be followed by a single blank line 960 | ERROR | Expected "if (...) {\n"; found "if (...){\n" 986 | ERROR | Missing parameter type at position 1 988 | ERROR | Last parameter comment requires a blank newline after it 988 | ERROR | Missing parameter type at position 2 990 | ERROR | Data type of return value is missing -------------------------------------------------------------------------------- FILE: .../example.dev/sites/all/modules/webform/includes/webform.submissions.inc -------------------------------------------------------------------------------- FOUND 57 ERROR(S) AND 1 WARNING(S) AFFECTING 45 LINE(S) -------------------------------------------------------------------------------- 14 | ERROR | Missing parameter type at position 1 16 | ERROR | Last parameter comment requires a blank newline after it 16 | ERROR | Missing parameter type at position 2 18 | ERROR | Data type of return value is missing 44 | ERROR | Missing parameter type at position 1 46 | ERROR | Last parameter comment requires a blank newline after it 46 | ERROR | Missing parameter type at position 2 48 | ERROR | Data type of return value is missing 90 | ERROR | Missing parameter type at position 1 92 | ERROR | Last parameter comment requires a blank newline after it 92 | ERROR | Missing parameter type at position 2 94 | ERROR | Data type of return value is missing 134 | ERROR | Doc comment for var $nid does not match actual variable name | | $node at position 1 134 | ERROR | Missing parameter type at position 1 136 | ERROR | Doc comment for var $sid does not match actual variable name | | $submission at position 2 136 | ERROR | Missing parameter type at position 2 170 | ERROR | Missing parameter type at position 1 172 | ERROR | Missing parameter type at position 2 174 | ERROR | Missing parameter type at position 3 192 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 192 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 202 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 315 | ERROR | Missing parameter type at position 1 317 | ERROR | Missing parameter type at position 2 319 | ERROR | Missing parameter type at position 3 321 | ERROR | Missing parameter type at position 4 357 | ERROR | You must use "/**" style comments for a function comment 403 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 404 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 412 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 412 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 412 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 516 | ERROR | Last parameter comment requires a blank newline after it 516 | ERROR | Doc comment for var $form does not match actual variable name | | $variables at position 1 516 | ERROR | Missing parameter type at position 1 518 | ERROR | Data type of return value is missing 540 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 572 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 589 | ERROR | Missing parameter type at position 1 593 | ERROR | Missing parameter type at position 2 596 | ERROR | Missing parameter type at position 3 719 | ERROR | Missing parameter type at position 1 721 | ERROR | Last parameter comment requires a blank newline after it 721 | ERROR | Missing parameter type at position 2 723 | ERROR | Data type of return value is missing 777 | ERROR | You must use "/**" style comments for a function comment 778 | ERROR | A cast statement must be followed by a single space 781 | ERROR | Comments may not appear after statements. 783 | ERROR | Comments may not appear after statements. 789 | ERROR | Last parameter comment requires a blank newline after it 789 | ERROR | Missing parameter type at position 1 791 | ERROR | Data type of return value is missing 799 | ERROR | Comments may not appear after statements. 818 | WARNING | Line exceeds 80 characters; contains 98 characters 854 | ERROR | Last parameter comment requires a blank newline after it 854 | ERROR | Missing parameter type at position 1 856 | ERROR | Data type of return value is missing 863 | ERROR | Comments may not appear after statements. -------------------------------------------------------------------------------- FILE: ...le.dev/sites/all/modules/webform/templates/webform-confirmation.tpl.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AND 1 WARNING(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 14 | WARNING | Line exceeds 80 characters; contains 81 characters 28 | ERROR | Concat operator must be surrounded by spaces -------------------------------------------------------------------------------- FILE: ...es/example.dev/sites/all/modules/webform/templates/webform-mail.tpl.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AND 1 WARNING(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 18 | WARNING | Line exceeds 80 characters; contains 88 characters 22 | ERROR | Concat operator must be surrounded by spaces -------------------------------------------------------------------------------- FILE: ...sites/all/modules/webform/templates/webform-results-submissions.tpl.php -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AND 1 WARNING(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 2 | ERROR | You must use "/**" style comments for a file comment 2 | ERROR | There must be no blank line following an inline comment 17 | WARNING | Line exceeds 80 characters; contains 86 characters -------------------------------------------------------------------------------- FILE: ...rt/websites/example.dev/sites/all/modules/webform/tests/components.test -------------------------------------------------------------------------------- FOUND 4 ERROR(S) AFFECTING 4 LINE(S) -------------------------------------------------------------------------------- 8 | ERROR | "include_once" is a statement not a function; no parentheses are | | required 25 | ERROR | No scope modifier specified for function "setUp" 30 | ERROR | Function comment short description must be on a single line 34 | ERROR | No scope modifier specified for function "testWebformDummy" -------------------------------------------------------------------------------- FILE: ...t/websites/example.dev/sites/all/modules/webform/tests/permissions.test -------------------------------------------------------------------------------- FOUND 6 ERROR(S) AND 1 WARNING(S) AFFECTING 7 LINE(S) -------------------------------------------------------------------------------- 8 | ERROR | "include_once" is a statement not a function; no parentheses | | are required 25 | ERROR | No scope modifier specified for function "setUp" 32 | ERROR | No scope modifier specified for function "tearDown" 38 | ERROR | Expected 3 space(s) before asterisk; 2 found 39 | ERROR | No scope modifier specified for function | | "testWebformSubmitAccess" 58 | WARNING | Line exceeds 80 characters; contains 114 characters 63 | ERROR | Inline doc block comments are not allowed; use "// Comment" | | instead -------------------------------------------------------------------------------- FILE: ...rt/websites/example.dev/sites/all/modules/webform/tests/submission.test -------------------------------------------------------------------------------- FOUND 12 ERROR(S) AND 2 WARNING(S) AFFECTING 13 LINE(S) -------------------------------------------------------------------------------- 8 | ERROR | "include_once" is a statement not a function; no parentheses | | are required 25 | ERROR | No scope modifier specified for function "setUp" 32 | ERROR | No scope modifier specified for function "tearDown" 39 | ERROR | No scope modifier specified for function | | "testWebformSubmission" 49 | ERROR | No scope modifier specified for function | | "testWebformSubmissionDefault" 59 | ERROR | No scope modifier specified for function | | "testWebformSubmissionValidate" 69 | ERROR | No scope modifier specified for function | | "testWebformSubmissionRequiredComponents" 101 | ERROR | Missing parameter type at position 1 104 | ERROR | No scope modifier specified for function | | "webformSubmissionExecute" 112 | WARNING | Line exceeds 80 characters; contains 83 characters 144 | ERROR | Superfluous doc comment at position 1 144 | ERROR | Missing parameter type at position 1 147 | ERROR | No scope modifier specified for function | | "webformSubmissionValidateExecute" 166 | WARNING | Line exceeds 80 characters; contains 88 characters -------------------------------------------------------------------------------- FILE: ...start/websites/example.dev/sites/all/modules/webform/tests/webform.test -------------------------------------------------------------------------------- FOUND 57 ERROR(S) AND 6 WARNING(S) AFFECTING 56 LINE(S) -------------------------------------------------------------------------------- 9 | WARNING | The use of private methods or properties is strongly | | discouraged, use "protected" instead 9 | ERROR | Private member variable "_webform_node" must not be | | prefixed with an underscore - it is discouraged in PHP | | 5-specific code 10 | WARNING | The use of private methods or properties is strongly | | discouraged, use "protected" instead 10 | ERROR | Private member variable "_webform_components" must not be | | prefixed with an underscore - it is discouraged in PHP | | 5-specific code 11 | ERROR | Class property $webform_users should use lowerCamel naming | | without underscores 16 | ERROR | No scope modifier specified for function "setUp" 65 | ERROR | No scope modifier specified for function "tearDown" 82 | ERROR | Function doc comment is empty 83 | ERROR | Additional blank line found at the end of doc comment 85 | ERROR | No scope modifier specified for function "webformReset" 97 | WARNING | Line exceeds 80 characters; contains 85 characters 102 | ERROR | No scope modifier specified for function | | "testWebformComponents" 124 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 137 | ERROR | Comments may not appear after statements. 138 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 138 | ERROR | Comments may not appear after statements. 155 | WARNING | Line exceeds 80 characters; contains 102 characters 155 | ERROR | Comments may not appear after statements. 156 | WARNING | Line exceeds 80 characters; contains 83 characters 156 | ERROR | Comments may not appear after statements. 162 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 163 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 164 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 365 | WARNING | Line exceeds 80 characters; contains 84 characters 388 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 619 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 620 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 650 | ERROR | You must use "/**" style comments for a function comment 650 | ERROR | No scope modifier specified for function "testWebformForm" 656 | ERROR | Array indentation error, expected 6 spaces but found 5 657 | ERROR | Array indentation error, expected 6 spaces but found 5 658 | ERROR | Array indentation error, expected 6 spaces but found 5 659 | ERROR | Array indentation error, expected 6 spaces but found 5 660 | ERROR | Array indentation error, expected 6 spaces but found 5 661 | ERROR | Array indentation error, expected 6 spaces but found 5 662 | ERROR | Array indentation error, expected 6 spaces but found 5 663 | ERROR | Array indentation error, expected 6 spaces but found 5 664 | ERROR | Array indentation error, expected 6 spaces but found 5 665 | ERROR | Array indentation error, expected 6 spaces but found 5 666 | ERROR | Array indentation error, expected 6 spaces but found 5 667 | ERROR | Array indentation error, expected 6 spaces but found 5 668 | ERROR | Array indentation error, expected 6 spaces but found 5 669 | ERROR | Array indentation error, expected 6 spaces but found 5 670 | ERROR | Array indentation error, expected 6 spaces but found 5 671 | ERROR | Array indentation error, expected 7 spaces but found 8 672 | ERROR | Array indentation error, expected 7 spaces but found 8 673 | ERROR | Array indentation error, expected 7 spaces but found 8 674 | ERROR | Array indentation error, expected 7 spaces but found 8 675 | ERROR | Array indentation error, expected 7 spaces but found 8 676 | ERROR | Array indentation error, expected 7 spaces but found 8 677 | ERROR | Array indentation error, expected 7 spaces but found 8 678 | ERROR | Array indentation error, expected 7 spaces but found 8 679 | ERROR | Array indentation error, expected 7 spaces but found 8 680 | ERROR | Array indentation error, expected 7 spaces but found 8 681 | ERROR | Array indentation error, expected 7 spaces but found 8 682 | ERROR | Array indentation error, expected 7 spaces but found 8 683 | ERROR | Array closing indentation error, expected 5 spaces but found 6 702 | ERROR | No scope modifier specified for function "testWebformPost" 723 | ERROR | No scope modifier specified for function "webformPrintPage" 746 | ERROR | No scope modifier specified for function "testWebformCreate" 766 | ERROR | No scope modifier specified for function | | "testWebformCreateNewType" 805 | ERROR | You must use "/**" style comments for a function comment 805 | ERROR | No scope modifier specified for function "webformRecordExists" -------------------------------------------------------------------------------- FILE: .../websites/example.dev/sites/all/modules/webform/views/webform.views.inc -------------------------------------------------------------------------------- FOUND 21 ERROR(S) AFFECTING 13 LINE(S) -------------------------------------------------------------------------------- 8 | ERROR | Missing function doc comment 10 | ERROR | Inline doc block comments are not allowed; use "// Comment" | | instead 22 | ERROR | Inline comments must start with a capital letter 22 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 40 | ERROR | Inline doc block comments are not allowed; use "// Comment" | | instead 50 | ERROR | Inline comments must start with a capital letter 50 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 70 | ERROR | Inline comments must start with a capital letter 70 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 82 | ERROR | Inline comments must start with a capital letter 82 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 106 | ERROR | Array indentation error, expected 6 spaces but found 7 110 | ERROR | Inline comments must start with a capital letter 110 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 144 | ERROR | Inline comments must start with a capital letter 144 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 154 | ERROR | Inline comments must start with a capital letter 154 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 164 | ERROR | Inline comments must start with a capital letter 164 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 308 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...dev/sites/all/modules/webform/views/webform_handler_field_form_body.inc -------------------------------------------------------------------------------- FOUND 11 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 11 | ERROR | Class name must begin with a capital letter 11 | ERROR | Class name must use UpperCamel naming without underscores 12 | ERROR | Missing function doc comment 12 | ERROR | No scope modifier specified for function "construct" 17 | ERROR | Method name "webform_handler_field_form_body::option_definition" | | is not in lowerCamel format, it must not contain underscores 17 | ERROR | Missing function doc comment 17 | ERROR | No scope modifier specified for function "option_definition" 23 | ERROR | Missing function doc comment 23 | ERROR | No scope modifier specified for function "query" 28 | ERROR | Missing function doc comment 28 | ERROR | No scope modifier specified for function "render" -------------------------------------------------------------------------------- FILE: ....dev/sites/all/modules/webform/views/webform_handler_field_is_draft.inc -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 13 | ERROR | Class name must begin with a capital letter 13 | ERROR | Class name must use UpperCamel naming without underscores 14 | ERROR | Missing function doc comment 14 | ERROR | No scope modifier specified for function "render" 18 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...ites/all/modules/webform/views/webform_handler_field_node_link_edit.inc -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 11 | ERROR | Class name must begin with a capital letter 11 | ERROR | Class name must use UpperCamel naming without underscores 16 | ERROR | Method name "webform_handler_field_node_link_edit::render_link" | | is not in lowerCamel format, it must not contain underscores 16 | ERROR | No scope modifier specified for function "render_link" 30 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...s/all/modules/webform/views/webform_handler_field_node_link_results.inc -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 11 | ERROR | Class name must begin with a capital letter 11 | ERROR | Class name must use UpperCamel naming without underscores 16 | ERROR | Method name | | "webform_handler_field_node_link_results::render_link" is not in | | lowerCamel format, it must not contain underscores 16 | ERROR | No scope modifier specified for function "render_link" 30 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...es/all/modules/webform/views/webform_handler_field_submission_count.inc -------------------------------------------------------------------------------- FOUND 11 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 11 | ERROR | Class name must begin with a capital letter 11 | ERROR | Class name must use UpperCamel naming without underscores 12 | ERROR | Missing function doc comment 12 | ERROR | No scope modifier specified for function "construct" 25 | ERROR | Method name | | "webform_handler_field_submission_count::option_definition" is | | not in lowerCamel format, it must not contain underscores 25 | ERROR | Missing function doc comment 25 | ERROR | No scope modifier specified for function "option_definition" 31 | ERROR | Missing function doc comment 31 | ERROR | No scope modifier specified for function "query" 36 | ERROR | Missing function doc comment 36 | ERROR | No scope modifier specified for function "render" -------------------------------------------------------------------------------- FILE: ...tes/all/modules/webform/views/webform_handler_field_submission_link.inc -------------------------------------------------------------------------------- FOUND 22 ERROR(S) AFFECTING 11 LINE(S) -------------------------------------------------------------------------------- 11 | ERROR | Class name must begin with a capital letter 11 | ERROR | Class name must use UpperCamel naming without underscores 12 | ERROR | The PHP 4-style "var" declaration must not be used. 12 | ERROR | Class property $link_type should use lowerCamel naming without | | underscores 14 | ERROR | Missing function doc comment 14 | ERROR | No scope modifier specified for function "construct" 30 | ERROR | Method name | | "webform_handler_field_submission_link::allow_advanced_render" is | | not in lowerCamel format, it must not contain underscores 30 | ERROR | You must use "/**" style comments for a function comment 30 | ERROR | No scope modifier specified for function "allow_advanced_render" 34 | ERROR | Method name | | "webform_handler_field_submission_link::option_definition" is not | | in lowerCamel format, it must not contain underscores 34 | ERROR | Missing function doc comment 34 | ERROR | No scope modifier specified for function "option_definition" 41 | ERROR | Method name "webform_handler_field_submission_link::options_form" | | is not in lowerCamel format, it must not contain underscores 41 | ERROR | Missing function doc comment 41 | ERROR | No scope modifier specified for function "options_form" 50 | ERROR | Missing function doc comment 50 | ERROR | No scope modifier specified for function "query" 61 | ERROR | You must use "/**" style comments for a function comment 61 | ERROR | No scope modifier specified for function "render" 76 | ERROR | BREAK statements must be followed by a single blank line 81 | ERROR | BREAK statements must be followed by a single blank line 87 | ERROR | BREAK statements must be followed by a single blank line -------------------------------------------------------------------------------- FILE: ...ites/all/modules/webform/views/webform_handler_field_webform_status.inc -------------------------------------------------------------------------------- FOUND 12 ERROR(S) AFFECTING 6 LINE(S) -------------------------------------------------------------------------------- 6 | ERROR | File doc comments must be followed by a blank line. 7 | ERROR | Class name must begin with a capital letter 7 | ERROR | Class name must use UpperCamel naming without underscores 9 | ERROR | Method name "webform_handler_field_webform_status::options_form" | | is not in lowerCamel format, it must not contain underscores 9 | ERROR | Missing function doc comment 9 | ERROR | No scope modifier specified for function "options_form" 14 | ERROR | Method name | | "webform_handler_field_webform_status::option_definition" is not | | in lowerCamel format, it must not contain underscores 14 | ERROR | Missing function doc comment 14 | ERROR | No scope modifier specified for function "option_definition" 20 | ERROR | Missing function doc comment 20 | ERROR | No scope modifier specified for function "render" 38 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...dev/sites/all/modules/webform/views/webform_handler_filter_is_draft.inc -------------------------------------------------------------------------------- FOUND 8 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 11 | ERROR | Class name must begin with a capital letter 11 | ERROR | Class name must use UpperCamel naming without underscores 12 | ERROR | Method name "webform_handler_filter_is_draft::get_value_options" | | is not in lowerCamel format, it must not contain underscores 12 | ERROR | Missing function doc comment 12 | ERROR | No scope modifier specified for function "get_value_options" 21 | ERROR | Method name "webform_handler_filter_is_draft::value_form" is not | | in lowerCamel format, it must not contain underscores 21 | ERROR | You must use "/**" style comments for a function comment 21 | ERROR | No scope modifier specified for function "value_form" -------------------------------------------------------------------------------- FILE: ...tes/all/modules/webform/views/webform_handler_filter_webform_status.inc -------------------------------------------------------------------------------- FOUND 6 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 6 | ERROR | File doc comments must be followed by a blank line. 7 | ERROR | Class name must begin with a capital letter 7 | ERROR | Class name must use UpperCamel naming without underscores 8 | ERROR | Method name | | "webform_handler_filter_webform_status::get_value_options" is not | | in lowerCamel format, it must not contain underscores 8 | ERROR | Missing function doc comment 8 | ERROR | No scope modifier specified for function "get_value_options" -------------------------------------------------------------------------------- FILE: ...ickstart/websites/example.dev/sites/all/modules/webform/webform.api.php -------------------------------------------------------------------------------- FOUND 70 ERROR(S) AFFECTING 61 LINE(S) -------------------------------------------------------------------------------- 27 | ERROR | Data type of return value is missing 52 | ERROR | Trailing punctuation for @see references is not allowed. 67 | ERROR | Missing parameter type at position 1 69 | ERROR | Missing parameter type at position 2 74 | ERROR | Missing parameter type at position 3 78 | ERROR | Last parameter comment requires a blank newline after it 78 | ERROR | Missing parameter type at position 4 80 | ERROR | Data type of return value is missing 97 | ERROR | Missing parameter type at position 1 110 | ERROR | Missing parameter type at position 1 112 | ERROR | Missing parameter type at position 2 128 | ERROR | Missing parameter type at position 1 130 | ERROR | Missing parameter type at position 2 151 | ERROR | Missing parameter type at position 1 153 | ERROR | Missing parameter type at position 2 170 | ERROR | Missing parameter type at position 1 172 | ERROR | Missing parameter type at position 2 192 | ERROR | Missing parameter type at position 1 194 | ERROR | Missing parameter type at position 2 215 | ERROR | Missing parameter type at position 1 258 | ERROR | Missing parameter type at position 1 307 | ERROR | Data type of return value is missing 323 | ERROR | Whitespace found at end of line 325 | ERROR | Whitespace found at end of line 401 | ERROR | Whitespace found at end of line 421 | ERROR | Missing parameter type at position 1 439 | ERROR | Missing parameter type at position 1 441 | ERROR | Last parameter comment requires a blank newline after it 441 | ERROR | Missing parameter type at position 2 444 | ERROR | Data type of return value is missing 480 | ERROR | Data type of return value is missing 509 | ERROR | Last parameter comment requires a blank newline after it 509 | ERROR | Missing parameter type at position 1 511 | ERROR | Data type of return value is missing 538 | ERROR | Missing parameter type at position 1 540 | ERROR | Missing parameter type at position 2 545 | ERROR | Missing parameter type at position 3 577 | ERROR | Missing parameter type at position 1 579 | ERROR | Missing parameter type at position 2 582 | ERROR | Last parameter comment requires a blank newline after it 582 | ERROR | Missing parameter type at position 3 586 | ERROR | Data type of return value is missing 615 | ERROR | Whitespace found at end of line 617 | ERROR | Whitespace found at end of line 619 | ERROR | Whitespace found at end of line 624 | ERROR | Missing parameter type at position 1 626 | ERROR | Last parameter comment requires a blank newline after it 626 | ERROR | Missing parameter type at position 2 628 | ERROR | Data type of return value is missing 652 | ERROR | Missing parameter type at position 1 654 | ERROR | Missing parameter type at position 2 703 | ERROR | Missing parameter type at position 1 706 | ERROR | Missing parameter type at position 2 709 | ERROR | Last parameter comment requires a blank newline after it 709 | ERROR | Missing parameter type at position 3 713 | ERROR | Data type of return value is missing 759 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 770 | ERROR | Missing parameter type at position 1 772 | ERROR | Last parameter comment requires a blank newline after it 772 | ERROR | Missing parameter type at position 2 775 | ERROR | Data type of return value is missing 801 | ERROR | Missing parameter type at position 1 803 | ERROR | Last parameter comment requires a blank newline after it 803 | ERROR | Missing parameter type at position 2 805 | ERROR | Data type of return value is missing 835 | ERROR | Missing parameter type at position 1 837 | ERROR | Missing parameter type at position 2 839 | ERROR | Last parameter comment requires a blank newline after it 839 | ERROR | Missing parameter type at position 3 842 | ERROR | Data type of return value is missing -------------------------------------------------------------------------------- FILE: ...ickstart/websites/example.dev/sites/all/modules/webform/webform.install -------------------------------------------------------------------------------- FOUND 51 ERROR(S) AND 1 WARNING(S) AFFECTING 50 LINE(S) -------------------------------------------------------------------------------- 5 | ERROR | The third line in the file doc comment must contain a | | description and must not be indented 48 | ERROR | Array indentation error, expected 8 spaces but found 9 49 | ERROR | Array indentation error, expected 8 spaces but found 9 50 | ERROR | Array indentation error, expected 8 spaces but found 9 51 | ERROR | Array indentation error, expected 8 spaces but found 9 52 | ERROR | Array indentation error, expected 8 spaces but found 9 62 | ERROR | Array indentation error, expected 8 spaces but found 9 63 | ERROR | Array indentation error, expected 8 spaces but found 9 64 | ERROR | Array indentation error, expected 8 spaces but found 9 65 | ERROR | Array indentation error, expected 8 spaces but found 9 66 | ERROR | Array indentation error, expected 8 spaces but found 9 69 | ERROR | Array indentation error, expected 8 spaces but found 9 70 | ERROR | Array indentation error, expected 8 spaces but found 9 71 | ERROR | Array indentation error, expected 8 spaces but found 9 72 | ERROR | Array indentation error, expected 8 spaces but found 9 73 | ERROR | Array indentation error, expected 8 spaces but found 9 301 | ERROR | Array indentation error, expected 8 spaces but found 9 302 | ERROR | Array indentation error, expected 8 spaces but found 9 303 | ERROR | Array indentation error, expected 8 spaces but found 9 304 | ERROR | Array indentation error, expected 8 spaces but found 9 305 | ERROR | Array indentation error, expected 8 spaces but found 9 376 | ERROR | Array indentation error, expected 4 spaces but found 3 386 | ERROR | Array indentation error, expected 8 spaces but found 7 392 | ERROR | Array indentation error, expected 6 spaces but found 5 393 | ERROR | Array indentation error, expected 7 spaces but found 8 394 | ERROR | Array indentation error, expected 7 spaces but found 8 395 | ERROR | Array indentation error, expected 7 spaces but found 8 396 | ERROR | Array indentation error, expected 7 spaces but found 8 397 | ERROR | Array indentation error, expected 7 spaces but found 8 398 | ERROR | Array closing indentation error, expected 5 spaces but found 6 399 | ERROR | Array indentation error, expected 6 spaces but found 5 400 | ERROR | Array indentation error, expected 7 spaces but found 8 401 | ERROR | Array indentation error, expected 7 spaces but found 8 402 | ERROR | Array indentation error, expected 7 spaces but found 8 403 | ERROR | Array indentation error, expected 7 spaces but found 8 404 | ERROR | Array indentation error, expected 7 spaces but found 8 405 | ERROR | Array closing indentation error, expected 5 spaces but found 6 428 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 430 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 525 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 526 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 534 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 542 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 543 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 566 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 595 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 623 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 708 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 708 | WARNING | Last item of an inline array must not be followed by a comma 708 | ERROR | Expected 1 space between comma and ")"; 0 found 717 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 721 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...uickstart/websites/example.dev/sites/all/modules/webform/webform.module -------------------------------------------------------------------------------- FOUND 155 ERROR(S) AND 15 WARNING(S) AFFECTING 142 LINE(S) -------------------------------------------------------------------------------- 4 | ERROR | The second line in the file doc comment must be " * @file" 5 | ERROR | The third line in the file doc comment must contain a | | description and must not be indented 30 | ERROR | BREAK statements must be followed by a single blank line 33 | ERROR | BREAK statements must be followed by a single blank line 62 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 63 | ERROR | BREAK statements must be followed by a single blank line 66 | WARNING | Avoid backslash escaping in translatable strings when | | possible, use "" quotes instead 67 | ERROR | BREAK statements must be followed by a single blank line 386 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 421 | ERROR | Missing function doc comment 463 | ERROR | Missing function doc comment 530 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 552 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 557 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 630 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 642 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 653 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 658 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 808 | ERROR | Empty array declaration must have no space between the | | parentheses 976 | WARNING | A comma should follow the last multiline array item. Found: ) 1036 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 1120 | ERROR | Comments may not appear after statements. 1373 | ERROR | Function comment short description must be on a single line 1383 | WARNING | A comma should follow the last multiline array item. Found: ) 1500 | ERROR | There should be no white space after an opening "{" 1500 | WARNING | Line exceeds 80 characters; contains 85 characters 1500 | ERROR | Comments may not appear after statements. 1511 | ERROR | There should be no white space after an opening "{" 1511 | WARNING | Line exceeds 80 characters; contains 91 characters 1511 | ERROR | Comments may not appear after statements. 1542 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 1560 | ERROR | Doc comment for var $node does not match actual variable name | | $variables at position 1 1560 | ERROR | Missing parameter type at position 1 1562 | ERROR | Superfluous doc comment at position 2 1562 | ERROR | Missing parameter type at position 2 1564 | ERROR | Superfluous doc comment at position 3 1564 | ERROR | Missing parameter type at position 3 1566 | ERROR | Superfluous doc comment at position 4 1566 | ERROR | Missing parameter type at position 4 1568 | ERROR | Superfluous doc comment at position 5 1568 | ERROR | Missing parameter type at position 5 1581 | ERROR | Doc comment for var $node does not match actual variable name | | $variables at position 1 1581 | ERROR | Missing parameter type at position 1 1583 | ERROR | Superfluous doc comment at position 2 1583 | ERROR | Missing parameter type at position 2 1585 | ERROR | Superfluous doc comment at position 3 1585 | ERROR | Missing parameter type at position 3 1587 | ERROR | Superfluous doc comment at position 4 1587 | ERROR | Missing parameter type at position 4 1590 | ERROR | Superfluous doc comment at position 5 1590 | ERROR | Missing parameter type at position 5 1592 | ERROR | Superfluous doc comment at position 6 1592 | ERROR | Missing parameter type at position 6 1594 | ERROR | Superfluous doc comment at position 7 1594 | ERROR | Missing parameter type at position 7 1596 | ERROR | Superfluous doc comment at position 8 1596 | ERROR | Missing parameter type at position 8 1624 | WARNING | Line exceeds 80 characters; contains 97 characters 1833 | ERROR | Function comment short description must be on a single line 1837 | ERROR | Missing parameter type at position 1 1839 | ERROR | Missing parameter type at position 2 1841 | ERROR | Missing parameter type at position 3 1843 | ERROR | Missing parameter type at position 4 1846 | ERROR | Missing parameter type at position 5 1848 | ERROR | Missing parameter type at position 6 1902 | WARNING | A comma should follow the last multiline array item. Found: | | TRUE 2109 | ERROR | Missing parameter type at position 1 2111 | ERROR | Missing parameter type at position 2 2113 | ERROR | Missing parameter type at position 3 2115 | ERROR | Missing parameter type at position 4 2117 | ERROR | Missing parameter type at position 5 2119 | ERROR | Missing parameter type at position 6 2121 | ERROR | Missing parameter type at position 7 2126 | ERROR | Missing parameter type at position 8 2165 | WARNING | Line exceeds 80 characters; contains 95 characters 2171 | WARNING | Line exceeds 80 characters; contains 90 characters 2211 | ERROR | You must use "/**" style comments for a function comment 2218 | WARNING | Line exceeds 80 characters; contains 81 characters 2222 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2231 | ERROR | There should be no white space after an opening "{" 2231 | WARNING | Line exceeds 80 characters; contains 85 characters 2231 | ERROR | Comments may not appear after statements. 2237 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2280 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2310 | ERROR | Expected "if (...) {\n"; found "if (...) {\n" 2488 | WARNING | Line exceeds 80 characters; contains 105 characters 2552 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2570 | ERROR | Missing parameter type at position 1 2572 | ERROR | Missing parameter type at position 2 2574 | ERROR | Missing parameter type at position 3 2576 | ERROR | Missing parameter type at position 4 2599 | WARNING | Line exceeds 80 characters; contains 96 characters 2599 | ERROR | Function comment short description must end with a full stop 2690 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2698 | ERROR | Array indentation error, expected 4 spaces but found 3 2699 | ERROR | Array indentation error, expected 4 spaces but found 3 2700 | ERROR | Array indentation error, expected 4 spaces but found 3 2758 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2816 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 2846 | ERROR | Doc comment for var $node does not match actual variable name | | $variables at position 1 2846 | ERROR | Missing parameter type at position 1 2848 | ERROR | Superfluous doc comment at position 2 2848 | ERROR | Missing parameter type at position 2 2850 | ERROR | Last parameter comment requires a blank newline after it 2850 | ERROR | Superfluous doc comment at position 3 2850 | ERROR | Missing parameter type at position 3 2855 | ERROR | Data type of return value is missing 2884 | ERROR | Missing parameter type at position 1 2886 | ERROR | Missing parameter type at position 2 2888 | ERROR | Missing parameter type at position 3 2891 | ERROR | Missing parameter type at position 4 2894 | ERROR | Missing parameter type at position 5 2898 | ERROR | Missing parameter type at position 6 2959 | WARNING | Line exceeds 80 characters; contains 82 characters 2959 | ERROR | Comments may not appear after statements. 3073 | WARNING | Line exceeds 80 characters; contains 91 characters 3092 | ERROR | Last parameter comment requires a blank newline after it 3092 | ERROR | Missing parameter type at position 1 3094 | ERROR | Data type of return value is missing 3117 | ERROR | Last parameter comment requires a blank newline after it 3117 | ERROR | Missing parameter type at position 1 3119 | ERROR | Data type of return value is missing 3143 | ERROR | Missing parameter type at position 1 3145 | ERROR | Missing parameter type at position 2 3147 | ERROR | Doc comment for var $parent does not match actual variable | | name $pid at position 3 3147 | ERROR | Missing parameter type at position 3 3164 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 3165 | ERROR | BREAK statements must be followed by a single blank line 3168 | ERROR | BREAK statements must be followed by a single blank line 3171 | ERROR | BREAK statements must be followed by a single blank line 3174 | ERROR | BREAK statements must be followed by a single blank line 3177 | ERROR | BREAK statements must be followed by a single blank line 3185 | ERROR | Missing function doc comment 3264 | ERROR | Missing function doc comment 3274 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 3275 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 3287 | ERROR | Missing parameter type at position 1 3289 | ERROR | Missing parameter type at position 2 3291 | ERROR | Missing parameter type at position 3 3293 | ERROR | Missing parameter type at position 4 3295 | ERROR | Missing parameter type at position 5 3297 | ERROR | Missing parameter type at position 6 3301 | ERROR | Missing parameter type at position 7 3403 | ERROR | Function comment short description must end with a full stop 3442 | ERROR | Function comment short description must end with a full stop 3452 | ERROR | Function comment short description must end with a full stop 3505 | ERROR | Missing parameter type at position 1 3528 | ERROR | Missing parameter type at position 1 3530 | ERROR | Missing parameter type at position 2 3549 | ERROR | Missing parameter type at position 1 3551 | ERROR | Missing parameter type at position 2 3602 | ERROR | Missing parameter type at position 1 3604 | ERROR | Missing parameter type at position 2 3643 | ERROR | Missing parameter type at position 1 3645 | ERROR | Missing parameter type at position 2 3665 | ERROR | An operator statement must be followed by a single space 3667 | ERROR | An operator statement must be followed by a single space 3669 | ERROR | An operator statement must be followed by a single space 3678 | ERROR | Missing parameter type at position 1 3682 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3683 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3684 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3685 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3686 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3687 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3689 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3690 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3691 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 3692 | ERROR | Line indented incorrectly; expected 4 spaces, found 6 3695 | ERROR | Line indented incorrectly; expected 2 spaces, found 4 -------------------------------------------------------------------------------- Time: 01:45, Memory: 296.50Mb quickstart@qs10:~/websites/example.dev/sites/all/modules$