Coding Standards Report for Image_GIS

Type Line Message
Package 372 errors and 20 warnings
/data/pear/pear/Image_GIS/GIS.php
error 2 You must use "/**" style comments for a file comment
error 61 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 61 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 62 Line exceeds 85 characters; contains 123 characters
error 62 The @copyright tag is in the wrong order; the tag follows @author
error 62 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 63 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 63 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 64 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 65 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 66 Missing @link tag in class comment
error 67 Opening brace of a class must be on the line after the definition
error 81 @copyright tag must contain a year and the name of the copyright holder
error 92 Last parameter comment requires a blank newline after it
error 92 Expected 1 space before variable type
error 92 Missing comment for param "$parameters" at position 1
error 95 Opening brace should be on a new line
error 98 Space after opening parenthesis of function call prohibited
error 102 Space before closing parenthesis of function call prohibited
error 104 Space after opening parenthesis of function call prohibited
error 108 Space before closing parenthesis of function call prohibited
error 114 Space after opening parenthesis of function call prohibited
error 119 Space before closing parenthesis of function call prohibited
error 126 Expected 1 space before variable type
error 126 Missing comment for param "$dataFile" at position 1
error 127 Last parameter comment requires a blank newline after it
error 127 Expected 1 space before variable type
error 127 The comments for parameters $dataFile (1) and $color (2) do not align
error 127 Missing comment for param "$color" at position 2
error 131 Opening brace should be on a new line
error 142 Opening brace should be on a new line
error 150 Missing @return tag in function comment
error 151 Opening brace should be on a new line
error 158 Last parameter comment requires a blank newline after it
error 158 Expected 1 space before variable type
error 158 Missing comment for param "$filename" at position 1
error 162 Opening brace should be on a new line
error 172 Expected 1 space before variable type
error 172 Missing comment for param "$parser" at position 1
error 173 Last parameter comment requires a blank newline after it
error 173 Expected 1 space before variable type
error 173 The comments for parameters $parser (1) and $cache (2) do not align
error 173 Missing comment for param "$cache" at position 2
error 175 Missing @return tag in function comment
error 176 Opening brace should be on a new line
error 183 Expected 1 space before variable type
error 183 Missing comment for param "$x1" at position 1
error 184 Expected 1 space before variable type
error 184 Missing comment for param "$x2" at position 2
error 185 Expected 1 space before variable type
error 185 Missing comment for param "$y1" at position 3
error 186 Last parameter comment requires a blank newline after it
error 186 Expected 1 space before variable type
error 186 Missing comment for param "$y2" at position 4
error 188 Missing @return tag in function comment
error 189 Opening brace should be on a new line
error 197 Last parameter comment requires a blank newline after it
error 197 Expected 1 space before variable type
error 197 Missing comment for param "$renderer" at position 1
error 197 Doc comment for "$width" missing
error 197 Doc comment for "$height" missing
error 199 Missing @return tag in function comment
error 200 Opening brace should be on a new line
warning 201 Line exceeds 85 characters; contains 97 characters
error 208 Missing @return tag in function comment
error 209 Opening brace should be on a new line
Sum 64 errors and 2 warnings
/data/pear/pear/Image_GIS/GIS/Parser/E00.php
error 2 You must use "/**" style comments for a file comment
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 26 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 27 Line exceeds 85 characters; contains 123 characters
error 27 The @copyright tag is in the wrong order; the tag follows @author
error 27 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 28 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 28 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 29 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 30 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 31 @copyright tag must contain a year and the name of the copyright holder
error 31 Missing @link tag in class comment
error 32 Opening brace of a class must be on the line after the definition
error 36 Expected 1 space before variable type
error 36 Missing comment for param "$cache" at position 1
error 37 Last parameter comment requires a blank newline after it
error 37 Expected 1 space before variable type
error 37 Missing comment for param "$debug" at position 2
error 40 Opening brace should be on a new line
error 47 Expected 1 space before variable type
error 47 Missing comment for param "$dataFile" at position 1
error 48 Last parameter comment requires a blank newline after it
error 48 Expected 1 space before variable type
error 48 The comments for parameters $dataFile (1) and $color (2) do not align
error 48 Missing comment for param "$color" at position 2
error 52 Opening brace should be on a new line
error 59 Expected "while (...) {\n"; found "while(...) {\n"
warning 63 Line exceeds 85 characters; contains 129 characters
error 70 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
warning 71 Line exceeds 85 characters; contains 192 characters
error 91 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
warning 92 Line exceeds 85 characters; contains 124 characters
error 104 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
error 106 Space after opening parenthesis of function call prohibited
error 109 Space before closing parenthesis of function call prohibited
error 115 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
Sum 33 errors and 4 warnings
/data/pear/pear/Image_GIS/GIS/LineSet.php
error 2 You must use "/**" style comments for a file comment
error 22 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 22 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 23 Line exceeds 85 characters; contains 123 characters
error 23 The @copyright tag is in the wrong order; the tag follows @author
error 23 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 24 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 24 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 25 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 26 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 27 @copyright tag must contain a year and the name of the copyright holder
error 27 Missing @link tag in class comment
error 28 Opening brace of a class must be on the line after the definition
error 51 Last parameter comment requires a blank newline after it
error 51 Expected 1 space before variable type
error 51 Missing comment for param "$color" at position 1
error 54 Opening brace should be on a new line
error 61 Expected 1 space before variable type
error 61 Missing comment for param "$x1" at position 1
error 62 Expected 1 space before variable type
error 62 Missing comment for param "$y1" at position 2
error 63 Expected 1 space before variable type
error 63 Missing comment for param "$x2" at position 3
error 64 Last parameter comment requires a blank newline after it
error 64 Expected 1 space before variable type
error 64 Missing comment for param "$y2" at position 4
error 66 Missing @return tag in function comment
error 67 Opening brace should be on a new line
Sum 27 errors and 1 warnings
/data/pear/pear/Image_GIS/GIS/Parser.php
error 2 You must use "/**" style comments for a file comment
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 30 @copyright tag must contain a year and the name of the copyright holder
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 37 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 63 Expected 1 space before variable type
error 63 Missing comment for param "$cache" at position 1
error 64 Last parameter comment requires a blank newline after it
error 64 Expected 1 space before variable type
error 64 Missing comment for param "$debug" at position 2
error 67 Opening brace should be on a new line
error 78 Expected 1 space before variable type
error 78 Missing comment for param "$parser" at position 1
error 79 Expected 1 space before variable type
error 79 The comments for parameters $parser (1) and $cache (2) do not align
error 79 Missing comment for param "$cache" at position 2
error 80 Last parameter comment requires a blank newline after it
error 80 Expected 1 space before variable type
error 80 Missing comment for param "$debug" at position 3
error 84 Opening brace should be on a new line
error 96 Expected 1 space before variable type
error 96 Missing comment for param "$dataFile" at position 1
error 97 Last parameter comment requires a blank newline after it
error 97 Expected 1 space before variable type
error 97 The comments for parameters $dataFile (1) and $color (2) do not align
error 97 Missing comment for param "$color" at position 2
error 99 Missing @return tag in function comment
error 100 Opening brace should be on a new line
error 110 Opening brace should be on a new line
error 137 Expected 1 space before variable type
error 137 Missing comment for param "$dataFile" at position 1
error 138 Last parameter comment requires a blank newline after it
error 138 Expected 1 space before variable type
error 138 The comments for parameters $dataFile (1) and $color (2) do not align
error 138 Missing comment for param "$color" at position 2
error 143 Closing brace must be on a line by itself
error 143 Opening brace should be on a new line
Sum 45 errors and 1 warnings
/data/pear/pear/Image_GIS/GIS/Renderer.php
error 2 You must use "/**" style comments for a file comment
error 24 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 24 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 31 @copyright tag must contain a year and the name of the copyright holder
error 31 Missing @link tag in class comment
error 32 Opening brace of a class must be on the line after the definition
error 67 Expected 1 space before variable type
error 67 Missing comment for param "$width" at position 1
error 68 Expected 1 space before variable type
error 68 The comments for parameters $width (1) and $height (2) do not align
error 68 Missing comment for param "$height" at position 2
error 69 Last parameter comment requires a blank newline after it
error 69 Expected 1 space before variable type
error 69 The comments for parameters $height (2) and $debug (3) do not align
error 69 Missing comment for param "$debug" at position 3
error 72 Opening brace should be on a new line
warning 73 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 87 Closing brace indented incorrectly; expected 4 spaces, found 3
error 92 Expected 1 space before variable type
error 92 Missing comment for param "$renderer" at position 1
error 93 Expected 1 space before variable type
error 93 The comments for parameters $renderer (1) and $width (2) do not align
error 93 Missing comment for param "$width" at position 2
error 94 Expected 1 space before variable type
error 94 The comments for parameters $width (2) and $height (3) do not align
error 94 Missing comment for param "$height" at position 3
error 95 Last parameter comment requires a blank newline after it
error 95 Expected 1 space before variable type
error 95 The comments for parameters $height (3) and $debug (4) do not align
error 95 Missing comment for param "$debug" at position 4
error 99 Opening brace should be on a new line
error 100 "include_once" is a statement, not a function; no parentheses are required
error 112 Expected 1 space before variable type
error 112 Missing comment for param "$x1" at position 1
error 113 Expected 1 space before variable type
error 113 Missing comment for param "$y1" at position 2
error 114 Expected 1 space before variable type
error 114 Missing comment for param "$x2" at position 3
error 115 Expected 1 space before variable type
error 115 Missing comment for param "$y2" at position 4
error 116 Last parameter comment requires a blank newline after it
error 116 Expected 1 space before variable type
error 116 The comments for parameters $y2 (4) and $color (5) do not align
error 116 Missing comment for param "$color" at position 5
error 118 Missing @return tag in function comment
error 119 Opening brace should be on a new line
warning 129 Line exceeds 85 characters; contains 92 characters
warning 130 Line exceeds 85 characters; contains 92 characters
warning 131 Line exceeds 85 characters; contains 92 characters
warning 132 Line exceeds 85 characters; contains 92 characters
warning 145 Line exceeds 85 characters; contains 86 characters
error 159 Opening brace should be on a new line
error 171 Expected 1 space before variable type
error 171 Missing comment for param "$polarCoordinate" at position 1
error 172 Last parameter comment requires a blank newline after it
error 172 Expected 1 space before variable type
error 172 The comments for parameters $polarCoordinate (1) and $direction (2) do not align
error 172 Missing comment for param "$direction" at position 2
error 174 Missing @return tag in function comment
error 175 Opening brace should be on a new line
error 177 Line indented incorrectly; expected 8 spaces, found 12
warning 179 Line exceeds 85 characters; contains 90 characters
error 181 Break statement indented incorrectly; expected 16 spaces, found 12
error 183 Line indented incorrectly; expected 8 spaces, found 12
warning 185 Line exceeds 85 characters; contains 91 characters
error 187 Break statement indented incorrectly; expected 16 spaces, found 12
error 194 Last parameter comment requires a blank newline after it
error 194 Expected 1 space before variable type
error 194 Missing comment for param "$lineSets" at position 1
error 196 Missing @return tag in function comment
error 197 Opening brace should be on a new line
warning 216 Line exceeds 85 characters; contains 96 characters
error 224 Expected 1 space before variable type
error 224 Missing comment for param "$x1" at position 1
error 225 Expected 1 space before variable type
error 225 Missing comment for param "$x2" at position 2
error 226 Expected 1 space before variable type
error 226 Missing comment for param "$y1" at position 3
error 227 Last parameter comment requires a blank newline after it
error 227 Expected 1 space before variable type
error 227 Missing comment for param "$y2" at position 4
error 229 Missing @return tag in function comment
error 230 Opening brace should be on a new line
error 239 Expected 1 space before variable type
error 239 Missing comment for param "$x1" at position 1
error 240 Expected 1 space before variable type
error 240 Missing comment for param "$y1" at position 2
error 241 Expected 1 space before variable type
error 241 Missing comment for param "$x2" at position 3
error 242 Expected 1 space before variable type
error 242 Missing comment for param "$y2" at position 4
error 243 Expected 1 space before variable type
error 243 The comments for parameters $y2 (4) and $r (5) do not align
error 243 Missing comment for param "$r" at position 5
error 244 Expected 1 space before variable type
error 244 Missing comment for param "$g" at position 6
error 245 Last parameter comment requires a blank newline after it
error 245 Expected 1 space before variable type
error 245 Missing comment for param "$b" at position 7
error 248 Missing @return tag in function comment
error 249 Closing brace must be on a line by itself
error 249 Opening brace should be on a new line
error 254 Last parameter comment requires a blank newline after it
error 254 Expected 1 space before variable type
error 254 Missing comment for param "$filename" at position 1
error 259 Closing brace must be on a line by itself
error 259 Opening brace should be on a new line
error 266 Missing @return tag in function comment
error 267 Closing brace must be on a line by itself
error 267 Opening brace should be on a new line
Sum 108 errors and 10 warnings
/data/pear/pear/Image_GIS/GIS/Renderer/GD.php
error 2 You must use "/**" style comments for a file comment
error 24 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 24 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 30 @copyright tag must contain a year and the name of the copyright holder
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 49 Expected 1 space before variable type
error 49 Missing comment for param "$width" at position 1
error 50 Expected 1 space before variable type
error 50 Doc comment var "$sizyY" does not match actual variable name "$height" at position 2
error 50 Missing comment for param "$sizyY" at position 2
error 51 Last parameter comment requires a blank newline after it
error 51 Expected 1 space before variable type
error 51 Missing comment for param "$debug" at position 3
error 54 Opening brace should be on a new line
error 73 Expected 1 space before variable type
error 73 Missing comment for param "$x1" at position 1
error 74 Expected 1 space before variable type
error 74 Missing comment for param "$y1" at position 2
error 75 Expected 1 space before variable type
error 75 Missing comment for param "$x2" at position 3
error 76 Expected 1 space before variable type
error 76 Missing comment for param "$y2" at position 4
error 77 Expected 1 space before variable type
error 77 The comments for parameters $y2 (4) and $r (5) do not align
error 77 Missing comment for param "$r" at position 5
error 78 Expected 1 space before variable type
error 78 Missing comment for param "$g" at position 6
error 79 Last parameter comment requires a blank newline after it
error 79 Expected 1 space before variable type
error 79 Missing comment for param "$b" at position 7
error 81 Missing @return tag in function comment
error 82 Opening brace should be on a new line
error 87 Space after opening parenthesis of function call prohibited
error 94 Space before closing parenthesis of function call prohibited
error 100 Last parameter comment requires a blank newline after it
error 100 Expected 1 space before variable type
error 100 Missing comment for param "$filename" at position 1
error 104 Opening brace should be on a new line
error 112 Missing @return tag in function comment
error 113 Opening brace should be on a new line
Sum 48 errors and 1 warnings
/data/pear/pear/Image_GIS/GIS/Renderer/SVG.php
error 2 You must use "/**" style comments for a file comment
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 30 @copyright tag must contain a year and the name of the copyright holder
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 49 Expected 1 space before variable type
error 49 Missing comment for param "$width" at position 1
error 50 Expected 1 space before variable type
error 50 Doc comment var "$sizyY" does not match actual variable name "$height" at position 2
error 50 Missing comment for param "$sizyY" at position 2
error 51 Last parameter comment requires a blank newline after it
error 51 Expected 1 space before variable type
error 51 Missing comment for param "$debug" at position 3
error 54 Opening brace should be on a new line
error 69 Expected 1 space before variable type
error 69 Missing comment for param "$x1" at position 1
error 70 Expected 1 space before variable type
error 70 Missing comment for param "$y1" at position 2
error 71 Expected 1 space before variable type
error 71 Missing comment for param "$x2" at position 3
error 72 Expected 1 space before variable type
error 72 Missing comment for param "$y2" at position 4
error 73 Expected 1 space before variable type
error 73 The comments for parameters $y2 (4) and $r (5) do not align
error 73 Missing comment for param "$r" at position 5
error 74 Expected 1 space before variable type
error 74 Missing comment for param "$g" at position 6
error 75 Last parameter comment requires a blank newline after it
error 75 Expected 1 space before variable type
error 75 Missing comment for param "$b" at position 7
error 77 Missing @return tag in function comment
error 78 Opening brace should be on a new line
error 84 Space after opening parenthesis of function call prohibited
error 90 Space before closing parenthesis of function call prohibited
error 112 Last parameter comment requires a blank newline after it
error 112 Expected 1 space before variable type
error 112 Missing comment for param "$filename" at position 1
error 116 Opening brace should be on a new line
error 131 Missing @return tag in function comment
error 132 Opening brace should be on a new line
Sum 47 errors and 1 warnings