Coding Standards Report for Text_CAPTCHA_Numeral

Type Line Message
Package 106 errors and 4 warnings
/data/pear/pear/Text_CAPTCHA_Numeral/Numeral.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 Missing file doc comment
error 52 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 54 The @package tag is in the wrong order; the tag follows @category
error 55 The @copyright tag is in the wrong order; the tag follows @author
error 56 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 56 @license tag must contain a URL and a license name
error 58 Missing @link tag in class comment
error 59 @copyright tag must contain a year and the name of the copyright holder
error 71 Private member variable "minValue" must be prefixed with an underscore
error 82 Private member variable "maxValue" must be prefixed with an underscore
error 94 Private member variable "operators" must be prefixed with an underscore
error 106 Private member variable "operator" must be prefixed with an underscore
error 117 Private member variable "operation" must be prefixed with an underscore
error 129 Private member variable "firstNumber" must be prefixed with an underscore
error 141 Private member variable "secondNumber" must be prefixed with an underscore
error 152 Private member variable "answer" must be prefixed with an underscore
error 187 Missing comment for param "$complexityType" at position 1
warning 189 Line exceeds 85 characters; contains 99 characters
error 193 Line indented incorrectly; expected 8 spaces, found 12
warning 195 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 196 Break statement indented incorrectly; expected 16 spaces, found 17
error 197 Line indented incorrectly; expected 8 spaces, found 12
warning 203 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 204 Break statement indented incorrectly; expected 16 spaces, found 17
error 205 Line indented incorrectly; expected 8 spaces, found 12
error 206 Line indented incorrectly; expected 8 spaces, found 12
error 207 Break statement indented incorrectly; expected 16 spaces, found 17
error 207 Break statement indented incorrectly; expected 16 spaces, found 17
error 225 Parameters must appear immediately after the comment
error 225 Expected 1 space before variable type
error 226 Missing @return tag in function comment
error 227 Private method name "Text_CAPTCHA_Numeral::setRangeMinimum" must be prefixed with an underscore
error 242 Missing @return tag in function comment
error 243 Private method name "Text_CAPTCHA_Numeral::generateFirstNumber" must be prefixed with an underscore
error 257 Missing @return tag in function comment
error 258 Private method name "Text_CAPTCHA_Numeral::generateSecondNumber" must be prefixed with an underscore
error 273 Missing @return tag in function comment
error 274 Private method name "Text_CAPTCHA_Numeral::generateOperator" must be prefixed with an underscore
error 288 Last parameter comment requires a blank newline after it
error 288 Parameters must appear immediately after the comment
error 288 Expected 1 space before variable type
error 290 Missing @return tag in function comment
error 291 Private method name "Text_CAPTCHA_Numeral::setAnswer" must be prefixed with an underscore
error 305 Last parameter comment requires a blank newline after it
error 305 Parameters must appear immediately after the comment
error 305 Expected 1 space before variable type
error 308 Private method name "Text_CAPTCHA_Numeral::setFirstNumber" must be prefixed with an underscore
error 322 Last parameter comment requires a blank newline after it
error 322 Parameters must appear immediately after the comment
error 322 Expected 1 space before variable type
error 325 Private method name "Text_CAPTCHA_Numeral::setSecondNumber" must be prefixed with an underscore
error 332 Doc comment for "$type" missing
error 340 Missing @return tag in function comment
error 341 Private method name "Text_CAPTCHA_Numeral::setOperation" must be prefixed with an underscore
error 364 Private method name "Text_CAPTCHA_Numeral::generateNumber" must be prefixed with an underscore
error 379 Missing @return tag in function comment
error 380 Private method name "Text_CAPTCHA_Numeral::doAdd" must be prefixed with an underscore
error 395 Missing @return tag in function comment
error 396 Private method name "Text_CAPTCHA_Numeral::doMultiplication" must be prefixed with an underscore
error 411 Last parameter comment requires a blank newline after it
error 411 The comments for parameters $firstNumber (1) and $secondNumber (2) do not align
error 414 Missing @return tag in function comment
error 415 Private method name "Text_CAPTCHA_Numeral::doDivision" must be prefixed with an underscore
error 432 Line indented incorrectly; expected at least 12 spaces, found 9
error 432 Spaces must be used to indent lines; tabs are not allowed
error 432 No space found after comma in function call
error 433 Line indented incorrectly; expected at least 12 spaces, found 9
error 433 Spaces must be used to indent lines; tabs are not allowed
error 459 Missing @return tag in function comment
error 460 Private method name "Text_CAPTCHA_Numeral::doModulus" must be prefixed with an underscore
error 462 Line indented incorrectly; expected at least 8 spaces, found 7
error 478 Missing @return tag in function comment
error 479 Private method name "Text_CAPTCHA_Numeral::doSubstract" must be prefixed with an underscore
warning 504 Line exceeds 85 characters; contains 101 characters
error 505 Missing @return tag in function comment
error 506 Private method name "Text_CAPTCHA_Numeral::doExponentiation" must be prefixed with an underscore
error 508 Line indented incorrectly; expected at least 8 spaces, found 5
error 508 Spaces must be used to indent lines; tabs are not allowed
error 509 No space found after comma in function call
error 517 Missing @return tag in function comment
error 518 Private method name "Text_CAPTCHA_Numeral::doFactorial" must be prefixed with an underscore
error 520 Line indented incorrectly; expected at least 8 spaces, found 5
error 520 Spaces must be used to indent lines; tabs are not allowed
error 529 Last parameter comment requires a blank newline after it
error 529 Parameters must appear immediately after the comment
error 529 Expected 1 space before variable type
error 529 Expected 1 space after the longest variable name
error 532 Private method name "Text_CAPTCHA_Numeral::calculateFactorial" must be prefixed with an underscore
error 534 Line indented incorrectly; expected at least 8 spaces, found 5
error 534 Spaces must be used to indent lines; tabs are not allowed
error 548 Missing @return tag in function comment
error 549 Private method name "Text_CAPTCHA_Numeral::generateOperation" must be prefixed with an underscore
error 554 Line indented incorrectly; expected 8 spaces, found 12
error 557 Line indented incorrectly; expected 8 spaces, found 12
error 560 Line indented incorrectly; expected 8 spaces, found 12
error 563 Line indented incorrectly; expected 8 spaces, found 12
error 566 Line indented incorrectly; expected 8 spaces, found 12
error 569 Line indented incorrectly; expected 8 spaces, found 12
error 573 Line indented incorrectly; expected 8 spaces, found 12
error 579 Line indented incorrectly; expected 8 spaces, found 12
Sum 97 errors and 4 warnings
/data/pear/pear/Text_CAPTCHA_Numeral/interfaces/NumeralInterface.php
error 2 You must use "/**" style comments for a file comment
error 50 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 51 The @package tag is in the wrong order; the tag follows @category
error 53 Missing @license tag in class comment
error 53 Missing @link tag in class comment
error 64 Missing @return tag in function comment
error 76 Missing @return tag in function comment
error 87 Missing @return tag in function comment
error 97 Missing @return tag in function comment
Sum 9 errors and 0 warnings