Coding Standards Report for Tree

Type Line Message
Package 161 errors and 63 warnings
/data/pear/pear/Tree/Dynamic/SQLnested.php
error 2 You must use "/**" style comments for a file comment
error 29 @package tag comment indented incorrectly. Expected 1 spaces but found 4.
error 30 Missing @category tag in class comment
error 30 Missing @author tag in class comment
error 30 Missing @license tag in class comment
error 30 Missing @link tag in class comment
error 43 Extra newlines found before function comment short description
error 45 There must be exactly one blank line before the tags in function comment
error 47 Last parameter comment requires a blank newline after it
error 47 Parameters must appear immediately after the comment
error 47 Expected 1 space before variable type
error 47 Doc comment var "the" does not match actual variable name "$config" at position 1
error 47 Expected 1 space after the longest type
error 59 Extra newlines found before function comment short description
error 61 There must be exactly one blank line before the tags in function comment
error 64 Last parameter comment requires a blank newline after it
error 64 Parameters must appear immediately after the comment
error 64 Expected 1 space before variable type
error 64 Doc comment var "the" does not match actual variable name "$config" at position 1
error 64 Expected 1 space after the longest type
error 104 Parameters must appear immediately after the comment
error 104 Expected 1 space before variable type
error 104 Expected 1 space after the longest variable name
error 106 Expected 1 space before variable type
error 106 The comments for parameters $newValues (1) and $parent_id (2) do not align
error 108 Last parameter comment requires a blank newline after it
error 108 Expected 1 space before variable type
error 108 The comments for parameters $parent_id (2) and $prevId (3) do not align
warning 115 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 2 spaces
warning 116 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 161 Equals sign not aligned with surrounding assignments; expected 30 spaces but found 1 space
warning 162 Line exceeds 85 characters; contains 87 characters
warning 166 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 171 Space found before comma in function call
warning 171 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 177 Space before closing parenthesis of function call prohibited
warning 178 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 181 Line exceeds 85 characters; contains 89 characters
error 196 Expected 1 space before variable type
error 196 Doc comment var "this" does not match actual variable name "$prevVisited" at position 1
error 196 Expected 1 space after the longest type
error 202 Last parameter comment requires a blank newline after it
error 202 Expected 1 space before variable type
error 202 The comments for parameters this (1) and the (2) do not align
error 202 Doc comment var "the" does not match actual variable name "$numberOfElements" at position 2
warning 221 Line exceeds 85 characters; contains 89 characters
warning 231 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 234 Line exceeds 85 characters; contains 89 characters
error 248 Last parameter comment requires a blank newline after it
error 248 Parameters must appear immediately after the comment
error 248 Expected 1 space before variable type
warning 265 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 269 Line exceeds 85 characters; contains 89 characters
error 290 Last parameter comment requires a blank newline after it
error 290 Parameters must appear immediately after the comment
error 290 Expected 1 space before variable type
error 290 Doc comment var "the" does not match actual variable name "$element" at position 1
error 290 Expected 1 space after the longest type
warning 311 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 315 Line exceeds 85 characters; contains 89 characters
warning 330 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 334 Line exceeds 85 characters; contains 89 characters
error 369 Parameters must appear immediately after the comment
error 369 Expected 1 space before variable type
error 369 Doc comment var "the" does not match actual variable name "$idsToMove" at position 1
error 369 Expected 1 space after the longest type
error 370 Expected 1 space before variable type
error 370 Doc comment var "the" does not match actual variable name "$newparent_id" at position 2
error 371 Last parameter comment requires a blank newline after it
error 371 Expected 1 space before variable type
error 371 The comments for parameters the (2) and if (3) do not align
error 371 Doc comment var "if" does not match actual variable name "$newPrevId" at position 3
warning 389 Line exceeds 85 characters; contains 93 characters
error 403 Parameters must appear immediately after the comment
error 403 Expected 1 space before variable type
error 403 Doc comment var "the" does not match actual variable name "$idToMove" at position 1
error 404 Expected 1 space before variable type
error 404 Doc comment var "the" does not match actual variable name "$newparent_id" at position 2
error 405 Last parameter comment requires a blank newline after it
error 405 Expected 1 space before variable type
error 405 The comments for parameters the (2) and if (3) do not align
error 405 Doc comment var "if" does not match actual variable name "$newPrevId" at position 3
warning 425 Line exceeds 85 characters; contains 99 characters
warning 449 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 503 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 523 Line exceeds 85 characters; contains 89 characters
error 545 Parameters must appear immediately after the comment
error 545 Expected 1 space before variable type
error 545 Doc comment var "the" does not match actual variable name "$id" at position 1
error 546 Last parameter comment requires a blank newline after it
error 546 Expected 1 space before variable type
error 546 Doc comment var "the" does not match actual variable name "$newValues" at position 2
error 546 Expected 1 space after the longest type
warning 559 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 560 Line exceeds 85 characters; contains 97 characters
warning 568 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 570 Line exceeds 85 characters; contains 89 characters
error 580 There must be exactly one blank line before the tags in function comment
error 584 Parameters must appear immediately after the comment
error 584 Expected 1 space before variable type
error 584 Doc comment var "the" does not match actual variable name "$id" at position 1
error 585 Expected 1 space before variable type
error 585 Doc comment var "the" does not match actual variable name "$parent_id" at position 2
error 586 Last parameter comment requires a blank newline after it
error 586 Expected 1 space before variable type
error 586 Doc comment var "the" does not match actual variable name "$prevId" at position 3
warning 614 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 616 Line exceeds 85 characters; contains 89 characters
error 626 Extra newlines found before function comment short description
error 628 There must be exactly one blank line before the tags in function comment
error 631 Parameters must appear immediately after the comment
error 631 Expected 1 space before variable type
error 631 Doc comment var "the" does not match actual variable name "$id" at position 1
error 631 Expected 1 space after the longest type
warning 643 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 645 Line exceeds 85 characters; contains 89 characters
warning 649 Line exceeds 85 characters; contains 112 characters
error 664 Last parameter comment requires a blank newline after it
error 664 Parameters must appear immediately after the comment
error 664 Doc comment var "the" does not match actual variable name "$id" at position 1
warning 678 Line exceeds 85 characters; contains 89 characters
error 687 You must use "/**" style comments for a function comment
warning 696 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 697 Expected 1 space after comma in function call; 2 found
error 716 You must use "/**" style comments for a function comment
warning 720 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 722 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 723 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 725 Line exceeds 85 characters; contains 89 characters
error 740 Last parameter comment requires a blank newline after it
error 740 Parameters must appear immediately after the comment
error 740 Expected 1 space before variable type
error 740 Doc comment var "the" does not match actual variable name "$id" at position 1
error 740 Expected 1 space after the longest type
error 751 Expected 1 space after comma in function call; 2 found
warning 756 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 758 Line exceeds 85 characters; contains 89 characters
error 773 Last parameter comment requires a blank newline after it
error 773 Parameters must appear immediately after the comment
error 773 Expected 1 space before variable type
error 773 Doc comment var "the" does not match actual variable name "$id" at position 1
error 773 Expected 1 space after the longest type
error 784 Expected 1 space after comma in function call; 2 found
warning 789 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 791 Line exceeds 85 characters; contains 89 characters
error 806 Last parameter comment requires a blank newline after it
error 806 Parameters must appear immediately after the comment
error 806 Expected 1 space before variable type
error 806 Doc comment var "the" does not match actual variable name "$id" at position 1
warning 814 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 828 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 830 Line exceeds 85 characters; contains 89 characters
error 840 Extra newlines found before function comment short description
error 842 There must be exactly one blank line before the tags in function comment
error 844 Last parameter comment requires a blank newline after it
error 844 Parameters must appear immediately after the comment
error 844 Expected 1 space before variable type
error 844 Doc comment var "the" does not match actual variable name "$id" at position 1
error 844 Expected 1 space after the longest type
warning 861 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 863 Line exceeds 85 characters; contains 89 characters
error 879 Parameters must appear immediately after the comment
error 879 Expected 1 space before variable type
error 879 Doc comment var "(1)" does not match actual variable name "$ids" at position 1
warning 882 Line exceeds 85 characters; contains 103 characters
error 882 Expected 1 space before variable type
error 882 The comments for parameters (1) (1) and if (2) do not align
error 882 Doc comment var "if" does not match actual variable name "$oneChild" at position 2
error 883 Last parameter comment requires a blank newline after it
error 883 Expected 1 space before variable type
error 883 The comments for parameters if (2) and the (3) do not align
error 883 Doc comment var "the" does not match actual variable name "$levels" at position 3
error 925 Space before closing parenthesis of function call prohibited
warning 926 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 928 Line exceeds 85 characters; contains 94 characters
warning 944 Line exceeds 85 characters; contains 88 characters
error 971 Last parameter comment requires a blank newline after it
error 971 Parameters must appear immediately after the comment
error 971 Expected 1 space before variable type
error 971 Doc comment var "the" does not match actual variable name "$id" at position 1
warning 979 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 997 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 999 Line exceeds 85 characters; contains 89 characters
error 1015 Last parameter comment requires a blank newline after it
error 1015 Parameters must appear immediately after the comment
error 1015 Expected 1 space before variable type
error 1015 Doc comment var "the" does not match actual variable name "$id" at position 1
warning 1023 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1041 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 1043 Line exceeds 85 characters; contains 89 characters
error 1059 Parameters must appear immediately after the comment
error 1059 Expected 1 space before variable type
error 1059 Doc comment var "id" does not match actual variable name "$id" at position 1
error 1059 Expected 1 space after the longest type
error 1060 Last parameter comment requires a blank newline after it
error 1060 Expected 1 space before variable type
error 1060 Doc comment var "id" does not match actual variable name "$childId" at position 2
warning 1073 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 1079 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 1096 Line exceeds 85 characters; contains 87 characters
error 1109 No space found after comma in function call
error 1113 Space before closing parenthesis of function call prohibited
warning 1114 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 1116 Line exceeds 85 characters; contains 89 characters
error 1135 Last parameter comment requires a blank newline after it
error 1135 Parameters must appear immediately after the comment
error 1135 Expected 1 space before variable type
error 1135 Doc comment var "the" does not match actual variable name "$id" at position 1
error 1162 Parameters must appear immediately after the comment
error 1162 Expected 1 space before variable type
error 1163 Expected 1 space before variable type
error 1163 Expected 1 space after the longest type
error 1164 Expected 1 space before variable type
error 1166 Last parameter comment requires a blank newline after it
error 1166 Expected 1 space before variable type
error 1166 Doc comment var "$seperator" does not match actual variable name "$separator" at position 4
error 1166 Expected 1 space after the longest variable name
warning 1169 Possible parse error: non-abstract method defined as abstract
error 1174 Line indented incorrectly; expected 4 spaces, found 8
error 1179 Line indented incorrectly; expected 4 spaces, found 8
error 1180 Line indented incorrectly; expected 8 spaces, found 12
warning 1244 Line exceeds 85 characters; contains 89 characters
warning 1264 Line exceeds 85 characters; contains 102 characters
Sum 160 errors and 63 warnings
6168
error 1 An error occurred during processing; checking has been aborted. The error message was: $stackPtr is not a class member var
Sum 1 errors and 0 warnings