Coding Standards Report for HTML_Menu

Type Line Message
Package 489 errors and 63 warnings
/data/pear/pear/HTML_Menu/Menu/ArrayRenderer.php
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 17 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 18 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 19 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 61 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 62 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 63 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 64 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 65 Missing @license tag in class comment
error 65 Missing @link tag in class comment
error 68 Line indented incorrectly; expected at least 4 spaces, found 3
error 75 Line indented incorrectly; expected at least 4 spaces, found 3
error 83 Missing function doc comment
warning 88 Equals sign not aligned correctly; expected 1 space but found 3 spaces
error 94 Missing function doc comment
warning 97 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 98 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 2 spaces
error 103 Line indented incorrectly; expected at least 4 spaces, found 3
Sum 18 errors and 3 warnings
/data/pear/pear/HTML_Menu/Menu/DirectRenderer.php
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 18 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 19 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 34 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 35 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 36 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 37 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 38 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 39 Missing @license tag in class comment
error 39 Missing @link tag in class comment
error 42 Line indented incorrectly; expected at least 4 spaces, found 3
error 45 Line indented incorrectly; expected at least 4 spaces, found 3
error 51 Line indented incorrectly; expected at least 4 spaces, found 3
error 57 Line indented incorrectly; expected at least 4 spaces, found 3
error 63 Line indented incorrectly; expected at least 4 spaces, found 3
error 70 Line indented incorrectly; expected at least 4 spaces, found 3
error 77 Line indented incorrectly; expected at least 4 spaces, found 3
warning 83 Line exceeds 85 characters; contains 86 characters
warning 85 Line exceeds 85 characters; contains 93 characters
warning 86 Line exceeds 85 characters; contains 87 characters
warning 87 Line exceeds 85 characters; contains 87 characters
warning 89 Line exceeds 85 characters; contains 87 characters
error 93 You must use "/**" style comments for a function comment
warning 95 Line exceeds 85 characters; contains 99 characters
error 99 Missing function doc comment
warning 101 Line exceeds 85 characters; contains 95 characters
error 105 Missing function doc comment
warning 119 Line exceeds 85 characters; contains 86 characters
error 123 Line indented incorrectly; expected at least 4 spaces, found 3
error 135 Line indented incorrectly; expected at least 4 spaces, found 3
error 139 Parameters must appear immediately after the comment
error 139 Expected 1 space before variable type
error 139 Doc comment var "this" does not match actual variable name "$prepend" at position 1
error 139 Expected 1 space after the longest type
error 140 Expected 1 space before variable type
error 140 Doc comment var "this" does not match actual variable name "$append" at position 2
error 141 Missing @return tag in function comment
error 148 Line indented incorrectly; expected at least 4 spaces, found 3
error 152 Parameters must appear immediately after the comment
error 152 Expected 1 space before variable type
error 152 Doc comment var "this" does not match actual variable name "$prepend" at position 1
error 152 Expected 1 space after the longest type
error 153 Expected 1 space before variable type
error 153 Doc comment var "this" does not match actual variable name "$append" at position 2
error 154 Missing @return tag in function comment
error 161 Line indented incorrectly; expected at least 4 spaces, found 3
warning 168 Line exceeds 85 characters; contains 105 characters
error 168 Parameters must appear immediately after the comment
error 168 Expected 1 space before variable type
error 168 Doc comment var "either" does not match actual variable name "$type" at position 1
error 169 Expected 1 space before variable type
error 169 The comments for parameters either (1) and template (2) do not align
error 169 Doc comment var "template" does not match actual variable name "$template" at position 2
error 169 Expected 1 space after the longest type
error 170 Missing @return tag in function comment
Sum 52 errors and 9 warnings
/data/pear/pear/HTML_Menu/Menu/DirectTreeRenderer.php
warning 3 Line exceeds 85 characters; contains 104 characters
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 17 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 18 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 19 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 34 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 35 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 36 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 37 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 38 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 39 Missing @license tag in class comment
error 39 Missing @link tag in class comment
error 42 Line indented incorrectly; expected at least 4 spaces, found 3
error 45 Line indented incorrectly; expected at least 4 spaces, found 3
error 51 Line indented incorrectly; expected at least 4 spaces, found 3
error 57 Line indented incorrectly; expected at least 4 spaces, found 3
error 63 Line indented incorrectly; expected at least 4 spaces, found 3
error 70 Line indented incorrectly; expected at least 4 spaces, found 3
error 77 Line indented incorrectly; expected at least 4 spaces, found 3
error 90 You must use "/**" style comments for a function comment
error 95 File is being conditionally included; use "include_once" instead
warning 96 Line exceeds 85 characters; contains 108 characters
error 101 Missing function doc comment
warning 104 Line exceeds 85 characters; contains 114 characters
warning 104 Equals sign not aligned with surrounding assignments; expected 36 spaces but found 1 space
warning 106 Line exceeds 85 characters; contains 124 characters
warning 108 Line exceeds 85 characters; contains 107 characters
error 114 Missing function doc comment
warning 118 Line exceeds 85 characters; contains 118 characters
warning 118 Equals sign not aligned with surrounding assignments; expected 36 spaces but found 1 space
warning 127 Line exceeds 85 characters; contains 94 characters
error 131 Line indented incorrectly; expected at least 4 spaces, found 3
error 143 Line indented incorrectly; expected at least 4 spaces, found 3
error 147 Parameters must appear immediately after the comment
error 147 Expected 1 space before variable type
error 147 Doc comment var "this" does not match actual variable name "$prepend" at position 1
error 147 Expected 1 space after the longest type
error 148 Expected 1 space before variable type
error 148 Doc comment var "this" does not match actual variable name "$append" at position 2
error 149 Missing @return tag in function comment
error 156 Line indented incorrectly; expected at least 4 spaces, found 3
error 160 Parameters must appear immediately after the comment
error 160 Expected 1 space before variable type
error 160 Doc comment var "this" does not match actual variable name "$prepend" at position 1
error 160 Expected 1 space after the longest type
error 161 Expected 1 space before variable type
error 161 Doc comment var "this" does not match actual variable name "$append" at position 2
error 162 Missing @return tag in function comment
error 169 Line indented incorrectly; expected at least 4 spaces, found 3
warning 176 Line exceeds 85 characters; contains 105 characters
error 176 Parameters must appear immediately after the comment
error 176 Expected 1 space before variable type
error 176 Doc comment var "either" does not match actual variable name "$type" at position 1
error 177 Expected 1 space before variable type
error 177 The comments for parameters either (1) and template (2) do not align
error 177 Doc comment var "template" does not match actual variable name "$template" at position 2
error 177 Expected 1 space after the longest type
error 178 Missing @return tag in function comment
Sum 52 errors and 10 warnings
/data/pear/pear/HTML_Menu/Menu/Renderer.php
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 17 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 18 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 19 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 25 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 26 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 27 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 28 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 30 Missing @license tag in class comment
error 30 Missing @link tag in class comment
error 33 Line indented incorrectly; expected at least 4 spaces, found 3
error 40 Line indented incorrectly; expected at least 4 spaces, found 3
error 47 Last parameter comment requires a blank newline after it
error 47 Parameters must appear immediately after the comment
error 47 Expected 1 space before variable type
error 47 Doc comment var "menu" does not match actual variable name "$menuType" at position 1
error 49 Missing @return tag in function comment
error 56 Line indented incorrectly; expected at least 4 spaces, found 3
error 60 Last parameter comment requires a blank newline after it
error 60 Parameters must appear immediately after the comment
error 60 Expected 1 space before variable type
error 60 Doc comment var "current" does not match actual variable name "$level" at position 1
error 60 Expected 1 space after the longest type
error 62 Missing @return tag in function comment
error 68 Line indented incorrectly; expected at least 4 spaces, found 3
error 72 Last parameter comment requires a blank newline after it
error 72 Parameters must appear immediately after the comment
error 72 Expected 1 space before variable type
error 72 Doc comment var "current" does not match actual variable name "$level" at position 1
error 72 Expected 1 space after the longest type
error 74 Missing @return tag in function comment
error 80 Line indented incorrectly; expected at least 4 spaces, found 3
error 84 Last parameter comment requires a blank newline after it
error 84 Parameters must appear immediately after the comment
error 84 Expected 1 space before variable type
error 84 Doc comment var "current" does not match actual variable name "$level" at position 1
error 84 Expected 1 space after the longest type
error 86 Missing @return tag in function comment
error 92 Line indented incorrectly; expected at least 4 spaces, found 3
error 96 Parameters must appear immediately after the comment
error 96 Doc comment var "Element" does not match actual variable name "$node" at position 1
error 96 Expected 1 space after the longest type
error 97 Doc comment var "Current" does not match actual variable name "$level" at position 2
error 98 Last parameter comment requires a blank newline after it
error 98 The comments for parameters Current (2) and Type (3) do not align
error 98 Doc comment var "Type" does not match actual variable name "$type" at position 3
error 100 Missing @return tag in function comment
Sum 50 errors and 0 warnings
/data/pear/pear/HTML_Menu/Menu/SigmaRenderer.php
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 17 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 18 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 19 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 30 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 31 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 32 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 33 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 34 Missing @license tag in class comment
error 34 Missing @link tag in class comment
error 37 Line indented incorrectly; expected at least 4 spaces, found 3
error 40 Line indented incorrectly; expected at least 4 spaces, found 3
error 46 Line indented incorrectly; expected at least 4 spaces, found 3
error 60 Line indented incorrectly; expected at least 4 spaces, found 3
error 67 Line indented incorrectly; expected at least 4 spaces, found 3
error 76 Parameters must appear immediately after the comment
error 76 Expected 1 space before variable type
error 76 Doc comment var "template" does not match actual variable name "&$tpl" at position 1
error 76 Expected 1 space after the longest type
error 77 Expected 1 space before variable type
error 77 The comments for parameters template (1) and prefix (2) do not align
error 77 Doc comment var "prefix" does not match actual variable name "$prefix" at position 2
error 85 Missing function doc comment
warning 87 Line exceeds 85 characters; contains 115 characters
error 94 Missing function doc comment
warning 96 Line exceeds 85 characters; contains 114 characters
error 103 Missing function doc comment
warning 106 Line exceeds 85 characters; contains 106 characters
warning 108 Line exceeds 85 characters; contains 88 characters
warning 121 Line exceeds 85 characters; contains 97 characters
warning 127 Line exceeds 85 characters; contains 89 characters
Sum 28 errors and 6 warnings
/data/pear/pear/HTML_Menu/Menu/SigmaTreeRenderer.php
error 14 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 15 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 16 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 17 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 18 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 19 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 32 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 33 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 34 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 35 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 36 Missing @license tag in class comment
error 36 Missing @link tag in class comment
error 39 Line indented incorrectly; expected at least 4 spaces, found 3
error 42 Line indented incorrectly; expected at least 4 spaces, found 3
error 48 Line indented incorrectly; expected at least 4 spaces, found 3
error 54 Line indented incorrectly; expected at least 4 spaces, found 3
error 60 Line indented incorrectly; expected at least 4 spaces, found 3
error 71 Line indented incorrectly; expected at least 4 spaces, found 3
error 80 Parameters must appear immediately after the comment
error 80 Expected 1 space before variable type
error 80 Doc comment var "template" does not match actual variable name "&$tpl" at position 1
error 80 Expected 1 space after the longest type
error 81 Expected 1 space before variable type
error 81 The comments for parameters template (1) and prefix (2) do not align
error 81 Doc comment var "prefix" does not match actual variable name "$prefix" at position 2
error 90 Missing function doc comment
error 95 File is being conditionally included; use "include_once" instead
warning 96 Line exceeds 85 characters; contains 107 characters
error 102 Missing function doc comment
warning 105 Line exceeds 85 characters; contains 87 characters
warning 112 Line exceeds 85 characters; contains 87 characters
error 121 You must use "/**" style comments for a function comment
warning 125 Line exceeds 85 characters; contains 91 characters
warning 126 Line exceeds 85 characters; contains 88 characters
error 132 Line indented incorrectly; expected at least 12 spaces, found 8
warning 134 Line exceeds 85 characters; contains 90 characters
warning 135 Line exceeds 85 characters; contains 87 characters
warning 142 Line exceeds 85 characters; contains 86 characters
warning 149 Line exceeds 85 characters; contains 103 characters
warning 150 Line exceeds 85 characters; contains 88 characters
warning 156 Line exceeds 85 characters; contains 97 characters
Sum 31 errors and 11 warnings
/data/pear/pear/HTML_Menu/Menu.php
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 18 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 19 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 27 Expected 1 space after comma in function call; 6 found
error 28 Expected 1 space after comma in function call; 8 found
error 29 Expected 1 space after comma in function call; 4 found
error 30 Expected 1 space after comma in function call; 6 found
error 31 Expected 1 space after comma in function call; 10 found
error 32 Expected 1 space after comma in function call; 9 found
error 33 Expected 1 space after comma in function call; 4 found
error 41 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 42 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 43 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 44 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 45 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 46 Missing @license tag in class comment
error 46 Missing @link tag in class comment
error 48 Expected 0 spaces before opening brace; 1 found
error 49 Line indented incorrectly; expected at least 4 spaces, found 3
error 52 Line indented incorrectly; expected at least 4 spaces, found 3
error 59 Line indented incorrectly; expected at least 4 spaces, found 3
error 66 Line indented incorrectly; expected at least 4 spaces, found 3
error 73 Line indented incorrectly; expected at least 4 spaces, found 3
error 80 Line indented incorrectly; expected at least 4 spaces, found 3
error 86 Line indented incorrectly; expected at least 4 spaces, found 3
error 94 Line indented incorrectly; expected at least 4 spaces, found 3
error 101 Line indented incorrectly; expected at least 4 spaces, found 3
error 107 Line indented incorrectly; expected at least 4 spaces, found 3
error 114 Line indented incorrectly; expected at least 4 spaces, found 3
error 122 Line indented incorrectly; expected at least 4 spaces, found 3
error 125 Expected 1 space before variable type
error 125 Doc comment var "menu" does not match actual variable name "$menu" at position 1
error 126 Expected 1 space before variable type
error 126 Doc comment var "menu" does not match actual variable name "$type" at position 2
error 126 Expected 1 space after the longest type
error 127 Last parameter comment requires a blank newline after it
error 127 Expected 1 space before variable type
error 127 Doc comment var "env." does not match actual variable name "$urlEnvVar" at position 3
error 140 Line indented incorrectly; expected at least 4 spaces, found 3
error 176 Last parameter comment requires a blank newline after it
error 176 Expected 1 space before variable type
error 176 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$menu" at position 1
error 176 Missing parameter name at position 1
error 176 Missing comment for param "[ UNKNOWN ]" at position 1
error 178 Missing @return tag in function comment
error 186 Line indented incorrectly; expected at least 4 spaces, found 3
error 191 Last parameter comment requires a blank newline after it
error 191 Expected 1 space before variable type
error 191 Doc comment var "type" does not match actual variable name "$menuType" at position 1
error 193 Missing @return tag in function comment
warning 197 Line exceeds 85 characters; contains 90 characters
error 205 Line indented incorrectly; expected at least 4 spaces, found 3
error 208 Last parameter comment requires a blank newline after it
error 208 Expected 1 space before variable type
error 208 Doc comment var "environment" does not match actual variable name "$urlEnvVar" at position 1
error 208 Expected 1 space after the longest type
error 210 Missing @return tag in function comment
error 217 Line indented incorrectly; expected at least 4 spaces, found 3
error 220 Last parameter comment requires a blank newline after it
error 220 Expected 1 space before variable type
error 220 Doc comment var "Menu" does not match actual variable name "$menuType" at position 1
error 220 Expected 1 space after the longest type
error 234 Line indented incorrectly; expected at least 4 spaces, found 3
error 238 Last parameter comment requires a blank newline after it
error 238 Parameters must appear immediately after the comment
error 238 Expected 1 space before variable type
error 238 Doc comment var "Menu" does not match actual variable name "$menuType" at position 1
error 238 Expected 1 space after the longest type
error 240 Missing @return tag in function comment
error 247 Line indented incorrectly; expected at least 4 spaces, found 3
error 251 Parameters must appear immediately after the comment
error 251 Expected 1 space before variable type
error 251 Doc comment var "Renderer" does not match actual variable name "&$renderer" at position 1
error 251 Expected 1 space after the longest type
error 252 Last parameter comment requires a blank newline after it
error 252 Expected 1 space before variable type
error 252 The comments for parameters Renderer (1) and Type (2) do not align
error 252 Doc comment var "Type" does not match actual variable name "$menuType" at position 2
error 254 Missing @return tag in function comment
error 271 Line indented incorrectly; expected 8 spaces, found 12
error 273 Break statement indented incorrectly; expected 16 spaces, found 10
error 273 Spaces must be used to indent lines; tabs are not allowed
error 275 Line indented incorrectly; expected 8 spaces, found 12
error 279 Line indented incorrectly; expected 8 spaces, found 12
error 283 Line indented incorrectly; expected 8 spaces, found 12
error 285 Closing brace indented incorrectly; expected 12 spaces, found 8
error 289 Line indented incorrectly; expected at least 4 spaces, found 3
error 293 Parameters must appear immediately after the comment
error 293 Doc comment var "Node" does not match actual variable name "$nodeId" at position 1
error 294 Doc comment var "Node" does not match actual variable name "&$nodeUrl" at position 2
error 294 Expected 1 space after the longest type
error 295 Last parameter comment requires a blank newline after it
error 295 The comments for parameters Node (2) and Level (3) do not align
error 295 Doc comment var "Level" does not match actual variable name "$level" at position 3
warning 306 Line exceeds 85 characters; contains 104 characters
error 314 Line indented incorrectly; expected at least 4 spaces, found 3
error 318 Parameters must appear immediately after the comment
error 318 Expected 1 space before variable type
error 318 Doc comment var "(sub)menu" does not match actual variable name "$menu" at position 1
error 318 Expected 1 space after the longest type
error 319 Expected 1 space before variable type
error 319 The comments for parameters (sub)menu (1) and current (2) do not align
error 319 Doc comment var "current" does not match actual variable name "$level" at position 2
error 320 Missing @return tag in function comment
error 344 Line indented incorrectly; expected at least 4 spaces, found 3
error 348 Parameters must appear immediately after the comment
error 348 Expected 1 space before variable type
error 348 Doc comment var "(sub)menu" does not match actual variable name "$menu" at position 1
error 348 Expected 1 space after the longest type
error 349 Expected 1 space before variable type
error 349 The comments for parameters (sub)menu (1) and current (2) do not align
error 349 Doc comment var "current" does not match actual variable name "$level" at position 2
error 350 Missing @return tag in function comment
error 371 Line indented incorrectly; expected at least 4 spaces, found 3
error 375 Parameters must appear immediately after the comment
error 375 Expected 1 space before variable type
error 375 Doc comment var "(sub)menu" does not match actual variable name "$menu" at position 1
error 375 Expected 1 space after the longest type
error 376 Expected 1 space before variable type
error 376 The comments for parameters (sub)menu (1) and current (2) do not align
error 376 Doc comment var "current" does not match actual variable name "$level" at position 2
error 377 Missing @return tag in function comment
error 404 Line indented incorrectly; expected at least 4 spaces, found 3
error 408 Parameters must appear immediately after the comment
error 408 Expected 1 space before variable type
error 408 Doc comment var "(sub)menu" does not match actual variable name "$menu" at position 1
error 408 Expected 1 space after the longest type
error 409 Expected 1 space before variable type
error 409 The comments for parameters (sub)menu (1) and current (2) do not align
error 409 Doc comment var "current" does not match actual variable name "$level" at position 2
error 410 Expected 1 space before variable type
error 410 The comments for parameters current (2) and flag (3) do not align
error 410 Doc comment var "flag" does not match actual variable name "$flagStop" at position 3
error 412 Missing @return tag in function comment
warning 422 Line exceeds 85 characters; contains 87 characters
warning 432 Line exceeds 85 characters; contains 112 characters
warning 436 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 438 Line exceeds 85 characters; contains 96 characters
warning 440 Line exceeds 85 characters; contains 106 characters
warning 444 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 446 Line exceeds 85 characters; contains 91 characters
warning 457 Line exceeds 85 characters; contains 88 characters
error 469 Line indented incorrectly; expected at least 4 spaces, found 3
warning 486 Line exceeds 85 characters; contains 102 characters
error 490 Line indented incorrectly; expected at least 4 spaces, found 3
error 494 Parameters must appear immediately after the comment
error 494 Expected 1 space before variable type
error 494 Doc comment var "(sub)menu" does not match actual variable name "$menu" at position 1
error 494 Expected 1 space after the longest type
error 495 Last parameter comment requires a blank newline after it
error 495 Expected 1 space before variable type
error 495 The comments for parameters (sub)menu (1) and path (2) do not align
error 495 Doc comment var "path" does not match actual variable name "$path" at position 2
warning 496 Line exceeds 85 characters; contains 92 characters
warning 502 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 510 Line exceeds 85 characters; contains 88 characters
error 518 Line indented incorrectly; expected at least 4 spaces, found 3
error 545 Line indented incorrectly; expected at least 4 spaces, found 3
error 549 Parameters must appear immediately after the comment
error 549 Expected 1 space before variable type
error 549 Doc comment var "Url" does not match actual variable name "$url" at position 1
error 549 Expected 1 space after the longest type
error 550 Missing @return tag in function comment
error 558 Line indented incorrectly; expected at least 4 spaces, found 3
error 561 Last parameter comment requires a blank newline after it
error 561 Expected 1 space before variable type
error 561 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$prefix" at position 1
error 561 Missing parameter name at position 1
error 561 Missing comment for param "[ UNKNOWN ]" at position 1
error 563 Missing @return tag in function comment
error 573 Line indented incorrectly; expected at least 4 spaces, found 3
error 577 Last parameter comment requires a blank newline after it
error 577 Parameters must appear immediately after the comment
error 577 Expected 1 space before variable type
error 577 Doc comment var "URL" does not match actual variable name "$url" at position 1
error 577 Missing comment for param "URL" at position 1
warning 583 Line exceeds 85 characters; contains 105 characters
error 587 Line indented incorrectly; expected at least 4 spaces, found 3
error 592 Last parameter comment requires a blank newline after it
error 592 Expected 1 space before variable type
error 592 Doc comment var "Menu" does not match actual variable name "$index" at position 1
error 592 Expected 1 space after the longest type
error 594 Missing @return tag in function comment
error 602 Line indented incorrectly; expected at least 4 spaces, found 3
error 605 Expected 1 space before variable type
error 605 Doc comment var "Menu" does not match actual variable name "&$menu" at position 1
error 605 Expected 1 space after the longest type
error 606 Last parameter comment requires a blank newline after it
error 606 Expected 1 space before variable type
error 606 Doc comment var "Index" does not match actual variable name "$index" at position 2
error 606 Missing comment for param "Index" at position 2
warning 615 Line exceeds 85 characters; contains 120 characters
Sum 182 errors and 16 warnings
/data/pear/pear/HTML_Menu/MenuBrowser.php
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 16 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 18 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 19 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
warning 25 Line exceeds 85 characters; contains 106 characters
warning 31 Line exceeds 85 characters; contains 87 characters
warning 49 Line exceeds 85 characters; contains 87 characters
error 52 @category tag comment indented incorrectly. Expected 1 spaces but found 5.
error 53 @package tag comment indented incorrectly. Expected 2 spaces but found 6.
error 54 @author tag comment indented incorrectly. Expected 3 spaces but found 7.
error 55 @version tag comment indented incorrectly. Expected 2 spaces but found 6.
error 56 Missing @license tag in class comment
error 56 Missing @link tag in class comment
error 58 Expected 0 spaces before opening brace; 1 found
error 59 Line indented incorrectly; expected at least 4 spaces, found 3
error 67 Line indented incorrectly; expected at least 4 spaces, found 3
error 75 Line indented incorrectly; expected at least 4 spaces, found 3
error 83 Line indented incorrectly; expected at least 4 spaces, found 3
error 91 Line indented incorrectly; expected at least 4 spaces, found 3
error 99 Line indented incorrectly; expected at least 4 spaces, found 3
error 118 Line indented incorrectly; expected at least 4 spaces, found 3
error 121 Expected 1 space before variable type
error 121 Doc comment var "Directory" does not match actual variable name "$dir" at position 1
error 121 Expected 1 space after the longest type
error 122 Expected 1 space before variable type
error 122 The comments for parameters Directory (1) and Filename (2) do not align
error 122 Doc comment var "Filename" does not match actual variable name "$index" at position 2
error 123 Last parameter comment requires a blank newline after it
error 123 Expected 1 space before variable type
error 123 The comments for parameters Filename (2) and Suffix (3) do not align
error 123 Doc comment var "Suffix" does not match actual variable name "$file_suffix" at position 3
warning 138 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 143 Line indented incorrectly; expected at least 4 spaces, found 3
error 146 Last parameter comment requires a blank newline after it
error 146 Expected 1 space before variable type
error 146 Doc comment var "directory" does not match actual variable name "$dir" at position 1
error 146 Expected 1 space after the longest type
error 148 Missing @return tag in function comment
error 155 Line indented incorrectly; expected at least 4 spaces, found 3
error 158 Last parameter comment requires a blank newline after it
error 158 Expected 1 space before variable type
error 158 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$prefix" at position 1
error 158 Missing parameter name at position 1
error 158 Missing comment for param "[ UNKNOWN ]" at position 1
error 160 Missing @return tag in function comment
error 167 Line indented incorrectly; expected at least 4 spaces, found 3
error 170 Expected 1 space before variable type
error 170 Doc comment var "directory" does not match actual variable name "$dir" at position 1
error 170 Expected 1 space after the longest type
error 171 Last parameter comment requires a blank newline after it
error 171 Expected 1 space before variable type
error 171 The comments for parameters directory (1) and id (2) do not align
error 171 Doc comment var "id" does not match actual variable name "$prefix" at position 2
error 173 Missing @return tag in function comment
error 193 Line indented incorrectly; expected at least 4 spaces, found 3
error 196 Expected 1 space before variable type
error 196 Doc comment var "directory" does not match actual variable name "$dir" at position 1
error 197 Expected 1 space before variable type
error 197 The comments for parameters directory (1) and entry (2) do not align
error 197 Doc comment var "entry" does not match actual variable name "$id" at position 2
error 198 Last parameter comment requires a blank newline after it
error 198 Expected 1 space before variable type
error 198 The comments for parameters entry (2) and ??? (3) do not align
error 198 Doc comment var "???" does not match actual variable name "$noindex" at position 3
warning 204 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 214 Line exceeds 85 characters; contains 88 characters
error 222 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 222 Line exceeds 85 characters; contains 125 characters
error 234 Line indented incorrectly; expected at least 4 spaces, found 3
error 237 Last parameter comment requires a blank newline after it
error 237 Expected 1 space before variable type
error 237 Doc comment var "Menu" does not match actual variable name "$menu" at position 1
error 237 Expected 1 space after the longest type
error 256 Line indented incorrectly; expected at least 4 spaces, found 3
warning 257 Line exceeds 85 characters; contains 88 characters
error 262 Expected 1 space before variable type
error 262 Doc comment var "filename" does not match actual variable name "$file" at position 1
error 262 Missing comment for param "filename" at position 1
error 263 Missing @return tag in function comment
Sum 76 errors and 8 warnings