Coding Standards Report for DB_DOM

Type Line Message
Package 497 errors and 83 warnings
/data/pear/pear/DB_DOM/DOM/AttributeNode.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 26 Missing @category tag in class comment
error 26 Missing @author tag in class comment
error 26 Missing @license tag in class comment
error 26 Missing @link tag in class comment
error 30 There must be exactly one blank line before the tags in function comment
error 32 Doc comment var "DB_DOM_Settings" does not match actual variable name "&$domSettings" at position 1
error 32 Missing comment for param "DB_DOM_Settings" at position 1
error 33 The variable names for parameters DB_DOM_Settings (1) and string (2) do not align
error 33 The comments for parameters DB_DOM_Settings (1) and string (2) do not align
error 33 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 33 Missing comment for param "string" at position 2
error 34 The variable names for parameters string (2) and string (3) do not align
error 34 The comments for parameters string (2) and string (3) do not align
error 34 Doc comment var "string" does not match actual variable name "$nodeValue" at position 3
warning 35 Line exceeds 85 characters; contains 95 characters
error 35 The variable names for parameters string (3) and int (4) do not align
error 35 The comments for parameters string (3) and int (4) do not align
error 35 Doc comment var "int" does not match actual variable name "$parentNode" at position 4
error 36 The variable names for parameters int (4) and int (5) do not align
error 36 The comments for parameters int (4) and int (5) do not align
error 36 Doc comment var "int" does not match actual variable name "$ownerDocument" at position 5
error 36 Expected 1 space after the longest variable name
error 37 The variable names for parameters int (5) and int (6) do not align
error 37 The comments for parameters int (5) and int (6) do not align
error 37 Doc comment var "int" does not match actual variable name "$rowPos" at position 6
error 38 Last parameter comment requires a blank newline after it
error 38 Doc comment var "int" does not match actual variable name "$ID" at position 7
warning 42 Line exceeds 85 characters; contains 119 characters
error 46 Expected 1 space before = sign of default value
error 46 Expected 1 space after = sign of default value
error 46 Expected 1 space before = sign of default value
error 46 Expected 1 space after = sign of default value
warning 46 Line exceeds 85 characters; contains 113 characters
warning 46 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 46 Equals sign not aligned correctly; expected 1 space but found 0 spaces
Sum 34 errors and 5 warnings
/data/pear/pear/DB_DOM/DOM/CommentNode.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 26 Missing @category tag in class comment
error 26 Missing @author tag in class comment
error 26 Missing @license tag in class comment
error 26 Missing @link tag in class comment
error 30 There must be exactly one blank line before the tags in function comment
error 32 Doc comment var "DB_DOM_Settings" does not match actual variable name "&$domSettings" at position 1
error 32 Missing comment for param "DB_DOM_Settings" at position 1
error 33 The variable names for parameters DB_DOM_Settings (1) and string (2) do not align
error 33 The comments for parameters DB_DOM_Settings (1) and string (2) do not align
error 33 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 33 Missing comment for param "string" at position 2
error 34 The variable names for parameters string (2) and string (3) do not align
error 34 The comments for parameters string (2) and string (3) do not align
error 34 Doc comment var "string" does not match actual variable name "$nodeValue" at position 3
warning 35 Line exceeds 85 characters; contains 95 characters
error 35 The variable names for parameters string (3) and int (4) do not align
error 35 The comments for parameters string (3) and int (4) do not align
error 35 Doc comment var "int" does not match actual variable name "$parentNode" at position 4
error 36 The variable names for parameters int (4) and int (5) do not align
error 36 The comments for parameters int (4) and int (5) do not align
error 36 Doc comment var "int" does not match actual variable name "$ownerDocument" at position 5
error 36 Expected 1 space after the longest variable name
error 37 The variable names for parameters int (5) and int (6) do not align
error 37 The comments for parameters int (5) and int (6) do not align
error 37 Doc comment var "int" does not match actual variable name "$rowPos" at position 6
error 38 Last parameter comment requires a blank newline after it
error 38 Doc comment var "int" does not match actual variable name "$ID" at position 7
warning 42 Line exceeds 85 characters; contains 117 characters
error 46 Expected 1 space before = sign of default value
error 46 Expected 1 space after = sign of default value
error 46 Expected 1 space before = sign of default value
error 46 Expected 1 space after = sign of default value
warning 46 Line exceeds 85 characters; contains 113 characters
warning 46 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 46 Equals sign not aligned correctly; expected 1 space but found 0 spaces
Sum 34 errors and 5 warnings
/data/pear/pear/DB_DOM/DOM/ElementNode.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 Package name "DB_DOM The DB_DOM_ElementNode class is the central point of the DB_DOM class system. It provides all methods to work with database-serialized hierachical organized data. The API concept is similar to DOM-XML programming. If you are familar with DOM, use of this class should be transparent for you. A table where a DB_DOM_ElementNode structure can be placed should look like this: CREATE TABLE docgen_dom ( ID int(10) unsigned NOT NULL auto_increment, ownerDocument int(10) unsigned NOT NULL default '0', parentNode int(10) unsigned NOT NULL default '0', nodeType varchar(255) default NULL, nodeName varchar(255) NOT NULL default '', rowPos tinyint(2) NOT NULL default '0', nodeValue text, PRIMARY KEY (ID) ) TYPE=MyISAM;" is not valid; Consider "DB_DOM The DB_DOM_ElementNode class is the central point of the DB_DOM class system. It provides all methods to work with database-serialized hierachical organized data. The API concept is similar to DOM-XML programming. If you are familar with DOM, use of this class should be transparent for you. A table where a DB_DOM_ElementNode structure can be placed should look like this: CREATE TABLE docgen_Dom ( ID int(10) unsigned NOT NULL auto_Increment, ownerDocument int(10) unsigned NOT NULL default '0', parentNode int(10) unsigned NOT NULL default '0', nodeType varchar(255) default NULL, nodeName varchar(255) NOT NULL default '', rowPos tinyint(2) NOT NULL default '0', nodeValue text, PRIMARY KEY (ID) ) TYPE=MyISAM;" instead.
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 42 Missing @category tag in class comment
error 42 Missing @author tag in class comment
error 42 Missing @license tag in class comment
error 42 Missing @link tag in class comment
error 46 There must be exactly one blank line before the tags in function comment
error 49 Doc comment var "DB_DOM_Settings" does not match actual variable name "&$domSettings" at position 1
error 49 Missing comment for param "DB_DOM_Settings" at position 1
error 50 The variable names for parameters DB_DOM_Settings (1) and string (2) do not align
error 50 The comments for parameters DB_DOM_Settings (1) and string (2) do not align
error 50 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 50 Missing comment for param "string" at position 2
error 51 The variable names for parameters string (2) and string (3) do not align
error 51 The comments for parameters string (2) and string (3) do not align
error 51 Doc comment var "string" does not match actual variable name "$nodeValue" at position 3
warning 52 Line exceeds 85 characters; contains 95 characters
error 52 The variable names for parameters string (3) and int (4) do not align
error 52 The comments for parameters string (3) and int (4) do not align
error 52 Doc comment var "int" does not match actual variable name "$parentNode" at position 4
error 53 The variable names for parameters int (4) and int (5) do not align
error 53 The comments for parameters int (4) and int (5) do not align
error 53 Doc comment var "int" does not match actual variable name "$ownerDocument" at position 5
error 53 Expected 1 space after the longest variable name
error 54 The variable names for parameters int (5) and int (6) do not align
error 54 The comments for parameters int (5) and int (6) do not align
error 54 Doc comment var "int" does not match actual variable name "$rowPos" at position 6
error 55 Last parameter comment requires a blank newline after it
error 55 Doc comment var "int" does not match actual variable name "$ID" at position 7
warning 59 Line exceeds 85 characters; contains 117 characters
warning 63 Line exceeds 85 characters; contains 111 characters
error 66 There must be exactly one blank line before the tags in function comment
error 68 Doc comment var "string" does not match actual variable name "$nodeName" at position 1
error 68 Missing comment for param "string" at position 1
error 69 The variable names for parameters string (1) and string (2) do not align
error 69 The comments for parameters string (1) and string (2) do not align
error 69 Doc comment var "string" does not match actual variable name "$nodeValue" at position 2
error 70 The variable names for parameters string (2) and string (3) do not align
error 70 The comments for parameters string (2) and string (3) do not align
error 70 Doc comment var "string" does not match actual variable name "$nodeType" at position 3
warning 71 Line exceeds 85 characters; contains 113 characters
error 71 Last parameter comment requires a blank newline after it
error 71 The variable names for parameters string (3) and array (4) do not align
error 71 The comments for parameters string (3) and array (4) do not align
error 71 Doc comment var "array" does not match actual variable name "$additionalArgs" at position 4
error 71 Expected 1 space after the longest variable name
error 75 Expected 1 space before = sign of default value
error 75 Expected 1 space after = sign of default value
error 75 Expected 1 space before = sign of default value
error 75 Expected 1 space after = sign of default value
warning 75 Line exceeds 85 characters; contains 105 characters
warning 77 Line exceeds 85 characters; contains 160 characters
error 79 Space after opening parenthesis of function call prohibited
error 79 Space before closing parenthesis of function call prohibited
warning 85 Line exceeds 85 characters; contains 139 characters
error 94 There must be exactly one blank line before the tags in function comment
error 96 Doc comment var "string" does not match actual variable name "$nodeName" at position 1
error 96 Missing comment for param "string" at position 1
error 97 The variable names for parameters string (1) and string (2) do not align
error 97 The comments for parameters string (1) and string (2) do not align
error 97 Doc comment var "string" does not match actual variable name "$nodeValue" at position 2
error 98 The variable names for parameters string (2) and string (3) do not align
error 98 The comments for parameters string (2) and string (3) do not align
error 98 Doc comment var "string" does not match actual variable name "$nodeType" at position 3
warning 99 Line exceeds 85 characters; contains 113 characters
error 99 Last parameter comment requires a blank newline after it
error 99 The variable names for parameters string (3) and array (4) do not align
error 99 The comments for parameters string (3) and array (4) do not align
error 99 Doc comment var "array" does not match actual variable name "$additionalArgs" at position 4
error 99 Expected 1 space after the longest variable name
error 103 Expected 1 space before = sign of default value
error 103 Expected 1 space after = sign of default value
warning 103 Line exceeds 85 characters; contains 108 characters
warning 105 Line exceeds 85 characters; contains 88 characters
error 110 There must be exactly one blank line before the tags in function comment
error 112 Doc comment var "int" does not match actual variable name "$rowPos" at position 1
error 113 The variable names for parameters int (1) and string (2) do not align
error 113 The comments for parameters int (1) and string (2) do not align
error 113 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 113 Missing comment for param "string" at position 2
error 114 The variable names for parameters string (2) and string (3) do not align
error 114 The comments for parameters string (2) and string (3) do not align
error 114 Doc comment var "string" does not match actual variable name "$nodeValue" at position 3
error 115 The variable names for parameters string (3) and string (4) do not align
error 115 The comments for parameters string (3) and string (4) do not align
error 115 Doc comment var "string" does not match actual variable name "$nodeType" at position 4
warning 116 Line exceeds 85 characters; contains 112 characters
error 116 Last parameter comment requires a blank newline after it
error 116 The variable names for parameters string (4) and array (5) do not align
error 116 The comments for parameters string (4) and array (5) do not align
error 116 Doc comment var "array" does not match actual variable name "$additionalArgs" at position 5
error 116 Expected 1 space after the longest variable name
error 120 Expected 1 space before = sign of default value
error 120 Expected 1 space after = sign of default value
warning 120 Line exceeds 85 characters; contains 116 characters
warning 127 Line exceeds 85 characters; contains 137 characters
error 135 There must be exactly one blank line before the tags in function comment
error 137 Doc comment var "DB_DOM_Node" does not match actual variable name "$node1" at position 1
error 137 Expected 1 space after the longest variable name
error 138 Last parameter comment requires a blank newline after it
error 138 Doc comment var "DB_DOM_Node" does not match actual variable name "$node2" at position 2
error 142 No space found after comma in function call
error 146 No space found after comma in function call
error 147 No space found after comma in function call
error 152 There must be exactly one blank line before the tags in function comment
warning 161 Line exceeds 85 characters; contains 195 characters
error 163 Space after opening parenthesis of function call prohibited
error 163 Space before closing parenthesis of function call prohibited
warning 166 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 167 Line exceeds 85 characters; contains 196 characters
error 176 There must be exactly one blank line before the tags in function comment
warning 186 Line exceeds 85 characters; contains 145 characters
error 188 Space after opening parenthesis of function call prohibited
error 188 Space before closing parenthesis of function call prohibited
warning 192 Line exceeds 85 characters; contains 193 characters
error 198 There must be exactly one blank line before the tags in function comment
warning 206 Line exceeds 85 characters; contains 141 characters
error 208 Space after opening parenthesis of function call prohibited
error 208 Space before closing parenthesis of function call prohibited
warning 212 Line exceeds 85 characters; contains 189 characters
error 217 There must be exactly one blank line before the tags in function comment
warning 226 Line exceeds 85 characters; contains 140 characters
error 228 Space after opening parenthesis of function call prohibited
error 228 Space before closing parenthesis of function call prohibited
warning 231 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 232 Line exceeds 85 characters; contains 196 characters
error 237 There must be exactly one blank line before the tags in function comment
warning 244 Line exceeds 85 characters; contains 155 characters
error 246 Space after opening parenthesis of function call prohibited
error 246 Space before closing parenthesis of function call prohibited
warning 250 Line exceeds 85 characters; contains 189 characters
error 254 There must be exactly one blank line before the tags in function comment
warning 261 Line exceeds 85 characters; contains 169 characters
error 263 Space after opening parenthesis of function call prohibited
error 263 Space before closing parenthesis of function call prohibited
warning 267 Line exceeds 85 characters; contains 189 characters
error 271 There must be exactly one blank line before the tags in function comment
error 273 Last parameter comment requires a blank newline after it
error 273 Doc comment var "int" does not match actual variable name "$rowPos" at position 1
error 273 Expected 1 space after the longest variable name
warning 279 Line exceeds 85 characters; contains 162 characters
error 281 Space after opening parenthesis of function call prohibited
error 281 Space before closing parenthesis of function call prohibited
warning 285 Line exceeds 85 characters; contains 189 characters
error 288 Doc comment for "$domSettings" missing
error 288 Doc comment for "$ID" missing
error 291 There must be exactly one blank line before the tags in function comment
error 296 Expected 1 space before = sign of default value
error 296 Expected 1 space after = sign of default value
error 296 Expected 1 space before = sign of default value
error 296 Expected 1 space after = sign of default value
warning 301 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 310 There must be exactly one blank line before the tags in function comment
warning 320 Line exceeds 85 characters; contains 148 characters
error 322 Space after opening parenthesis of function call prohibited
error 322 Space before closing parenthesis of function call prohibited
warning 325 Line exceeds 85 characters; contains 209 characters
error 334 There must be exactly one blank line before the tags in function comment
error 336 Doc comment var "string" does not match actual variable name "$name" at position 1
error 337 Last parameter comment requires a blank newline after it
error 337 The variable names for parameters string (1) and string (2) do not align
error 337 The comments for parameters string (1) and string (2) do not align
error 337 Doc comment var "string" does not match actual variable name "$value" at position 2
error 337 Expected 1 space after the longest variable name
warning 344 Line exceeds 85 characters; contains 86 characters
error 346 Space after opening parenthesis of function call prohibited
error 346 Space before closing parenthesis of function call prohibited
error 354 There must be exactly one blank line before the tags in function comment
error 356 Last parameter comment requires a blank newline after it
error 356 Doc comment var "string" does not match actual variable name "$name" at position 1
error 356 Expected 1 space after the longest variable name
warning 371 Line exceeds 85 characters; contains 107 characters
error 371 There must be exactly one blank line before the tags in function comment
error 373 Last parameter comment requires a blank newline after it
error 373 Doc comment var "int" does not match actual variable name "$pos" at position 1
error 373 Expected 1 space after the longest variable name
error 388 No space found after comma in function call
error 390 No space found after comma in function call
error 396 There must be exactly one blank line before the tags in function comment
error 398 Doc comment var "string" does not match actual variable name "$name" at position 1
error 399 Last parameter comment requires a blank newline after it
error 399 The variable names for parameters string (1) and string (2) do not align
error 399 The comments for parameters string (1) and string (2) do not align
error 399 Doc comment var "string" does not match actual variable name "$value" at position 2
error 399 Expected 1 space after the longest variable name
error 417 No space found after comma in function call
error 417 No space found after comma in function call
error 417 No space found after comma in function call
error 417 No space found after comma in function call
warning 417 Line exceeds 85 characters; contains 122 characters
error 427 There must be exactly one blank line before the tags in function comment
error 429 Last parameter comment requires a blank newline after it
error 429 Doc comment var "string" does not match actual variable name "$name" at position 1
error 429 Expected 1 space after the longest variable name
error 448 Doc comment for "$domSettings" missing
error 448 Doc comment for "$ID" missing
error 450 There must be exactly one blank line before the tags in function comment
warning 459 Line exceeds 85 characters; contains 157 characters
warning 459 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 461 No space found after comma in function call
warning 466 Line exceeds 85 characters; contains 205 characters
error 468 Space after opening parenthesis of function call prohibited
error 468 Space before closing parenthesis of function call prohibited
error 485 Doc comment for "$id" missing
error 485 Doc comment for "$db" missing
error 486 There must be exactly one blank line before the tags in function comment
error 499 Space after opening parenthesis of function call prohibited
error 499 Space before closing parenthesis of function call prohibited
error 501 Expected "} else {\n"; found "}\n else\n {\n"
error 507 No space found after comma in function call
error 523 Space after opening parenthesis of function call prohibited
error 523 Space before closing parenthesis of function call prohibited
error 529 You must use "/**" style comments for a function comment
error 531 Line indented incorrectly; expected at least 8 spaces, found 5
error 531 Spaces must be used to indent lines; tabs are not allowed
warning 531 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 535 Line indented incorrectly; expected at least 12 spaces, found 11
warning 535 Line exceeds 85 characters; contains 110 characters
error 539 Expected "if (...) {\n"; found "if(...)\n {\n"
error 539 Space before opening parenthesis of function call prohibited
error 541 Line indented incorrectly; expected at least 12 spaces, found 9
error 541 Spaces must be used to indent lines; tabs are not allowed
error 542 Spaces must be used to indent lines; tabs are not allowed
error 543 Line indented incorrectly; expected at least 12 spaces, found 9
error 543 Spaces must be used to indent lines; tabs are not allowed
error 545 Line indented incorrectly; expected at least 12 spaces, found 9
error 545 Spaces must be used to indent lines; tabs are not allowed
error 547 Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
error 549 Line indented incorrectly; expected at least 12 spaces, found 9
error 549 Spaces must be used to indent lines; tabs are not allowed
error 558 Line indented incorrectly; expected at least 4 spaces, found 1
error 559 Doc comment var "string" does not match actual variable name "$domSettings" at position 1
error 559 Expected 1 space after the longest variable name
error 560 Line indented incorrectly; expected at least 4 spaces, found 1
error 560 Last parameter comment requires a blank newline after it
error 560 The variable names for parameters string (1) and bool (2) do not align
error 560 The comments for parameters string (1) and bool (2) do not align
error 560 Doc comment var "bool" does not match actual variable name "$file" at position 2
error 560 Doc comment for "$skip_whitespace" missing
error 562 Missing @return tag in function comment
error 563 Spaces must be used to indent lines; tabs are not allowed
error 563 Line indented incorrectly; expected 4 spaces, found 1
error 564 Spaces must be used to indent lines; tabs are not allowed
error 565 Line indented incorrectly; expected at least 8 spaces, found 2
error 565 Spaces must be used to indent lines; tabs are not allowed
error 566 Line indented incorrectly; expected at least 8 spaces, found 2
error 566 Spaces must be used to indent lines; tabs are not allowed
error 567 Line indented incorrectly; expected at least 8 spaces, found 2
error 567 Spaces must be used to indent lines; tabs are not allowed
error 568 Line indented incorrectly; expected at least 8 spaces, found 2
error 568 Spaces must be used to indent lines; tabs are not allowed
error 569 Line indented incorrectly; expected at least 8 spaces, found 2
error 569 Spaces must be used to indent lines; tabs are not allowed
error 570 Spaces must be used to indent lines; tabs are not allowed
Sum 217 errors and 40 warnings
/data/pear/pear/DB_DOM/DOM/Node.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 28 Missing @category tag in class comment
error 28 Missing @author tag in class comment
error 28 Missing @license tag in class comment
error 28 Missing @link tag in class comment
error 41 There must be exactly one blank line before the tags in function comment
error 43 Doc comment var "DB_DOM_Settings" does not match actual variable name "&$domSettings" at position 1
error 43 Missing comment for param "DB_DOM_Settings" at position 1
error 44 The variable names for parameters DB_DOM_Settings (1) and string (2) do not align
error 44 The comments for parameters DB_DOM_Settings (1) and string (2) do not align
error 44 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 44 Missing comment for param "string" at position 2
error 45 The variable names for parameters string (2) and string (3) do not align
error 45 The comments for parameters string (2) and string (3) do not align
error 45 Doc comment var "string" does not match actual variable name "$nodeValue" at position 3
error 45 Expected 1 space after the longest variable name
warning 46 Line exceeds 85 characters; contains 95 characters
error 46 The variable names for parameters string (3) and int (4) do not align
error 46 The comments for parameters string (3) and int (4) do not align
error 46 Doc comment var "int" does not match actual variable name "$parentNode" at position 4
error 47 The variable names for parameters int (4) and int (5) do not align
error 47 Doc comment var "int" does not match actual variable name "$ownerDocument" at position 5
error 48 The variable names for parameters int (5) and int (6) do not align
error 48 The comments for parameters int (5) and int (6) do not align
error 48 Doc comment var "int" does not match actual variable name "$rowPos" at position 6
error 49 Last parameter comment requires a blank newline after it
error 49 Doc comment var "int" does not match actual variable name "$ID" at position 7
warning 53 Line exceeds 85 characters; contains 110 characters
warning 55 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
warning 56 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 8 spaces
warning 57 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 7 spaces
warning 58 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 59 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 60 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 10 spaces
warning 61 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 14 spaces
warning 64 Line exceeds 85 characters; contains 97 characters
error 64 There must be exactly one blank line before the tags in function comment
error 66 Doc comment var "int" does not match actual variable name "$id" at position 1
warning 67 Line exceeds 85 characters; contains 94 characters
error 67 Last parameter comment requires a blank newline after it
error 67 The comments for parameters int (1) and DB_DOM_Settings (2) do not align
error 67 Doc comment var "DB_DOM_Settings" does not match actual variable name "$db" at position 2
error 67 Expected 1 space after the longest variable name
warning 78 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 79 Space after opening parenthesis of function call prohibited
error 79 Space before closing parenthesis of function call prohibited
warning 83 Line exceeds 85 characters; contains 174 characters
error 89 There must be exactly one blank line before the tags in function comment
warning 104 Line exceeds 85 characters; contains 178 characters
error 114 Space after opening parenthesis of function call prohibited
error 114 Space before closing parenthesis of function call prohibited
error 120 There must be exactly one blank line before the tags in function comment
error 136 Space after opening parenthesis of function call prohibited
error 136 Space before closing parenthesis of function call prohibited
error 142 There must be exactly one blank line before the tags in function comment
error 152 There must be exactly one blank line before the tags in function comment
error 164 Space after opening parenthesis of function call prohibited
error 164 Space before closing parenthesis of function call prohibited
warning 168 Line exceeds 85 characters; contains 193 characters
error 174 There must be exactly one blank line before the tags in function comment
error 187 There must be exactly one blank line before the tags in function comment
error 189 Doc comment var "string" does not match actual variable name "$name" at position 1
error 190 Last parameter comment requires a blank newline after it
error 190 The variable names for parameters string (1) and string (2) do not align
error 190 The comments for parameters string (1) and string (2) do not align
error 190 Doc comment var "string" does not match actual variable name "$value" at position 2
error 190 Expected 1 space after the longest variable name
warning 196 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 197 Line exceeds 85 characters; contains 86 characters
error 198 Space after opening parenthesis of function call prohibited
error 198 Space before closing parenthesis of function call prohibited
error 206 There must be exactly one blank line before the tags in function comment
error 208 Last parameter comment requires a blank newline after it
error 208 Doc comment var "string" does not match actual variable name "$nodeName" at position 1
error 208 Missing comment for param "string" at position 1
error 214 No space found after comma in function call
error 217 There must be exactly one blank line before the tags in function comment
error 227 There must be exactly one blank line before the tags in function comment
error 237 There must be exactly one blank line before the tags in function comment
error 247 There must be exactly one blank line before the tags in function comment
warning 256 Line exceeds 85 characters; contains 164 characters
error 262 There must be exactly one blank line before the tags in function comment
error 272 There must be exactly one blank line before the tags in function comment
error 274 Last parameter comment requires a blank newline after it
error 274 Doc comment var "string" does not match actual variable name "$nodeValue" at position 1
error 274 Missing comment for param "string" at position 1
error 280 No space found after comma in function call
error 283 There must be exactly one blank line before the tags in function comment
error 293 There must be exactly one blank line before the tags in function comment
error 295 Last parameter comment requires a blank newline after it
error 295 Doc comment var "string" does not match actual variable name "$typename" at position 1
error 295 Missing comment for param "string" at position 1
error 301 No space found after comma in function call
error 304 There must be exactly one blank line before the tags in function comment
warning 314 Line exceeds 85 characters; contains 107 characters
error 314 There must be exactly one blank line before the tags in function comment
warning 321 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 323 Space after opening parenthesis of function call prohibited
error 323 Space before closing parenthesis of function call prohibited
Sum 82 errors and 20 warnings
/data/pear/pear/DB_DOM/DOM/RootElementNode.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 28 Missing @category tag in class comment
error 28 Missing @author tag in class comment
error 28 Missing @license tag in class comment
error 28 Missing @link tag in class comment
warning 32 Line exceeds 85 characters; contains 101 characters
error 32 There must be exactly one blank line before the tags in function comment
error 34 Doc comment var "DB_DOM_Settings" does not match actual variable name "&$domSettings" at position 1
error 34 Missing comment for param "DB_DOM_Settings" at position 1
error 35 Last parameter comment requires a blank newline after it
error 35 The variable names for parameters DB_DOM_Settings (1) and string (2) do not align
error 35 The comments for parameters DB_DOM_Settings (1) and string (2) do not align
error 35 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 35 Missing comment for param "string" at position 2
error 42 Space after opening parenthesis of function call prohibited
error 42 Space before closing parenthesis of function call prohibited
warning 45 Line exceeds 85 characters; contains 92 characters
Sum 18 errors and 2 warnings
/data/pear/pear/DB_DOM/DOM/TextNode.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 26 Missing @category tag in class comment
error 26 Missing @author tag in class comment
error 26 Missing @license tag in class comment
error 26 Missing @link tag in class comment
error 30 There must be exactly one blank line before the tags in function comment
error 32 Doc comment var "DB_DOM_Settings" does not match actual variable name "&$domSettings" at position 1
error 32 Missing comment for param "DB_DOM_Settings" at position 1
error 33 The variable names for parameters DB_DOM_Settings (1) and string (2) do not align
error 33 The comments for parameters DB_DOM_Settings (1) and string (2) do not align
error 33 Doc comment var "string" does not match actual variable name "$nodeName" at position 2
error 33 Missing comment for param "string" at position 2
error 34 The variable names for parameters string (2) and string (3) do not align
error 34 The comments for parameters string (2) and string (3) do not align
error 34 Doc comment var "string" does not match actual variable name "$nodeValue" at position 3
warning 35 Line exceeds 85 characters; contains 95 characters
error 35 The variable names for parameters string (3) and int (4) do not align
error 35 The comments for parameters string (3) and int (4) do not align
error 35 Doc comment var "int" does not match actual variable name "$parentNode" at position 4
error 36 The variable names for parameters int (4) and int (5) do not align
error 36 The comments for parameters int (4) and int (5) do not align
error 36 Doc comment var "int" does not match actual variable name "$ownerDocument" at position 5
error 36 Expected 1 space after the longest variable name
error 37 The variable names for parameters int (5) and int (6) do not align
error 37 The comments for parameters int (5) and int (6) do not align
error 37 Doc comment var "int" does not match actual variable name "$rowPos" at position 6
error 38 Last parameter comment requires a blank newline after it
error 38 Doc comment var "int" does not match actual variable name "$ID" at position 7
warning 42 Line exceeds 85 characters; contains 114 characters
warning 46 Line exceeds 85 characters; contains 108 characters
error 50 There must be exactly one blank line before the tags in function comment
warning 57 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 59 Space after opening parenthesis of function call prohibited
error 59 Space before closing parenthesis of function call prohibited
error 64 You must use "/**" style comments for a function comment
error 66 Line indented incorrectly; expected at least 8 spaces, found 5
error 66 Spaces must be used to indent lines; tabs are not allowed
Sum 36 errors and 4 warnings
/data/pear/pear/DB_DOM/DB_DOM.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
Sum 2 errors and 0 warnings
/data/pear/pear/DB_DOM/Utils/Importer.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 27 Opening brace of a class must be on the line after the definition.
error 27 Missing class doc comment
error 34 Missing function doc comment
error 34 Opening function brace should be on a new line
warning 36 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 37 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 41 Missing function doc comment
error 43 Line indented incorrectly; expected at least 8 spaces, found 5
error 43 Spaces must be used to indent lines; tabs are not allowed
error 44 Spaces must be used to indent lines; tabs are not allowed
error 45 Line indented incorrectly; expected at least 8 spaces, found 5
error 45 Space before opening parenthesis of function call prohibited
error 45 Space after opening parenthesis of function call prohibited
error 45 Spaces must be used to indent lines; tabs are not allowed
error 45 Space before closing parenthesis of function call prohibited
error 48 Missing function doc comment
error 50 Line indented incorrectly; expected at least 8 spaces, found 2
error 50 Spaces must be used to indent lines; tabs are not allowed
error 54 You must use "/**" style comments for a function comment
error 57 Line indented incorrectly; expected at least 8 spaces, found 5
error 57 Spaces must be used to indent lines; tabs are not allowed
error 60 Missing function doc comment
error 60 Opening function brace should be on a new line
error 63 Line indented incorrectly; expected at least 12 spaces, found 9
error 63 Spaces must be used to indent lines; tabs are not allowed
warning 63 Line exceeds 85 characters; contains 87 characters
error 65 Line indented incorrectly; expected at least 12 spaces, found 9
error 65 Spaces must be used to indent lines; tabs are not allowed
error 65 No space found after comma in function call
error 73 Missing function doc comment
error 73 Opening function brace should be on a new line
error 78 Missing function doc comment
error 78 Opening function brace should be on a new line
error 79 Expected "if (...) {\n"; found "if (...)\n {\n"
error 81 Line indented incorrectly; expected at least 12 spaces, found 9
error 81 Spaces must be used to indent lines; tabs are not allowed
error 85 Line indented incorrectly; expected at least 12 spaces, found 9
error 85 Spaces must be used to indent lines; tabs are not allowed
error 90 Expected "if (...) {\n"; found "if (...)\n {\n"
error 92 Line indented incorrectly; expected at least 12 spaces, found 9
error 92 Spaces must be used to indent lines; tabs are not allowed
error 97 You must use "/**" style comments for a function comment
error 97 Opening function brace should be on a new line
Sum 42 errors and 3 warnings
/data/pear/pear/DB_DOM/Utils/Settings.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comment
error 22 Package name "DB_DOM The DB_DOM_Settings class is part of the DB_DOM class system. It provides the settings needed by the other classes to serialize their data. The default table structure is: # # Table structure for table `publications_dom` # CREATE TABLE dom ( ID int(10) unsigned NOT NULL auto_increment, ownerDocument int(10) unsigned NOT NULL default '0', parentNode int(10) unsigned NOT NULL default '0', parentXPath varchar(255) default NULL, category varchar(20) default NULL, nodeType varchar(255) NOT NULL default 'DB_DOM_ElementNode', nodeName varchar(20) NOT NULL default '', rowPos tinyint(2) unsigned NOT NULL default '0', colPos tinyint(1) unsigned default NULL, nodeValue text, PRIMARY KEY (ID) ) TYPE=MyISAM;" is not valid; Consider "DB_DOM The DB_DOM_Settings class is part of the DB_DOM class system. It provides the settings needed by the other classes to serialize their data. The default table structure is: # # Table structure for table `publications_Dom` # CREATE TABLE dom ( ID int(10) unsigned NOT NULL auto_Increment, ownerDocument int(10) unsigned NOT NULL default '0', parentNode int(10) unsigned NOT NULL default '0', parentXPath varchar(255) default NULL, category varchar(20) default NULL, nodeType varchar(255) NOT NULL default 'DB_DOM_ElementNode', nodeName varchar(20) NOT NULL default '', rowPos tinyint(2) unsigned NOT NULL default '0', colPos tinyint(1) unsigned default NULL, nodeValue text, PRIMARY KEY (ID) ) TYPE=MyISAM;" instead.
error 22 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 46 Missing @category tag in class comment
error 46 Missing @author tag in class comment
error 46 Missing @license tag in class comment
error 46 Missing @link tag in class comment
warning 58 Line exceeds 85 characters; contains 101 characters
error 58 There must be exactly one blank line before the tags in function comment
error 60 Doc comment var "int" does not match actual variable name "&$dsn" at position 1
error 61 The variable names for parameters int (1) and string (2) do not align
error 61 The comments for parameters int (1) and string (2) do not align
error 61 Doc comment var "string" does not match actual variable name "$tbl_name" at position 2
error 62 Last parameter comment requires a blank newline after it
error 62 The variable names for parameters string (2) and string (3) do not align
error 62 The comments for parameters string (2) and string (3) do not align
error 62 Superfluous doc comment at position 3
error 62 Expected 1 space after the longest variable name
error 68 Line indented incorrectly; expected at least 8 spaces, found 2
error 68 Spaces must be used to indent lines; tabs are not allowed
error 69 Spaces must be used to indent lines; tabs are not allowed
error 72 Expected "if (...) {\n"; found "if (...)\n {\n"
error 74 "include_once" is a statement, not a function; no parentheses are required
error 76 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 78 Line exceeds 85 characters; contains 100 characters
error 79 No space found after comma in function call
error 84 Expected "} elseif (...) {\n"; found "}\n\n elseif (...)\n {\n"
warning 86 Line exceeds 85 characters; contains 98 characters
error 87 No space found after comma in function call
error 91 Expected "} elseif (...) {\n"; found "}\n\n // if parent class is db_common, then it's already a connected identifier\n elseif (...)\n {\n"
error 95 Spaces must be used to indent lines; tabs are not allowed
error 96 Line indented incorrectly; expected at least 8 spaces, found 2
error 96 Spaces must be used to indent lines; tabs are not allowed
warning 97 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Sum 32 errors and 4 warnings