Coding Standards Report for Math_Complex

Type Line Message
Package 273 errors and 121 warnings
/data/pear/pear/Math_Complex/Complex.php
error 2 You must use "/**" style comments for a file comment
error 22 File is being unconditionally included; use "require_once" instead
warning 38 Invalid version "0.8" in doc comment; consider "Release: " instead
error 40 Missing @category tag in class comment
error 40 Missing @package tag in class comment
error 40 Missing @license tag in class comment
error 40 Missing @link tag in class comment
error 41 Opening brace of a class must be on the line after the definition
error 64 Last parameter comment requires a blank newline after it
error 64 The comments for parameters $real (1) and $im (2) do not align
warning 71 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 82 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 83 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 84 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 131 Line exceeds 85 characters; contains 90 characters
error 136 No space found after comma in function call
error 153 Opening brace should be on a new line
error 172 There must be exactly one blank line before the tags in function comment
Sum 12 errors and 6 warnings
/data/pear/pear/Math_Complex/ComplexOp.php
error 2 You must use "/**" style comments for a file comment
error 23 File is being unconditionally included; use "require_once" instead
error 24 File is being unconditionally included; use "require_once" instead
error 25 File is being unconditionally included; use "require_once" instead
error 41 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 42 Invalid version "0.8" in doc comment; consider "Release: " instead
error 42 The @version tag is in the wrong order; the tag follows @licence
error 45 Missing @category tag in class comment
error 45 Missing @license tag in class comment
error 45 Missing @link tag in class comment
error 46 Opening brace of a class must be on the line after the definition
error 49 Doc comment for "$c1" missing
error 71 Parameters must appear immediately after the comment
error 71 Missing comment for param "$r" at position 1
error 72 Last parameter comment requires a blank newline after it
error 72 The comments for parameters $r (1) and $theta (2) do not align
error 72 Missing comment for param "$theta" at position 2
error 76 Space before opening parenthesis of function call prohibited
warning 78 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 80 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 81 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 92 Last parameter comment requires a blank newline after it
error 92 Parameters must appear immediately after the comment
error 92 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 92 Missing comment for param "$c1" at position 1
warning 93 Line exceeds 85 characters; contains 99 characters
error 96 Space before opening parenthesis of function call prohibited
error 130 Last parameter comment requires a blank newline after it
error 130 Parameters must appear immediately after the comment
error 134 Space before opening parenthesis of function call prohibited
error 151 Last parameter comment requires a blank newline after it
error 151 Parameters must appear immediately after the comment
error 151 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 151 Missing comment for param "$c1" at position 1
warning 152 Line exceeds 85 characters; contains 99 characters
error 155 Space before opening parenthesis of function call prohibited
warning 157 Inline control structures are discouraged
warning 159 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 172 Last parameter comment requires a blank newline after it
error 172 Parameters must appear immediately after the comment
error 172 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 172 Missing comment for param "$c1" at position 1
warning 173 Line exceeds 85 characters; contains 99 characters
error 176 Space before opening parenthesis of function call prohibited
warning 178 Inline control structures are discouraged
error 190 Last parameter comment requires a blank newline after it
error 190 Parameters must appear immediately after the comment
error 190 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 190 Missing comment for param "$c1" at position 1
warning 191 Line exceeds 85 characters; contains 99 characters
error 194 Space before opening parenthesis of function call prohibited
warning 197 Inline control structures are discouraged
error 199 Space before opening parenthesis of function call prohibited
error 207 Last parameter comment requires a blank newline after it
error 207 Parameters must appear immediately after the comment
error 207 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 207 Missing comment for param "$c1" at position 1
warning 208 Line exceeds 85 characters; contains 99 characters
error 211 Space before opening parenthesis of function call prohibited
warning 213 Inline control structures are discouraged
error 223 Last parameter comment requires a blank newline after it
error 223 Parameters must appear immediately after the comment
error 223 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 223 Missing comment for param "$c1" at position 1
warning 224 Line exceeds 85 characters; contains 99 characters
error 227 Space before opening parenthesis of function call prohibited
error 241 Last parameter comment requires a blank newline after it
error 241 Parameters must appear immediately after the comment
error 241 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 241 Missing comment for param "$c1" at position 1
warning 242 Line exceeds 85 characters; contains 99 characters
error 245 Space before opening parenthesis of function call prohibited
warning 247 Inline control structures are discouraged
warning 250 Inline control structures are discouraged
warning 253 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 254 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 265 Last parameter comment requires a blank newline after it
error 265 Parameters must appear immediately after the comment
error 265 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 265 Missing comment for param "$c1" at position 1
warning 266 Line exceeds 85 characters; contains 99 characters
error 269 Space before opening parenthesis of function call prohibited
warning 271 Inline control structures are discouraged
warning 274 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
warning 275 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
error 284 Last parameter comment requires a blank newline after it
error 284 Parameters must appear immediately after the comment
error 284 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 284 Missing comment for param "$c1" at position 1
warning 285 Line exceeds 85 characters; contains 99 characters
error 288 Space before opening parenthesis of function call prohibited
warning 290 Inline control structures are discouraged
warning 293 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
warning 294 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
error 303 Last parameter comment requires a blank newline after it
error 303 Parameters must appear immediately after the comment
error 303 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 303 Missing comment for param "$c1" at position 1
warning 304 Line exceeds 85 characters; contains 99 characters
error 307 Space before opening parenthesis of function call prohibited
warning 309 Inline control structures are discouraged
error 312 No space found after comma in function call
error 312 No space found after comma in function call
warning 312 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 313 Inline control structures are discouraged
warning 314 Line exceeds 85 characters; contains 96 characters
error 315 No space found after comma in function call
error 316 No space found after comma in function call
error 325 Last parameter comment requires a blank newline after it
error 325 Parameters must appear immediately after the comment
error 325 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 325 Missing comment for param "$c1" at position 1
warning 326 Line exceeds 85 characters; contains 99 characters
error 329 Space before opening parenthesis of function call prohibited
warning 331 Inline control structures are discouraged
error 342 Last parameter comment requires a blank newline after it
error 342 Parameters must appear immediately after the comment
error 342 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 342 Missing comment for param "$c1" at position 1
warning 343 Line exceeds 85 characters; contains 99 characters
error 346 Space before opening parenthesis of function call prohibited
warning 348 Inline control structures are discouraged
error 359 Last parameter comment requires a blank newline after it
error 359 Parameters must appear immediately after the comment
error 359 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 359 Missing comment for param "$c1" at position 1
warning 360 Line exceeds 85 characters; contains 99 characters
error 363 Space before opening parenthesis of function call prohibited
error 380 Last parameter comment requires a blank newline after it
error 380 Parameters must appear immediately after the comment
error 380 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 380 Missing comment for param "$c1" at position 1
warning 381 Line exceeds 85 characters; contains 99 characters
error 384 Space before opening parenthesis of function call prohibited
warning 386 Inline control structures are discouraged
error 389 No space found after comma in function call
error 404 Last parameter comment requires a blank newline after it
error 404 Parameters must appear immediately after the comment
error 404 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 404 Missing comment for param "$c1" at position 1
warning 405 Line exceeds 85 characters; contains 99 characters
error 408 Space before opening parenthesis of function call prohibited
warning 410 Inline control structures are discouraged
warning 418 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 419 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 420 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 421 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 422 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 428 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 431 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 432 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 448 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 458 Last parameter comment requires a blank newline after it
error 458 Parameters must appear immediately after the comment
error 458 Missing comment for param "$r" at position 1
error 481 Last parameter comment requires a blank newline after it
error 481 Parameters must appear immediately after the comment
error 481 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 481 Missing comment for param "$c1" at position 1
warning 482 Line exceeds 85 characters; contains 99 characters
error 485 Space before opening parenthesis of function call prohibited
warning 487 Inline control structures are discouraged
error 490 No space found after comma in function call
error 503 Last parameter comment requires a blank newline after it
error 503 Parameters must appear immediately after the comment
error 503 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 503 Missing comment for param "$c1" at position 1
warning 504 Line exceeds 85 characters; contains 99 characters
error 507 Space before opening parenthesis of function call prohibited
warning 509 Inline control structures are discouraged
warning 511 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 512 No space found after comma in function call
warning 512 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 515 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 528 Last parameter comment requires a blank newline after it
error 528 Parameters must appear immediately after the comment
error 528 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 528 Missing comment for param "$c1" at position 1
warning 529 Line exceeds 85 characters; contains 99 characters
error 532 Space before opening parenthesis of function call prohibited
warning 534 Inline control structures are discouraged
error 549 Last parameter comment requires a blank newline after it
error 549 Parameters must appear immediately after the comment
error 549 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 549 Missing comment for param "$c1" at position 1
warning 550 Line exceeds 85 characters; contains 99 characters
error 553 Space before opening parenthesis of function call prohibited
warning 555 Inline control structures are discouraged
error 570 Last parameter comment requires a blank newline after it
error 570 Parameters must appear immediately after the comment
error 570 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 570 Missing comment for param "$c1" at position 1
warning 571 Line exceeds 85 characters; contains 99 characters
error 574 Space before opening parenthesis of function call prohibited
warning 576 Inline control structures are discouraged
error 593 Last parameter comment requires a blank newline after it
error 593 Parameters must appear immediately after the comment
error 593 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 593 Missing comment for param "$c1" at position 1
warning 594 Line exceeds 85 characters; contains 99 characters
error 597 Space before opening parenthesis of function call prohibited
error 612 Last parameter comment requires a blank newline after it
error 612 Parameters must appear immediately after the comment
error 612 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 612 Missing comment for param "$c1" at position 1
warning 613 Line exceeds 85 characters; contains 99 characters
error 616 Space before opening parenthesis of function call prohibited
error 631 Last parameter comment requires a blank newline after it
error 631 Parameters must appear immediately after the comment
error 631 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 631 Missing comment for param "$c1" at position 1
warning 632 Line exceeds 85 characters; contains 99 characters
error 635 Space before opening parenthesis of function call prohibited
error 651 Last parameter comment requires a blank newline after it
error 651 Parameters must appear immediately after the comment
error 651 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 651 Missing comment for param "$c1" at position 1
warning 652 Line exceeds 85 characters; contains 99 characters
error 655 Space before opening parenthesis of function call prohibited
error 670 Last parameter comment requires a blank newline after it
error 670 Parameters must appear immediately after the comment
error 670 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 670 Missing comment for param "$c1" at position 1
warning 671 Line exceeds 85 characters; contains 99 characters
error 674 Space before opening parenthesis of function call prohibited
error 689 Last parameter comment requires a blank newline after it
error 689 Parameters must appear immediately after the comment
error 689 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 689 Missing comment for param "$c1" at position 1
warning 690 Line exceeds 85 characters; contains 99 characters
error 693 Space before opening parenthesis of function call prohibited
error 710 Last parameter comment requires a blank newline after it
error 710 Parameters must appear immediately after the comment
error 710 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 710 Missing comment for param "$c1" at position 1
warning 711 Line exceeds 85 characters; contains 99 characters
error 714 Space before opening parenthesis of function call prohibited
error 733 Last parameter comment requires a blank newline after it
error 733 Parameters must appear immediately after the comment
error 733 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 733 Missing comment for param "$c1" at position 1
warning 734 Line exceeds 85 characters; contains 99 characters
error 737 Space before opening parenthesis of function call prohibited
error 755 Last parameter comment requires a blank newline after it
error 755 Parameters must appear immediately after the comment
error 755 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 755 Missing comment for param "$c1" at position 1
warning 756 Line exceeds 85 characters; contains 99 characters
error 759 Space before opening parenthesis of function call prohibited
warning 769 Line exceeds 85 characters; contains 86 characters
error 783 Last parameter comment requires a blank newline after it
error 783 Parameters must appear immediately after the comment
error 783 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 783 Missing comment for param "$c1" at position 1
warning 784 Line exceeds 85 characters; contains 99 characters
error 787 Space before opening parenthesis of function call prohibited
error 801 Last parameter comment requires a blank newline after it
error 801 Parameters must appear immediately after the comment
error 801 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 801 Missing comment for param "$c1" at position 1
warning 802 Line exceeds 85 characters; contains 99 characters
error 805 Space before opening parenthesis of function call prohibited
error 819 Last parameter comment requires a blank newline after it
error 819 Parameters must appear immediately after the comment
error 819 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 819 Missing comment for param "$c1" at position 1
warning 820 Line exceeds 85 characters; contains 99 characters
error 823 Space before opening parenthesis of function call prohibited
error 839 Parameters must appear immediately after the comment
error 839 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 839 Missing comment for param "$c1" at position 1
error 840 Last parameter comment requires a blank newline after it
error 840 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 840 Missing comment for param "$c2" at position 2
warning 841 Line exceeds 85 characters; contains 101 characters
error 844 Space before opening parenthesis of function call prohibited
warning 848 Line exceeds 85 characters; contains 89 characters
warning 850 Line exceeds 85 characters; contains 87 characters
warning 851 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 852 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 862 Parameters must appear immediately after the comment
error 862 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 862 Missing comment for param "$c1" at position 1
error 863 Last parameter comment requires a blank newline after it
error 863 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 863 Missing comment for param "$c2" at position 2
warning 864 Line exceeds 85 characters; contains 99 characters
error 867 Space before opening parenthesis of function call prohibited
warning 871 Line exceeds 85 characters; contains 89 characters
warning 873 Line exceeds 85 characters; contains 99 characters
error 882 Parameters must appear immediately after the comment
error 882 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 882 Missing comment for param "$c1" at position 1
error 883 Last parameter comment requires a blank newline after it
error 883 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 883 Missing comment for param "$c2" at position 2
warning 884 Line exceeds 85 characters; contains 99 characters
error 887 Space before opening parenthesis of function call prohibited
error 902 Parameters must appear immediately after the comment
error 902 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 902 Missing comment for param "$c1" at position 1
error 903 Last parameter comment requires a blank newline after it
error 903 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 903 Missing comment for param "$c2" at position 2
warning 904 Line exceeds 85 characters; contains 99 characters
error 907 Space before opening parenthesis of function call prohibited
warning 911 Line exceeds 85 characters; contains 89 characters
error 924 Parameters must appear immediately after the comment
error 924 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 924 Missing comment for param "$c1" at position 1
error 925 Last parameter comment requires a blank newline after it
error 925 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 925 Missing comment for param "$c2" at position 2
warning 926 Line exceeds 85 characters; contains 99 characters
error 929 Space before opening parenthesis of function call prohibited
warning 933 Line exceeds 85 characters; contains 89 characters
warning 936 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
warning 937 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
error 953 Parameters must appear immediately after the comment
error 953 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 953 Missing comment for param "$c1" at position 1
error 954 Last parameter comment requires a blank newline after it
error 954 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 954 Missing comment for param "$c2" at position 2
warning 955 Line exceeds 85 characters; contains 99 characters
error 958 Space before opening parenthesis of function call prohibited
warning 962 Line exceeds 85 characters; contains 89 characters
warning 965 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 970 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 972 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 973 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 974 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 975 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 986 Parameters must appear immediately after the comment
error 986 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 986 Missing comment for param "$c1" at position 1
error 987 Last parameter comment requires a blank newline after it
error 987 Doc comment var "$c2" does not match actual variable name "&$c2" at position 2
error 987 Missing comment for param "$c2" at position 2
warning 988 Line exceeds 85 characters; contains 99 characters
error 991 Space before opening parenthesis of function call prohibited
warning 995 Line exceeds 85 characters; contains 89 characters
warning 997 Line exceeds 85 characters; contains 91 characters
error 1008 Parameters must appear immediately after the comment
error 1008 Doc comment var "$c1" does not match actual variable name "&$c1" at position 1
error 1008 Missing comment for param "$c1" at position 1
error 1009 Last parameter comment requires a blank newline after it
error 1009 The variable names for parameters $c1 (1) and $real (2) do not align
error 1009 The comments for parameters $c1 (1) and $real (2) do not align
error 1009 Missing comment for param "$real" at position 2
warning 1010 Line exceeds 85 characters; contains 99 characters
error 1013 Space before opening parenthesis of function call prohibited
warning 1016 Line exceeds 85 characters; contains 89 characters
error 1032 Parameters must appear immediately after the comment
error 1032 Missing comment for param "$c1" at position 1
error 1033 Last parameter comment requires a blank newline after it
error 1033 The variable names for parameters $c1 (1) and $im (2) do not align
error 1033 Missing comment for param "$im" at position 2
warning 1034 Line exceeds 85 characters; contains 99 characters
error 1037 Space before opening parenthesis of function call prohibited
warning 1040 Line exceeds 85 characters; contains 89 characters
warning 1042 Line exceeds 85 characters; contains 94 characters
error 1055 Parameters must appear immediately after the comment
error 1055 Missing comment for param "$c1" at position 1
error 1056 Last parameter comment requires a blank newline after it
error 1056 The variable names for parameters $c1 (1) and $real (2) do not align
error 1056 The comments for parameters $c1 (1) and $real (2) do not align
error 1056 Missing comment for param "$real" at position 2
warning 1057 Line exceeds 85 characters; contains 99 characters
error 1060 Space before opening parenthesis of function call prohibited
warning 1063 Line exceeds 85 characters; contains 89 characters
warning 1071 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1073 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 1074 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1075 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 1076 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Sum 261 errors and 115 warnings