Coding Standards Report for XML_Indexing

Type Line Message
Package 247 errors and 60 warnings
/data/pear/pear/XML_Indexing/Indexing/Builder/Attribute.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 The @copyright tag is in the wrong order; the tag follows @author
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
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 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 30 The @copyright tag is in the wrong order; the tag follows @author
error 30 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 31 @author tag comment indented incorrectly. Expected 4 spaces but found 2.
error 32 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 33 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 34 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 35 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 36 Missing @category tag in class comment
error 36 Missing @package tag in class comment
error 50 The comments for parameters $filename (1) and $xroot (2) do not align
error 51 Last parameter comment requires a blank newline after it
error 51 The comments for parameters $xroot (2) and $attr (3) do not align
error 57 Space before opening parenthesis of function call prohibited
error 65 Last parameter comment requires a blank newline after it
error 65 The variable names for parameters $length (2) and $attribs (3) do not align
error 65 The comments for parameters $length (2) and $attribs (3) do not align
warning 73 Equals sign not aligned correctly; expected 1 space but found -46 spaces
Sum 25 errors and 1 warnings
/data/pear/pear/XML_Indexing/Indexing/Builder/Numeric.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 The @copyright tag is in the wrong order; the tag follows @author
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
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 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 29 The @copyright tag is in the wrong order; the tag follows @author
error 29 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 30 @author tag comment indented incorrectly. Expected 4 spaces but found 2.
error 31 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 32 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 33 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 34 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 35 Missing @category tag in class comment
error 35 Missing @package tag in class comment
error 50 Last parameter comment requires a blank newline after it
error 50 The comments for parameters $filename (1) and $xroot (2) do not align
error 55 Space before opening parenthesis of function call prohibited
error 63 Last parameter comment requires a blank newline after it
error 63 The variable names for parameters $length (2) and $attribs (3) do not align
error 63 The comments for parameters $length (2) and $attribs (3) do not align
Sum 24 errors and 0 warnings
/data/pear/pear/XML_Indexing/Indexing/Builder.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 The @copyright tag is in the wrong order; the tag follows @author
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
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 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 27 The @copyright tag is in the wrong order; the tag follows @author
error 27 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 28 @author tag comment indented incorrectly. Expected 4 spaces but found 2.
error 29 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 30 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 31 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 32 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 33 Missing @category tag in class comment
error 33 Missing @package tag in class comment
error 133 Doc comment var "$xml" does not match actual variable name "$xmlSource" at position 1
error 137 Last parameter comment requires a blank newline after it
error 137 The comments for parameters $xml (1) and $xroot (2) do not align
warning 142 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 144 Space before opening parenthesis of function call prohibited
error 144 No space found after comma in function call
warning 144 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
error 146 Space before opening parenthesis of function call prohibited
warning 146 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 147 Space before opening parenthesis of function call prohibited
error 162 No space found after comma in function call
error 162 No space found after comma in function call
error 172 Space before opening parenthesis of function call prohibited
error 173 Space before opening parenthesis of function call prohibited
error 180 Space before opening parenthesis of function call prohibited
warning 180 Line exceeds 85 characters; contains 115 characters
error 182 No space found after comma in function call
error 182 No space found after comma in function call
error 186 Space before opening parenthesis of function call prohibited
warning 187 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 189 Space before opening parenthesis of function call prohibited
warning 189 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 193 Space before opening parenthesis of function call prohibited
error 200 Space before opening parenthesis of function call prohibited
error 204 Line indented incorrectly; expected 12 spaces, found 11
error 204 Space before opening parenthesis of function call prohibited
error 204 No space found after comma in function call
error 206 Space before opening parenthesis of function call prohibited
error 206 No space found after comma in function call
error 207 Space before opening parenthesis of function call prohibited
error 208 Space before opening parenthesis of function call prohibited
error 212 Space before opening parenthesis of function call prohibited
error 216 Space before opening parenthesis of function call prohibited
error 217 Closing brace indented incorrectly; expected 11 spaces, found 12
error 249 File is being conditionally included; use "include_once" instead
error 250 No space found after comma in function call
warning 250 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 251 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 252 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 270 Space before opening parenthesis of function call prohibited
error 277 Doc comment for "$parser" missing
error 277 Doc comment for "$name" missing
error 277 Doc comment for "$attribs" missing
error 281 Missing @return tag in function comment
error 284 Line indented incorrectly; expected 8 spaces, found 7
warning 285 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 287 Space before opening parenthesis of function call prohibited
error 289 Closing brace indented incorrectly; expected 7 spaces, found 8
warning 295 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 296 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
error 301 Space before opening parenthesis of function call prohibited
error 302 No space found after comma in function call
warning 302 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 308 Doc comment for "$parser" missing
error 308 Doc comment for "$name" missing
error 312 Missing @return tag in function comment
error 315 Line indented incorrectly; expected 8 spaces, found 7
warning 316 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 318 Space before opening parenthesis of function call prohibited
error 320 Closing brace indented incorrectly; expected 7 spaces, found 8
error 324 Space before opening parenthesis of function call prohibited
error 330 Doc comment for "$parser" missing
error 330 Doc comment for "$prefix" missing
error 330 Doc comment for "$uri" missing
error 337 Missing @return tag in function comment
error 344 Doc comment for "$parser" missing
error 344 Doc comment for "$data" missing
error 348 Missing @return tag in function comment
error 351 Line indented incorrectly; expected 8 spaces, found 7
warning 352 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 354 Space before opening parenthesis of function call prohibited
error 356 Closing brace indented incorrectly; expected 7 spaces, found 8
error 366 Last parameter comment requires a blank newline after it
error 366 The variable names for parameters $length (2) and $attribs (3) do not align
error 366 The comments for parameters $length (2) and $attribs (3) do not align
error 406 Space before opening parenthesis of function call prohibited
warning 408 Inline control structures are discouraged
Sum 79 errors and 16 warnings
/data/pear/pear/XML_Indexing/Indexing/Reader.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 The @copyright tag is in the wrong order; the tag follows @author
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
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 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 90 The @copyright tag is in the wrong order; the tag follows @author
error 90 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 91 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 92 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 93 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 94 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 95 @since tag comment indented incorrectly. Expected 5 spaces but found 6.
error 96 Missing @category tag in class comment
error 96 Missing @package tag in class comment
error 97 Opening brace of a class must be on the line after the definition
error 239 Last parameter comment requires a blank newline after it
error 244 Space before opening parenthesis of function call prohibited
warning 244 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 245 No space found after comma in function call
error 245 No space found after comma in function call
error 247 File is being conditionally included; use "include_once" instead
warning 254 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
error 259 Space before opening parenthesis of function call prohibited
warning 259 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 260 Space before opening parenthesis of function call prohibited
warning 260 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 264 Space before opening parenthesis of function call prohibited
error 283 Space before opening parenthesis of function call prohibited
warning 283 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 284 Space before opening parenthesis of function call prohibited
error 285 Space before opening parenthesis of function call prohibited
warning 285 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 288 Line indented incorrectly; expected 8 spaces, found 12
warning 289 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 291 Line indented incorrectly; expected 12 spaces, found 16
error 291 Space before opening parenthesis of function call prohibited
error 291 No space found after comma in function call
error 296 Line indented incorrectly; expected 16 spaces, found 20
error 297 Space before opening parenthesis of function call prohibited
error 299 Space before opening parenthesis of function call prohibited
error 304 Line indented incorrectly; expected 12 spaces, found 16
error 305 Line indented incorrectly; expected 16 spaces, found 20
error 307 Line indented incorrectly; expected 16 spaces, found 20
error 331 Space before opening parenthesis of function call prohibited
warning 331 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 332 Space before opening parenthesis of function call prohibited
error 333 Space before opening parenthesis of function call prohibited
warning 333 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 336 Line indented incorrectly; expected 8 spaces, found 12
error 337 Line indented incorrectly; expected 12 spaces, found 16
error 338 Space before opening parenthesis of function call prohibited
error 340 Line indented incorrectly; expected 12 spaces, found 16
error 343 Space before opening parenthesis of function call prohibited
error 344 Space before opening parenthesis of function call prohibited
error 353 There must be exactly one blank line before the tags in function comment
error 360 Space before opening parenthesis of function call prohibited
warning 360 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 361 Space before opening parenthesis of function call prohibited
error 362 Space before opening parenthesis of function call prohibited
warning 362 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 365 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
error 366 Space before opening parenthesis of function call prohibited
error 366 No space found after comma in function call
error 367 Space before opening parenthesis of function call prohibited
error 378 Last parameter comment requires a blank newline after it
error 388 Line indented incorrectly; expected 8 spaces, found 12
error 389 File is being conditionally included; use "include_once" instead
warning 390 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
error 394 Line indented incorrectly; expected 8 spaces, found 12
error 395 File is being conditionally included; use "include_once" instead
warning 396 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
error 400 Line indented incorrectly; expected 8 spaces, found 12
error 401 File is being conditionally included; use "include_once" instead
error 402 No space found after comma in function call
error 403 Closing brace indented incorrectly; expected 12 spaces, found 8
error 414 Last parameter comment requires a blank newline after it
warning 422 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 424 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 425 No space found after comma in function call
error 433 Space before opening parenthesis of function call prohibited
error 433 No space found after comma in function call
error 440 No space found after comma in function call
error 450 Space before opening parenthesis of function call prohibited
error 450 No space found after comma in function call
error 460 Space found before comma in function call
error 460 No space found after comma in function call
warning 461 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 464 Space before opening parenthesis of function call prohibited
error 471 Space found before comma in function call
error 471 No space found after comma in function call
error 474 Space before opening parenthesis of function call prohibited
error 494 Space before opening parenthesis of function call prohibited
error 502 Last parameter comment requires a blank newline after it
warning 510 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 511 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 515 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 521 Space before opening parenthesis of function call prohibited
error 523 File is being conditionally included; use "include_once" instead
error 524 No space found after comma in function call
error 526 Space before opening parenthesis of function call prohibited
error 528 Space before opening parenthesis of function call prohibited
error 554 Space before opening parenthesis of function call prohibited
error 564 There must be exactly one blank line before the tags in function comment
warning 570 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 575 Space before opening parenthesis of function call prohibited
warning 593 Line exceeds 85 characters; contains 86 characters
error 594 Last parameter comment requires a blank newline after it
error 604 Space before opening parenthesis of function call prohibited
warning 604 Line exceeds 85 characters; contains 89 characters
warning 605 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 606 Space before opening parenthesis of function call prohibited
warning 610 Inline control structures are discouraged
error 613 No space found after comma in function call
error 613 No space found after comma in function call
error 623 Space before opening parenthesis of function call prohibited
error 624 Space before opening parenthesis of function call prohibited
warning 635 Line exceeds 85 characters; contains 86 characters
error 636 Last parameter comment requires a blank newline after it
warning 647 Line exceeds 85 characters; contains 88 characters
warning 648 Line exceeds 85 characters; contains 86 characters
warning 652 Inline control structures are discouraged
error 659 Space before opening parenthesis of function call prohibited
warning 661 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 662 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 667 No space found after comma in function call
warning 673 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 679 Space before opening parenthesis of function call prohibited
warning 679 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 680 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 700 Last parameter comment requires a blank newline after it
error 709 "include_once" is a statement, not a function; no parentheses are required
warning 710 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 713 Space before opening parenthesis of function call prohibited
warning 713 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 714 Space before opening parenthesis of function call prohibited
warning 715 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 716 Space before opening parenthesis of function call prohibited
warning 732 Inline control structures are discouraged
warning 733 Inline control structures are discouraged
warning 745 Line exceeds 85 characters; contains 86 characters
error 750 File is being conditionally included; use "include_once" instead
error 752 Space before opening parenthesis of function call prohibited
warning 752 Line exceeds 85 characters; contains 91 characters
error 756 No space found after comma in function call
error 756 No space found after comma in function call
error 756 No space found after comma in function call
error 756 No space found after comma in function call
warning 756 Line exceeds 85 characters; contains 100 characters
error 757 No space found after comma in function call
error 757 No space found after comma in function call
error 757 No space found after comma in function call
error 757 No space found after comma in function call
warning 757 Line exceeds 85 characters; contains 94 characters
error 758 No space found after comma in function call
error 758 No space found after comma in function call
error 758 No space found after comma in function call
error 766 Last parameter comment requires a blank newline after it
error 780 Last parameter comment requires a blank newline after it
Sum 119 errors and 43 warnings