Coding Standards Report for File

Type Line Message
Package 265 errors and 51 warnings
/data/pear/pear/File/File/Util.php
error 15 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 16 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 18 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 19 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 27 Expected 1 space after comma in function call; 4 found
error 29 Expected 1 space after comma in function call; 4 found
error 30 Expected 1 space after comma in function call; 4 found
error 31 Expected 1 space after comma in function call; 4 found
error 32 Expected 1 space after comma in function call; 2 found
error 38 Expected 1 space after comma in function call; 3 found
error 39 Expected 1 space after comma in function call; 4 found
error 40 Expected 1 space after comma in function call; 4 found
error 41 Expected 1 space after comma in function call; 5 found
warning 47 Line exceeds 85 characters; contains 90 characters
error 56 Missing @category tag in class comment
error 56 Missing @package tag in class comment
error 56 Missing @author tag in class comment
error 56 Missing @license tag in class comment
error 56 Missing @link tag in class comment
error 66 Parameters must appear immediately after the comment
error 66 Expected 1 space before variable type
error 67 Expected 1 space before variable type
error 67 The comments for parameters $parts (1) and $separator (2) do not align
error 67 Expected 1 space after the longest type
error 68 Missing @return tag in function comment
error 92 Last parameter comment requires a blank newline after it
error 92 Parameters must appear immediately after the comment
error 92 Expected 1 space before variable type
error 92 Expected 1 space after the longest type
error 158 Last parameter comment requires a blank newline after it
error 158 Parameters must appear immediately after the comment
error 158 Expected 1 space before variable type
error 158 Expected 1 space after the longest type
error 174 Last parameter comment requires a blank newline after it
error 174 Parameters must appear immediately after the comment
error 174 Expected 1 space before variable type
error 174 Expected 1 space after the longest type
error 195 Missing comment for param "$file" at position 1
error 196 Last parameter comment requires a blank newline after it
error 211 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 220 Parameters must appear immediately after the comment
error 220 Expected 1 space before variable type
error 220 Missing comment for param "$path" at position 1
error 221 Expected 1 space before variable type
error 221 Missing comment for param "$root" at position 2
error 222 Expected 1 space before variable type
error 222 The comments for parameters $root (2) and $separator (3) do not align
error 222 Missing comment for param "$separator" at position 3
warning 246 Line exceeds 85 characters; contains 88 characters
error 255 Parameters must appear immediately after the comment
error 255 Expected 1 space before variable type
error 255 Missing comment for param "$path" at position 1
error 256 Expected 1 space before variable type
error 256 The comments for parameters $path (1) and $separator (2) do not align
error 256 Missing comment for param "$separator" at position 2
warning 274 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 301 Parameters must appear immediately after the comment
error 301 Expected 1 space before variable type
error 301 Missing comment for param "$path" at position 1
error 302 Expected 1 space before variable type
error 302 Missing comment for param "$root" at position 2
error 339 Parameters must appear immediately after the comment
error 339 Expected 1 space before variable type
error 339 Missing comment for param "$path" at position 1
error 340 Expected 1 space before variable type
error 340 Missing comment for param "$list" at position 2
error 341 Expected 1 space before variable type
error 341 Missing comment for param "$sort" at position 3
error 342 Expected 1 space before variable type
error 342 The comments for parameters $sort (3) and $cb (4) do not align
error 342 Missing comment for param "$cb" at position 4
warning 344 Line exceeds 85 characters; contains 86 characters
error 382 Parameters must appear immediately after the comment
error 382 Expected 1 space before variable type
error 382 Missing comment for param "$files" at position 1
error 383 Expected 1 space before variable type
error 383 The comments for parameters $files (1) and $sort (2) do not align
error 383 Missing comment for param "$sort" at position 2
error 451 Parameters must appear immediately after the comment
error 451 Expected 1 space before variable type
error 451 Missing comment for param "$filename" at position 1
error 451 Expected 1 space after the longest type
error 452 Expected 1 space before variable type
error 452 The comments for parameters $filename (1) and $to (2) do not align
error 453 Expected 1 space before variable type
error 453 The comments for parameters $to (2) and $from (3) do not align
error 454 Expected 1 space before variable type
error 454 The comments for parameters $from (3) and $reverse (4) do not align
Sum 87 errors and 4 warnings
/data/pear/pear/File/File/CSV.php
error 34 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 35 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 36 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 37 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 38 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 39 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 41 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
warning 59 Line exceeds 85 characters; contains 90 characters
warning 67 Line exceeds 85 characters; contains 87 characters
error 72 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 72 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
error 73 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
error 76 Missing @category tag in class comment
error 76 Missing @link tag in class comment
error 84 Last parameter comment requires a blank newline after it
error 103 Parameters must appear immediately after the comment
error 104 Last parameter comment requires a blank newline after it
warning 115 Line exceeds 85 characters; contains 86 characters
error 150 The comments for parameters $file (1) and &$conf (2) do not align
error 151 The comments for parameters &$conf (2) and $mode (3) do not align
error 152 The variable names for parameters $mode (3) and $reset (4) do not align
error 152 The comments for parameters $mode (3) and $reset (4) do not align
error 188 Last parameter comment requires a blank newline after it
error 188 The variable names for parameters $data (1) and $quote (2) do not align
error 188 The comments for parameters $data (1) and $quote (2) do not align
warning 195 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 242 Expected 1 space after the longest variable name
error 243 The comments for parameters $file (1) and &$conf (2) do not align
warning 254 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 4 spaces
warning 255 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 256 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 257 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 4 spaces
warning 258 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 8 spaces
warning 259 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 6 spaces
warning 296 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 363 The comments for parameters $fp (1) and $f (2) do not align
error 363 Missing comment for param "$f" at position 2
error 364 The comments for parameters $f (2) and $fields (3) do not align
error 368 Doc comment var "$c" does not match actual variable name "&$c" at position 7
error 381 Expected "if (...) {\n"; found "if (...) {\n"
warning 401 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 402 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 413 The comments for parameters $file (1) and &$conf (2) do not align
warning 438 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 450 Line exceeds 85 characters; contains 103 characters
warning 458 Line exceeds 85 characters; contains 91 characters
error 494 Last parameter comment requires a blank newline after it
error 496 Missing @return tag in function comment
error 522 The comments for parameters $fields (2) and &$conf (3) do not align
warning 548 Line exceeds 85 characters; contains 93 characters
warning 560 Line exceeds 85 characters; contains 121 characters
error 588 Doc comment var "the" does not match actual variable name "$file" at position 1
error 589 Last parameter comment requires a blank newline after it
error 589 The variable names for parameters the (1) and extra (2) do not align
error 589 The comments for parameters the (1) and extra (2) do not align
error 589 Doc comment var "extra" does not match actual variable name "$extraSeps" at position 2
warning 616 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 617 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 619 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 623 Line exceeds 85 characters; contains 95 characters
warning 632 Line exceeds 85 characters; contains 112 characters
warning 638 Line exceeds 85 characters; contains 100 characters
warning 639 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 640 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 643 Line exceeds 85 characters; contains 98 characters
warning 644 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 645 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 646 Line exceeds 85 characters; contains 93 characters
warning 647 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 660 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 681 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 685 Line exceeds 85 characters; contains 91 characters
error 713 The comments for parameters $file (1) and &$conf (2) do not align
error 714 The comments for parameters &$conf (2) and $mode (3) do not align
Sum 41 errors and 34 warnings
/data/pear/pear/File/File.php
error 15 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 16 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 18 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 19 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 20 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 21 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 22 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 23 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 83 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 90 Missing @category tag in class comment
error 90 Missing @license tag in class comment
error 90 Missing @link tag in class comment
error 111 Parameters must appear immediately after the comment
error 111 Expected 1 space before variable type
error 111 Expected 1 space after the longest type
error 112 Expected 1 space before variable type
error 112 The comments for parameters $filename (1) and $mode (2) do not align
error 113 Last parameter comment requires a blank newline after it
error 113 Expected 1 space before variable type
error 132 Line indented incorrectly; expected 12 spaces, found 16
error 133 Line indented incorrectly; expected 16 spaces, found 20
error 137 Break statement indented incorrectly; expected 20 spaces, found 16
error 139 Line indented incorrectly; expected 12 spaces, found 16
error 140 Line indented incorrectly; expected 12 spaces, found 16
error 141 Line indented incorrectly; expected 16 spaces, found 20
error 142 Line indented incorrectly; expected 20 spaces, found 24
warning 143 Line exceeds 85 characters; contains 87 characters
error 145 Line indented incorrectly; expected 16 spaces, found 20
warning 146 Line exceeds 85 characters; contains 89 characters
error 148 Break statement indented incorrectly; expected 20 spaces, found 16
error 148 Break statement indented incorrectly; expected 20 spaces, found 16
error 150 Line indented incorrectly; expected 12 spaces, found 16
error 152 Closing brace indented incorrectly; expected 16 spaces, found 12
warning 163 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 182 Parameters must appear immediately after the comment
error 182 Expected 1 space before variable type
error 182 Expected 1 space after the longest type
error 183 Last parameter comment requires a blank newline after it
error 183 Expected 1 space before variable type
error 183 The comments for parameters $filename (1) and $lock (2) do not align
warning 184 Line exceeds 85 characters; contains 104 characters
error 199 Parameters must appear immediately after the comment
error 199 Expected 1 space before variable type
error 200 Expected 1 space before variable type
error 200 The comments for parameters $filename (1) and $size (2) do not align
error 201 Last parameter comment requires a blank newline after it
error 201 Expected 1 space before variable type
error 233 Parameters must appear immediately after the comment
error 233 Expected 1 space before variable type
error 233 Expected 1 space after the longest type
error 234 Expected 1 space before variable type
error 234 The comments for parameters $filename (1) and $data (2) do not align
error 235 Expected 1 space before variable type
error 236 Last parameter comment requires a blank newline after it
error 236 Expected 1 space before variable type
warning 247 Line exceeds 85 characters; contains 87 characters
error 257 Parameters must appear immediately after the comment
error 257 Expected 1 space before variable type
error 257 Expected 1 space after the longest type
error 258 Last parameter comment requires a blank newline after it
error 258 Expected 1 space before variable type
error 258 The comments for parameters $filename (1) and $lock (2) do not align
error 270 Parameters must appear immediately after the comment
error 270 Expected 1 space before variable type
error 270 Expected 1 space after the longest type
error 271 Expected 1 space before variable type
error 271 The comments for parameters $filename (1) and $char (2) do not align
error 272 Expected 1 space before variable type
error 273 Last parameter comment requires a blank newline after it
error 273 Expected 1 space before variable type
warning 284 Line exceeds 85 characters; contains 87 characters
error 295 Parameters must appear immediately after the comment
error 295 Expected 1 space before variable type
error 296 Last parameter comment requires a blank newline after it
error 296 Expected 1 space before variable type
error 296 The comments for parameters $filename (1) and $lock (2) do not align
warning 297 Line exceeds 85 characters; contains 90 characters
warning 301 Line exceeds 85 characters; contains 87 characters
error 326 Parameters must appear immediately after the comment
error 326 Expected 1 space before variable type
error 326 Expected 1 space after the longest type
error 327 Expected 1 space before variable type
error 327 The comments for parameters $filename (1) and $line (2) do not align
warning 328 Line exceeds 85 characters; contains 91 characters
error 328 Expected 1 space before variable type
warning 329 Line exceeds 85 characters; contains 94 characters
error 329 Expected 1 space before variable type
error 330 Last parameter comment requires a blank newline after it
error 330 Expected 1 space before variable type
warning 331 Line exceeds 85 characters; contains 104 characters
warning 333 Line exceeds 85 characters; contains 95 characters
error 351 Parameters must appear immediately after the comment
error 351 Expected 1 space before variable type
error 351 Expected 1 space after the longest type
error 352 Last parameter comment requires a blank newline after it
error 352 Expected 1 space before variable type
error 352 The comments for parameters $filename (1) and $mode (2) do not align
warning 377 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 402 Parameters must appear immediately after the comment
error 402 Expected 1 space before variable type
error 402 Expected 1 space after the longest type
error 403 Last parameter comment requires a blank newline after it
error 403 Expected 1 space before variable type
error 403 The comments for parameters $filename (1) and $mode (2) do not align
error 437 Parameters must appear immediately after the comment
error 437 Expected 1 space before variable type
error 437 Expected 1 space after the longest type
error 438 Last parameter comment requires a blank newline after it
error 438 Expected 1 space before variable type
error 438 The comments for parameters $filename (1) and $mode (2) do not align
error 455 Doc comment for "$path" missing
error 455 Doc comment for "$separator" missing
error 456 There must be exactly one blank line before the tags in function comment
error 457 Missing @return tag in function comment
error 466 Doc comment for "$path" missing
error 466 Doc comment for "$separator" missing
error 467 There must be exactly one blank line before the tags in function comment
error 468 Missing @return tag in function comment
error 477 Doc comment for "$parts" missing
error 477 Doc comment for "$separator" missing
error 478 There must be exactly one blank line before the tags in function comment
error 479 Missing @return tag in function comment
error 482 File is being conditionally included; use "include_once" instead
error 486 Doc comment for "$path" missing
error 487 There must be exactly one blank line before the tags in function comment
error 488 Missing @return tag in function comment
error 491 File is being conditionally included; use "include_once" instead
error 496 There must be exactly one blank line before the tags in function comment
error 497 Missing @return tag in function comment
error 500 File is being conditionally included; use "include_once" instead
error 504 Doc comment for "$dirname" missing
error 505 There must be exactly one blank line before the tags in function comment
error 506 Missing @return tag in function comment
error 509 File is being conditionally included; use "include_once" instead
error 513 Doc comment for "$path" missing
error 514 There must be exactly one blank line before the tags in function comment
error 515 Missing @return tag in function comment
error 518 File is being conditionally included; use "include_once" instead
error 522 Doc comment for "$path" missing
error 522 Doc comment for "$root" missing
error 522 Doc comment for "$separator" missing
error 523 There must be exactly one blank line before the tags in function comment
error 524 Missing @return tag in function comment
error 527 File is being conditionally included; use "include_once" instead
error 531 Doc comment for "$path" missing
error 531 Doc comment for "$separator" missing
error 532 There must be exactly one blank line before the tags in function comment
error 533 Missing @return tag in function comment
error 536 File is being conditionally included; use "include_once" instead
Sum 137 errors and 13 warnings