Coding Standards Report for XML_NITF

Type Line Message
Package 84 errors and 10 warnings
/data/pear/pear/XML_NITF/NITF.php
error 16 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 17 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 18 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 19 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 20 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 21 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 22 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 28 "require_once" is a statement, not a function; no parentheses are required
error 61 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 62 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 63 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 64 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 65 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 66 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 67 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 216 Expected 1 space after the longest variable name
error 266 There must be exactly one blank line before the tags in function comment
error 280 Last parameter comment requires a blank newline after it
error 329 Last parameter comment requires a blank newline after it
error 329 Expected 1 space after the longest variable name
error 346 Last parameter comment requires a blank newline after it
error 368 Last parameter comment requires a blank newline after it
error 368 Expected 1 space after the longest variable name
error 465 Last parameter comment requires a blank newline after it
error 465 Expected 1 space after the longest type
error 465 Expected 1 space after the longest variable name
error 508 Last parameter comment requires a blank newline after it
error 508 The variable names for parameters $sName (2) and $kAttrib (3) do not align
error 508 The comments for parameters $sName (2) and $kAttrib (3) do not align
error 513 Method name "XML_NITF::StartHandler" is not in camel caps format
error 523 Line indented incorrectly; expected 8 spaces, found 12
error 527 Line indented incorrectly; expected 8 spaces, found 12
error 528 Line indented incorrectly; expected 12 spaces, found 16
error 536 Line indented incorrectly; expected 8 spaces, found 12
error 539 Spaces must be used to indent lines; tabs are not allowed
error 540 Spaces must be used to indent lines; tabs are not allowed
error 540 Line indented incorrectly; expected 8 spaces, found 3
error 541 Spaces must be used to indent lines; tabs are not allowed
error 541 Expected "if (...) {\n"; found "if(...) {\n"
error 541 Line indented incorrectly; expected 12 spaces, found 4
error 542 Line indented incorrectly; expected at least 16 spaces, found 5
error 542 Spaces must be used to indent lines; tabs are not allowed
error 543 Spaces must be used to indent lines; tabs are not allowed
error 544 Break statement indented incorrectly; expected 7 spaces, found 4
error 544 Spaces must be used to indent lines; tabs are not allowed
error 546 Line indented incorrectly; expected 8 spaces, found 12
error 548 Line indented incorrectly; expected 12 spaces, found 16
error 552 Line indented incorrectly; expected 12 spaces, found 16
warning 558 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 560 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 561 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 562 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 563 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 564 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 567 Line indented incorrectly; expected 8 spaces, found 12
error 568 Line indented incorrectly; expected 12 spaces, found 16
warning 572 Line exceeds 85 characters; contains 86 characters
error 576 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 576 Line indented incorrectly; expected 12 spaces, found 16
error 585 Line indented incorrectly; expected 8 spaces, found 12
error 589 Line indented incorrectly; expected 8 spaces, found 12
error 590 Line indented incorrectly; expected 12 spaces, found 16
error 597 Line indented incorrectly; expected 8 spaces, found 12
error 598 Line indented incorrectly; expected 12 spaces, found 16
error 605 Line indented incorrectly; expected 8 spaces, found 12
error 612 Line indented incorrectly; expected 8 spaces, found 12
error 619 Line indented incorrectly; expected 8 spaces, found 12
error 620 Line indented incorrectly; expected 12 spaces, found 16
error 633 Line indented incorrectly; expected 8 spaces, found 12
error 634 Line indented incorrectly; expected 8 spaces, found 12
error 635 Line indented incorrectly; expected 8 spaces, found 12
error 636 Line indented incorrectly; expected 12 spaces, found 16
warning 638 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
error 644 Line indented incorrectly; expected 8 spaces, found 12
warning 645 Line exceeds 85 characters; contains 94 characters
error 648 Line indented incorrectly; expected 8 spaces, found 12
error 649 Line indented incorrectly; expected 12 spaces, found 16
warning 650 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 665 Expected 1 space after the longest variable name
error 666 Last parameter comment requires a blank newline after it
error 670 Method name "XML_NITF::EndHandler" is not in camel caps format
error 674 Line indented incorrectly; expected 8 spaces, found 12
error 678 Line indented incorrectly; expected 8 spaces, found 12
error 683 Line indented incorrectly; expected 8 spaces, found 12
error 684 Line indented incorrectly; expected 12 spaces, found 16
error 689 Line indented incorrectly; expected 12 spaces, found 16
error 697 Line indented incorrectly; expected 8 spaces, found 12
error 713 Expected 1 space after the longest variable name
error 715 Last parameter comment requires a blank newline after it
error 826 Spaces must be used to indent lines; tabs are not allowed
error 827 Line indented incorrectly; expected at least 12 spaces, found 3
error 827 Spaces must be used to indent lines; tabs are not allowed
error 828 Line indented incorrectly; expected at least 12 spaces, found 3
error 828 Spaces must be used to indent lines; tabs are not allowed
Sum 84 errors and 10 warnings