Coding Standards Report for HTML_BBCodeParser

Type Line Message
Package 94 errors and 97 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter/Basic.php
error 2 You must use "/**" style comments for a file comment
error 33 Missing class doc comment
warning 50 Line exceeds 85 characters; contains 105 characters
Sum 2 errors and 1 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter/Email.php
error 2 You must use "/**" style comments for a file comment
error 33 Missing class doc comment
warning 45 Line exceeds 85 characters; contains 110 characters
error 69 No space found after comma in function call
warning 69 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 70 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 71 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 72 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 73 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 74 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 75 Line exceeds 85 characters; contains 93 characters
warning 76 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
Sum 3 errors and 9 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter/Extended.php
error 2 You must use "/**" style comments for a file comment
error 33 Missing class doc comment
warning 46 Line exceeds 85 characters; contains 108 characters
warning 50 Line exceeds 85 characters; contains 113 characters
warning 54 Line exceeds 85 characters; contains 113 characters
warning 58 Line exceeds 85 characters; contains 113 characters
warning 62 Line exceeds 85 characters; contains 101 characters
Sum 2 errors and 5 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter/Images.php
error 2 You must use "/**" style comments for a file comment
error 28 Missing class doc comment
error 69 No space found after comma in function call
warning 69 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 70 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 2 spaces
warning 71 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 2 spaces
warning 72 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 73 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
error 74 Space after opening parenthesis of function call prohibited
error 75 Line indented incorrectly; expected at least 8 spaces, found 3
error 75 Spaces must be used to indent lines; tabs are not allowed
error 76 Line indented incorrectly; expected at least 8 spaces, found 3
error 76 Spaces must be used to indent lines; tabs are not allowed
error 77 Line indented incorrectly; expected at least 8 spaces, found 3
error 77 Spaces must be used to indent lines; tabs are not allowed
Sum 10 errors and 5 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter/Links.php
error 2 You must use "/**" style comments for a file comment
error 28 Class doc comment is empty
warning 85 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 86 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 87 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 88 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 92 Line exceeds 85 characters; contains 145 characters
warning 93 Line exceeds 85 characters; contains 88 characters
warning 94 Line exceeds 85 characters; contains 121 characters
warning 96 Line exceeds 85 characters; contains 100 characters
warning 96 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 97 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 98 Line exceeds 85 characters; contains 99 characters
error 102 Doc comment for "$matches" missing
error 113 No space found after comma in function call
warning 114 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 115 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 123 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 128 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 130 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 142 Line exceeds 85 characters; contains 119 characters
error 160 Doc comment for "$matches" missing
error 169 No space found after comma in function call
warning 170 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 171 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 174 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 181 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Sum 6 errors and 21 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter/Lists.php
error 2 You must use "/**" style comments for a file comment
error 30 Class doc comment is empty
warning 46 Line exceeds 85 characters; contains 122 characters
warning 52 Line exceeds 85 characters; contains 122 characters
error 81 No space found after comma in function call
warning 82 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 83 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 84 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 85 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
Sum 3 errors and 6 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/example/parser.php
error 2 You must use "/**" style comments for a file comment
error 10 "require_once" is a statement, not a function; no parentheses are required
error 11 "require_once" is a statement, not a function; no parentheses are required
warning 14 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 36 Line exceeds 85 characters; contains 89 characters
warning 39 Line exceeds 85 characters; contains 92 characters
Sum 3 errors and 3 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser/Filter.php
error 2 Missing file doc comment
error 6 Missing @category tag in class comment
error 6 Missing @package tag in class comment
error 6 Missing @author tag in class comment
error 6 Missing @license tag in class comment
error 6 Missing @link tag in class comment
Sum 6 errors and 0 warnings
/data/pear/pear/HTML_BBCodeParser/BBCodeParser.php
error 2 You must use "/**" style comments for a file comment
error 83 Missing class doc comment
warning 91 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 99 Equals sign not aligned correctly; expected 1 space but found 10 spaces
warning 107 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 115 Equals sign not aligned correctly; expected 1 space but found 6 spaces
warning 123 Equals sign not aligned correctly; expected 1 space but found 8 spaces
warning 146 Equals sign not aligned correctly; expected 1 space but found 7 spaces
error 161 Last parameter comment requires a blank newline after it
error 161 Expected 1 space before variable type
error 161 Doc comment var "options" does not match actual variable name "$options" at position 1
error 161 Expected 1 space after the longest type
error 171 Expected "foreach (...) {\n"; found "foreach (...) {\n"
error 177 Expected "foreach (...) {\n"; found "foreach (...) {\n"
warning 183 Line exceeds 85 characters; contains 93 characters
warning 188 Line exceeds 85 characters; contains 95 characters
error 210 Doc comment var "option" does not match actual variable name "$name" at position 1
error 211 Last parameter comment requires a blank newline after it
error 211 Doc comment var "option" does not match actual variable name "$value" at position 2
error 213 Missing @return tag in function comment
error 222 Last parameter comment requires a blank newline after it
error 222 Doc comment var "filter" does not match actual variable name "$filter" at position 1
error 222 Missing comment for param "filter" at position 1
error 224 Missing @return tag in function comment
warning 232 Line exceeds 85 characters; contains 88 characters
error 235 Space after opening parenthesis of function call prohibited
warning 235 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 238 Space before closing parenthesis of function call prohibited
error 245 Last parameter comment requires a blank newline after it
error 245 Missing comment for param "$filter" at position 1
error 247 Missing @return tag in function comment
error 258 Space after opening parenthesis of function call prohibited
error 261 Space before closing parenthesis of function call prohibited
error 268 Last parameter comment requires a blank newline after it
error 268 Doc comment var "(array" does not match actual variable name "$filters" at position 1
error 287 Expected "if (...) {\n"; found "if (...){\n"
warning 348 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 349 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 350 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 353 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 356 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 375 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 381 Line exceeds 85 characters; contains 95 characters
warning 386 Line exceeds 85 characters; contains 86 characters
warning 392 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 404 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 405 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
error 417 Last parameter comment requires a blank newline after it
error 417 Expected 1 space before variable type
error 417 Doc comment var "string" does not match actual variable name "$str" at position 1
error 417 Expected 1 space after the longest type
warning 445 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 446 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 459 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 467 Line exceeds 85 characters; contains 100 characters
warning 468 Line exceeds 85 characters; contains 99 characters
warning 498 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 503 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 517 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 528 Line exceeds 85 characters; contains 92 characters
error 529 Expected 1 space after comma in function call; 2 found
warning 529 Line exceeds 85 characters; contains 92 characters
error 545 Expected "if (...) {\n"; found "if (...){\n"
warning 550 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 555 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 563 Line exceeds 85 characters; contains 104 characters
warning 567 Line exceeds 85 characters; contains 87 characters
error 608 Expected 1 space before variable type
error 608 Doc comment var "tag" does not match actual variable name "$out" at position 1
error 608 Expected 1 space after the longest type
error 609 Last parameter comment requires a blank newline after it
error 609 Expected 1 space before variable type
error 609 Doc comment var "tag" does not match actual variable name "$in" at position 2
warning 624 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 626 Expected "if (...) {\n"; found "if (...){\n"
error 648 Expected 1 space before variable type
error 648 Doc comment var "tag" does not match actual variable name "$out" at position 1
error 648 Expected 1 space after the longest type
error 649 Last parameter comment requires a blank newline after it
error 649 Expected 1 space before variable type
error 649 Doc comment var "tag" does not match actual variable name "$in" at position 2
warning 664 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 666 Expected "if (...) {\n"; found "if (...){\n"
error 686 Expected 1 space before variable type
error 686 Doc comment var "tag" does not match actual variable name "$out" at position 1
error 686 Expected 1 space after the longest type
error 687 Last parameter comment requires a blank newline after it
error 687 Expected 1 space before variable type
error 687 Doc comment var "tag" does not match actual variable name "$in" at position 2
warning 703 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 739 Equals sign not aligned with surrounding assignments; expected 35 spaces but found 1 space
warning 740 Inline control structures are discouraged
warning 741 Inline control structures are discouraged
warning 745 Line exceeds 85 characters; contains 100 characters
warning 750 Line exceeds 85 characters; contains 87 characters
warning 752 Line exceeds 85 characters; contains 114 characters
warning 754 Line exceeds 85 characters; contains 114 characters
warning 757 Line exceeds 85 characters; contains 105 characters
warning 766 Line exceeds 85 characters; contains 93 characters
error 776 Last parameter comment requires a blank newline after it
error 776 Expected 1 space before variable type
error 776 Doc comment var "the" does not match actual variable name "$str" at position 1
error 776 Expected 1 space after the longest type
error 849 Doc comment for "$str" missing
error 865 Doc comment for "$str" missing
warning 876 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Sum 59 errors and 47 warnings