Coding Standards Report for Image_Text

Type Line Message
Package 239 errors and 116 warnings
/data/pear/pear/Image_Text/Image/Text.php
warning 23 Line exceeds 85 characters; contains 938 characters
warning 26 Line exceeds 85 characters; contains 108 characters
warning 36 Line exceeds 85 characters; contains 91 characters
warning 41 Line exceeds 85 characters; contains 95 characters
error 69 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 70 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 71 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 72 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 73 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 74 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 75 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 76 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
warning 88 Line exceeds 85 characters; contains 109 characters
warning 121 Line exceeds 85 characters; contains 88 characters
error 134 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 134 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 135 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 136 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 137 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 138 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 139 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 140 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 141 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 144 Opening brace of a class must be on the line after the definition
warning 147 Line exceeds 85 characters; contains 91 characters
warning 152 Line exceeds 85 characters; contains 100 characters
warning 153 Line exceeds 85 characters; contains 94 characters
warning 160 Line exceeds 85 characters; contains 101 characters
warning 162 Line exceeds 85 characters; contains 99 characters
warning 167 Line exceeds 85 characters; contains 110 characters
warning 172 Line exceeds 85 characters; contains 115 characters
warning 174 Line exceeds 85 characters; contains 135 characters
warning 175 Line exceeds 85 characters; contains 105 characters
warning 177 Line exceeds 85 characters; contains 101 characters
warning 180 Line exceeds 85 characters; contains 88 characters
warning 184 Line exceeds 85 characters; contains 120 characters
warning 187 Line exceeds 85 characters; contains 113 characters
warning 189 Line exceeds 85 characters; contains 86 characters
warning 191 Line exceeds 85 characters; contains 114 characters
warning 194 Line exceeds 85 characters; contains 102 characters
warning 257 Line exceeds 85 characters; contains 103 characters
warning 361 Line exceeds 85 characters; contains 97 characters
warning 362 Line exceeds 85 characters; contains 107 characters
warning 363 Line exceeds 85 characters; contains 111 characters
error 366 Expected 1 space before variable type
error 366 Expected 1 space after the longest type
error 367 Last parameter comment requires a blank newline after it
error 367 Expected 1 space before variable type
error 367 Expected 1 space after the longest variable name
warning 382 Line exceeds 85 characters; contains 90 characters
warning 383 Line exceeds 85 characters; contains 87 characters
error 385 Expected 1 space before variable type
error 385 Expected 1 space after the longest type
error 386 Last parameter comment requires a blank newline after it
error 386 Expected 1 space before variable type
error 386 Expected 1 space after the longest variable name
error 390 Missing @return tag in function comment
error 392 Opening brace should be on a new line
error 392 Space before opening parenthesis of function call prohibited
error 392 Space after opening parenthesis of function call prohibited
error 392 Space before closing parenthesis of function call prohibited
warning 394 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 404 Line exceeds 85 characters; contains 99 characters
warning 405 Line exceeds 85 characters; contains 99 characters
error 407 There must be exactly one blank line before the tags in function comment
error 409 Expected 1 space before variable type
error 409 Expected 1 space after the longest type
error 409 Expected 1 space after the longest variable name
error 410 Last parameter comment requires a blank newline after it
error 410 Expected 1 space before variable type
error 427 Line indented incorrectly; expected 12 spaces, found 13
error 429 Break statement indented incorrectly; expected 17 spaces, found 16
error 430 Line indented incorrectly; expected 12 spaces, found 13
error 436 Break statement indented incorrectly; expected 17 spaces, found 16
error 437 Line indented incorrectly; expected 12 spaces, found 13
error 439 Break statement indented incorrectly; expected 17 spaces, found 16
warning 459 Line exceeds 85 characters; contains 97 characters
error 465 Last parameter comment requires a blank newline after it
error 465 Expected 1 space before variable type
error 465 Expected 1 space after the longest type
error 465 Expected 1 space after the longest variable name
error 478 No space found after comma in function call
warning 497 Line exceeds 85 characters; contains 97 characters
error 500 Expected 1 space before variable type
error 500 Expected 1 space after the longest type
error 500 Expected 1 space after the longest variable name
error 501 Last parameter comment requires a blank newline after it
error 501 Expected 1 space before variable type
error 509 Expected "if (...) {\n"; found "if(...) {\n"
warning 511 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 514 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 515 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 516 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 517 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 520 Line exceeds 85 characters; contains 102 characters
error 533 No space found after comma in function call
error 533 No space found after comma in function call
error 533 No space found after comma in function call
error 536 No space found after comma in function call
error 536 No space found after comma in function call
error 540 Line indented incorrectly; expected at least 16 spaces, found 13
error 540 Spaces must be used to indent lines; tabs are not allowed
error 541 Line indented incorrectly; expected at least 16 spaces, found 13
error 541 Spaces must be used to indent lines; tabs are not allowed
error 542 Line indented incorrectly; expected at least 16 spaces, found 13
error 542 Spaces must be used to indent lines; tabs are not allowed
warning 551 Line exceeds 85 characters; contains 89 characters
warning 564 Line exceeds 85 characters; contains 120 characters
warning 565 Line exceeds 85 characters; contains 115 characters
warning 566 Line exceeds 85 characters; contains 108 characters
warning 567 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 568 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 569 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 570 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 585 Line indented incorrectly; expected 8 spaces, found 12
error 588 Space after opening parenthesis of function call prohibited
error 590 Line indented incorrectly; expected 12 spaces, found 16
error 595 Line indented incorrectly; expected 8 spaces, found 12
warning 599 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 602 Line indented incorrectly; expected 8 spaces, found 12
error 607 Space after opening parenthesis of function call prohibited
error 610 Space before closing parenthesis of function call prohibited
error 614 Line indented incorrectly; expected 8 spaces, found 12
error 618 Line indented incorrectly; expected 8 spaces, found 12
error 623 Line indented incorrectly; expected 8 spaces, found 12
error 626 Closing brace indented incorrectly; expected 12 spaces, found 8
warning 631 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 647 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 651 Line exceeds 85 characters; contains 106 characters
error 654 Space after opening parenthesis of function call prohibited
warning 657 Line exceeds 85 characters; contains 94 characters
error 659 Space before closing parenthesis of function call prohibited
error 698 Parameters must appear immediately after the comment
error 698 Expected 1 space before variable type
error 698 Expected 1 space after the longest type
error 698 Expected 1 space after the longest variable name
error 699 Last parameter comment requires a blank newline after it
error 699 Expected 1 space before variable type
warning 711 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 718 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 726 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 739 Line exceeds 85 characters; contains 88 characters
warning 744 Line exceeds 85 characters; contains 89 characters
error 744 Last parameter comment requires a blank newline after it
error 744 Parameters must appear immediately after the comment
error 744 Expected 1 space before variable type
error 744 Expected 1 space after the longest type
error 744 Expected 1 space after the longest variable name
warning 761 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 769 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 773 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 777 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 783 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 785 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 791 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 804 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 2 spaces
warning 812 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 818 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 826 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 827 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 832 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 834 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 848 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 2 spaces
warning 856 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 862 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 6 spaces
warning 863 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 864 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 871 No space found after comma in function call
warning 878 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 896 Line exceeds 85 characters; contains 87 characters
warning 896 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 905 Line exceeds 85 characters; contains 96 characters
warning 906 Line exceeds 85 characters; contains 93 characters
warning 910 Line exceeds 85 characters; contains 96 characters
error 910 Last parameter comment requires a blank newline after it
error 910 Parameters must appear immediately after the comment
error 910 Expected 1 space before variable type
error 910 Expected 1 space after the longest type
error 910 Expected 1 space after the longest variable name
warning 924 Line exceeds 85 characters; contains 94 characters
error 925 Space after opening parenthesis of function call prohibited
error 925 Space before closing parenthesis of function call prohibited
error 934 Space after opening parenthesis of function call prohibited
error 937 Space before closing parenthesis of function call prohibited
warning 945 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 950 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 974 Line indented incorrectly; expected 8 spaces, found 12
error 977 Line indented incorrectly; expected 8 spaces, found 12
warning 978 Line exceeds 85 characters; contains 96 characters
error 980 Line indented incorrectly; expected 8 spaces, found 12
warning 981 Line exceeds 85 characters; contains 90 characters
error 983 Line indented incorrectly; expected 8 spaces, found 12
error 985 Closing brace indented incorrectly; expected 12 spaces, found 8
warning 989 Line exceeds 85 characters; contains 99 characters
error 993 No space found after comma in function call
error 996 Expected "for (...) {\n"; found "for(...){\n"
error 1000 Expected "if (...) {\n"; found "if(...){\n"
warning 1005 Line exceeds 85 characters; contains 95 characters
warning 1007 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 1008 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 4 spaces
warning 1009 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 5 spaces
warning 1011 Line exceeds 85 characters; contains 92 characters
error 1014 Line indented incorrectly; expected 12 spaces, found 16
error 1017 Line indented incorrectly; expected 12 spaces, found 16
error 1020 Line indented incorrectly; expected 12 spaces, found 16
error 1023 Line indented incorrectly; expected 12 spaces, found 16
error 1034 Space before opening parenthesis of function call prohibited
warning 1034 Line exceeds 85 characters; contains 105 characters
warning 1057 Line exceeds 85 characters; contains 92 characters
warning 1058 Line exceeds 85 characters; contains 94 characters
error 1061 Expected 1 space before variable type
error 1061 Expected 1 space after the longest type
error 1061 Expected 1 space after the longest variable name
error 1062 Last parameter comment requires a blank newline after it
error 1062 Expected 1 space before variable type
warning 1071 Line exceeds 85 characters; contains 92 characters
error 1076 Line indented incorrectly; expected 8 spaces, found 12
error 1079 Line indented incorrectly; expected 8 spaces, found 12
error 1082 Line indented incorrectly; expected 8 spaces, found 12
error 1085 Line indented incorrectly; expected 8 spaces, found 12
error 1096 Line indented incorrectly; expected at least 12 spaces, found 11
warning 1111 Line exceeds 85 characters; contains 91 characters
warning 1112 Line exceeds 85 characters; contains 91 characters
warning 1115 Line exceeds 85 characters; contains 99 characters
error 1115 Last parameter comment requires a blank newline after it
error 1115 Expected 1 space before variable type
error 1115 Doc comment var "$destFile" does not match actual variable name "$dest_file" at position 1
error 1115 Expected 1 space after the longest type
error 1115 Expected 1 space after the longest variable name
error 1130 Line indented incorrectly; expected 8 spaces, found 12
error 1133 Line indented incorrectly; expected 8 spaces, found 12
error 1136 Line indented incorrectly; expected 8 spaces, found 12
error 1139 Line indented incorrectly; expected 8 spaces, found 12
warning 1164 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1166 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1167 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 1168 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 1219 Expected 1 space before variable type
error 1219 Doc comment var "$colors" does not match actual variable name "$scolor" at position 1
error 1219 Expected 1 space after the longest type
error 1219 Expected 1 space after the longest variable name
error 1220 Last parameter comment requires a blank newline after it
error 1220 Expected 1 space before variable type
error 1220 Superfluous doc comment at position 2
error 1222 Missing @return tag in function comment
error 1240 Missing @return tag in function comment
error 1252 No space found after comma in function call
error 1256 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 1257 No space found after comma in function call
error 1258 Expected "foreach (...) {\n"; found "foreach(...) {\n"
Sum 147 errors and 103 warnings
/data/pear/pear/Image_Text/generate_package_xml.php
error 2 Missing file doc comment
error 3 Spaces must be used to indent lines; tabs are not allowed
error 3 "require_once" is a statement, not a function; no parentheses are required
error 5 Spaces must be used to indent lines; tabs are not allowed
error 7 Spaces must be used to indent lines; tabs are not allowed
error 8 Spaces must be used to indent lines; tabs are not allowed
warning 8 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 2 spaces
error 9 Spaces must be used to indent lines; tabs are not allowed
error 10 Spaces must be used to indent lines; tabs are not allowed
error 12 Spaces must be used to indent lines; tabs are not allowed
error 13 Spaces must be used to indent lines; tabs are not allowed
error 14 Spaces must be used to indent lines; tabs are not allowed
warning 14 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 16 Spaces must be used to indent lines; tabs are not allowed
error 17 Spaces must be used to indent lines; tabs are not allowed
warning 17 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 19 Spaces must be used to indent lines; tabs are not allowed
warning 19 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 20 Spaces must be used to indent lines; tabs are not allowed
error 29 Spaces must be used to indent lines; tabs are not allowed
warning 30 Line exceeds 85 characters; contains 109 characters
warning 32 Line exceeds 85 characters; contains 89 characters
warning 33 Line exceeds 85 characters; contains 89 characters
error 41 Spaces must be used to indent lines; tabs are not allowed
error 41 Space after opening parenthesis of function call prohibited
error 42 Spaces must be used to indent lines; tabs are not allowed
error 43 Spaces must be used to indent lines; tabs are not allowed
error 44 Spaces must be used to indent lines; tabs are not allowed
error 45 Spaces must be used to indent lines; tabs are not allowed
error 46 Spaces must be used to indent lines; tabs are not allowed
error 47 Spaces must be used to indent lines; tabs are not allowed
error 48 Spaces must be used to indent lines; tabs are not allowed
error 52 Spaces must be used to indent lines; tabs are not allowed
error 53 Spaces must be used to indent lines; tabs are not allowed
error 54 Spaces must be used to indent lines; tabs are not allowed
error 55 Spaces must be used to indent lines; tabs are not allowed
error 56 Spaces must be used to indent lines; tabs are not allowed
error 57 Spaces must be used to indent lines; tabs are not allowed
error 58 Spaces must be used to indent lines; tabs are not allowed
error 59 Spaces must be used to indent lines; tabs are not allowed
error 61 Spaces must be used to indent lines; tabs are not allowed
error 61 Line indented incorrectly; expected 0 spaces, found 1
error 62 Spaces must be used to indent lines; tabs are not allowed
error 63 Spaces must be used to indent lines; tabs are not allowed
error 64 Spaces must be used to indent lines; tabs are not allowed
error 66 Spaces must be used to indent lines; tabs are not allowed
error 67 Spaces must be used to indent lines; tabs are not allowed
error 67 Expected 1 space after comma in function call; 3 found
error 69 Spaces must be used to indent lines; tabs are not allowed
error 69 Line indented incorrectly; expected 0 spaces, found 1
error 70 Spaces must be used to indent lines; tabs are not allowed
error 71 Spaces must be used to indent lines; tabs are not allowed
error 72 Spaces must be used to indent lines; tabs are not allowed
error 74 Spaces must be used to indent lines; tabs are not allowed
error 76 Spaces must be used to indent lines; tabs are not allowed
error 76 Line indented incorrectly; expected 0 spaces, found 1
error 77 Spaces must be used to indent lines; tabs are not allowed
error 78 Spaces must be used to indent lines; tabs are not allowed
error 79 Spaces must be used to indent lines; tabs are not allowed
error 81 Spaces must be used to indent lines; tabs are not allowed
error 82 Spaces must be used to indent lines; tabs are not allowed
error 83 Spaces must be used to indent lines; tabs are not allowed
error 84 Spaces must be used to indent lines; tabs are not allowed
error 85 Spaces must be used to indent lines; tabs are not allowed
error 86 Spaces must be used to indent lines; tabs are not allowed
error 87 Spaces must be used to indent lines; tabs are not allowed
error 88 Spaces must be used to indent lines; tabs are not allowed
error 89 Spaces must be used to indent lines; tabs are not allowed
error 90 Spaces must be used to indent lines; tabs are not allowed
error 91 Spaces must be used to indent lines; tabs are not allowed
error 92 Spaces must be used to indent lines; tabs are not allowed
error 93 Spaces must be used to indent lines; tabs are not allowed
error 94 Spaces must be used to indent lines; tabs are not allowed
error 96 Spaces must be used to indent lines; tabs are not allowed
error 96 Line indented incorrectly; expected 0 spaces, found 1
error 97 Spaces must be used to indent lines; tabs are not allowed
error 98 Spaces must be used to indent lines; tabs are not allowed
error 98 Line indented incorrectly; expected 0 spaces, found 1
error 99 Spaces must be used to indent lines; tabs are not allowed
error 100 Spaces must be used to indent lines; tabs are not allowed
error 102 Spaces must be used to indent lines; tabs are not allowed
error 102 Line indented incorrectly; expected 0 spaces, found 1
error 103 Spaces must be used to indent lines; tabs are not allowed
error 104 Spaces must be used to indent lines; tabs are not allowed
Sum 77 errors and 7 warnings
/data/pear/pear/Image_Text/example/example.php
error 18 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 19 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 20 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 21 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 22 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 23 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 24 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 25 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 32 You must use "/**" style comments for a function comment
warning 45 Line exceeds 85 characters; contains 103 characters
warning 46 Line exceeds 85 characters; contains 351 characters
warning 47 Line exceeds 85 characters; contains 938 characters
warning 48 Line exceeds 85 characters; contains 1113 characters
warning 49 Line exceeds 85 characters; contains 1133 characters
warning 50 Line exceeds 85 characters; contains 1088 characters
error 75 Line indented incorrectly; expected 4 spaces, found 8
error 78 Line indented incorrectly; expected 4 spaces, found 8
error 81 Line indented incorrectly; expected 4 spaces, found 8
error 84 Line indented incorrectly; expected 4 spaces, found 8
error 87 Line indented incorrectly; expected 4 spaces, found 8
error 90 Line indented incorrectly; expected 4 spaces, found 8
Sum 15 errors and 6 warnings