Coding Standards Report for OLE

Type Line Message
Package 179 errors and 88 warnings
/data/pear/pear/OLE/OLE.php
error 2 You must use "/**" style comments for a file comment
error 26 Expected 1 space after comma in function call; 8 found
error 27 Expected 1 space after comma in function call; 9 found
error 28 Expected 1 space after comma in function call; 8 found
error 30 Expected 1 space after comma in function call; 8 found
error 31 Expected 1 space after comma in function call; 10 found
error 49 Missing @license tag in class comment
error 49 Missing @link tag in class comment
error 97 There must be exactly one blank line before the tags in function comment
error 119 Last parameter comment requires a blank newline after it
error 119 Parameters must appear immediately after the comment
error 119 Missing comment for param "$file" at position 1
warning 163 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 194 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 196 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 213 Last parameter comment requires a blank newline after it
error 213 There must be exactly one blank line before the tags in function comment
error 225 Last parameter comment requires a blank newline after it
error 225 There must be exactly one blank line before the tags in function comment
warning 242 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
error 256 Last parameter comment requires a blank newline after it
error 256 There must be exactly one blank line before the tags in function comment
error 268 Last parameter comment requires a blank newline after it
error 268 There must be exactly one blank line before the tags in function comment
error 280 Last parameter comment requires a blank newline after it
error 280 Expected 1 space before variable type
error 280 Doc comment var "file" does not match actual variable name "$fh" at position 1
error 280 Expected 1 space after the longest type
error 280 There must be exactly one blank line before the tags in function comment
error 295 Last parameter comment requires a blank newline after it
error 295 Parameters must appear immediately after the comment
warning 303 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 305 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 311 File is being conditionally included; use "include_once" instead
warning 312 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 320 File is being conditionally included; use "include_once" instead
warning 333 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 334 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 336 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 337 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 338 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 352 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 357 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 358 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 359 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 374 Last parameter comment requires a blank newline after it
error 374 Parameters must appear immediately after the comment
error 392 Last parameter comment requires a blank newline after it
error 392 There must be exactly one blank line before the tags in function comment
error 407 Last parameter comment requires a blank newline after it
error 407 There must be exactly one blank line before the tags in function comment
error 421 There must be exactly one blank line before the tags in function comment
error 432 There must be exactly one blank line before the tags in function comment
error 435 Last parameter comment requires a blank newline after it
warning 449 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 458 Last parameter comment requires a blank newline after it
error 458 There must be exactly one blank line before the tags in function comment
error 475 Last parameter comment requires a blank newline after it
error 475 Parameters must appear immediately after the comment
error 478 Method name "OLE::Asc2Ucs" is not in camel caps format
error 493 Last parameter comment requires a blank newline after it
error 493 Parameters must appear immediately after the comment
error 496 Method name "OLE::LocalDate2OLE" is not in camel caps format
error 509 No space found after comma in function call
error 509 No space found after comma in function call
error 509 No space found after comma in function call
error 509 No space found after comma in function call
error 509 No space found after comma in function call
error 509 No space found after comma in function call
error 509 No space found after comma in function call
error 510 No space found after comma in function call
error 510 No space found after comma in function call
error 510 No space found after comma in function call
warning 522 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 523 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 527 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 528 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 536 Last parameter comment requires a blank newline after it
error 536 There must be exactly one blank line before the tags in function comment
error 541 Method name "OLE::OLE2LocalDate" is not in camel caps format
error 548 No space found after comma in function call
warning 548 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
Sum 60 errors and 22 warnings
/data/pear/pear/OLE/PPS.php
error 2 You must use "/**" style comments for a file comment
error 29 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 32 Missing @license tag in class comment
error 32 Missing @link tag in class comment
error 117 Parameters must appear immediately after the comment
error 123 The comments for parameters $dir (6) and $time_1st (7) do not align
error 125 The comments for parameters $time_2nd (8) and $data (9) do not align
error 126 The comments for parameters $data (9) and $children (10) do not align
warning 128 Line exceeds 85 characters; contains 99 characters
warning 130 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 6 spaces
warning 131 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 4 spaces
warning 132 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 4 spaces
warning 133 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 134 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 135 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 2 spaces
warning 136 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 137 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 138 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 139 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
error 153 Method name "OLE_PPS::_DataLen" is not in camel caps format
warning 188 Line exceeds 85 characters; contains 89 characters
error 204 Last parameter comment requires a blank newline after it
error 204 Parameters must appear immediately after the comment
warning 211 Equals sign not aligned with surrounding assignments; expected 21 spaces but found 1 space
warning 212 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 213 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
Sum 11 errors and 15 warnings
/data/pear/pear/OLE/PPS/File.php
error 2 You must use "/**" style comments for a file comment
error 29 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 32 Missing @license tag in class comment
error 32 Missing @link tag in class comment
error 45 Last parameter comment requires a blank newline after it
error 45 Parameters must appear immediately after the comment
error 51 Space after opening parenthesis of function call prohibited
error 68 Last parameter comment requires a blank newline after it
error 68 Parameters must appear immediately after the comment
warning 89 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
error 105 Parameters must appear immediately after the comment
error 106 Missing @return tag in function comment
error 118 There must be exactly one blank line before the tags in function comment
Sum 12 errors and 1 warnings
/data/pear/pear/OLE/PPS/Root.php
error 2 You must use "/**" style comments for a file comment
error 29 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 32 Missing @license tag in class comment
error 32 Missing @link tag in class comment
error 45 Parameters must appear immediately after the comment
error 46 Doc comment for "$raChild" missing
error 51 Space after opening parenthesis of function call prohibited
error 68 Last parameter comment requires a blank newline after it
error 68 Parameters must appear immediately after the comment
error 85 Last parameter comment requires a blank newline after it
warning 92 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 2 spaces
warning 93 Line exceeds 85 characters; contains 103 characters
warning 94 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 95 Line exceeds 85 characters; contains 106 characters
error 100 No space found after comma in function call
warning 100 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 107 Line exceeds 85 characters; contains 97 characters
error 145 Last parameter comment requires a blank newline after it
error 145 Parameters must appear immediately after the comment
error 145 Doc comment var "$raList" does not match actual variable name "&$raList" at position 1
warning 152 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 153 Equals sign not aligned with surrounding assignments; expected 27 spaces but found 1 space
warning 159 Line exceeds 85 characters; contains 91 characters
warning 167 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 168 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 169 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 171 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 172 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 173 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 182 Last parameter comment requires a blank newline after it
error 182 Parameters must appear immediately after the comment
error 196 Parameters must appear immediately after the comment
error 196 Missing comment for param "$iSBDcnt" at position 1
error 197 The comments for parameters $iSBDcnt (1) and $iBBcnt (2) do not align
error 197 Missing comment for param "$iBBcnt" at position 2
error 198 The comments for parameters $iBBcnt (2) and $iPPScnt (3) do not align
error 198 Missing comment for param "$iPPScnt" at position 3
error 199 Missing @return tag in function comment
warning 205 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 208 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 209 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 210 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 212 Line exceeds 85 characters; contains 94 characters
warning 212 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 220 Line exceeds 85 characters; contains 103 characters
warning 220 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 248 Space before closing parenthesis of function call prohibited
error 254 Space before closing parenthesis of function call prohibited
error 274 Parameters must appear immediately after the comment
error 274 Missing comment for param "$iStBlk" at position 1
error 275 The variable names for parameters $iStBlk (1) and &$raList (2) do not align
error 275 The comments for parameters $iStBlk (1) and &$raList (2) do not align
error 276 Missing @return tag in function comment
error 285 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 286 Line exceeds 85 characters; contains 92 characters
error 292 Expected "while (...) {\n"; found "while(...) {\n"
warning 301 Line exceeds 85 characters; contains 122 characters
warning 307 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 309 Line exceeds 85 characters; contains 86 characters
error 325 Parameters must appear immediately after the comment
error 326 Missing @return tag in function comment
warning 329 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 330 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 341 Line exceeds 85 characters; contains 91 characters
warning 358 Line exceeds 85 characters; contains 126 characters
warning 364 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 381 Parameters must appear immediately after the comment
error 381 Doc comment var "$raList" does not match actual variable name "&$raList" at position 1
error 382 Missing @return tag in function comment
warning 390 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 403 Parameters must appear immediately after the comment
error 403 Missing comment for param "$iSbdSize" at position 1
error 404 The comments for parameters $iSbdSize (1) and $iBsize (2) do not align
error 404 Missing comment for param "$iBsize" at position 2
error 405 The comments for parameters $iBsize (2) and $iPpsCnt (3) do not align
error 405 Missing comment for param "$iPpsCnt" at position 3
error 406 Missing @return tag in function comment
warning 411 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 414 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 415 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 416 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 418 Line exceeds 85 characters; contains 94 characters
warning 418 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 425 Line exceeds 85 characters; contains 103 characters
warning 425 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 467 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces
warning 468 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 478 Line exceeds 85 characters; contains 99 characters
Sum 44 errors and 44 warnings
/data/pear/pear/OLE/ChainedBlockStream.php
error 16 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 17 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 18 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 19 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 20 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 21 @link tag comment indented incorrectly. Expected 5 spaces but found 7.
error 22 @since tag comment indented incorrectly. Expected 4 spaces but found 6.
error 33 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 34 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 35 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 36 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 37 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 38 @link tag comment indented incorrectly. Expected 5 spaces but found 7.
error 39 @since tag comment indented incorrectly. Expected 4 spaces but found 6.
error 70 Expected 1 space before variable type
error 70 Doc comment var "resource" does not match actual variable name "$path" at position 1
error 70 Expected 1 space after the longest type
error 70 There must be exactly one blank line before the tags in function comment
error 72 Expected 1 space before variable type
error 72 The comments for parameters resource (1) and only (2) do not align
error 72 Doc comment var "only" does not match actual variable name "$mode" at position 2
error 73 Expected 1 space before variable type
error 73 Doc comment var "mask" does not match actual variable name "$options" at position 3
error 74 Last parameter comment requires a blank newline after it
error 74 Expected 1 space before variable type
error 74 The comments for parameters mask (3) and absolute (4) do not align
error 74 Doc comment var "absolute" does not match actual variable name "&$openedPath" at position 4
error 77 Method name "OLE_ChainedBlockStream::stream_open" is not in camel caps format
warning 99 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 108 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 111 Line exceeds 85 characters; contains 89 characters
warning 118 Line exceeds 85 characters; contains 89 characters
warning 119 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 135 There must be exactly one blank line before the tags in function comment
error 137 Method name "OLE_ChainedBlockStream::stream_close" is not in camel caps format
error 145 Last parameter comment requires a blank newline after it
error 145 Expected 1 space before variable type
error 145 Doc comment var "maximum" does not match actual variable name "$count" at position 1
error 145 Expected 1 space after the longest type
error 145 There must be exactly one blank line before the tags in function comment
error 148 Method name "OLE_ChainedBlockStream::stream_read" is not in camel caps format
warning 153 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 160 There must be exactly one blank line before the tags in function comment
error 162 Method name "OLE_ChainedBlockStream::stream_eof" is not in camel caps format
error 169 Line indented incorrectly; expected at least 12 spaces, found 11
error 177 There must be exactly one blank line before the tags in function comment
error 179 Method name "OLE_ChainedBlockStream::stream_tell" is not in camel caps format
error 186 Expected 1 space before variable type
error 186 Doc comment var "byte" does not match actual variable name "$offset" at position 1
error 186 Expected 1 space after the longest type
error 186 There must be exactly one blank line before the tags in function comment
error 187 Last parameter comment requires a blank newline after it
error 187 Expected 1 space before variable type
error 187 The comments for parameters byte (1) and SEEK_SET, (2) do not align
error 187 Doc comment var "SEEK_SET," does not match actual variable name "$whence" at position 2
error 190 Method name "OLE_ChainedBlockStream::stream_seek" is not in camel caps format
error 207 There must be exactly one blank line before the tags in function comment
error 209 Method name "OLE_ChainedBlockStream::stream_stat" is not in camel caps format
Sum 52 errors and 6 warnings