Coding Standards Report for HTML_Template_PHPLIB

Type Line Message
Package 50 errors and 22 warnings
/data/pear/pear/HTML_Template_PHPLIB/HTML/Template/PHPLIB/Tool.php
error 137 File is being conditionally included; use "include_once" instead
error 180 File is being conditionally included; use "include_once" instead
error 181 Space after opening parenthesis of function call prohibited
error 183 Space before closing parenthesis of function call prohibited
Sum 4 errors and 0 warnings
/data/pear/pear/HTML_Template_PHPLIB/HTML/Template/PHPLIB/Validator.php
error 52 Space after opening parenthesis of function call prohibited
error 55 Space before closing parenthesis of function call prohibited
warning 97 Line exceeds 85 characters; contains 105 characters
warning 106 Line exceeds 85 characters; contains 93 characters
warning 121 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 132 Line exceeds 85 characters; contains 100 characters
warning 149 Line exceeds 85 characters; contains 86 characters
warning 168 Line exceeds 85 characters; contains 86 characters
warning 176 Line exceeds 85 characters; contains 91 characters
warning 192 Line exceeds 85 characters; contains 93 characters
warning 221 Line exceeds 85 characters; contains 88 characters
warning 272 Line exceeds 85 characters; contains 93 characters
warning 279 Line exceeds 85 characters; contains 93 characters
Sum 2 errors and 11 warnings
/data/pear/pear/HTML_Template_PHPLIB/HTML/Template/PHPLIB/Generator.php
error 40 Space after opening parenthesis of function call prohibited
error 42 Space before closing parenthesis of function call prohibited
error 46 Space after opening parenthesis of function call prohibited
warning 46 Equals sign not aligned correctly; expected 1 space but found -7 spaces
error 48 Space before closing parenthesis of function call prohibited
error 54 Space after opening parenthesis of function call prohibited
error 56 Space before closing parenthesis of function call prohibited
error 85 Space after opening parenthesis of function call prohibited
error 87 Space before closing parenthesis of function call prohibited
warning 136 Equals sign not aligned correctly; expected 1 space but found -18 spaces
Sum 8 errors and 2 warnings
/data/pear/pear/HTML_Template_PHPLIB/HTML/Template/PHPLIB/Helper.php
error 69 Space after opening parenthesis of function call prohibited
error 71 Space before closing parenthesis of function call prohibited
Sum 2 errors and 0 warnings
/data/pear/pear/HTML_Template_PHPLIB/HTML/Template/PHPLIB.php
warning 40 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 46 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 58 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 87 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 94 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 110 Inline control structures are discouraged
error 161 Missing @return tag in function comment
error 237 Space after opening parenthesis of function call prohibited
error 240 Space before closing parenthesis of function call prohibited
warning 257 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 293 Space after opening parenthesis of function call prohibited
error 295 Space before closing parenthesis of function call prohibited
warning 341 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 355 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
error 603 Space after opening parenthesis of function call prohibited
error 607 Space before closing parenthesis of function call prohibited
error 609 Space after opening parenthesis of function call prohibited
error 611 Space before closing parenthesis of function call prohibited
error 679 Space after opening parenthesis of function call prohibited
error 682 Space before closing parenthesis of function call prohibited
error 703 Line indented incorrectly; expected 8 spaces, found 12
error 704 Space after opening parenthesis of function call prohibited
error 706 Space before closing parenthesis of function call prohibited
error 708 Line indented incorrectly; expected 8 spaces, found 12
error 709 Space after opening parenthesis of function call prohibited
error 711 Space before closing parenthesis of function call prohibited
error 714 Line indented incorrectly; expected 8 spaces, found 12
error 715 Space after opening parenthesis of function call prohibited
error 717 Space before closing parenthesis of function call prohibited
error 719 Line indented incorrectly; expected 8 spaces, found 12
error 720 Line indented incorrectly; expected 8 spaces, found 12
error 722 Closing brace indented incorrectly; expected 12 spaces, found 8
error 722 Closing brace indented incorrectly; expected 12 spaces, found 8
error 722 Closing brace indented incorrectly; expected 12 spaces, found 8
error 722 Closing brace indented incorrectly; expected 12 spaces, found 8
error 722 Closing brace indented incorrectly; expected 12 spaces, found 8
error 728 Doc comment for "$mode" missing
error 728 Doc comment for "$level" missing
error 735 File is being conditionally included; use "include_once" instead
error 736 Space after opening parenthesis of function call prohibited
error 740 Space before closing parenthesis of function call prohibited
error 762 Missing @return tag in function comment
error 768 File is being conditionally included; use "include_once" instead
Sum 34 errors and 9 warnings