Coding Standards Report for Services_OpenSearch

Type Line Message
Package 96 errors and 5 warnings
/data/pear/pear/Services_OpenSearch/OpenSearch.php
error 15 Category name "Web Services" is not valid; consider "Web_Services" instead
error 15 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 16 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 18 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 19 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 20 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 28 Expected 1 space after comma in function call; 4 found
warning 29 Line exceeds 85 characters; contains 93 characters
error 37 Category name "Web Services" is not valid; consider "Web_Services" instead
error 37 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 38 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 2.
error 43 Missing @license tag in class comment
error 43 Missing @link tag in class comment
error 44 Opening brace of a class must be on the line after the definition
error 96 Parameters must appear immediately after the comment
error 96 Expected 1 space before variable type
error 97 Expected 1 space before variable type
error 97 The comments for parameters $url (1) and $pager_param (2) do not align
error 97 Missing comment for param "$pager_param" at position 2
error 99 Opening brace should be on a new line
warning 107 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 129 Opening brace should be on a new line
error 139 Opening brace should be on a new line
error 143 Doc comment for "$ua" missing
error 149 Opening brace should be on a new line
error 163 Opening brace should be on a new line
error 171 Parameters must appear immediately after the comment
error 171 Expected 1 space before variable type
error 172 Missing @return tag in function comment
error 173 Opening brace should be on a new line
error 186 Opening brace should be on a new line
error 194 Parameters must appear immediately after the comment
error 194 Expected 1 space before variable type
error 195 Missing @return tag in function comment
error 196 Opening brace should be on a new line
error 206 Opening brace should be on a new line
error 214 Parameters must appear immediately after the comment
error 214 Expected 1 space before variable type
error 215 Missing @return tag in function comment
error 216 Opening brace should be on a new line
error 226 Opening brace should be on a new line
error 234 Parameters must appear immediately after the comment
error 234 Expected 1 space before variable type
error 235 Missing @return tag in function comment
error 236 Opening brace should be on a new line
error 246 Opening brace should be on a new line
error 256 Opening brace should be on a new line
error 265 Last parameter comment requires a blank newline after it
error 265 Parameters must appear immediately after the comment
error 265 Expected 1 space before variable type
error 265 Missing comment for param "$name" at position 1
error 268 Opening brace should be on a new line
error 291 Opening brace should be on a new line
error 311 Opening brace should be on a new line
error 336 Opening brace should be on a new line
error 346 Opening brace should be on a new line
error 356 Opening brace should be on a new line
error 366 Opening brace should be on a new line
error 376 Opening brace should be on a new line
error 386 Opening brace should be on a new line
error 396 Opening brace should be on a new line
error 406 Opening brace should be on a new line
error 416 Opening brace should be on a new line
error 426 Opening brace should be on a new line
error 436 Opening brace should be on a new line
error 444 Parameters must appear immediately after the comment
error 444 Expected 1 space before variable type
error 445 Missing @return tag in function comment
error 446 Opening brace should be on a new line
error 462 Parameters must appear immediately after the comment
error 462 Expected 1 space before variable type
error 462 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$url" at position 1
error 462 Missing parameter name at position 1
error 462 Missing comment for param "[ UNKNOWN ]" at position 1
error 463 Missing @return tag in function comment
error 464 Opening brace should be on a new line
warning 477 Line exceeds 85 characters; contains 90 characters
error 486 Last parameter comment requires a blank newline after it
error 486 Parameters must appear immediately after the comment
error 486 Expected 1 space before variable type
error 486 Doc comment var "$xml" does not match actual variable name "$xmlstr" at position 1
error 489 Opening brace should be on a new line
error 501 Last parameter comment requires a blank newline after it
error 501 Parameters must appear immediately after the comment
error 501 Expected 1 space before variable type
error 504 Opening brace should be on a new line
error 531 Last parameter comment requires a blank newline after it
error 531 Parameters must appear immediately after the comment
error 531 Expected 1 space before variable type
error 534 Opening brace should be on a new line
warning 539 Line exceeds 85 characters; contains 121 characters
error 557 Space after opening parenthesis of function call prohibited
error 557 Space before closing parenthesis of function call prohibited
Sum 92 errors and 4 warnings
/data/pear/pear/Services_OpenSearch/example.php
error 3 Missing file doc comment
error 3 No space found after comma in function call
warning 9 Line exceeds 85 characters; contains 88 characters
error 37 No space found after comma in function call
error 37 No space found after comma in function call
Sum 4 errors and 1 warnings