Coding Standards Report for Safe_HTML

Type Line Message
Package 73 errors and 10 warnings
/data/pear/pear/Safe_HTML/Safe.php
error 9 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 10 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 11 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 12 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 13 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 14 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 26 Extra newline found before class comment short description
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 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 53 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 54 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 55 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 56 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 59 Expected 0 spaces before opening brace; 1 found
warning 285 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 298 Last parameter comment requires a blank newline after it
error 322 TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
error 328 Line indented incorrectly; expected at least 20 spaces, found 19
error 329 Line indented incorrectly; expected at least 20 spaces, found 19
error 331 Line indented incorrectly; expected at least 20 spaces, found 19
error 332 Expected "while (...) {\n"; found "while (...)\n {\n"
error 332 Line indented incorrectly; expected 20 spaces, found 19
error 334 Line indented incorrectly; expected at least 24 spaces, found 21
warning 335 Inline control structures are discouraged
error 336 Line indented incorrectly; expected at least 24 spaces, found 21
error 339 Line indented incorrectly; expected at least 20 spaces, found 19
error 340 Line indented incorrectly; expected at least 20 spaces, found 19
error 341 Line indented incorrectly; expected at least 20 spaces, found 19
error 343 Line indented incorrectly; expected 20 spaces, found 19
error 344 Line indented incorrectly; expected 24 spaces, found 23
error 345 Line indented incorrectly; expected at least 28 spaces, found 27
error 348 Line indented incorrectly; expected 20 spaces, found 19
error 349 Line indented incorrectly; expected 24 spaces, found 23
error 350 Line indented incorrectly; expected at least 28 spaces, found 27
warning 356 Line exceeds 85 characters; contains 97 characters
error 358 Expected "if (...) {\n"; found "if (...) \n {\n"
warning 363 Inline control structures are discouraged
warning 367 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 374 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 384 Doc comment var "$parser" does not match actual variable name "&$parser" at position 1
error 386 Last parameter comment requires a blank newline after it
warning 396 Line exceeds 85 characters; contains 104 characters
error 421 Expected "if (...) {\n"; found "if (...) \n {\n"
warning 428 Line exceeds 85 characters; contains 89 characters
error 433 Expected "if (...) {\n"; found "if (...) \n {\n"
error 450 No space found after comma in function call
warning 451 Line exceeds 85 characters; contains 94 characters
error 458 Doc comment var "$parsers" does not match actual variable name "&$parser" at position 1
error 459 Last parameter comment requires a blank newline after it
error 468 Expected "if (...) {\n"; found "if (...) \n {\n"
error 471 Line indented incorrectly; expected 12 spaces, found 11
error 472 Line indented incorrectly; expected at least 16 spaces, found 12
error 475 Line indented incorrectly; expected at least 12 spaces, found 11
error 483 Line indented incorrectly; expected 12 spaces, found 11
error 484 Line indented incorrectly; expected at least 16 spaces, found 15
error 487 Line indented incorrectly; expected at least 12 spaces, found 11
error 495 Last parameter comment requires a blank newline after it
error 520 Doc comment var "$parser" does not match actual variable name "&$parser" at position 1
error 521 Last parameter comment requires a blank newline after it
error 536 Doc comment var "$parser" does not match actual variable name "&$parser" at position 1
error 537 Last parameter comment requires a blank newline after it
error 576 Last parameter comment requires a blank newline after it
error 583 Line indented incorrectly; expected at least 8 spaces, found 7
error 584 Line indented incorrectly; expected at least 8 spaces, found 7
error 586 Line indented incorrectly; expected at least 8 spaces, found 7
error 587 Line indented incorrectly; expected at least 8 spaces, found 7
error 589 Line indented incorrectly; expected at least 8 spaces, found 7
error 590 Line indented incorrectly; expected at least 8 spaces, found 7
error 592 Line indented incorrectly; expected at least 8 spaces, found 7
error 593 Line indented incorrectly; expected at least 8 spaces, found 7
error 595 Line indented incorrectly; expected at least 8 spaces, found 7
error 596 Line indented incorrectly; expected at least 8 spaces, found 7
warning 596 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 598 Line indented incorrectly; expected at least 8 spaces, found 7
error 599 Line indented incorrectly; expected at least 8 spaces, found 7
error 601 Line indented incorrectly; expected at least 8 spaces, found 7
error 601 No space found after comma in function call
error 602 Line indented incorrectly; expected at least 8 spaces, found 7
error 603 Line indented incorrectly; expected at least 8 spaces, found 7
error 605 Line indented incorrectly; expected at least 8 spaces, found 7
error 607 Line indented incorrectly; expected at least 8 spaces, found 7
Sum 73 errors and 10 warnings