Coding Standards Report for HTTP_WebDAV_Client

Type Line Message
Package 112 errors and 32 warnings
/data/pear/pear/HTTP_WebDAV_Client/Client/Stream.php
error 2 Missing file doc comment
error 8 Expected 1 space after comma in function call; 6 found
error 8 Expected 1 space after comma in function call; 6 found
error 9 Expected 1 space after comma in function call; 6 found
error 9 Expected 1 space after comma in function call; 6 found
error 10 Expected 1 space after comma in function call; 5 found
error 10 Expected 1 space after comma in function call; 5 found
error 11 Expected 1 space after comma in function call; 2 found
error 11 Expected 1 space after comma in function call; 2 found
error 13 Expected 1 space after comma in function call; 6 found
error 13 Expected 1 space after comma in function call; 6 found
error 14 Expected 1 space after comma in function call; 4 found
error 14 Expected 1 space after comma in function call; 4 found
error 20 Missing @category tag in class comment
error 20 Missing @package tag in class comment
error 20 Missing @author tag in class comment
error 20 Missing @license tag in class comment
error 20 Missing @link tag in class comment
error 22 Expected 0 spaces before opening brace; 1 found
error 135 Doc comment for "$path" missing
error 135 Doc comment for "$mode" missing
error 135 Doc comment for "$options" missing
error 135 Doc comment for "$opened_path" missing
error 145 Method name "HTTP_WebDAV_Client_Stream::stream_open" is not in camel caps format
warning 148 Inline control structures are discouraged
warning 151 Inline control structures are discouraged
warning 177 Line exceeds 85 characters; contains 97 characters
warning 177 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 209 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 221 Missing @return tag in function comment
error 222 Method name "HTTP_WebDAV_Client_Stream::stream_close" is not in camel caps format
error 239 Method name "HTTP_WebDAV_Client_Stream::stream_stat" is not in camel caps format
error 250 Last parameter comment requires a blank newline after it
error 250 Parameters must appear immediately after the comment
error 250 Expected 1 space before variable type
error 250 Doc comment var "requested" does not match actual variable name "$count" at position 1
error 250 Expected 1 space after the longest type
error 253 Method name "HTTP_WebDAV_Client_Stream::stream_read" is not in camel caps format
error 309 Last parameter comment requires a blank newline after it
error 309 Parameters must appear immediately after the comment
error 309 Expected 1 space before variable type
error 309 Doc comment var "data" does not match actual variable name "$buffer" at position 1
error 312 Method name "HTTP_WebDAV_Client_Stream::stream_write" is not in camel caps format
error 375 Method name "HTTP_WebDAV_Client_Stream::stream_eof" is not in camel caps format
error 387 Method name "HTTP_WebDAV_Client_Stream::stream_tell" is not in camel caps format
error 397 Parameters must appear immediately after the comment
error 397 Expected 1 space before variable type
error 397 Doc comment var "position" does not match actual variable name "$pos" at position 1
error 397 Expected 1 space after the longest type
error 398 Last parameter comment requires a blank newline after it
error 398 Expected 1 space before variable type
error 398 The comments for parameters position (1) and seek (2) do not align
error 398 Doc comment var "seek" does not match actual variable name "$whence" at position 2
error 401 Method name "HTTP_WebDAV_Client_Stream::stream_seek" is not in camel caps format
error 431 Last parameter comment requires a blank newline after it
error 431 Parameters must appear immediately after the comment
error 431 Expected 1 space before variable type
error 431 Doc comment var "URL" does not match actual variable name "$url" at position 1
error 434 Method name "HTTP_WebDAV_Client_Stream::url_stat" is not in camel caps format
error 455 Parameters must appear immediately after the comment
error 455 Expected 1 space before variable type
error 455 Doc comment var "directory" does not match actual variable name "$path" at position 1
error 456 Last parameter comment requires a blank newline after it
error 456 Expected 1 space before variable type
error 456 The comments for parameters directory (1) and not (2) do not align
error 456 Doc comment var "not" does not match actual variable name "$options" at position 2
error 459 Method name "HTTP_WebDAV_Client_Stream::dir_opendir" is not in camel caps format
warning 462 Inline control structures are discouraged
warning 465 Inline control structures are discouraged
warning 493 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 504 Line exceeds 85 characters; contains 86 characters
error 524 Method name "HTTP_WebDAV_Client_Stream::dir_readdir" is not in camel caps format
error 544 Missing @return tag in function comment
error 545 Method name "HTTP_WebDAV_Client_Stream::dir_rewinddir" is not in camel caps format
error 561 Missing @return tag in function comment
error 562 Method name "HTTP_WebDAV_Client_Stream::dir_closedir" is not in camel caps format
warning 567 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 576 Last parameter comment requires a blank newline after it
error 576 Parameters must appear immediately after the comment
error 576 Expected 1 space before variable type
error 576 Doc comment var "collection" does not match actual variable name "$path" at position 1
warning 582 Inline control structures are discouraged
warning 585 Inline control structures are discouraged
error 612 Last parameter comment requires a blank newline after it
error 612 Parameters must appear immediately after the comment
error 612 Expected 1 space before variable type
error 612 Doc comment var "collection" does not match actual variable name "$path" at position 1
warning 620 Inline control structures are discouraged
warning 623 Inline control structures are discouraged
error 650 Parameters must appear immediately after the comment
error 650 Expected 1 space before variable type
error 650 Doc comment var "resource" does not match actual variable name "$path" at position 1
error 651 Last parameter comment requires a blank newline after it
error 651 Expected 1 space before variable type
error 651 Doc comment var "resource" does not match actual variable name "$new_path" at position 2
warning 657 Inline control structures are discouraged
warning 660 Inline control structures are discouraged
warning 669 Inline control structures are discouraged
error 690 Last parameter comment requires a blank newline after it
error 690 Parameters must appear immediately after the comment
error 690 Expected 1 space before variable type
error 690 Doc comment var "resource" does not match actual variable name "$path" at position 1
warning 696 Inline control structures are discouraged
warning 699 Inline control structures are discouraged
error 755 Last parameter comment requires a blank newline after it
error 755 Parameters must appear immediately after the comment
error 755 Expected 1 space before variable type
error 755 Doc comment var "original" does not match actual variable name "$path" at position 1
error 755 Expected 1 space after the longest type
error 758 Method name "HTTP_WebDAV_Client_Stream::_parse_url" is not in camel caps format
warning 773 Line exceeds 85 characters; contains 90 characters
error 824 Method name "HTTP_WebDAV_Client_Stream::_check_options" is not in camel caps format
warning 837 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 849 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 861 Doc comment for "$mode" missing
error 867 Method name "HTTP_WebDAV_Client_Stream::stream_lock" is not in camel caps format
warning 904 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 919 Line exceeds 85 characters; contains 112 characters
warning 919 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 932 You must use "/**" style comments for a function comment
error 936 Expected 1 space after comma in function call; 3 found
Sum 96 errors and 25 warnings
/data/pear/pear/HTTP_WebDAV_Client/Client.php
error 2 Missing file doc comment
Sum 1 errors and 0 warnings
/data/pear/pear/HTTP_WebDAV_Client/Tools/_parse_lock_response.php
error 2 You must use "/**" style comments for a file comment
error 4 You must use "/**" style comments for a class comment
error 4 Class name is not valid; consider HTTP_WebDAV_Client_Parse_Lock_Response instead
warning 6 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 9 Missing function doc comment
error 26 Missing function doc comment
error 44 Missing function doc comment
error 51 Missing function doc comment
warning 63 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
Sum 7 errors and 2 warnings
/data/pear/pear/HTTP_WebDAV_Client/Tools/_parse_propfind_response.php
error 2 You must use "/**" style comments for a file comment
error 4 You must use "/**" style comments for a class comment
error 4 Class name is not valid; consider HTTP_WebDAV_Client_Parse_Propfind_Response instead
error 7 You must use "/**" style comments for a function comment
error 28 Missing function doc comment
warning 32 Inline control structures are discouraged
warning 44 Line exceeds 85 characters; contains 98 characters
error 52 You must use "/**" style comments for a function comment
warning 56 Inline control structures are discouraged
warning 101 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 102 Line exceeds 85 characters; contains 92 characters
error 121 You must use "/**" style comments for a function comment
error 126 Missing function doc comment
Sum 8 errors and 5 warnings