Coding Standards Report for Image_Transform

Type Line Message
Package 522 errors and 164 warnings
/data/pear/pear/Image_Transform/Transform.php
error 217 Space after opening parenthesis of function call prohibited
error 221 Space before closing parenthesis of function call prohibited
error 225 Line indented incorrectly; expected 12 spaces, found 16
error 228 Line indented incorrectly; expected 12 spaces, found 16
error 231 Line indented incorrectly; expected 12 spaces, found 16
error 249 Space after opening parenthesis of function call prohibited
error 252 Space before closing parenthesis of function call prohibited
error 326 Doc comment for "$new_x" missing
error 326 Doc comment for "$new_y" missing
error 326 Doc comment for "$options" missing
error 330 Missing @return tag in function comment
error 488 Missing comment for param "$width" at position 1
error 489 The comments for parameters $width (1) and $height (2) do not align
error 489 Missing comment for param "$height" at position 2
error 490 The comments for parameters $height (2) and $posn (3) do not align
error 490 Missing comment for param "$posn" at position 3
error 576 Method name "Image_Transform::_get_image_details" is not in camel caps format
error 588 Line indented incorrectly; expected 8 spaces, found 12
error 591 Line indented incorrectly; expected 8 spaces, found 12
error 594 Line indented incorrectly; expected 8 spaces, found 12
error 597 Line indented incorrectly; expected 8 spaces, found 12
error 600 Line indented incorrectly; expected 8 spaces, found 12
error 603 Line indented incorrectly; expected 8 spaces, found 12
error 606 Line indented incorrectly; expected 8 spaces, found 12
error 607 Line indented incorrectly; expected 8 spaces, found 12
error 610 Line indented incorrectly; expected 8 spaces, found 12
error 613 Line indented incorrectly; expected 8 spaces, found 12
error 616 Line indented incorrectly; expected 8 spaces, found 12
error 619 Line indented incorrectly; expected 8 spaces, found 12
error 622 Line indented incorrectly; expected 8 spaces, found 12
error 625 Line indented incorrectly; expected 8 spaces, found 12
error 628 Line indented incorrectly; expected 8 spaces, found 12
error 631 Line indented incorrectly; expected 8 spaces, found 12
error 634 Line indented incorrectly; expected 8 spaces, found 12
error 637 Closing brace indented incorrectly; expected 12 spaces, found 8
warning 640 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 2 spaces
error 654 Method name "Image_Transform::_convert_image_type" is not in camel caps format
error 657 Line indented incorrectly; expected 8 spaces, found 12
error 659 Line indented incorrectly; expected 8 spaces, found 12
error 660 Line indented incorrectly; expected 8 spaces, found 12
error 662 Line indented incorrectly; expected 8 spaces, found 12
error 664 Line indented incorrectly; expected 8 spaces, found 12
error 666 Line indented incorrectly; expected 8 spaces, found 12
error 668 Line indented incorrectly; expected 8 spaces, found 12
error 670 Line indented incorrectly; expected 8 spaces, found 12
error 673 Line indented incorrectly; expected 8 spaces, found 12
error 675 Line indented incorrectly; expected 8 spaces, found 12
error 677 Line indented incorrectly; expected 8 spaces, found 12
error 679 Line indented incorrectly; expected 8 spaces, found 12
error 681 Line indented incorrectly; expected 8 spaces, found 12
error 683 Line indented incorrectly; expected 8 spaces, found 12
error 685 Line indented incorrectly; expected 8 spaces, found 12
error 687 Line indented incorrectly; expected 8 spaces, found 12
error 689 Line indented incorrectly; expected 8 spaces, found 12
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 691 Closing brace indented incorrectly; expected 12 spaces, found 8
error 702 The comments for parameters $new_size (1) and $old_size (2) do not align
error 702 Missing comment for param "$old_size" at position 2
error 707 Method name "Image_Transform::_parse_size" is not in camel caps format
error 730 Method name "Image_Transform::_rotation_angle" is not in camel caps format
error 742 Method name "Image_Transform::_get_default_text_params" is not in camel caps format
error 756 Method name "Image_Transform::_set_img_x" is not in camel caps format
error 770 Method name "Image_Transform::_set_img_y" is not in camel caps format
error 784 Method name "Image_Transform::_set_new_x" is not in camel caps format
error 798 Method name "Image_Transform::_set_new_y" is not in camel caps format
warning 840 Line exceeds 85 characters; contains 98 characters
error 931 Line indented incorrectly; expected 8 spaces, found 12
error 932 Line indented incorrectly; expected 8 spaces, found 12
error 935 Line indented incorrectly; expected 8 spaces, found 12
error 937 Closing brace indented incorrectly; expected 12 spaces, found 8
error 950 Method name "Image_Transform::_prepare_cmd" is not in camel caps format
warning 1031 Line exceeds 85 characters; contains 107 characters
error 1087 Missing function doc comment
error 1087 Method name "Image_Transform::_send_display_headers" is not in camel caps format
warning 1132 Line exceeds 85 characters; contains 87 characters
error 1149 Missing function doc comment
error 1165 Missing function doc comment
error 1171 Missing function doc comment
error 1194 Missing function doc comment
Sum 90 errors and 4 warnings
/data/pear/pear/Image_Transform/Driver/Imagick/ImageTypes.php
error 5 Content of the @author tag must be in the form "Display Name "
warning 6 PHP version not specified
error 6 Missing @category tag in file comment
error 6 Missing @package tag in file comment
error 6 Missing @license tag in file comment
error 6 Missing @link tag in file comment
Sum 5 errors and 1 warnings
/data/pear/pear/Image_Transform/Driver/ColorsDefs.php
warning 6 PHP version not specified
error 6 Missing @category tag in file comment
error 6 Missing @package tag in file comment
error 6 Missing @author tag in file comment
error 6 Missing @license tag in file comment
error 6 Missing @link tag in file comment
Sum 5 errors and 1 warnings
/data/pear/pear/Image_Transform/Driver/GD.php
warning 118 Line exceeds 85 characters; contains 122 characters
error 127 Last parameter comment requires a blank newline after it
warning 136 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 145 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 171 Last parameter comment requires a blank newline after it
error 171 Doc comment for "$color" missing
warning 184 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 187 Line exceeds 85 characters; contains 92 characters
warning 190 Line exceeds 85 characters; contains 103 characters
warning 193 Line exceeds 85 characters; contains 112 characters
warning 195 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 203 Expected 1 space before variable type
error 203 Expected 1 space after the longest type
error 203 Expected 1 space after the longest variable name
warning 211 Line exceeds 85 characters; contains 91 characters
warning 220 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 224 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 226 Space before opening parenthesis of function call prohibited
warning 229 Line exceeds 85 characters; contains 86 characters
error 244 Last parameter comment requires a blank newline after it
warning 245 Line exceeds 85 characters; contains 90 characters
warning 260 Line exceeds 85 characters; contains 102 characters
error 322 Doc comment var "width" does not match actual variable name "$width" at position 1
error 323 The comments for parameters width (1) and height (2) do not align
error 323 Doc comment var "height" does not match actual variable name "$height" at position 2
error 324 The comments for parameters height (2) and x (3) do not align
error 324 Doc comment var "x" does not match actual variable name "$x" at position 3
error 325 Last parameter comment requires a blank newline after it
error 325 Doc comment var "y" does not match actual variable name "$y" at position 4
warning 333 Line exceeds 85 characters; contains 89 characters
warning 335 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 336 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 337 Expected 1 space after comma in function call; 2 found
warning 341 Line exceeds 85 characters; contains 86 characters
warning 347 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 349 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 362 Opening brace should be on a new line
warning 363 Line exceeds 85 characters; contains 110 characters
warning 387 Line exceeds 85 characters; contains 178 characters
warning 399 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 403 Line exceeds 85 characters; contains 128 characters
warning 406 Line exceeds 85 characters; contains 115 characters
warning 408 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 410 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 420 Missing comment for param "$outputgamma" at position 1
error 437 Doc comment var "$types" does not match actual variable name "$type" at position 2
warning 446 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 449 Line indented incorrectly; expected 8 spaces, found 12
error 451 Line indented incorrectly; expected 8 spaces, found 12
error 452 Line indented incorrectly; expected 12 spaces, found 16
error 472 Line indented incorrectly; expected 8 spaces, found 12
error 475 Line indented incorrectly; expected 8 spaces, found 12
error 476 Line indented incorrectly; expected 12 spaces, found 16
error 478 Line indented incorrectly; expected 12 spaces, found 16
error 481 Closing brace indented incorrectly; expected 12 spaces, found 8
error 500 The comments for parameters $type (1) and $quality (2) do not align
error 534 Missing @return tag in function comment
error 542 Expected "if (...) {\n"; found "if (...){\n"
error 552 The comments for parameters $width (1) and $height (2) do not align
error 553 Last parameter comment requires a blank newline after it
error 553 The variable names for parameters $height (2) and $trueColor (3) do not align
error 553 The comments for parameters $height (2) and $trueColor (3) do not align
Sum 34 errors and 28 warnings
/data/pear/pear/Image_Transform/Driver/GD1.php
error 2 You must use "/**" style comments for a file comment
error 24 @package tag must contain a name
error 25 Content of the @author tag must be in the form "Display Name "
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 26 @copyright tag must contain a year and the name of the copyright holder
warning 27 Invalid version "$Id: GD1.php,v 1.5 2007/04/19 16:36:09 dufuz Exp $" in doc comment; consider "Release: " instead
error 27 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 29 Missing @category tag in class comment
error 29 Missing @license tag in class comment
error 29 Missing @link tag in class comment
error 56 Line indented incorrectly; expected at least 4 spaces, found 3
error 63 Doc comment var "int" does not match actual variable name "$new_x" at position 1
error 64 Doc comment var "int" does not match actual variable name "$new_y" at position 2
error 65 The variable names for parameters int (2) and $options (3) do not align
error 65 The comments for parameters int (2) and $options (3) do not align
warning 73 Line exceeds 85 characters; contains 178 characters
error 75 No space found after comma in function call
warning 76 Line exceeds 85 characters; contains 111 characters
warning 77 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 79 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 87 Missing function doc comment
error 89 Expected "if (...) {\n"; found "if (...){\n"
warning 97 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 100 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 107 Expected "if (...) {\n"; found "if (...){\n"
warning 111 Line exceeds 85 characters; contains 93 characters
warning 116 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 117 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 119 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 122 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 123 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 2 spaces
warning 124 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 2 spaces
error 126 No space found after comma in function call
warning 126 Equals sign not aligned with surrounding assignments; expected 1 space but found 5 spaces
error 127 No space found after comma in function call
warning 127 Equals sign not aligned with surrounding assignments; expected 1 space but found 5 spaces
error 129 Expected "if (...) {\n"; found "if (...){\n"
warning 130 Equals sign not aligned with surrounding assignments; expected 1 space but found 6 spaces
error 131 No space found after comma in function call
warning 131 Equals sign not aligned with surrounding assignments; expected 1 space but found 6 spaces
error 133 Line indented incorrectly; expected 12 spaces, found 16
warning 134 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 135 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
error 137 Line indented incorrectly; expected 12 spaces, found 16
warning 138 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 139 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
error 141 Line indented incorrectly; expected 12 spaces, found 16
warning 142 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 143 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
error 145 Line indented incorrectly; expected 12 spaces, found 16
warning 146 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 147 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
error 149 Line indented incorrectly; expected 12 spaces, found 16
warning 150 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 151 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
error 152 Closing brace indented incorrectly; expected 16 spaces, found 12
warning 154 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 155 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
warning 157 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 4 spaces
warning 158 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 159 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 160 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 161 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
warning 162 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
warning 163 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
warning 164 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
error 167 No space found after comma in function call
warning 167 Equals sign not aligned correctly; expected 1 space but found 3 spaces
error 178 No space found after comma in function call
error 180 No space found after comma in function call
error 180 No space found after comma in function call
error 180 No space found after comma in function call
warning 180 Line exceeds 85 characters; contains 88 characters
warning 180 Equals sign not aligned correctly; expected 1 space but found 3 spaces
error 184 Line indented incorrectly; expected 8 spaces, found 12
error 185 No space found after comma in function call
error 186 Line indented incorrectly; expected 12 spaces, found 16
error 187 Expected "for (...) {\n"; found "for (...){\n"
error 187 Line indented incorrectly; expected 16 spaces, found 20
error 188 Space before opening parenthesis of function call prohibited
error 188 Space after opening parenthesis of function call prohibited
warning 188 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 189 No space found after comma in function call
error 189 No space found after comma in function call
error 189 No space found after comma in function call
error 193 Line indented incorrectly; expected 8 spaces, found 12
error 194 Space before opening parenthesis of function call prohibited
error 194 No space found after comma in function call
error 195 Expected "for (...) {\n"; found "for (...){\n"
error 195 Line indented incorrectly; expected 12 spaces, found 16
error 196 Line indented incorrectly; expected 16 spaces, found 20
error 197 Space before opening parenthesis of function call prohibited
error 197 Space after opening parenthesis of function call prohibited
warning 197 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 198 No space found after comma in function call
error 198 No space found after comma in function call
error 198 No space found after comma in function call
error 202 Line indented incorrectly; expected 8 spaces, found 12
error 203 Space before opening parenthesis of function call prohibited
error 203 No space found after comma in function call
error 204 Line indented incorrectly; expected 12 spaces, found 16
error 205 Expected "for (...) {\n"; found "for (...){\n"
error 205 Line indented incorrectly; expected 16 spaces, found 20
error 206 Space before opening parenthesis of function call prohibited
error 206 Space after opening parenthesis of function call prohibited
warning 206 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 211 Line indented incorrectly; expected 8 spaces, found 12
error 212 Space before opening parenthesis of function call prohibited
error 212 No space found after comma in function call
error 213 Line indented incorrectly; expected 12 spaces, found 16
error 214 Expected "for (...) {\n"; found "for (...){\n"
error 214 Line indented incorrectly; expected 16 spaces, found 20
error 215 Space before opening parenthesis of function call prohibited
error 215 Space after opening parenthesis of function call prohibited
warning 215 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 216 No space found after comma in function call
error 216 No space found after comma in function call
error 216 No space found after comma in function call
error 221 Line indented incorrectly; expected 8 spaces, found 12
warning 222 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 223 Expected "for (...) {\n"; found "for (...){\n"
error 223 Line indented incorrectly; expected 12 spaces, found 16
error 226 No space found after comma in function call
warning 226 Line exceeds 85 characters; contains 86 characters
error 227 No space found after comma in function call
error 229 Expected "for (...) {\n"; found "for (...){\n"
error 229 Line indented incorrectly; expected 16 spaces, found 20
error 233 Expected "if (...) {\n"; found "if (...){\n"
error 233 Line indented incorrectly; expected 20 spaces, found 24
error 234 Space before opening parenthesis of function call prohibited
error 234 Space after opening parenthesis of function call prohibited
warning 234 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 235 Line indented incorrectly; expected 20 spaces, found 24
warning 236 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 238 No space found after comma in function call
error 238 No space found after comma in function call
error 238 No space found after comma in function call
warning 241 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 242 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 248 Equals sign not aligned correctly; expected 1 space but found 2 spaces
Sum 88 errors and 52 warnings
/data/pear/pear/Image_Transform/Driver/IM.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 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 20 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 21 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 22 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 23 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 41 @link tag comment indented incorrectly. Expected 7 spaces but found 1.
warning 71 Line exceeds 85 characters; contains 96 characters
error 81 Missing @return tag in function comment
error 92 Doc comment var "filename" does not match actual variable name "$image" at position 1
error 92 Missing comment for param "filename" at position 1
warning 105 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 116 Last parameter comment requires a blank newline after it
error 119 Method name "Image_Transform_Driver_IM::_get_image_details" is not in camel caps format
warning 125 Line exceeds 85 characters; contains 102 characters
warning 126 Line exceeds 85 characters; contains 120 characters
warning 134 Line exceeds 85 characters; contains 87 characters
warning 137 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 2 spaces
warning 141 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 153 Parameters must appear immediately after the comment
warning 163 Line exceeds 85 characters; contains 132 characters
error 177 Expected 1 space before variable type
error 177 Doc comment var "angle" does not match actual variable name "$angle" at position 1
error 178 Last parameter comment requires a blank newline after it
error 178 Expected 1 space before variable type
error 178 Doc comment var "options" does not match actual variable name "$options" at position 2
error 178 Expected 1 space after the longest type
error 197 Parameters must appear immediately after the comment
error 197 Doc comment var "width" does not match actual variable name "$width" at position 1
error 198 The comments for parameters width (1) and height (2) do not align
error 198 Doc comment var "height" does not match actual variable name "$height" at position 2
error 199 The comments for parameters height (2) and x (3) do not align
error 199 Doc comment var "x" does not match actual variable name "$x" at position 3
error 200 Doc comment var "y" does not match actual variable name "$y" at position 4
error 204 Opening brace should be on a new line
warning 214 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
error 222 Expected 1 space before variable type
error 222 Doc comment var "options" does not match actual variable name "$params" at position 1
error 222 Expected 1 space after the longest type
error 222 Expected 1 space after the longest variable name
warning 230 Line exceeds 85 characters; contains 91 characters
warning 240 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 243 Line indented incorrectly; expected 8 spaces, found 9
error 246 Line indented incorrectly; expected 8 spaces, found 9
warning 253 Line exceeds 85 characters; contains 121 characters
error 262 Last parameter comment requires a blank newline after it
error 262 Parameters must appear immediately after the comment
error 262 Missing comment for param "$outputgamma" at position 1
error 265 Opening brace should be on a new line
error 278 Opening brace should be on a new line
error 289 Opening brace should be on a new line
error 305 Opening brace should be on a new line
error 320 Parameters must appear immediately after the comment
error 320 Doc comment var "string" does not match actual variable name "$filename" at position 1
error 321 Doc comment var "quality" does not match actual variable name "$type" at position 2
error 322 Doc comment var "string" does not match actual variable name "$quality" at position 3
error 330 Line indented incorrectly; expected 8 spaces, found 12
error 340 Space after opening parenthesis of function call prohibited
error 364 Parameters must appear immediately after the comment
error 364 Doc comment var "type" does not match actual variable name "$type" at position 1
error 365 The variable names for parameters type (1) and quality (2) do not align
error 365 The comments for parameters type (1) and quality (2) do not align
error 365 Doc comment var "quality" does not match actual variable name "$quality" at position 2
warning 371 Equals sign not aligned correctly; expected 1 space but found 4 spaces
error 373 Line indented incorrectly; expected 8 spaces, found 12
error 385 Space after opening parenthesis of function call prohibited
warning 406 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 407 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
Sum 55 errors and 15 warnings
/data/pear/pear/Image_Transform/Driver/Imagick2.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 64 There must be exactly one blank line before the tags in function comment
error 72 There must be exactly one blank line before the tags in function comment
error 87 Last parameter comment requires a blank newline after it
warning 104 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 124 Space found before comma in function call
warning 124 Line exceeds 85 characters; contains 99 characters
error 139 Expected 1 space before variable type
error 139 Doc comment var "Rotation" does not match actual variable name "$angle" at position 1
error 140 Expected 1 space before variable type
error 140 The comments for parameters Rotation (1) and No (2) do not align
error 140 Doc comment var "No" does not match actual variable name "$options" at position 2
error 140 Expected 1 space after the longest type
warning 151 Line exceeds 85 characters; contains 91 characters
error 164 Expected 1 space before variable type
error 164 Doc comment var "options" does not match actual variable name "$params" at position 1
error 164 Expected 1 space after the longest type
error 164 Expected 1 space after the longest variable name
warning 172 Line exceeds 85 characters; contains 91 characters
warning 181 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 182 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 198 Line exceeds 85 characters; contains 86 characters
warning 199 Line exceeds 85 characters; contains 90 characters
warning 203 Line exceeds 85 characters; contains 103 characters
error 216 Last parameter comment requires a blank newline after it
error 216 Doc comment var "string" does not match actual variable name "$filename" at position 1
error 216 Doc comment for "$type" missing
error 216 Doc comment for "$quality" missing
warning 231 Line exceeds 85 characters; contains 89 characters
error 253 Doc comment var "type" does not match actual variable name "$type" at position 1
error 254 The variable names for parameters type (1) and quality (2) do not align
error 254 The comments for parameters type (1) and quality (2) do not align
error 254 Doc comment var "quality" does not match actual variable name "$quality" at position 2
warning 270 Line exceeds 85 characters; contains 89 characters
error 286 Last parameter comment requires a blank newline after it
error 286 Missing comment for param "$outputgamma" at position 1
error 290 Opening brace should be on a new line
error 300 Doc comment var "width" does not match actual variable name "$width" at position 1
error 301 The comments for parameters width (1) and height (2) do not align
error 301 Doc comment var "height" does not match actual variable name "$height" at position 2
error 302 The comments for parameters height (2) and x (3) do not align
error 302 Doc comment var "x" does not match actual variable name "$x" at position 3
error 303 Doc comment var "y" does not match actual variable name "$y" at position 4
warning 312 Line exceeds 85 characters; contains 89 characters
error 361 Missing @return tag in function comment
error 374 Last parameter comment requires a blank newline after it
error 374 The comments for parameters $message (1) and $code (2) do not align
Sum 35 errors and 12 warnings
/data/pear/pear/Image_Transform/Driver/Imlib.php
error 2 You must use "/**" style comments for a file comment
warning 29 Line exceeds 85 characters; contains 109 characters
error 45 Opening brace of a class must be on the line after the definition
error 45 You must use "/**" style comments for a class comment
error 65 Missing @return tag in function comment
error 66 Method name "Image_Transform_Driver_Imlib::Image_Transform_Imlib" is not in camel caps format
error 81 Space after opening parenthesis of function call prohibited
error 82 Space after opening parenthesis of function call prohibited
error 85 Space before closing parenthesis of function call prohibited
error 86 Space before closing parenthesis of function call prohibited
error 96 Doc comment var "filename" does not match actual variable name "$image" at position 1
error 96 Missing comment for param "filename" at position 1
warning 103 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 105 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
error 121 Expected 1 space before variable type
error 121 Doc comment var "options" does not match actual variable name "$params" at position 1
error 121 Expected 1 space after the longest type
error 121 Expected 1 space after the longest variable name
warning 146 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 149 Expected "if (...) {\n"; found "if (...){\n"
error 150 Expected "if (...) {\n"; found "if (...){\n"
warning 159 Line exceeds 85 characters; contains 120 characters
error 169 Expected 1 space after the longest type
error 169 Expected 1 space after the longest variable name
warning 175 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 177 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 178 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 179 Line exceeds 85 characters; contains 99 characters
error 208 The comments for parameters $in_cropWidth (1) and $in_cropHeight (2) do not align
error 209 The comments for parameters $in_cropHeight (2) and $in_cropX (3) do not align
warning 218 Line exceeds 85 characters; contains 87 characters
warning 219 Line exceeds 85 characters; contains 89 characters
warning 221 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 222 Line exceeds 85 characters; contains 129 characters
warning 223 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 224 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 232 Line exceeds 85 characters; contains 86 characters
error 234 Doc comment var "string" does not match actual variable name "$filename" at position 1
error 234 Expected 1 space after the longest variable name
error 235 Doc comment var "string" does not match actual variable name "$type" at position 2
error 237 Doc comment var "int" does not match actual variable name "$quality" at position 3
warning 247 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 251 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 253 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 269 The variable names for parameters $type (1) and $quality (2) do not align
error 269 The comments for parameters $type (1) and $quality (2) do not align
warning 284 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 286 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 317 Parameters must appear immediately after the comment
warning 327 Line exceeds 85 characters; contains 178 characters
warning 330 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 331 Line exceeds 85 characters; contains 91 characters
warning 332 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 333 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 334 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 347 Method name "Image_Transform_Driver_Imlib::_get_image_details" is not in camel caps format
warning 351 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 352 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Sum 29 errors and 29 warnings
/data/pear/pear/Image_Transform/Driver/NetPBM.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 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 20 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 21 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 22 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 23 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 80 Last parameter comment requires a blank newline after it
error 80 Doc comment var "filename" does not match actual variable name "$image" at position 1
error 80 Missing comment for param "filename" at position 1
warning 87 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 100 Parameters must appear immediately after the comment
error 113 Line indented incorrectly; expected 8 spaces, found 12
error 115 Line indented incorrectly; expected 12 spaces, found 16
error 118 Line indented incorrectly; expected 16 spaces, found 20
error 121 Space after opening parenthesis of function call prohibited
error 125 Line indented incorrectly; expected 16 spaces, found 20
error 129 Line indented incorrectly; expected 12 spaces, found 16
error 130 Space after opening parenthesis of function call prohibited
error 138 Line indented incorrectly; expected 8 spaces, found 12
error 139 Line indented incorrectly; expected 8 spaces, found 12
error 140 Space after opening parenthesis of function call prohibited
error 147 Line indented incorrectly; expected 12 spaces, found 16
error 149 Line indented incorrectly; expected 16 spaces, found 20
warning 150 Line exceeds 85 characters; contains 89 characters
error 151 Space after opening parenthesis of function call prohibited
error 154 Line indented incorrectly; expected 16 spaces, found 20
error 159 Closing brace indented incorrectly; expected 12 spaces, found 8
error 159 Closing brace indented incorrectly; expected 12 spaces, found 8
error 171 Last parameter comment requires a blank newline after it
error 171 The variable names for parameters $angle (1) and $options (2) do not align
error 171 The comments for parameters $angle (1) and $options (2) do not align
error 171 Missing comment for param "$options" at position 2
warning 191 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 192 Space after opening parenthesis of function call prohibited
warning 196 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 216 Space after opening parenthesis of function call prohibited
error 221 Space after opening parenthesis of function call prohibited
error 234 The comments for parameters $width (1) and $height (2) do not align
error 235 The comments for parameters $height (2) and $x (3) do not align
warning 245 Line exceeds 85 characters; contains 89 characters
error 256 Space after opening parenthesis of function call prohibited
error 270 Missing comment for param "$outputgamma" at position 1
error 274 Opening brace should be on a new line
error 281 Space after opening parenthesis of function call prohibited
error 302 Space after opening parenthesis of function call prohibited
error 322 Space after opening parenthesis of function call prohibited
error 342 Space after opening parenthesis of function call prohibited
error 351 Expected 1 space before variable type
error 351 Doc comment var "options" does not match actual variable name "$params" at position 1
error 351 Expected 1 space after the longest type
error 351 Expected 1 space after the longest variable name
warning 378 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 379 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 381 Space after opening parenthesis of function call prohibited
error 396 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$type" at position 1
error 396 Missing parameter name at position 1
error 396 Missing comment for param "[ UNKNOWN ]" at position 1
error 397 Last parameter comment requires a blank newline after it
error 397 The variable names for parameters UNKNOWN (1) and [ UNKNOWN ] (2) do not align
error 397 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$quality" at position 2
error 397 Missing parameter name at position 2
error 397 Missing comment for param "[ UNKNOWN ]" at position 2
error 403 Space after opening parenthesis of function call prohibited
warning 407 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 408 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 412 Line indented incorrectly; expected 8 spaces, found 12
error 413 Line indented incorrectly; expected 12 spaces, found 16
error 418 Space after opening parenthesis of function call prohibited
error 422 Line indented incorrectly; expected 8 spaces, found 12
error 423 Line indented incorrectly; expected 8 spaces, found 12
error 424 Line indented incorrectly; expected 8 spaces, found 12
error 425 Line indented incorrectly; expected 8 spaces, found 12
error 426 Line indented incorrectly; expected 8 spaces, found 12
error 427 Line indented incorrectly; expected 8 spaces, found 12
error 428 Line indented incorrectly; expected 8 spaces, found 12
error 429 Line indented incorrectly; expected 8 spaces, found 12
error 430 Line indented incorrectly; expected 8 spaces, found 12
error 431 Line indented incorrectly; expected 8 spaces, found 12
error 432 Line indented incorrectly; expected 8 spaces, found 12
error 433 Line indented incorrectly; expected 8 spaces, found 12
error 434 Line indented incorrectly; expected 8 spaces, found 12
error 435 Line indented incorrectly; expected 8 spaces, found 12
error 436 Line indented incorrectly; expected 8 spaces, found 12
error 437 Line indented incorrectly; expected 8 spaces, found 12
error 438 Line indented incorrectly; expected 8 spaces, found 12
error 439 Line indented incorrectly; expected 8 spaces, found 12
error 440 Line indented incorrectly; expected 8 spaces, found 12
error 441 Line indented incorrectly; expected 8 spaces, found 12
error 446 Line indented incorrectly; expected 8 spaces, found 12
error 447 Line indented incorrectly; expected 8 spaces, found 12
warning 448 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 453 Line indented incorrectly; expected 8 spaces, found 12
error 454 Line indented incorrectly; expected 8 spaces, found 12
error 455 Line indented incorrectly; expected 8 spaces, found 12
error 457 Line indented incorrectly; expected 8 spaces, found 12
error 458 Line indented incorrectly; expected 8 spaces, found 12
error 459 Line indented incorrectly; expected 8 spaces, found 12
error 460 Line indented incorrectly; expected 8 spaces, found 12
error 461 Line indented incorrectly; expected 8 spaces, found 12
error 462 Line indented incorrectly; expected 8 spaces, found 12
error 463 Line indented incorrectly; expected 8 spaces, found 12
error 464 Line indented incorrectly; expected 8 spaces, found 12
error 465 Line indented incorrectly; expected 8 spaces, found 12
error 466 Line indented incorrectly; expected 8 spaces, found 12
error 467 Line indented incorrectly; expected 8 spaces, found 12
error 468 Line indented incorrectly; expected 8 spaces, found 12
error 469 Line indented incorrectly; expected 8 spaces, found 12
error 470 Line indented incorrectly; expected 8 spaces, found 12
error 471 Line indented incorrectly; expected 8 spaces, found 12
error 472 Line indented incorrectly; expected 8 spaces, found 12
error 473 Line indented incorrectly; expected 8 spaces, found 12
error 474 Line indented incorrectly; expected 8 spaces, found 12
error 475 Line indented incorrectly; expected 8 spaces, found 12
error 476 Line indented incorrectly; expected 8 spaces, found 12
error 477 Line indented incorrectly; expected 8 spaces, found 12
error 478 Line indented incorrectly; expected 8 spaces, found 12
error 479 Line indented incorrectly; expected 8 spaces, found 12
error 480 Line indented incorrectly; expected 8 spaces, found 12
error 485 Line indented incorrectly; expected 8 spaces, found 12
error 487 Line indented incorrectly; expected 8 spaces, found 12
error 488 Line indented incorrectly; expected 8 spaces, found 12
error 489 Line indented incorrectly; expected 8 spaces, found 12
error 494 Line indented incorrectly; expected 8 spaces, found 12
error 497 Line indented incorrectly; expected 8 spaces, found 12
error 500 Line indented incorrectly; expected 8 spaces, found 12
error 502 Line indented incorrectly; expected 8 spaces, found 12
error 504 Line indented incorrectly; expected 8 spaces, found 12
error 505 Line indented incorrectly; expected 8 spaces, found 12
error 506 Line indented incorrectly; expected 8 spaces, found 12
error 507 Line indented incorrectly; expected 8 spaces, found 12
error 508 Line indented incorrectly; expected 8 spaces, found 12
error 509 Line indented incorrectly; expected 8 spaces, found 12
error 510 Line indented incorrectly; expected 8 spaces, found 12
error 511 Line indented incorrectly; expected 8 spaces, found 12
error 512 Line indented incorrectly; expected 8 spaces, found 12
error 513 Line indented incorrectly; expected 8 spaces, found 12
error 514 Line indented incorrectly; expected 8 spaces, found 12
error 515 Line indented incorrectly; expected 8 spaces, found 12
error 530 Space after opening parenthesis of function call prohibited
error 539 Doc comment var "string" does not match actual variable name "$filename" at position 1
error 540 The variable names for parameters string (1) and $type (2) do not align
error 540 The comments for parameters string (1) and $type (2) do not align
error 541 Last parameter comment requires a blank newline after it
error 541 The variable names for parameters $type (2) and $quality (3) do not align
error 541 The comments for parameters $type (2) and $quality (3) do not align
error 569 Last parameter comment requires a blank newline after it
error 569 The variable names for parameters $type (1) and $quality (2) do not align
error 569 The comments for parameters $type (1) and $quality (2) do not align
Sum 140 errors and 10 warnings
/data/pear/pear/Image_Transform/Driver/Imagick3.php
error 44 Only 1 @since tag is allowed in a class comment
error 62 There must be exactly one blank line before the tags in function comment
error 70 There must be exactly one blank line before the tags in function comment
warning 104 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 117 The variable names for parameters $new_y (2) and $options (3) do not align
warning 129 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 148 The comments for parameters $angle (1) and $options (2) do not align
warning 170 Line exceeds 85 characters; contains 109 characters
warning 173 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 183 Expected 1 space before variable type
error 183 Expected 1 space after the longest type
warning 199 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 216 Line exceeds 85 characters; contains 90 characters
warning 220 Line exceeds 85 characters; contains 91 characters
error 233 Doc comment var "string" does not match actual variable name "$filename" at position 1
error 233 Doc comment for "$type" missing
error 233 Doc comment for "$quality" missing
warning 252 Line exceeds 85 characters; contains 93 characters
warning 261 Line exceeds 85 characters; contains 87 characters
error 278 Doc comment var "type" does not match actual variable name "$type" at position 1
error 279 The variable names for parameters type (1) and quality (2) do not align
error 279 The comments for parameters type (1) and quality (2) do not align
error 279 Doc comment var "quality" does not match actual variable name "$quality" at position 2
warning 298 Line exceeds 85 characters; contains 93 characters
error 318 Last parameter comment requires a blank newline after it
error 318 Missing comment for param "$outputgamma" at position 1
error 322 Opening brace should be on a new line
error 333 The comments for parameters $width (1) and $height (2) do not align
error 334 The comments for parameters $height (2) and $x (3) do not align
warning 344 Line exceeds 85 characters; contains 89 characters
error 368 Opening brace should be on a new line
error 416 Missing @return tag in function comment
error 429 Last parameter comment requires a blank newline after it
error 429 The comments for parameters $message (1) and $code (2) do not align
Sum 23 errors and 11 warnings
/data/pear/pear/Image_Transform/Driver/Cairowrapper.php
error 70 Space after opening parenthesis of function call prohibited
error 71 Space after opening parenthesis of function call prohibited
error 74 Space before closing parenthesis of function call prohibited
error 75 Space before closing parenthesis of function call prohibited
warning 95 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 130 Space after opening parenthesis of function call prohibited
error 134 Space before closing parenthesis of function call prohibited
error 144 Space after opening parenthesis of function call prohibited
error 146 Space before closing parenthesis of function call prohibited
error 227 Space after opening parenthesis of function call prohibited
error 229 Space before closing parenthesis of function call prohibited
error 232 Expected 1 space after comma in function call; 2 found
error 232 Expected 1 space after comma in function call; 2 found
error 232 Expected 1 space after comma in function call; 2 found
error 232 Expected 1 space after comma in function call; 2 found
error 256 Space after opening parenthesis of function call prohibited
error 258 Space before closing parenthesis of function call prohibited
error 261 Expected 1 space after comma in function call; 2 found
error 261 Expected 1 space after comma in function call; 2 found
Sum 18 errors and 1 warnings