Coding Standards Report for PHP_Archive

Type Line Message
Package 310 errors and 293 warnings
/data/pear/pear/PHP_Archive/Archive/Creator.php
error 5 The @package tag is in the wrong order; the tag follows @category
error 5 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 7 PHP version not specified
error 7 Missing @author tag in file comment
error 7 Missing @license tag in file comment
error 7 Missing @link tag in file comment
warning 18 Line exceeds 85 characters; contains 87 characters
error 23 The @copyright tag is in the wrong order; the tag follows @author
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 1.
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 26 The @link tag is in the wrong order; the tag follows @version
error 26 @link tag comment indented incorrectly. Expected 6 spaces but found 1.
warning 27 Invalid version "$Id: Creator.php,v 1.44 2008/05/19 15:16:55 cellog Exp $" in doc comment; consider "Release: " instead
error 27 The @version tag is in the wrong order; the tag follows @licence
error 27 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 28 The @package tag is in the wrong order; the tag follows @category
error 28 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 29 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 30 Missing @license tag in class comment
error 31 @copyright tag must contain a year and the name of the copyright holder
warning 82 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 106 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$path" at position 1
error 106 Missing parameter name at position 1
error 106 Missing comment for param "[ UNKNOWN ]" at position 1
error 106 There must be exactly one blank line before the tags in function comment
error 107 Missing @return tag in function comment
warning 114 Inline control structures are discouraged
warning 129 Line exceeds 85 characters; contains 93 characters
warning 130 Line exceeds 85 characters; contains 95 characters
error 132 The variable names for parameters $init_file (1) and $alias (2) do not align
error 132 The comments for parameters $init_file (1) and $alias (2) do not align
warning 134 Line exceeds 85 characters; contains 96 characters
error 134 The variable names for parameters $alias (2) and $compress (3) do not align
error 134 The comments for parameters $alias (2) and $compress (3) do not align
warning 135 Line exceeds 85 characters; contains 95 characters
warning 136 Line exceeds 85 characters; contains 91 characters
error 136 The variable names for parameters $compress (3) and $relyOnPhar (4) do not align
error 136 The comments for parameters $compress (3) and $relyOnPhar (4) do not align
error 138 The comments for parameters $relyOnPhar (4) and $collapse (5) do not align
error 140 Arguments with default values must be at the end of the argument list
warning 143 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 144 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 146 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 147 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 148 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 153 Line exceeds 85 characters; contains 86 characters
warning 154 Line exceeds 85 characters; contains 86 characters
warning 155 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 201 Line exceeds 85 characters; contains 95 characters
error 207 Missing comment for param "$metadata" at position 1
error 208 Missing @return tag in function comment
error 216 Missing @return tag in function comment
error 225 Missing @return tag in function comment
error 238 Missing comment for param "$callback" at position 1
error 239 Missing @return tag in function comment
error 251 The comments for parameters $file (1) and $save_path (2) do not align
error 252 The comments for parameters $save_path (2) and $magicrequire (3) do not align
error 253 Last parameter comment requires a blank newline after it
error 253 The comments for parameters $magicrequire (3) and $metadata (4) do not align
warning 257 Line exceeds 85 characters; contains 87 characters
warning 259 Line exceeds 85 characters; contains 96 characters
warning 266 Line exceeds 85 characters; contains 101 characters
error 266 Expected 1 space after the longest type
warning 271 Line exceeds 85 characters; contains 100 characters
warning 273 Line exceeds 85 characters; contains 107 characters
warning 275 Line exceeds 85 characters; contains 95 characters
warning 276 Line exceeds 85 characters; contains 106 characters
warning 277 Line exceeds 85 characters; contains 101 characters
error 279 Missing @return tag in function comment
warning 280 Line exceeds 85 characters; contains 109 characters
warning 286 Line exceeds 85 characters; contains 93 characters
warning 301 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 303 Line exceeds 85 characters; contains 97 characters
warning 305 Line exceeds 85 characters; contains 90 characters
warning 306 Line exceeds 85 characters; contains 87 characters
warning 307 Line exceeds 85 characters; contains 89 characters
warning 347 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 349 Line exceeds 85 characters; contains 97 characters
warning 351 Line exceeds 85 characters; contains 90 characters
warning 352 Line exceeds 85 characters; contains 87 characters
warning 353 Line exceeds 85 characters; contains 89 characters
error 374 Last parameter comment requires a blank newline after it
error 374 The comments for parameters $file_contents (1) and $save_path (2) do not align
error 374 Doc comment for "$magicrequire" missing
error 374 Doc comment for "$metadata" missing
warning 384 Line exceeds 85 characters; contains 87 characters
warning 394 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 407 Line exceeds 85 characters; contains 95 characters
error 431 You must use "/**" style comments for a function comment
error 440 The comments for parameters $contents (1) and $path (2) do not align
error 441 Missing @return tag in function comment
warning 444 Line exceeds 85 characters; contains 100 characters
warning 446 Line exceeds 85 characters; contains 100 characters
error 455 The comments for parameters $contents (1) and $path (2) do not align
error 456 Missing @return tag in function comment
error 459 Space after opening parenthesis of function call prohibited
error 469 The comments for parameters $contents (1) and $path (2) do not align
error 470 Missing @return tag in function comment
error 473 Space after opening parenthesis of function call prohibited
error 479 Missing function doc comment
warning 488 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 490 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 501 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 511 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 520 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 521 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 522 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 539 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 550 Expected 1 space before variable type
error 550 Expected 1 space after the longest type
error 552 Expected 1 space before variable type
error 553 Last parameter comment requires a blank newline after it
error 553 Expected 1 space before variable type
error 553 The variable names for parameters $path (2) and $return (3) do not align
error 553 Expected 1 space after the longest variable name
error 564 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 567 Line exceeds 85 characters; contains 86 characters
error 568 No space found after comma in function call
warning 568 Line exceeds 85 characters; contains 97 characters
warning 570 Line exceeds 85 characters; contains 88 characters
warning 571 Line exceeds 85 characters; contains 96 characters
warning 574 Line exceeds 85 characters; contains 96 characters
warning 575 Line exceeds 85 characters; contains 96 characters
warning 582 Line exceeds 85 characters; contains 87 characters
warning 589 Line exceeds 85 characters; contains 89 characters
warning 594 Line exceeds 85 characters; contains 89 characters
error 606 Doc comment var "strings" does not match actual variable name "$ignore" at position 1
error 606 There must be exactly one blank line before the tags in function comment
error 607 The variable names for parameters strings (1) and 0 (2) do not align
error 607 The comments for parameters strings (1) and 0 (2) do not align
error 607 Doc comment var "0" does not match actual variable name "$index" at position 2
error 608 Missing @return tag in function comment
error 613 Expected "for (...) {\n"; found "for(...) {\n"
error 615 No space found after comma in function call
error 615 No space found after comma in function call
warning 624 Line exceeds 85 characters; contains 89 characters
warning 625 Line exceeds 85 characters; contains 96 characters
warning 635 Inline control structures are discouraged
error 640 Last parameter comment requires a blank newline after it
error 640 There must be exactly one blank line before the tags in function comment
warning 650 Line exceeds 85 characters; contains 93 characters
warning 662 Line exceeds 85 characters; contains 96 characters
error 664 Doc comment var "directory" does not match actual variable name "$directory" at position 1
error 664 There must be exactly one blank line before the tags in function comment
error 665 The comments for parameters directory (1) and name (2) do not align
error 665 Doc comment var "name" does not match actual variable name "$entry" at position 2
error 665 Missing comment for param "name" at position 2
error 666 Missing @return tag in function comment
warning 670 Line exceeds 85 characters; contains 89 characters
error 678 There must be exactly one blank line before the tags in function comment
error 680 Parameters must appear immediately after the comment
error 680 Doc comment for "$toplevel" missing
warning 687 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 695 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 696 Expected "while (...) {\n"; found "while(...) {\n"
warning 701 Line exceeds 85 characters; contains 92 characters
warning 707 Line exceeds 85 characters; contains 92 characters
warning 711 Line exceeds 85 characters; contains 92 characters
warning 714 Line exceeds 85 characters; contains 100 characters
error 716 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 735 Doc comment var "The" does not match actual variable name "$dir" at position 1
error 736 The comments for parameters The (1) and files (2) do not align
error 736 Doc comment var "files" does not match actual variable name "$ignore" at position 2
error 737 Doc comment var "files" does not match actual variable name "$include" at position 3
error 738 The comments for parameters files (3) and If (4) do not align
error 738 Doc comment var "If" does not match actual variable name "$magicrequire" at position 4
error 740 Last parameter comment requires a blank newline after it
error 740 The comments for parameters If (4) and Directory (5) do not align
error 740 Doc comment var "Directory" does not match actual variable name "$toplevel" at position 5
warning 744 Line exceeds 85 characters; contains 94 characters
error 756 Last parameter comment requires a blank newline after it
error 760 Private method name "PHP_Archive_Creator::collapse" must be prefixed with an underscore
warning 762 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 787 Missing comment for param "$files" at position 1
error 788 Last parameter comment requires a blank newline after it
error 788 The variable names for parameters $files (1) and $magicrequire (2) do not align
error 788 The comments for parameters $files (1) and $magicrequire (2) do not align
error 807 Last parameter comment requires a blank newline after it
error 807 Missing comment for param "$file_path" at position 1
warning 818 Line exceeds 85 characters; contains 95 characters
warning 821 Line exceeds 85 characters; contains 95 characters
warning 821 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 822 Line exceeds 85 characters; contains 88 characters
warning 822 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 830 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 834 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 842 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 872 Last parameter comment requires a blank newline after it
warning 889 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 890 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 891 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 896 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 907 Line exceeds 85 characters; contains 91 characters
warning 907 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 913 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Sum 106 errors and 90 warnings
/data/pear/pear/PHP_Archive/Archive/Exception.php
error 5 The @package tag is in the wrong order; the tag follows @category
error 5 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 7 PHP version not specified
error 7 Missing @author tag in file comment
error 7 Missing @license tag in file comment
error 7 Missing @link tag in file comment
error 15 The @package tag is in the wrong order; the tag follows @category
error 15 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
error 17 Missing @author tag in class comment
error 17 Missing @license tag in class comment
error 17 Missing @link tag in class comment
error 18 Opening brace of a class must be on the line after the definition
error 18 Closing brace must be on a line by itself
error 19 Missing class doc comment
warning 21 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 22 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 23 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 24 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 25 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 26 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 28 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 29 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 30 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 31 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 32 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 33 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 34 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 35 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
warning 36 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 37 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 41 Line exceeds 85 characters; contains 91 characters
warning 42 Line exceeds 85 characters; contains 95 characters
warning 43 Line exceeds 85 characters; contains 111 characters
warning 45 Line exceeds 85 characters; contains 175 characters
warning 46 Line exceeds 85 characters; contains 161 characters
warning 47 Line exceeds 85 characters; contains 101 characters
warning 48 Line exceeds 85 characters; contains 120 characters
warning 49 Line exceeds 85 characters; contains 154 characters
warning 50 Line exceeds 85 characters; contains 123 characters
warning 52 Line exceeds 85 characters; contains 108 characters
warning 57 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 58 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 59 Missing function doc comment
warning 69 Line exceeds 85 characters; contains 113 characters
error 76 Missing function doc comment
warning 79 Line exceeds 85 characters; contains 89 characters
error 85 Missing function doc comment
Sum 16 errors and 31 warnings
/data/pear/pear/PHP_Archive/Archive/Manager.php
error 5 The @package tag is in the wrong order; the tag follows @category
error 5 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 7 PHP version not specified
error 7 Missing @author tag in file comment
error 7 Missing @license tag in file comment
error 7 Missing @link tag in file comment
error 16 Extra newline found before class comment short description
error 17 There must be exactly one blank line before the tags in class comments
error 17 The @copyright tag is in the wrong order; the tag follows @author
error 18 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 18 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
warning 19 Invalid version "$Id: Manager.php,v 1.14 2007/08/18 03:57:34 cellog Exp $" in doc comment; consider "Release: " instead
error 19 @copyright tag must contain a year and the name of the copyright holder
error 19 The @version tag is in the wrong order; the tag follows @licence
error 19 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 20 The @package tag is in the wrong order; the tag follows @category
error 20 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 21 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 22 Missing @license tag in class comment
error 22 Missing @link tag in class comment
warning 25 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 26 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 27 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 29 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 43 Line exceeds 85 characters; contains 86 characters
error 50 Last parameter comment requires a blank newline after it
error 50 Doc comment var "a" does not match actual variable name "$phar" at position 1
error 50 There must be exactly one blank line before the tags in function comment
error 59 Doc comment for "$strict" missing
error 61 There must be exactly one blank line before the tags in function comment
error 62 Missing @return tag in function comment
warning 65 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 67 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 69 Line exceeds 85 characters; contains 90 characters
warning 82 Line exceeds 85 characters; contains 97 characters
warning 91 Line exceeds 85 characters; contains 88 characters
warning 97 Line exceeds 85 characters; contains 91 characters
warning 100 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 101 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 117 No space found after comma in function call
warning 120 Line exceeds 85 characters; contains 99 characters
warning 127 Line exceeds 85 characters; contains 99 characters
warning 130 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 131 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 138 Line exceeds 85 characters; contains 110 characters
warning 145 Line exceeds 85 characters; contains 99 characters
warning 148 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 150 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 155 Line exceeds 85 characters; contains 99 characters
warning 165 Line exceeds 85 characters; contains 99 characters
warning 168 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 174 Line exceeds 85 characters; contains 99 characters
warning 178 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 184 Line exceeds 85 characters; contains 103 characters
warning 187 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 189 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 195 Line exceeds 85 characters; contains 92 characters
warning 198 Line exceeds 85 characters; contains 107 characters
warning 201 Line exceeds 85 characters; contains 92 characters
warning 204 Line exceeds 85 characters; contains 107 characters
warning 212 Line exceeds 85 characters; contains 92 characters
warning 215 Line exceeds 85 characters; contains 107 characters
warning 218 Line exceeds 85 characters; contains 92 characters
warning 221 Line exceeds 85 characters; contains 107 characters
warning 235 Line exceeds 85 characters; contains 92 characters
warning 238 Line exceeds 85 characters; contains 107 characters
warning 241 Line exceeds 85 characters; contains 92 characters
warning 244 Line exceeds 85 characters; contains 107 characters
warning 254 Line exceeds 85 characters; contains 98 characters
warning 254 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 257 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 264 Line exceeds 85 characters; contains 92 characters
warning 270 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 272 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 275 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 281 Line exceeds 85 characters; contains 115 characters
warning 285 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 286 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 294 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 302 Line exceeds 85 characters; contains 121 characters
warning 310 Line exceeds 85 characters; contains 121 characters
warning 316 Line exceeds 85 characters; contains 106 characters
warning 322 Line exceeds 85 characters; contains 106 characters
warning 328 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 337 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 339 Line indented incorrectly; expected 16 spaces, found 20
warning 341 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 342 Line indented incorrectly; expected 20 spaces, found 24
error 346 Line indented incorrectly; expected 20 spaces, found 24
warning 347 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 351 Line indented incorrectly; expected 16 spaces, found 20
error 353 Line indented incorrectly; expected 20 spaces, found 24
error 357 Line indented incorrectly; expected 20 spaces, found 24
warning 358 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 362 Line indented incorrectly; expected 16 spaces, found 20
warning 366 Line exceeds 85 characters; contains 89 characters
warning 373 Line exceeds 85 characters; contains 99 characters
error 380 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$return_array" at position 1
error 380 Missing parameter name at position 1
error 380 Missing comment for param "[ UNKNOWN ]" at position 1
error 381 Missing @return tag in function comment
warning 389 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 401 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 412 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 413 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 415 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 416 Line exceeds 85 characters; contains 95 characters
warning 416 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 417 Line exceeds 85 characters; contains 96 characters
warning 418 Line exceeds 85 characters; contains 96 characters
warning 418 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 419 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 421 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 423 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 425 Equals sign not aligned with surrounding assignments; expected 66 spaces but found 1 space
error 430 You must use "/**" style comments for a function comment
warning 434 Line exceeds 85 characters; contains 92 characters
error 446 Missing comment for param "$toHere" at position 1
error 447 Missing @return tag in function comment
error 456 Missing comment for param "$fromHere" at position 1
error 457 Missing @return tag in function comment
warning 471 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
Sum 41 errors and 81 warnings
/data/pear/pear/PHP_Archive/Archive.php
error 5 The @package tag is in the wrong order; the tag follows @category
error 5 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 7 PHP version not specified
error 7 Missing @author tag in file comment
error 7 Missing @license tag in file comment
error 7 Missing @link tag in file comment
warning 13 Line exceeds 85 characters; contains 87 characters
error 18 The @copyright tag is in the wrong order; the tag follows @author
error 19 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 19 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 20 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 21 The @link tag is in the wrong order; the tag follows @version
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 1.
warning 22 Invalid version "$Id: Archive.php,v 1.53 2008/06/09 16:38:05 cellog Exp $" in doc comment; consider "Release: " instead
error 22 The @version tag is in the wrong order; the tag follows @licence
error 22 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 23 The @package tag is in the wrong order; the tag follows @category
error 23 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 24 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 25 Missing @license tag in class comment
error 27 @copyright tag must contain a year and the name of the copyright holder
warning 29 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 30 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 31 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 32 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 33 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 34 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 35 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 89 Line exceeds 85 characters; contains 86 characters
error 189 Missing function doc comment
warning 208 Line exceeds 85 characters; contains 88 characters
error 219 You must use "/**" style comments for a function comment
warning 234 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 244 Inline control structures are discouraged
warning 251 Line exceeds 85 characters; contains 90 characters
warning 265 Line exceeds 85 characters; contains 94 characters
error 271 You must use "/**" style comments for a function comment
warning 274 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 332 Last parameter comment requires a blank newline after it
error 341 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 341 Line exceeds 85 characters; contains 88 characters
error 347 Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
error 358 Last parameter comment requires a blank newline after it
error 360 Missing @return tag in function comment
error 361 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 365 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 388 Missing comment for param "$alias" at position 1
error 388 There must be exactly one blank line before the tags in function comment
error 389 The variable names for parameters $alias (1) and $dataoffset (2) do not align
error 389 The comments for parameters $alias (1) and $dataoffset (2) do not align
error 390 Missing @return tag in function comment
error 391 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 391 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 395 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 398 Line exceeds 85 characters; contains 92 characters
warning 404 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 419 Missing comment for param "$file" at position 1
error 420 The comments for parameters $file (1) and $dataoffset (2) do not align
error 420 Missing comment for param "$dataoffset" at position 2
error 420 Doc comment for "$alias" missing
error 421 Missing @return tag in function comment
error 422 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 435 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 436 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 442 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 452 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 460 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 461 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 466 Line exceeds 85 characters; contains 106 characters
warning 472 Line exceeds 85 characters; contains 110 characters
warning 477 Line exceeds 85 characters; contains 99 characters
warning 480 Line exceeds 85 characters; contains 87 characters
warning 482 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 488 Last parameter comment requires a blank newline after it
error 488 Missing comment for param "$manifest" at position 1
warning 494 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 495 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 496 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 497 Line exceeds 85 characters; contains 96 characters
warning 499 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 501 Line exceeds 85 characters; contains 95 characters
warning 507 Line exceeds 85 characters; contains 90 characters
warning 511 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 514 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 520 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 524 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 527 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 530 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 533 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 537 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 545 Line exceeds 85 characters; contains 115 characters
warning 545 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 546 Line exceeds 85 characters; contains 89 characters
warning 549 Line exceeds 85 characters; contains 91 characters
warning 555 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 556 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
error 562 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$path" at position 1
error 562 Missing parameter name at position 1
error 562 Missing comment for param "[ UNKNOWN ]" at position 1
error 562 There must be exactly one blank line before the tags in function comment
error 563 Missing @return tag in function comment
error 564 Private method name "PHP_Archive::processFile" must be prefixed with an underscore
warning 570 Inline control structures are discouraged
error 584 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$path" at position 1
error 584 Missing parameter name at position 1
error 584 Missing comment for param "[ UNKNOWN ]" at position 1
error 584 Doc comment for "$allowdirs" missing
error 584 There must be exactly one blank line before the tags in function comment
error 585 Missing @return tag in function comment
warning 593 Line exceeds 85 characters; contains 102 characters
warning 602 Line exceeds 85 characters; contains 93 characters
warning 608 Line exceeds 85 characters; contains 95 characters
error 615 You must use "/**" style comments for a function comment
warning 618 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 623 Line exceeds 85 characters; contains 86 characters
warning 626 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 628 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 633 Line exceeds 85 characters; contains 86 characters
warning 635 Line exceeds 85 characters; contains 88 characters
warning 636 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 641 Line exceeds 85 characters; contains 119 characters
error 645 You must use "/**" style comments for a function comment
error 651 Missing function doc comment
error 658 Last parameter comment requires a blank newline after it
error 658 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$path" at position 1
error 658 Missing parameter name at position 1
error 658 Missing comment for param "[ UNKNOWN ]" at position 1
error 658 There must be exactly one blank line before the tags in function comment
warning 669 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 677 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 688 Line exceeds 85 characters; contains 90 characters
warning 691 Line exceeds 85 characters; contains 114 characters
error 706 Last parameter comment requires a blank newline after it
error 706 Missing comment for param "$file" at position 1
warning 716 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 745 Line exceeds 85 characters; contains 86 characters
error 749 Last parameter comment requires a blank newline after it
error 749 Doc comment var "a" does not match actual variable name "$file" at position 1
error 749 There must be exactly one blank line before the tags in function comment
warning 782 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 784 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 787 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 788 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 797 Last parameter comment requires a blank newline after it
error 799 Missing @return tag in function comment
error 800 Public method name "PHP_Archive::stream_open" is not in camel caps format
error 806 Doc comment var "filename" does not match actual variable name "$file" at position 1
error 806 There must be exactly one blank line before the tags in function comment
error 807 Last parameter comment requires a blank newline after it
error 807 The variable names for parameters filename (1) and if (2) do not align
error 807 The comments for parameters filename (1) and if (2) do not align
error 807 Doc comment var "if" does not match actual variable name "$searchForDir" at position 2
error 843 Last parameter comment requires a blank newline after it
error 843 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$count" at position 1
error 843 Missing parameter name at position 1
error 843 Missing comment for param "[ UNKNOWN ]" at position 1
error 845 Missing @return tag in function comment
error 846 Public method name "PHP_Archive::stream_read" is not in camel caps format
warning 848 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 855 There must be exactly one blank line before the tags in function comment
error 856 Missing @return tag in function comment
error 857 Method name "PHP_Archive::stream_eof" is not in camel caps format
error 864 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$pos" at position 1
error 864 Missing parameter name at position 1
error 864 Missing comment for param "[ UNKNOWN ]" at position 1
error 864 There must be exactly one blank line before the tags in function comment
error 865 Last parameter comment requires a blank newline after it
error 865 The variable names for parameters UNKNOWN (1) and [ UNKNOWN ] (2) do not align
error 865 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$whence" at position 2
error 865 Missing parameter name at position 2
error 865 Missing comment for param "[ UNKNOWN ]" at position 2
error 867 Missing @return tag in function comment
error 868 Public method name "PHP_Archive::stream_seek" is not in camel caps format
error 871 Line indented incorrectly; expected 8 spaces, found 12
error 872 Line indented incorrectly; expected 12 spaces, found 16
error 877 Line indented incorrectly; expected 8 spaces, found 12
error 878 Line indented incorrectly; expected 12 spaces, found 16
error 883 Line indented incorrectly; expected 8 spaces, found 12
error 884 Line indented incorrectly; expected 12 spaces, found 16
error 889 Line indented incorrectly; expected 8 spaces, found 12
error 891 Closing brace indented incorrectly; expected 12 spaces, found 8
error 897 There must be exactly one blank line before the tags in function comment
error 898 Missing @return tag in function comment
error 899 Public method name "PHP_Archive::stream_tell" is not in camel caps format
error 907 There must be exactly one blank line before the tags in function comment
error 909 Missing @return tag in function comment
error 910 Public method name "PHP_Archive::stream_stat" is not in camel caps format
error 917 Last parameter comment requires a blank newline after it
error 917 Doc comment var "file/directory" does not match actual variable name "$file" at position 1
error 917 There must be exactly one blank line before the tags in function comment
error 919 Missing @return tag in function comment
error 920 Public method name "PHP_Archive::_stream_stat" must not be prefixed with an underscore
warning 933 Line exceeds 85 characters; contains 87 characters
warning 956 Line exceeds 85 characters; contains 92 characters
error 966 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$url" at position 1
error 966 Missing parameter name at position 1
error 966 Missing comment for param "[ UNKNOWN ]" at position 1
error 966 There must be exactly one blank line before the tags in function comment
error 967 Last parameter comment requires a blank newline after it
error 967 The variable names for parameters UNKNOWN (1) and [ UNKNOWN ] (2) do not align
error 967 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$flags" at position 2
error 967 Missing parameter name at position 2
error 967 Missing comment for param "[ UNKNOWN ]" at position 2
error 969 Missing @return tag in function comment
error 970 Public method name "PHP_Archive::url_stat" is not in camel caps format
error 978 Last parameter comment requires a blank newline after it
error 978 Doc comment var "directory" does not match actual variable name "$path" at position 1
error 978 There must be exactly one blank line before the tags in function comment
error 980 Missing @return tag in function comment
error 981 Public method name "PHP_Archive::dir_opendir" is not in camel caps format
warning 987 Line exceeds 85 characters; contains 100 characters
warning 996 Line exceeds 85 characters; contains 96 characters
warning 1013 Equals sign not aligned with surrounding assignments; expected 32 spaces but found 1 space
warning 1025 Equals sign not aligned with surrounding assignments; expected 32 spaces but found 1 space
error 1043 There must be exactly one blank line before the tags in function comment
error 1044 Missing @return tag in function comment
error 1045 Public method name "PHP_Archive::dir_readdir" is not in camel caps format
error 1057 There must be exactly one blank line before the tags in function comment
error 1058 Missing @return tag in function comment
error 1059 Public method name "PHP_Archive::dir_closedir" is not in camel caps format
error 1067 There must be exactly one blank line before the tags in function comment
error 1068 Missing @return tag in function comment
error 1069 Public method name "PHP_Archive::dir_rewinddir" is not in camel caps format
error 1077 There must be exactly one blank line before the tags in function comment
error 1079 Public method name "PHP_Archive::APIVersion" is not in camel caps format
error 1087 Last parameter comment requires a blank newline after it
error 1107 Last parameter comment requires a blank newline after it
warning 1125 Line exceeds 85 characters; contains 91 characters
error 1131 There must be exactly one blank line before the tags in function comment
Sum 145 errors and 84 warnings
/data/pear/pear/PHP_Archive/package.php
error 2 Missing file doc comment
warning 5 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 7 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 12 Line exceeds 85 characters; contains 107 characters
warning 14 Line exceeds 85 characters; contains 96 characters
warning 15 Line exceeds 85 characters; contains 99 characters
error 17 Spaces must be used to indent lines; tabs are not allowed
warning 34 Line exceeds 85 characters; contains 92 characters
warning 35 Line exceeds 85 characters; contains 89 characters
Sum 2 errors and 7 warnings