Coding Standards Report for Text_LanguageDetect

Type Line Message
Package 243 errors and 26 warnings
/data/pear/pear/Text_LanguageDetect/Text/LanguageDetect/Parser.php
error 6 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 7 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 8 Content of the @author tag must be in the form "Display Name "
error 8 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 9 @copyright tag must contain a year and the name of the copyright holder
error 9 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 10 @license tag must contain a URL and a license name
error 10 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 11 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 12 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 13 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
warning 14 PHP version not specified
error 26 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 27 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 Content of the @author tag must be in the form "Display Name "
error 28 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 29 @copyright tag must contain a year and the name of the copyright holder
error 29 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 30 @license tag must contain a URL and a license name
error 30 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
warning 31 Invalid version "release: @package_version@" in doc comment; consider "Release: " instead
error 31 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 32 Missing @link tag in class comment
error 103 Parameters must appear immediately after the comment
error 103 Expected 1 space before variable type
error 103 Expected 1 space after the longest type
error 103 Expected 1 space after the longest variable name
error 105 Opening brace should be on a new line
error 114 Last parameter comment requires a blank newline after it
error 114 Parameters must appear immediately after the comment
error 114 Expected 1 space before variable type
error 114 Expected 1 space after the longest type
error 114 Expected 1 space after the longest variable name
error 117 Opening brace should be on a new line
error 129 Parameters must appear immediately after the comment
error 129 Expected 1 space before variable type
error 129 Expected 1 space after the longest type
error 130 Missing @return tag in function comment
error 140 Parameters must appear immediately after the comment
error 140 Expected 1 space before variable type
error 140 Expected 1 space after the longest type
error 141 Missing @return tag in function comment
error 151 Parameters must appear immediately after the comment
error 151 Expected 1 space before variable type
error 151 Expected 1 space after the longest type
error 152 Missing @return tag in function comment
error 162 Parameters must appear immediately after the comment
error 162 Expected 1 space before variable type
error 162 Expected 1 space after the longest type
error 163 Missing @return tag in function comment
error 214 Missing @return tag in function comment
warning 217 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 254 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 259 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 260 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
error 272 Line indented incorrectly; expected at least 24 spaces, found 23
error 274 Line indented incorrectly; expected at least 24 spaces, found 23
error 310 Space after opening parenthesis of function call prohibited
Sum 52 errors and 6 warnings
/data/pear/pear/Text_LanguageDetect/Text/LanguageDetect.php
error 14 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 15 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 16 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 17 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 18 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 19 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 20 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 57 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 58 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 59 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 60 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 61 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 62 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 64 Missing @link tag in class comment
error 203 Doc comment for "$fname" missing
error 209 Method name "Text_LanguageDetect::_get_data_loc" is not in camel caps format
error 216 Line indented incorrectly; expected at least 12 spaces, found 8
error 234 Last parameter comment requires a blank newline after it
error 234 Parameters must appear immediately after the comment
error 234 Expected 1 space before variable type
error 234 Expected 1 space after the longest type
error 234 Expected 1 space after the longest variable name
error 268 Last parameter comment requires a blank newline after it
error 268 Parameters must appear immediately after the comment
error 268 Expected 1 space before variable type
error 268 Expected 1 space after the longest type
error 268 Expected 1 space after the longest variable name
error 271 Method name "Text_LanguageDetect::_setup_ok" is not in camel caps format
warning 281 Line exceeds 85 characters; contains 105 characters
error 306 Parameters must appear immediately after the comment
error 306 Expected 1 space before variable type
error 306 Expected 1 space after the longest type
error 307 Last parameter comment requires a blank newline after it
error 307 Expected 1 space before variable type
error 307 Expected 1 space after the longest variable name
error 339 Line indented incorrectly; expected at least 12 spaces, found 8
error 390 Last parameter comment requires a blank newline after it
error 390 Parameters must appear immediately after the comment
error 390 Expected 1 space before variable type
error 390 Expected 1 space after the longest type
error 390 Expected 1 space after the longest variable name
error 403 Line indented incorrectly; expected at least 16 spaces, found 12
error 412 Line indented incorrectly; expected at least 16 spaces, found 12
error 439 Parameters must appear immediately after the comment
error 439 Expected 1 space before variable type
error 439 Expected 1 space after the longest type
error 439 Expected 1 space after the longest variable name
error 440 Missing @return tag in function comment
error 464 Parameters must appear immediately after the comment
error 464 Expected 1 space before variable type
error 464 Expected 1 space after the longest type
error 464 Expected 1 space after the longest variable name
error 465 Missing @return tag in function comment
error 479 Last parameter comment requires a blank newline after it
error 479 Parameters must appear immediately after the comment
error 479 Expected 1 space before variable type
error 479 Expected 1 space after the longest type
error 479 Expected 1 space after the longest variable name
error 498 Last parameter comment requires a blank newline after it
error 498 Parameters must appear immediately after the comment
error 498 Expected 1 space before variable type
error 498 Doc comment var "$arr" does not match actual variable name "&$arr" at position 1
error 498 Expected 1 space after the longest type
error 498 Expected 1 space after the longest variable name
error 501 Method name "Text_LanguageDetect::_arr_rank" is not in camel caps format
error 530 Parameters must appear immediately after the comment
error 530 Expected 1 space before variable type
error 530 Expected 1 space after the longest type
error 530 Expected 1 space after the longest variable name
error 531 Missing @return tag in function comment
error 532 Method name "Text_LanguageDetect::_bub_sort" is not in camel caps format
warning 535 Line exceeds 85 characters; contains 97 characters
warning 553 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 565 Parameters must appear immediately after the comment
error 565 Expected 1 space before variable type
error 565 Doc comment var "first" does not match actual variable name "$a" at position 1
error 565 Expected 1 space after the longest type
error 566 Last parameter comment requires a blank newline after it
error 566 Expected 1 space before variable type
error 566 The comments for parameters first (1) and second (2) do not align
error 566 Doc comment var "second" does not match actual variable name "$b" at position 2
error 570 Method name "Text_LanguageDetect::_sort_func" is not in camel caps format
error 580 Line indented incorrectly; expected at least 12 spaces, found 8
error 604 Parameters must appear immediately after the comment
error 604 Expected 1 space before variable type
error 604 Doc comment var "$arr1" does not match actual variable name "&$arr1" at position 1
error 604 Expected 1 space after the longest type
error 604 Expected 1 space after the longest variable name
error 605 Last parameter comment requires a blank newline after it
error 605 Expected 1 space before variable type
error 605 Doc comment var "$arr2" does not match actual variable name "&$arr2" at position 2
error 636 Parameters must appear immediately after the comment
error 636 Expected 1 space before variable type
error 636 Expected 1 space after the longest type
error 637 Last parameter comment requires a blank newline after it
error 637 Expected 1 space before variable type
error 637 Expected 1 space after the longest variable name
error 641 Method name "Text_LanguageDetect::_normalize_score" is not in camel caps format
error 672 Parameters must appear immediately after the comment
error 672 Expected 1 space before variable type
error 672 Expected 1 space after the longest type
error 673 Last parameter comment requires a blank newline after it
error 673 Expected 1 space before variable type
warning 698 Line exceeds 85 characters; contains 87 characters
warning 703 Line exceeds 85 characters; contains 86 characters
error 755 Space after opening parenthesis of function call prohibited
error 758 Space before closing parenthesis of function call prohibited
error 770 Space after opening parenthesis of function call prohibited
error 773 Space before closing parenthesis of function call prohibited
error 778 Line indented incorrectly; expected at least 12 spaces, found 8
error 786 Space after opening parenthesis of function call prohibited
error 827 Last parameter comment requires a blank newline after it
error 827 Parameters must appear immediately after the comment
error 827 Expected 1 space before variable type
error 827 Expected 1 space after the longest type
error 827 Expected 1 space after the longest variable name
error 873 Last parameter comment requires a blank newline after it
error 873 Parameters must appear immediately after the comment
error 873 Expected 1 space before variable type
error 873 Expected 1 space after the longest type
error 873 Expected 1 space after the longest variable name
warning 896 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 926 Parameters must appear immediately after the comment
error 927 Last parameter comment requires a blank newline after it
error 927 The variable names for parameters $str (1) and $skip_symbols (2) do not align
error 927 The comments for parameters $str (1) and $skip_symbols (2) do not align
error 964 Last parameter comment requires a blank newline after it
error 964 Parameters must appear immediately after the comment
error 968 Opening brace should be on a new line
error 983 Line indented incorrectly; expected at least 12 spaces, found 8
error 1012 Parameters must appear immediately after the comment
error 1012 Expected 1 space before variable type
error 1013 Expected 1 space before variable type
error 1013 Expected 1 space after the longest type
error 1014 Last parameter comment requires a blank newline after it
error 1014 Expected 1 space before variable type
error 1014 The comments for parameters &$blocks (2) and $block_count (3) do not align
error 1016 Missing @return tag in function comment
error 1017 Method name "Text_LanguageDetect::_unicode_block_name" is not in camel caps format
error 1017 Opening brace should be on a new line
error 1045 Line indented incorrectly; expected at least 16 spaces, found 12
error 1049 Line indented incorrectly; expected at least 16 spaces, found 12
error 1069 Method name "Text_LanguageDetect::_read_unicode_block_db" is not in camel caps format
error 1069 Opening brace should be on a new line
error 1094 Parameters must appear immediately after the comment
error 1094 Expected 1 space before variable type
error 1094 Expected 1 space after the longest type
error 1094 Expected 1 space after the longest variable name
error 1095 Last parameter comment requires a blank newline after it
error 1095 Expected 1 space before variable type
error 1120 Line indented incorrectly; expected at least 20 spaces, found 16
error 1128 Space after opening parenthesis of function call prohibited
error 1129 Space after opening parenthesis of function call prohibited
error 1132 Space before closing parenthesis of function call prohibited
error 1133 Space before closing parenthesis of function call prohibited
error 1136 Line indented incorrectly; expected at least 16 spaces, found 12
error 1141 Space after opening parenthesis of function call prohibited
error 1151 Line indented incorrectly; expected at least 12 spaces, found 8
error 1166 Line indented incorrectly; expected at least 28 spaces, found 24
error 1170 Space after opening parenthesis of function call prohibited
error 1171 Space after opening parenthesis of function call prohibited
error 1174 Space before closing parenthesis of function call prohibited
error 1175 Space before closing parenthesis of function call prohibited
warning 1237 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1238 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1244 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1245 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1280 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1283 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 1386 Last parameter comment requires a blank newline after it
error 1386 Parameters must appear immediately after the comment
error 1386 Expected 1 space before variable type
error 1431 Space after opening parenthesis of function call prohibited
warning 1445 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 1460 Space after opening parenthesis of function call prohibited
warning 1470 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 1473 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 1494 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 1517 Last parameter comment requires a blank newline after it
error 1517 Parameters must appear immediately after the comment
error 1517 Expected 1 space before variable type
error 1534 Last parameter comment requires a blank newline after it
error 1534 Parameters must appear immediately after the comment
error 1534 Expected 1 space before variable type
error 1537 Opening brace should be on a new line
error 1544 Line indented incorrectly; expected 8 spaces, found 12
error 1549 Line indented incorrectly; expected 8 spaces, found 12
error 1557 Line indented incorrectly; expected 8 spaces, found 12
warning 1560 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 1566 Line indented incorrectly; expected 8 spaces, found 12
error 1577 Line indented incorrectly; expected 8 spaces, found 12
error 1580 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1580 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1580 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1580 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1580 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1591 Parameters must appear immediately after the comment
error 1591 Expected 1 space before variable type
error 1591 Expected 1 space after the longest type
error 1592 Expected 1 space before variable type
error 1593 Last parameter comment requires a blank newline after it
error 1593 Expected 1 space before variable type
error 1593 The comments for parameters &$counter (2) and $special_convert (3) do not align
error 1596 Method name "Text_LanguageDetect::_next_char" is not in camel caps format
warning 1600 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 1622 Line indented incorrectly; expected at least 12 spaces, found 8
warning 1631 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 1644 Line indented incorrectly; expected at least 20 spaces, found 16
error 1652 Line indented incorrectly; expected at least 24 spaces, found 20
warning 1655 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Sum 191 errors and 20 warnings