Coding Standards Report for Services_Yadis

Type Line Message
Package 299 errors and 58 warnings
/data/pear/pear/Services_Yadis/Yadis/Xrds/Namespace.php
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 4.
error 39 Content of the @author tag must be in the form "Display Name "
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
warning 41 Invalid version "$Id: Namespace.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 Missing @link tag in file comment
error 52 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 53 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 54 Content of the @author tag must be in the form "Display Name "
error 54 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 55 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 56 Missing @link tag in class comment
error 65 Protected member variable "_namespaces" must not be prefixed with an underscore
error 74 Missing comment for param "$namespaces" at position 1
error 75 Missing @return tag in function comment
error 78 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 87 Expected 1 space before variable type
error 87 Missing comment for param "$namespaceKey" at position 1
error 88 Last parameter comment requires a blank newline after it
error 88 Expected 1 space before variable type
error 88 Missing comment for param "$namespaceUrl" at position 2
warning 93 Line exceeds 85 characters; contains 109 characters
error 94 File is being conditionally included; use "include_once" instead
warning 95 Line exceeds 85 characters; contains 87 characters
error 97 File is being conditionally included; use "include_once" instead
warning 98 Line exceeds 85 characters; contains 125 characters
error 100 File is being conditionally included; use "include_once" instead
warning 101 Line exceeds 85 characters; contains 107 characters
error 109 Last parameter comment requires a blank newline after it
error 109 Missing comment for param "$namespaceKey" at position 1
error 133 Last parameter comment requires a blank newline after it
error 133 Expected 1 space before variable type
error 133 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$element" at position 1
error 133 Missing parameter name at position 1
error 133 Missing comment for param "[ UNKNOWN ]" at position 1
Sum 32 errors and 5 warnings
/data/pear/pear/Services_Yadis/Yadis/Xrds/Service.php
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 4.
error 39 Content of the @author tag must be in the form "Display Name "
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
warning 41 Invalid version "$Id: Service.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 Missing @link tag in file comment
error 60 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 61 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 62 Content of the @author tag must be in the form "Display Name "
error 62 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 63 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 64 Missing @link tag in class comment
error 80 Protected member variable "_xrdNode" must not be prefixed with an underscore
error 87 Protected member variable "_services" must not be prefixed with an underscore
error 94 Protected member variable "_valid" must not be prefixed with an underscore
error 101 Expected 1 space before variable type
error 101 Missing comment for param "$xrds" at position 1
error 102 Expected 1 space before variable type
error 102 The variable names for parameters $xrds (1) and $namespace (2) do not align
error 102 The comments for parameters $xrds (1) and $namespace (2) do not align
error 102 Missing comment for param "$namespace" at position 2
warning 104 Line exceeds 85 characters; contains 97 characters
error 186 Missing comment for param "$service" at position 1
error 187 Missing @return tag in function comment
error 188 Protected method name "Services_Yadis_Xrds_Service::_addService" must not be prefixed with an underscore
error 191 Expected "if (...) {\n"; found "if(...) {\n"
error 194 Expected "if (...) {\n"; found "if (...){\n"
Sum 27 errors and 2 warnings
/data/pear/pear/Services_Yadis/Yadis/Exception.php
error 36 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 37 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 38 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 39 @license tag comment indented incorrectly. Expected 2 spaces but found 5.
warning 40 Invalid version "$Id: Exception.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 40 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 41 @link tag comment indented incorrectly. Expected 5 spaces but found 8.
error 52 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 53 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 54 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 55 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 56 The @link tag is in the wrong order; the tag follows @version
error 56 @link tag comment indented incorrectly. Expected 5 spaces but found 7.
warning 57 Invalid version "@package_version@" in doc comment; consider "Release: " instead
error 57 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 61 Opening class brace must be on a line by itself
error 61 Closing brace must be on a line by itself
Sum 15 errors and 2 warnings
/data/pear/pear/Services_Yadis/Yadis/Service.php
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 4.
error 39 Content of the @author tag must be in the form "Display Name "
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
warning 41 Invalid version "$Id: Service.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 Missing @link tag in file comment
error 48 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 49 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 50 Content of the @author tag must be in the form "Display Name "
error 50 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 51 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 52 Missing @link tag in class comment
error 62 Protected member variable "_serviceNode" must not be prefixed with an underscore
error 70 Protected member variable "_namespace" must not be prefixed with an underscore
error 77 Expected 1 space before variable type
error 77 Missing comment for param "$serviceNode" at position 1
error 78 Expected 1 space before variable type
error 78 The variable names for parameters $serviceNode (1) and $namespace (2) do not align
error 78 The comments for parameters $serviceNode (1) and $namespace (2) do not align
error 78 Missing comment for param "$namespace" at position 2
warning 80 Line exceeds 85 characters; contains 104 characters
warning 83 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 108 Line indented incorrectly; expected at least 8 spaces, found 7
error 119 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 120 Expected "if (...) {\n"; found "if(...) {\n"
error 177 Last parameter comment requires a blank newline after it
error 177 Missing comment for param "$name" at position 1
warning 182 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 189 Expected "if (...) {\n"; found "if(...) {\n"
Sum 27 errors and 4 warnings
/data/pear/pear/Services_Yadis/Yadis/Xrds.php
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 4.
error 39 Content of the @author tag must be in the form "Display Name "
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
warning 41 Invalid version "$Id: Xrds.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 Missing @link tag in file comment
error 56 Content of the @author tag must be in the form "Display Name "
error 58 Missing @link tag in class comment
error 67 Protected member variable "_currentKey" must not be prefixed with an underscore
error 74 Protected member variable "_xrdNodes" must not be prefixed with an underscore
error 82 Protected member variable "_namespace" must not be prefixed with an underscore
error 90 Expected 1 space before variable type
error 90 Missing comment for param "$xrds" at position 1
error 91 Expected 1 space before variable type
error 91 The variable names for parameters $xrds (1) and $namespace (2) do not align
error 91 The comments for parameters $xrds (1) and $namespace (2) do not align
error 91 Missing comment for param "$namespace" at position 2
warning 93 Line exceeds 85 characters; contains 100 characters
warning 96 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 98 File is being conditionally included; use "include_once" instead
warning 99 Line exceeds 85 characters; contains 91 characters
error 108 Last parameter comment requires a blank newline after it
error 108 Expected 1 space before variable type
error 108 Missing comment for param "$namespaces" at position 1
error 121 Expected 1 space before variable type
error 121 Missing comment for param "$namespace" at position 1
error 122 Last parameter comment requires a blank newline after it
error 122 Expected 1 space before variable type
error 122 The comments for parameters $namespace (1) and $namespaceUrl (2) do not align
error 122 Missing comment for param "$namespaceUrl" at position 2
error 131 Doc comment for "$namespace" missing
error 154 Last parameter comment requires a blank newline after it
error 154 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$xrds" at position 1
error 154 Missing parameter name at position 1
error 154 Missing comment for param "[ UNKNOWN ]" at position 1
error 157 Protected method name "Services_Yadis_Xrds::_getValidXrdNodes" must not be prefixed with an underscore
warning 178 Line exceeds 85 characters; contains 98 characters
warning 180 Line exceeds 85 characters; contains 98 characters
error 205 Last parameter comment requires a blank newline after it
error 205 Expected 1 space before variable type
error 205 Missing comment for param "$unsorted" at position 1
Sum 37 errors and 6 warnings
/data/pear/pear/Services_Yadis/Yadis/Xri.php
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 4.
error 39 Content of the @author tag must be in the form "Display Name "
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
warning 41 Invalid version "$Id: Xri.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 Missing @link tag in file comment
error 53 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 54 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 55 Content of the @author tag must be in the form "Display Name "
error 55 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 56 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 57 Missing @link tag in class comment
error 66 Protected member variable "_instance" must not be prefixed with an underscore
error 74 Protected member variable "_xriIdentifiers" must not be prefixed with an underscore
error 83 Protected member variable "_proxy" must not be prefixed with an underscore
error 91 Protected member variable "_namespace" must not be prefixed with an underscore
error 98 Protected member variable "_xri" must not be prefixed with an underscore
error 105 Protected member variable "_uri" must not be prefixed with an underscore
error 113 Protected member variable "_canonicalId" must not be prefixed with an underscore
error 115 Protected member variable "_httpRequestOptions" must not be prefixed with an underscore
error 121 Closing brace must be on a line by itself
error 140 Last parameter comment requires a blank newline after it
error 140 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$namespace" at position 1
error 140 Missing parameter name at position 1
error 140 Missing comment for param "[ UNKNOWN ]" at position 1
error 152 Last parameter comment requires a blank newline after it
error 152 Expected 1 space before variable type
error 152 Missing comment for param "$proxy" at position 1
error 159 File is being conditionally included; use "include_once" instead
warning 160 Line exceeds 85 characters; contains 93 characters
error 169 Superfluous doc comment at position 1
error 169 Missing comment for param "$proxy" at position 1
error 170 Missing @return tag in function comment
error 179 Last parameter comment requires a blank newline after it
error 179 Expected 1 space before variable type
error 179 Doc comment var "$url" does not match actual variable name "$xri" at position 1
error 179 Missing comment for param "$url" at position 1
warning 188 Line exceeds 85 characters; contains 94 characters
error 189 File is being conditionally included; use "include_once" instead
error 211 Last parameter comment requires a blank newline after it
error 211 Expected 1 space before variable type
error 211 Missing comment for param "$xri" at position 1
error 211 Doc comment for "$serviceType" missing
error 241 File is being conditionally included; use "include_once" instead
warning 242 Line exceeds 85 characters; contains 123 characters
error 255 Last parameter comment requires a blank newline after it
error 255 Parameters must appear immediately after the comment
error 255 Missing comment for param "$xri" at position 1
error 262 File is being conditionally included; use "include_once" instead
warning 263 Line exceeds 85 characters; contains 134 characters
warning 271 Line exceeds 85 characters; contains 101 characters
error 272 File is being conditionally included; use "include_once" instead
warning 273 Line exceeds 85 characters; contains 122 characters
error 287 You must use "/**" style comments for a function comment
error 293 File is being conditionally included; use "include_once" instead
warning 294 Line exceeds 85 characters; contains 111 characters
error 302 Last parameter comment requires a blank newline after it
error 302 Missing comment for param "$options" at position 1
error 325 Last parameter comment requires a blank newline after it
error 325 Expected 1 space before variable type
error 325 Doc comment var "$uri" does not match actual variable name "$url" at position 1
error 325 Missing comment for param "$uri" at position 1
error 325 Doc comment for "$serviceType" missing
error 325 Doc comment for "$options" missing
error 329 Protected method name "Services_Yadis_Xri::_get" must not be prefixed with an underscore
error 343 File is being conditionally included; use "include_once" instead
warning 344 Line exceeds 85 characters; contains 162 characters
Sum 60 errors and 9 warnings
/data/pear/pear/Services_Yadis/Yadis.php
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 4.
error 39 Content of the @author tag must be in the form "Display Name "
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
warning 41 Invalid version "$Id: Yadis.php,v 1.1 2007/09/29 12:14:45 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 Missing @link tag in file comment
warning 88 Line exceeds 85 characters; contains 87 characters
error 92 There must be exactly one blank line before the tags in class comments
error 94 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 95 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 96 Content of the @author tag must be in the form "Display Name "
error 96 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 97 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 98 Missing @link tag in class comment
warning 107 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 117 Protected member variable "_yadisId" must not be prefixed with an underscore
error 126 Protected member variable "_yadisUrl" must not be prefixed with an underscore
error 137 Protected member variable "_metaHttpEquivResponse" must not be prefixed with an underscore
error 146 Protected member variable "_metaHttpEquivUrl" must not be prefixed with an underscore
error 155 Protected member variable "_xrdsLocationHeaderUrl" must not be prefixed with an underscore
error 163 Protected member variable "_namespace" must not be prefixed with an underscore
error 174 Protected member variable "_validHtmlContentTypes" must not be prefixed with an underscore
error 187 Protected member variable "_xriIdentifiers" must not be prefixed with an underscore
error 191 Protected member variable "_httpRequestOptions" must not be prefixed with an underscore
error 198 Protected member variable "_httpRequest" must not be prefixed with an underscore
error 209 Missing comment for param "$yadisId" at position 1
error 210 The variable names for parameters $yadisId (1) and $namespaces (2) do not align
error 210 The comments for parameters $yadisId (1) and $namespaces (2) do not align
error 210 Missing comment for param "$namespaces" at position 2
error 216 File is being conditionally included; use "include_once" instead
error 230 Last parameter comment requires a blank newline after it
error 230 Missing comment for param "$options" at position 1
error 257 Expected 1 space before variable type
error 257 Missing comment for param "$yadisId" at position 1
error 258 Missing @return tag in function comment
error 269 Missing @return tag in function comment
error 273 File is being conditionally included; use "include_once" instead
warning 274 Line exceeds 85 characters; contains 94 characters
error 284 Last parameter comment requires a blank newline after it
error 284 Expected 1 space before variable type
error 284 Missing comment for param "$yadisId" at position 1
error 301 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 301 Line exceeds 85 characters; contains 94 characters
error 303 File is being conditionally included; use "include_once" instead
warning 305 Line exceeds 85 characters; contains 90 characters
warning 310 Line exceeds 85 characters; contains 122 characters
error 319 File is being conditionally included; use "include_once" instead
warning 320 Line exceeds 85 characters; contains 131 characters
error 329 Missing @return tag in function comment
error 333 File is being conditionally included; use "include_once" instead
warning 334 Line exceeds 85 characters; contains 98 characters
error 343 Last parameter comment requires a blank newline after it
error 343 Expected 1 space before variable type
error 343 Missing comment for param "$namespaces" at position 1
error 356 Expected 1 space before variable type
error 356 Missing comment for param "$namespace" at position 1
error 357 Last parameter comment requires a blank newline after it
error 357 Expected 1 space before variable type
error 357 The comments for parameters $namespace (1) and $namespaceUrl (2) do not align
error 357 Missing comment for param "$namespaceUrl" at position 2
error 366 Doc comment for "$namespace" missing
warning 397 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 399 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 400 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 402 Expected "while (...) {\n"; found "while(...) {\n"
warning 415 Line exceeds 85 characters; contains 102 characters
error 416 File is being conditionally included; use "include_once" instead
warning 417 Line exceeds 85 characters; contains 107 characters
error 428 Line indented incorrectly; expected 12 spaces, found 16
warning 429 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 432 Line indented incorrectly; expected 12 spaces, found 16
warning 433 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 436 Line indented incorrectly; expected 12 spaces, found 16
error 439 Line indented incorrectly; expected 12 spaces, found 16
error 440 File is being conditionally included; use "include_once" instead
warning 441 Line exceeds 85 characters; contains 111 characters
error 442 Closing brace indented incorrectly; expected 16 spaces, found 12
error 448 File is being conditionally included; use "include_once" instead
warning 449 Line exceeds 85 characters; contains 146 characters
error 473 Last parameter comment requires a blank newline after it
error 473 Missing comment for param "$request" at position 1
error 484 Last parameter comment requires a blank newline after it
error 484 Superfluous doc comment at position 1
error 484 Missing comment for param "$request" at position 1
error 497 Last parameter comment requires a blank newline after it
error 497 Missing comment for param "$request" at position 1
error 500 Protected method name "Services_Yadis::_getResponseType" must not be prefixed with an underscore
error 518 Last parameter comment requires a blank newline after it
error 518 Expected 1 space before variable type
error 518 Missing comment for param "$url" at position 1
error 521 Protected method name "Services_Yadis::_get" must not be prefixed with an underscore
error 532 File is being conditionally included; use "include_once" instead
warning 533 Line exceeds 85 characters; contains 162 characters
error 543 Last parameter comment requires a blank newline after it
error 543 Expected 1 space before variable type
error 543 Missing comment for param "$request" at position 1
error 546 Protected method name "Services_Yadis::_isXrdsLocationHeader" must not be prefixed with an underscore
error 556 File is being conditionally included; use "include_once" instead
warning 557 Line exceeds 85 characters; contains 114 characters
error 568 Last parameter comment requires a blank newline after it
error 568 Expected 1 space before variable type
error 568 Missing comment for param "$request" at position 1
error 571 Protected method name "Services_Yadis::_isXrdsContentType" must not be prefixed with an underscore
warning 573 Line exceeds 85 characters; contains 149 characters
error 585 Last parameter comment requires a blank newline after it
error 585 Expected 1 space before variable type
error 585 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$request" at position 1
error 585 Missing parameter name at position 1
error 585 Missing comment for param "[ UNKNOWN ]" at position 1
error 589 Protected method name "Services_Yadis::_isMetaHttpEquiv" must not be prefixed with an underscore
warning 592 Line exceeds 85 characters; contains 100 characters
error 602 Space after opening parenthesis of function call prohibited
error 602 Space before closing parenthesis of function call prohibited
warning 608 Line exceeds 85 characters; contains 164 characters
error 618 File is being conditionally included; use "include_once" instead
warning 619 Line exceeds 85 characters; contains 188 characters
error 635 Last parameter comment requires a blank newline after it
error 635 Expected 1 space before variable type
error 635 Missing comment for param "$xrdsDocument" at position 1
error 638 Protected method name "Services_Yadis::_parseXrds" must not be prefixed with an underscore
warning 640 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
Sum 98 errors and 25 warnings
/data/pear/pear/Services_Yadis/generate_package_xml.php
error 2 Missing file doc comment
error 2 "require_once" is a statement, not a function; no parentheses are required
warning 27 Line exceeds 85 characters; contains 92 characters
warning 28 Line exceeds 85 characters; contains 169 characters
warning 45 Line exceeds 85 characters; contains 93 characters
warning 55 Line exceeds 85 characters; contains 90 characters
Sum 2 errors and 4 warnings
/data/pear/pear/Services_Yadis/test.php
error 2 Missing file doc comment
warning 6 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
Sum 1 errors and 1 warnings