Coding Standards Report for Math_Basex

Type Line Message
Package 62 errors and 7 warnings
/data/pear/pear/Math_Basex/Basex.php
error 2 You must use "/**" style comments for a file comment
error 46 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 46 @author tag comment indented incorrectly. Expected 3 spaces but found 1.
warning 47 Invalid version "0.3" in doc comment; consider "Release: " instead
error 47 The @version tag is in the wrong order; the tag follows @licence
error 47 @version tag comment indented incorrectly. Expected 2 spaces but found 1.
error 49 The @package tag is in the wrong order; the tag follows @category
error 49 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
error 51 Missing @license tag in class comment
error 51 Missing @link tag in class comment
error 69 Last parameter comment requires a blank newline after it
error 69 Doc comment var "string" does not match actual variable name "$tokens" at position 1
error 88 Last parameter comment requires a blank newline after it
error 88 Doc comment var "string" does not match actual variable name "$tokens" at position 1
warning 99 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 106 Last parameter comment requires a blank newline after it
error 106 Doc comment var "(int64" does not match actual variable name "$number" at position 1
error 120 No space found after comma in function call
warning 126 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 137 Last parameter comment requires a blank newline after it
error 137 Doc comment var "code" does not match actual variable name "$code" at position 1
warning 143 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 151 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 153 No space found after comma in function call
error 176 Last parameter comment requires a blank newline after it
error 176 Doc comment var "tokens" does not match actual variable name "$tokens" at position 1
warning 184 Inline control structures are discouraged
error 196 Parameters must appear immediately after the comment
error 196 Doc comment var "integer" does not match actual variable name "$number" at position 1
error 197 The variable names for parameters integer (1) and integer (2) do not align
error 197 Doc comment var "integer" does not match actual variable name "&$full" at position 2
error 199 The variable names for parameters integer (2) and float (3) do not align
error 199 The comments for parameters integer (2) and float (3) do not align
error 199 Doc comment var "float" does not match actual variable name "&$modules" at position 3
warning 206 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 213 Last parameter comment requires a blank newline after it
error 213 Doc comment var "integer" does not match actual variable name "$oneDigit" at position 1
error 225 Last parameter comment requires a blank newline after it
error 225 Doc comment var "string" does not match actual variable name "$oneDigit" at position 1
error 237 Doc comment var "a" does not match actual variable name "$a" at position 1
error 238 Last parameter comment requires a blank newline after it
error 238 Doc comment var "b" does not match actual variable name "$b" at position 2
error 257 Doc comment var "a" does not match actual variable name "$a" at position 1
error 258 Last parameter comment requires a blank newline after it
error 258 Doc comment var "b" does not match actual variable name "$b" at position 2
error 278 Doc comment var "a" does not match actual variable name "$a" at position 1
error 279 Last parameter comment requires a blank newline after it
error 279 Doc comment var "b" does not match actual variable name "$b" at position 2
error 298 Doc comment var "a" does not match actual variable name "$a" at position 1
error 299 Last parameter comment requires a blank newline after it
error 299 Doc comment var "b" does not match actual variable name "$b" at position 2
error 318 Doc comment var "a" does not match actual variable name "$a" at position 1
error 319 Last parameter comment requires a blank newline after it
error 319 Doc comment var "b" does not match actual variable name "$b" at position 2
error 331 No space found after comma in function call
error 338 Last parameter comment requires a blank newline after it
error 338 Doc comment var "length" does not match actual variable name "$n" at position 1
error 352 Doc comment var "number" does not match actual variable name "$number" at position 1
error 353 The variable names for parameters number (1) and from_base (2) do not align
error 353 The comments for parameters number (1) and from_base (2) do not align
error 353 Doc comment var "from_base" does not match actual variable name "$from_base" at position 2
error 354 The comments for parameters from_base (2) and to_base (3) do not align
error 354 Doc comment var "to_base" does not match actual variable name "$to_base" at position 3
error 355 The variable names for parameters to_base (3) and from_cs (4) do not align
error 355 Doc comment var "from_cs" does not match actual variable name "$from_cs" at position 4
error 357 Last parameter comment requires a blank newline after it
error 357 The comments for parameters from_cs (4) and to_cs (5) do not align
error 357 Doc comment var "to_cs" does not match actual variable name "$to_cs" at position 5
error 384 Expected 1 space after comma in function call; 3 found
Sum 62 errors and 7 warnings