Coding Standards Report for Gtk_Styled

Type Line Message
Package 375 errors and 50 warnings
/data/pear/pear/Gtk_Styled/Adjustment.php
error 2 You must use "/**" style comments for a file comment
error 32 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 33 Invalid version "@VER@" in doc comment; consider "Release: " instead
error 33 The @version tag is in the wrong order; the tag follows @licence
error 37 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 38 @copyright tag must contain a year and the name of the copyright holder
error 39 Missing @link tag in class comment
error 40 Opening brace of a class must be on the line after the definition
error 98 Line indented incorrectly; expected at least 4 spaces, found 1
error 98 Spaces must be used to indent lines; tabs are not allowed
error 99 Line indented incorrectly; expected at least 4 spaces, found 2
error 100 Line indented incorrectly; expected at least 4 spaces, found 2
error 101 Line indented incorrectly; expected at least 4 spaces, found 2
error 112 Parameters must appear immediately after the comment
error 112 Expected 1 space before variable type
error 112 Missing comment for param "$value" at position 1
error 113 Expected 1 space before variable type
error 113 Missing comment for param "$lower" at position 2
error 114 Expected 1 space before variable type
error 114 Missing comment for param "$upper" at position 3
error 115 Expected 1 space before variable type
error 115 The comments for parameters $upper (3) and $step_inc (4) do not align
error 115 Missing comment for param "$step_inc" at position 4
error 116 Expected 1 space before variable type
error 116 Missing comment for param "$page_inc" at position 5
error 117 Last parameter comment requires a blank newline after it
error 117 Expected 1 space before variable type
error 117 The comments for parameters $page_inc (5) and $page_size (6) do not align
error 117 Missing comment for param "$page_size" at position 6
warning 125 Line exceeds 85 characters; contains 99 characters
warning 130 Line exceeds 85 characters; contains 99 characters
warning 135 Line exceeds 85 characters; contains 99 characters
warning 140 Line exceeds 85 characters; contains 107 characters
warning 145 Line exceeds 85 characters; contains 108 characters
warning 150 Line exceeds 85 characters; contains 102 characters
error 168 Last parameter comment requires a blank newline after it
error 168 Parameters must appear immediately after the comment
error 168 Expected 1 space before variable type
error 168 Superfluous doc comment at position 1
error 168 Missing parameter name at position 1
error 168 Missing comment for param "[ UNKNOWN ]" at position 1
error 186 Last parameter comment requires a blank newline after it
error 186 Parameters must appear immediately after the comment
error 186 Expected 1 space before variable type
error 186 Superfluous doc comment at position 1
error 186 Missing parameter name at position 1
error 186 Missing comment for param "[ UNKNOWN ]" at position 1
error 212 Last parameter comment requires a blank newline after it
error 212 Parameters must appear immediately after the comment
error 212 Expected 1 space before variable type
error 212 Superfluous doc comment at position 1
error 212 Missing parameter name at position 1
error 212 Missing comment for param "[ UNKNOWN ]" at position 1
error 253 Last parameter comment requires a blank newline after it
error 253 Parameters must appear immediately after the comment
error 253 Expected 1 space before variable type
error 253 Superfluous doc comment at position 1
error 253 Missing parameter name at position 1
error 253 Missing comment for param "[ UNKNOWN ]" at position 1
error 258 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 278 Last parameter comment requires a blank newline after it
error 278 Parameters must appear immediately after the comment
error 278 Expected 1 space before variable type
error 278 Superfluous doc comment at position 1
error 278 Missing parameter name at position 1
error 278 Missing comment for param "[ UNKNOWN ]" at position 1
error 304 Last parameter comment requires a blank newline after it
error 304 Parameters must appear immediately after the comment
error 304 Expected 1 space before variable type
error 304 Superfluous doc comment at position 1
error 304 Missing parameter name at position 1
error 304 Missing comment for param "[ UNKNOWN ]" at position 1
error 327 Last parameter comment requires a blank newline after it
error 327 Parameters must appear immediately after the comment
error 327 Expected 1 space before variable type
error 327 Superfluous doc comment at position 1
error 327 Missing parameter name at position 1
error 327 Missing comment for param "[ UNKNOWN ]" at position 1
error 346 Last parameter comment requires a blank newline after it
error 346 Parameters must appear immediately after the comment
error 346 Expected 1 space before variable type
error 346 Expected 1 space after the longest type
error 378 Last parameter comment requires a blank newline after it
error 378 Parameters must appear immediately after the comment
error 378 Expected 1 space before variable type
error 402 Last parameter comment requires a blank newline after it
error 402 Parameters must appear immediately after the comment
error 402 Expected 1 space before variable type
error 428 Last parameter comment requires a blank newline after it
error 428 Parameters must appear immediately after the comment
error 428 Expected 1 space before variable type
error 451 Last parameter comment requires a blank newline after it
error 451 Parameters must appear immediately after the comment
error 451 Expected 1 space before variable type
error 474 Last parameter comment requires a blank newline after it
error 474 Parameters must appear immediately after the comment
error 474 Expected 1 space before variable type
error 474 Doc comment var "$increment" does not match actual variable name "$pageSize" at position 1
error 495 Last parameter comment requires a blank newline after it
error 495 Parameters must appear immediately after the comment
error 495 Expected 1 space before variable type
error 495 Superfluous doc comment at position 1
error 495 Missing parameter name at position 1
error 495 Missing comment for param "[ UNKNOWN ]" at position 1
error 507 Last parameter comment requires a blank newline after it
error 507 Parameters must appear immediately after the comment
error 507 Expected 1 space before variable type
error 507 Superfluous doc comment at position 1
error 507 Missing parameter name at position 1
error 507 Missing comment for param "[ UNKNOWN ]" at position 1
error 510 Method name "Gtk_Styled_Adjustment::value_changed" is not in camel caps format
error 519 Parameters must appear immediately after the comment
error 519 Expected 1 space before variable type
error 520 Last parameter comment requires a blank newline after it
error 520 Expected 1 space before variable type
error 523 Method name "Gtk_Styled_Adjustment::clamp_page" is not in camel caps format
error 528 Doc comment for "$value" missing
error 532 Missing @return tag in function comment
error 533 Method name "Gtk_Styled_Adjustment::set_value" is not in camel caps format
error 545 Parameters must appear immediately after the comment
error 545 Expected 1 space before variable type
error 546 Last parameter comment requires a blank newline after it
error 546 Expected 1 space before variable type
error 546 Doc comment var "&$style" does not match actual variable name "$style" at position 2
warning 553 Line exceeds 85 characters; contains 91 characters
error 571 Last parameter comment requires a blank newline after it
error 571 Parameters must appear immediately after the comment
error 571 Expected 1 space before variable type
error 571 Doc comment for "$x" missing
error 571 Doc comment for "$y" missing
error 592 Last parameter comment requires a blank newline after it
error 592 Parameters must appear immediately after the comment
error 592 Expected 1 space before variable type
error 608 Last parameter comment requires a blank newline after it
error 608 Parameters must appear immediately after the comment
error 608 Expected 1 space before variable type
error 608 Superfluous doc comment at position 1
error 608 Missing parameter name at position 1
error 608 Missing comment for param "[ UNKNOWN ]" at position 1
error 620 Last parameter comment requires a blank newline after it
error 620 Parameters must appear immediately after the comment
error 620 Expected 1 space before variable type
error 620 Superfluous doc comment at position 1
error 620 Missing parameter name at position 1
error 620 Missing comment for param "[ UNKNOWN ]" at position 1
error 632 Last parameter comment requires a blank newline after it
error 632 Parameters must appear immediately after the comment
error 632 Expected 1 space before variable type
error 632 Superfluous doc comment at position 1
error 632 Missing parameter name at position 1
error 632 Missing comment for param "[ UNKNOWN ]" at position 1
error 644 Last parameter comment requires a blank newline after it
error 644 Parameters must appear immediately after the comment
error 644 Expected 1 space before variable type
error 644 Superfluous doc comment at position 1
error 644 Missing parameter name at position 1
error 644 Missing comment for param "[ UNKNOWN ]" at position 1
error 656 Last parameter comment requires a blank newline after it
error 656 Parameters must appear immediately after the comment
error 656 Expected 1 space before variable type
error 656 Superfluous doc comment at position 1
error 656 Missing parameter name at position 1
error 656 Missing comment for param "[ UNKNOWN ]" at position 1
error 668 Last parameter comment requires a blank newline after it
error 668 Parameters must appear immediately after the comment
error 668 Expected 1 space before variable type
error 668 Superfluous doc comment at position 1
error 668 Missing parameter name at position 1
error 668 Missing comment for param "[ UNKNOWN ]" at position 1
error 688 Last parameter comment requires a blank newline after it
error 688 Parameters must appear immediately after the comment
error 688 Expected 1 space before variable type
error 688 Superfluous doc comment at position 1
error 688 Missing parameter name at position 1
error 688 Missing comment for param "[ UNKNOWN ]" at position 1
error 709 Last parameter comment requires a blank newline after it
error 709 Parameters must appear immediately after the comment
error 709 Expected 1 space before variable type
error 709 Superfluous doc comment at position 1
error 709 Missing parameter name at position 1
error 709 Missing comment for param "[ UNKNOWN ]" at position 1
error 730 Parameters must appear immediately after the comment
error 730 Expected 1 space before variable type
error 730 Doc comment var "$message" does not match actual variable name "$msg" at position 1
error 730 Missing comment for param "$message" at position 1
error 731 Last parameter comment requires a blank newline after it
error 731 Expected 1 space before variable type
error 731 The comments for parameters $message (1) and $level (2) do not align
error 731 Doc comment var "$level" does not match actual variable name "$code" at position 2
error 731 Missing comment for param "$level" at position 2
error 731 Doc comment for "$pearMode" missing
warning 734 Line exceeds 85 characters; contains 87 characters
error 737 "require_once" is a statement, not a function; no parentheses are required
error 737 File is being conditionally included; use "include_once" instead
Sum 185 errors and 9 warnings
/data/pear/pear/Gtk_Styled/Buttons.php
error 2 You must use "/**" style comments for a file comment
warning 21 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 60 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 79 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Sum 1 errors and 3 warnings
/data/pear/pear/Gtk_Styled/HAdjustment.php
error 2 You must use "/**" style comments for a file comment
error 38 Opening brace of a class must be on the line after the definition
error 38 Missing class doc comment
error 40 Missing function doc comment
error 61 Last parameter comment requires a blank newline after it
error 61 Parameters must appear immediately after the comment
error 61 Expected 1 space before variable type
error 61 Superfluous doc comment at position 1
error 61 Missing parameter name at position 1
error 61 Missing comment for param "[ UNKNOWN ]" at position 1
error 88 Last parameter comment requires a blank newline after it
error 88 Parameters must appear immediately after the comment
error 88 Expected 1 space before variable type
error 88 Superfluous doc comment at position 1
error 88 Missing parameter name at position 1
error 88 Missing comment for param "[ UNKNOWN ]" at position 1
warning 94 Line exceeds 85 characters; contains 87 characters
error 108 Last parameter comment requires a blank newline after it
error 108 Parameters must appear immediately after the comment
error 108 Expected 1 space before variable type
warning 115 Line exceeds 85 characters; contains 99 characters
error 127 Last parameter comment requires a blank newline after it
error 127 Parameters must appear immediately after the comment
error 127 Expected 1 space before variable type
error 127 Superfluous doc comment at position 1
error 127 Missing parameter name at position 1
error 127 Missing comment for param "[ UNKNOWN ]" at position 1
error 149 Last parameter comment requires a blank newline after it
error 149 Parameters must appear immediately after the comment
error 149 Expected 1 space before variable type
error 149 Superfluous doc comment at position 1
error 149 Missing parameter name at position 1
error 149 Missing comment for param "[ UNKNOWN ]" at position 1
Sum 31 errors and 2 warnings
/data/pear/pear/Gtk_Styled/ScrollBar.php
error 2 You must use "/**" style comments for a file comment
error 48 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 48 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
warning 49 Invalid version "@VER@" in doc comment; consider "Release: " instead
error 49 The @version tag is in the wrong order; the tag follows @licence
error 49 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 50 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 51 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 52 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 52 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 53 @copyright tag must contain a year and the name of the copyright holder
error 53 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 54 Missing @link tag in class comment
error 55 Opening brace of a class must be on the line after the definition
error 94 Line indented incorrectly; expected at least 4 spaces, found 1
error 94 Spaces must be used to indent lines; tabs are not allowed
error 95 Line indented incorrectly; expected at least 4 spaces, found 2
error 96 Line indented incorrectly; expected at least 4 spaces, found 2
error 97 Line indented incorrectly; expected at least 4 spaces, found 2
error 98 Line indented incorrectly; expected at least 4 spaces, found 1
error 98 Spaces must be used to indent lines; tabs are not allowed
error 99 Line indented incorrectly; expected at least 4 spaces, found 1
error 99 Spaces must be used to indent lines; tabs are not allowed
error 100 Line indented incorrectly; expected at least 4 spaces, found 2
error 101 Line indented incorrectly; expected at least 4 spaces, found 2
error 102 Line indented incorrectly; expected at least 4 spaces, found 2
error 103 Line indented incorrectly; expected at least 4 spaces, found 1
error 103 Spaces must be used to indent lines; tabs are not allowed
error 116 Last parameter comment requires a blank newline after it
error 116 Parameters must appear immediately after the comment
error 116 Expected 1 space before variable type
error 116 Missing comment for param "&$styleAdjustment" at position 1
warning 123 Line exceeds 85 characters; contains 134 characters
error 141 Last parameter comment requires a blank newline after it
error 141 Parameters must appear immediately after the comment
error 141 Expected 1 space before variable type
error 141 Superfluous doc comment at position 1
error 141 Missing parameter name at position 1
error 141 Missing comment for param "[ UNKNOWN ]" at position 1
error 154 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 155 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 161 File is being conditionally included; use "include" instead
warning 163 Line exceeds 85 characters; contains 107 characters
warning 164 Line exceeds 85 characters; contains 107 characters
warning 166 Line exceeds 85 characters; contains 105 characters
warning 167 Line exceeds 85 characters; contains 105 characters
warning 172 Line exceeds 85 characters; contains 86 characters
error 184 Last parameter comment requires a blank newline after it
error 184 Parameters must appear immediately after the comment
error 184 Expected 1 space before variable type
error 184 Expected 1 space after the longest type
warning 192 Line exceeds 85 characters; contains 99 characters
warning 192 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 193 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
error 211 Parameters must appear immediately after the comment
error 211 Expected 1 space before variable type
error 212 Last parameter comment requires a blank newline after it
error 212 Expected 1 space before variable type
error 232 Parameters must appear immediately after the comment
error 232 Expected 1 space before variable type
error 232 Missing comment for param "&$button" at position 1
error 233 Last parameter comment requires a blank newline after it
error 233 Expected 1 space before variable type
error 233 The comments for parameters &$button (1) and &$style (2) do not align
error 233 Missing comment for param "&$style" at position 2
error 255 Parameters must appear immediately after the comment
error 255 Expected 1 space before variable type
error 256 Expected 1 space before variable type
error 257 Expected 1 space before variable type
error 258 Expected 1 space before variable type
error 259 Missing @return tag in function comment
error 269 Last parameter comment requires a blank newline after it
error 269 Parameters must appear immediately after the comment
error 269 Expected 1 space before variable type
error 269 Superfluous doc comment at position 1
error 269 Missing parameter name at position 1
error 269 Missing comment for param "[ UNKNOWN ]" at position 1
error 281 Last parameter comment requires a blank newline after it
error 281 Parameters must appear immediately after the comment
error 281 Expected 1 space before variable type
error 281 Superfluous doc comment at position 1
error 281 Missing parameter name at position 1
error 281 Missing comment for param "[ UNKNOWN ]" at position 1
error 302 Last parameter comment requires a blank newline after it
error 302 Parameters must appear immediately after the comment
error 302 Expected 1 space before variable type
error 302 Missing comment for param "&$widgetToScroll" at position 1
warning 321 Line exceeds 85 characters; contains 93 characters
error 335 Last parameter comment requires a blank newline after it
error 335 Parameters must appear immediately after the comment
error 335 Expected 1 space before variable type
error 335 Superfluous doc comment at position 1
error 335 Missing parameter name at position 1
error 335 Missing comment for param "[ UNKNOWN ]" at position 1
warning 342 Line exceeds 85 characters; contains 86 characters
warning 343 Line exceeds 85 characters; contains 103 characters
warning 350 Line exceeds 85 characters; contains 87 characters
warning 355 Line exceeds 85 characters; contains 87 characters
warning 356 Line exceeds 85 characters; contains 98 characters
warning 358 Line exceeds 85 characters; contains 86 characters
warning 360 Line exceeds 85 characters; contains 86 characters
warning 365 Line exceeds 85 characters; contains 93 characters
warning 371 Line exceeds 85 characters; contains 87 characters
error 386 Last parameter comment requires a blank newline after it
error 386 Parameters must appear immediately after the comment
error 386 Expected 1 space before variable type
error 386 Superfluous doc comment at position 1
error 386 Missing parameter name at position 1
error 386 Missing comment for param "[ UNKNOWN ]" at position 1
error 402 Expected "if (...) {\n"; found "if(...) {\n"
warning 411 Line exceeds 85 characters; contains 157 characters
warning 413 Line exceeds 85 characters; contains 123 characters
warning 415 Line exceeds 85 characters; contains 102 characters
warning 422 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 423 Line exceeds 85 characters; contains 92 characters
error 435 Parameters must appear immediately after the comment
error 435 Expected 1 space before variable type
error 436 Last parameter comment requires a blank newline after it
error 436 Expected 1 space before variable type
error 436 Doc comment for "$continue" missing
warning 453 Line exceeds 85 characters; contains 119 characters
warning 460 Line exceeds 85 characters; contains 110 characters
error 475 Last parameter comment requires a blank newline after it
error 475 Parameters must appear immediately after the comment
error 475 Expected 1 space before variable type
error 475 Superfluous doc comment at position 1
error 475 Missing parameter name at position 1
error 475 Missing comment for param "[ UNKNOWN ]" at position 1
error 502 Last parameter comment requires a blank newline after it
error 502 Parameters must appear immediately after the comment
error 502 Expected 1 space before variable type
error 514 Last parameter comment requires a blank newline after it
error 514 Parameters must appear immediately after the comment
error 514 Expected 1 space before variable type
error 536 Last parameter comment requires a blank newline after it
error 536 Parameters must appear immediately after the comment
error 536 Expected 1 space before variable type
error 536 Superfluous doc comment at position 1
error 536 Missing parameter name at position 1
error 536 Missing comment for param "[ UNKNOWN ]" at position 1
error 550 Parameters must appear immediately after the comment
error 550 Expected 1 space before variable type
error 550 Doc comment var "$message" does not match actual variable name "$msg" at position 1
error 550 Missing comment for param "$message" at position 1
error 551 Last parameter comment requires a blank newline after it
error 551 Expected 1 space before variable type
error 551 The comments for parameters $message (1) and $level (2) do not align
error 551 Doc comment var "$level" does not match actual variable name "$code" at position 2
error 551 Missing comment for param "$level" at position 2
error 551 Doc comment for "$pearMode" missing
warning 554 Line exceeds 85 characters; contains 87 characters
error 557 "require_once" is a statement, not a function; no parentheses are required
error 557 File is being conditionally included; use "include_once" instead
Sum 125 errors and 28 warnings
/data/pear/pear/Gtk_Styled/VAdjustment.php
error 2 You must use "/**" style comments for a file comment
error 38 Opening brace of a class must be on the line after the definition
error 38 Missing class doc comment
error 40 Missing function doc comment
error 61 Last parameter comment requires a blank newline after it
error 61 Parameters must appear immediately after the comment
error 61 Expected 1 space before variable type
error 61 Superfluous doc comment at position 1
error 61 Missing parameter name at position 1
error 61 Missing comment for param "[ UNKNOWN ]" at position 1
error 88 Last parameter comment requires a blank newline after it
error 88 Parameters must appear immediately after the comment
error 88 Expected 1 space before variable type
error 88 Superfluous doc comment at position 1
error 88 Missing parameter name at position 1
error 88 Missing comment for param "[ UNKNOWN ]" at position 1
warning 94 Line exceeds 85 characters; contains 88 characters
error 108 Last parameter comment requires a blank newline after it
error 108 Parameters must appear immediately after the comment
error 108 Expected 1 space before variable type
warning 115 Line exceeds 85 characters; contains 100 characters
error 127 Last parameter comment requires a blank newline after it
error 127 Parameters must appear immediately after the comment
error 127 Expected 1 space before variable type
error 127 Superfluous doc comment at position 1
error 127 Missing parameter name at position 1
error 127 Missing comment for param "[ UNKNOWN ]" at position 1
error 149 Last parameter comment requires a blank newline after it
error 149 Parameters must appear immediately after the comment
error 149 Expected 1 space before variable type
error 149 Superfluous doc comment at position 1
error 149 Missing parameter name at position 1
error 149 Missing comment for param "[ UNKNOWN ]" at position 1
Sum 31 errors and 2 warnings
/data/pear/pear/Gtk_Styled/example.php
error 2 You must use "/**" style comments for a file comment
error 44 Space after opening parenthesis of function call prohibited
warning 56 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 62 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 63 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 76 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 94 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 95 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
Sum 2 errors and 6 warnings