Coding Standards Report for System_Socket

Type Line Message
Package 367 errors and 24 warnings
/data/pear/pear/System_Socket/Socket/Connection.php
error 2 You must use "/**" style comments for a file comment
error 34 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 35 Invalid version "$Revision: 1.1 $" in doc comment; consider "Release: " instead
error 35 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 37 Missing @category tag in class comment
error 37 Missing @package tag in class comment
error 37 Missing @license tag in class comment
error 37 Missing @link tag in class comment
error 69 Parameters must appear immediately after the comment
error 69 Expected 1 space before variable type
error 69 Doc comment var "$socket" does not match actual variable name "&$socket" at position 1
error 69 Expected 1 space after the longest type
error 76 Doc comment for "$socket" missing
error 78 There must be exactly one blank line before the tags in function comment
error 85 Space after opening parenthesis of function call prohibited
error 89 Space before closing parenthesis of function call prohibited
warning 91 Line exceeds 85 characters; contains 94 characters
error 122 Doc comment for "$blocking" missing
error 156 Parameters must appear immediately after the comment
error 156 Expected 1 space before variable type
error 156 Missing comment for param "$data" at position 1
error 169 Parameters must appear immediately after the comment
error 169 Expected 1 space before variable type
error 169 Missing comment for param "$char" at position 1
error 181 Parameters must appear immediately after the comment
error 181 Expected 1 space before variable type
error 181 Missing comment for param "$byte" at position 1
error 196 Parameters must appear immediately after the comment
error 196 Expected 1 space before variable type
error 196 Doc comment var "$delim" does not match actual variable name "$data" at position 1
error 196 Expected 1 space after the longest type
error 197 Expected 1 space before variable type
error 197 Doc comment var "$escape" does not match actual variable name "$delim" at position 2
error 197 Doc comment for "$escape" missing
error 216 Parameters must appear immediately after the comment
error 216 Expected 1 space before variable type
error 216 Expected 1 space after the longest type
error 217 Expected 1 space before variable type
error 218 Expected 1 space before variable type
error 234 Parameters must appear immediately after the comment
error 234 Expected 1 space before variable type
error 234 Missing comment for param "$int" at position 1
error 249 Parameters must appear immediately after the comment
error 249 Expected 1 space before variable type
error 249 Expected 1 space after the longest type
error 250 Expected 1 space before variable type
error 265 Parameters must appear immediately after the comment
error 265 Expected 1 space before variable type
error 265 Doc comment var "bytes" does not match actual variable name "$length" at position 1
error 265 Expected 1 space after the longest type
error 307 Parameters must appear immediately after the comment
error 307 Expected 1 space before variable type
error 307 Expected 1 space after the longest type
error 308 Expected 1 space before variable type
warning 318 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 319 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 333 Parameters must appear immediately after the comment
error 333 Expected 1 space before variable type
error 333 Missing comment for param "$LF" at position 1
Sum 55 errors and 4 warnings
/data/pear/pear/System_Socket/Socket/ConnectionPool.php
error 2 You must use "/**" style comments for a file comment
error 30 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 31 Invalid version "$Revision: 1.2 $" in doc comment; consider "Release: " instead
error 31 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 33 Missing @category tag in class comment
error 33 Missing @package tag in class comment
error 33 Missing @license tag in class comment
error 33 Missing @link tag in class comment
error 53 Parameters must appear immediately after the comment
error 53 Expected 1 space before variable type
error 53 Doc comment var "$sockets" does not match actual variable name "&$sockets" at position 1
error 53 Expected 1 space after the longest type
error 53 Expected 1 space after the longest variable name
error 60 Doc comment for "$sockets" missing
error 62 There must be exactly one blank line before the tags in function comment
error 66 Expected "foreach (...) {\n"; found "foreach (...){\n"
error 79 There must be exactly one blank line before the tags in function comment
error 83 Parameters must appear immediately after the comment
error 83 Expected 1 space before variable type
error 83 Doc comment var "$s" does not match actual variable name "&$s" at position 1
error 83 Expected 1 space after the longest type
error 83 Expected 1 space after the longest variable name
warning 91 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 97 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
error 167 Parameters must appear immediately after the comment
error 167 Expected 1 space before variable type
error 167 Missing comment for param "$data" at position 1
error 172 Expected "foreach (...) {\n"; found "foreach (...){\n"
error 183 Parameters must appear immediately after the comment
error 183 Expected 1 space before variable type
error 183 Missing comment for param "$bytes" at position 1
error 188 Expected "foreach (...) {\n"; found "foreach (...){\n"
error 199 Parameters must appear immediately after the comment
error 199 Expected 1 space before variable type
error 199 Missing comment for param "$method" at position 1
error 199 Expected 1 space after the longest type
error 200 Expected 1 space before variable type
error 200 The comments for parameters $method (1) and [$arg[, (2) do not align
error 200 Superfluous doc comment at position 2
error 206 Expected "foreach (...) {\n"; found "foreach (...){\n"
error 207 Space after opening parenthesis of function call prohibited
Sum 38 errors and 3 warnings
/data/pear/pear/System_Socket/Socket/Debugger.php
error 2 You must use "/**" style comments for a file comment
error 33 Expected 1 space after comma in function call; 10 found
error 34 Expected 1 space after comma in function call; 6 found
error 35 Expected 1 space after comma in function call; 4 found
error 36 Expected 1 space after comma in function call; 10 found
error 37 Expected 1 space after comma in function call; 6 found
error 38 Expected 1 space after comma in function call; 2 found
error 66 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 67 Invalid version "$Revision: 1.1 $" in doc comment; consider "Release: " instead
error 67 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 69 Missing @category tag in class comment
error 69 Missing @package tag in class comment
error 69 Missing @license tag in class comment
error 69 Missing @link tag in class comment
error 154 Doc comment for "$type" missing
error 165 Doc comment for "$type" missing
error 167 There must be exactly one blank line before the tags in function comment
error 185 Parameters must appear immediately after the comment
error 185 Expected 1 space before variable type
error 185 Doc comment var "Log" does not match actual variable name "&$log" at position 1
error 185 Expected 1 space after the longest variable name
error 201 Parameters must appear immediately after the comment
error 201 Expected 1 space before variable type
error 201 Missing comment for param "$note" at position 1
warning 207 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
error 239 Line indented incorrectly; expected 8 spaces, found 12
error 240 Line indented incorrectly; expected 12 spaces, found 16
error 243 Break statement indented incorrectly; expected 16 spaces, found 12
error 245 Line indented incorrectly; expected 8 spaces, found 12
error 247 Break statement indented incorrectly; expected 16 spaces, found 12
error 249 Line indented incorrectly; expected 8 spaces, found 12
error 251 Break statement indented incorrectly; expected 16 spaces, found 12
error 257 Line indented incorrectly; expected 8 spaces, found 12
error 258 Line indented incorrectly; expected 12 spaces, found 16
error 262 Break statement indented incorrectly; expected 16 spaces, found 12
error 274 Parameters must appear immediately after the comment
error 274 Expected 1 space before variable type
error 274 Missing comment for param "$num" at position 1
error 289 Parameters must appear immediately after the comment
error 289 Expected 1 space before variable type
error 289 Missing comment for param "$arg" at position 1
error 295 Line indented incorrectly; expected 8 spaces, found 12
error 300 Line indented incorrectly; expected 8 spaces, found 12
error 305 Line indented incorrectly; expected 8 spaces, found 12
error 306 Line indented incorrectly; expected 8 spaces, found 12
error 311 Line indented incorrectly; expected 8 spaces, found 12
error 318 Line indented incorrectly; expected 8 spaces, found 12
error 323 Line indented incorrectly; expected 8 spaces, found 12
error 328 Line indented incorrectly; expected 8 spaces, found 12
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
error 332 Closing brace indented incorrectly; expected 12 spaces, found 8
Sum 55 errors and 2 warnings
/data/pear/pear/System_Socket/Socket/Listener.php
error 2 You must use "/**" style comments for a file comment
error 59 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 60 Invalid version "$Revision: 1.3 $" in doc comment; consider "Release: " instead
error 60 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 62 Missing @category tag in class comment
error 62 Missing @package tag in class comment
error 62 Missing @license tag in class comment
error 62 Missing @link tag in class comment
error 104 Parameters must appear immediately after the comment
error 104 Expected 1 space before variable type
error 104 Doc comment var "SystemSocket" does not match actual variable name "&$socket" at position 1
error 104 Expected 1 space after the longest type
error 111 Doc comment for "$socket" missing
error 113 There must be exactly one blank line before the tags in function comment
error 125 There must be exactly one blank line before the tags in function comment
error 134 There must be exactly one blank line before the tags in function comment
error 154 Parameters must appear immediately after the comment
error 154 Expected 1 space before variable type
error 154 Missing comment for param "$withBaseSocket" at position 1
error 159 Expected "foreach (...) {\n"; found "foreach(...){\n"
error 176 Parameters must appear immediately after the comment
error 176 Expected 1 space before variable type
error 176 Expected 1 space after the longest type
error 176 Expected 1 space after the longest variable name
error 192 Parameters must appear immediately after the comment
error 192 Expected 1 space before variable type
error 192 Doc comment var "array" does not match actual variable name "$check" at position 1
error 192 Expected 1 space after the longest type
warning 196 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
error 206 Parameters must appear immediately after the comment
error 206 Expected 1 space before variable type
error 206 Doc comment var "$into" does not match actual variable name "&$into" at position 1
error 206 Missing comment for param "$into" at position 1
error 219 Parameters must appear immediately after the comment
error 219 Expected 1 space before variable type
error 219 Doc comment var "$into" does not match actual variable name "&$into" at position 1
error 219 Missing comment for param "$into" at position 1
error 232 Parameters must appear immediately after the comment
error 232 Expected 1 space before variable type
error 232 Doc comment var "$into" does not match actual variable name "&$into" at position 1
error 232 Missing comment for param "$into" at position 1
error 245 Parameters must appear immediately after the comment
error 245 Expected 1 space before variable type
error 245 Doc comment var "$pendingSockets" does not match actual variable name "&$pendingSockets" at position 1
error 245 Missing comment for param "$pendingSockets" at position 1
warning 308 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
error 317 Parameters must appear immediately after the comment
error 317 Expected 1 space before variable type
error 317 Expected 1 space after the longest type
error 317 Expected 1 space after the longest variable name
error 329 Parameters must appear immediately after the comment
error 329 Expected 1 space before variable type
error 329 Expected 1 space after the longest type
error 329 Expected 1 space after the longest variable name
error 341 Parameters must appear immediately after the comment
error 341 Expected 1 space before variable type
error 341 Expected 1 space after the longest type
error 341 Expected 1 space after the longest variable name
warning 346 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 349 Doc comment for "$mask" missing
error 349 Doc comment for "$allow" missing
error 358 Space after opening parenthesis of function call prohibited
error 379 Parameters must appear immediately after the comment
error 379 Expected 1 space before variable type
error 379 Doc comment var "socket" does not match actual variable name "$socket" at position 1
error 379 Expected 1 space after the longest type
Sum 62 errors and 4 warnings
/data/pear/pear/System_Socket/Socket/Manager.php
error 2 You must use "/**" style comments for a file comment
error 39 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 40 Invalid version "$Revision: 1.1 $" in doc comment; consider "Release: " instead
error 40 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 42 Missing @category tag in class comment
error 42 Missing @package tag in class comment
error 42 Missing @license tag in class comment
error 42 Missing @link tag in class comment
error 68 Parameters must appear immediately after the comment
error 68 Expected 1 space before variable type
error 68 Doc comment var "System_Socket" does not match actual variable name "&$socket" at position 1
error 68 Missing comment for param "System_Socket" at position 1
error 75 Doc comment for "$socket" missing
error 77 There must be exactly one blank line before the tags in function comment
error 94 There must be exactly one blank line before the tags in function comment
error 103 There must be exactly one blank line before the tags in function comment
error 144 Parameters must appear immediately after the comment
error 144 Expected 1 space before variable type
error 144 Doc comment var "$socket" does not match actual variable name "&$socket" at position 1
error 144 Missing comment for param "$socket" at position 1
error 165 Parameters must appear immediately after the comment
error 165 Expected 1 space before variable type
error 165 Doc comment var "System_Socket_Observer" does not match actual variable name "&$observer" at position 1
error 165 Expected 1 space after the longest type
error 165 Expected 1 space after the longest variable name
error 181 Parameters must appear immediately after the comment
error 181 Expected 1 space before variable type
error 181 Doc comment var "System_Socket_Observer" does not match actual variable name "&$observer" at position 1
error 181 Expected 1 space after the longest type
error 193 Parameters must appear immediately after the comment
error 193 Expected 1 space before variable type
error 193 Doc comment var "System_Socket_Observer" does not match actual variable name "&$observer" at position 1
error 193 Expected 1 space after the longest type
error 193 Expected 1 space after the longest variable name
error 205 Parameters must appear immediately after the comment
error 205 Expected 1 space before variable type
error 205 Missing comment for param "$event" at position 1
error 205 Expected 1 space after the longest type
error 206 Expected 1 space before variable type
error 206 The comments for parameters $event (1) and $result (2) do not align
error 206 Missing comment for param "$result" at position 2
error 207 Expected 1 space before variable type
error 207 The comments for parameters $result (2) and $arg (3) do not align
error 207 Superfluous doc comment at position 3
Sum 43 errors and 1 warnings
/data/pear/pear/System_Socket/Socket/Observer.php
error 2 You must use "/**" style comments for a file comment
error 33 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 34 Invalid version "$Revision: 1.2 $" in doc comment; consider "Release: " instead
error 34 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 36 Missing @category tag in class comment
error 36 Missing @package tag in class comment
error 36 Missing @license tag in class comment
error 36 Missing @link tag in class comment
error 62 There must be exactly one blank line before the tags in function comment
error 85 Parameters must appear immediately after the comment
error 85 Expected 1 space before variable type
error 85 Missing comment for param "$note" at position 1
error 86 Missing @return tag in function comment
error 90 Expected "while (...) {\n"; found "while (...){\n"
error 111 Parameters must appear immediately after the comment
error 111 Expected 1 space before variable type
error 111 Doc comment var "System_Socket_Observer" does not match actual variable name "&$observer" at position 1
error 111 Expected 1 space after the longest type
error 111 Expected 1 space after the longest variable name
error 127 Parameters must appear immediately after the comment
error 127 Expected 1 space before variable type
error 127 Doc comment var "System_Socket_Observer" does not match actual variable name "&$observer" at position 1
error 127 Expected 1 space after the longest type
error 139 Parameters must appear immediately after the comment
error 139 Expected 1 space before variable type
error 139 Doc comment var "System_Socket_Observer" does not match actual variable name "&$observer" at position 1
error 139 Expected 1 space after the longest type
Sum 26 errors and 1 warnings
/data/pear/pear/System_Socket/Socket.php
error 2 You must use "/**" style comments for a file comment
error 60 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 61 Invalid version "$Revision: 1.3 $" in doc comment; consider "Release: " instead
error 61 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 63 Missing @category tag in class comment
error 63 Missing @package tag in class comment
error 63 Missing @license tag in class comment
error 63 Missing @link tag in class comment
error 137 Parameters must appear immediately after the comment
error 137 Expected 1 space before variable type
error 137 Expected 1 space after the longest type
error 137 Expected 1 space after the longest variable name
error 144 Doc comment for "$resource" missing
error 146 There must be exactly one blank line before the tags in function comment
error 195 Space after opening parenthesis of function call prohibited
error 196 Space after opening parenthesis of function call prohibited
error 233 There must be exactly one blank line before the tags in function comment
error 234 Missing @return tag in function comment
error 274 Parameters must appear immediately after the comment
error 274 Expected 1 space before variable type
error 274 Missing comment for param "$option" at position 1
error 275 Expected 1 space before variable type
error 275 The comments for parameters $option (1) and $value (2) do not align
error 275 Missing comment for param "$value" at position 2
error 276 Expected 1 space before variable type
error 276 Missing comment for param "$level" at position 3
error 290 Parameters must appear immediately after the comment
error 290 Expected 1 space before variable type
error 290 Missing comment for param "$option" at position 1
error 291 Expected 1 space before variable type
error 291 The comments for parameters $option (1) and $level (2) do not align
error 291 Missing comment for param "$level" at position 2
error 303 Parameters must appear immediately after the comment
error 303 Expected 1 space before variable type
error 303 Missing comment for param "$part" at position 1
error 316 Parameters must appear immediately after the comment
error 316 Expected 1 space before variable type
error 316 Missing comment for param "$blocking" at position 1
warning 321 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 324 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
error 351 Parameters must appear immediately after the comment
error 351 Expected 1 space before variable type
error 351 Missing comment for param "$rsrc" at position 1
error 375 Parameters must appear immediately after the comment
error 375 Expected 1 space before variable type
error 375 Expected 1 space after the longest type
error 375 Expected 1 space after the longest variable name
error 379 File is being conditionally included; use "include_once" instead
error 398 Parameters must appear immediately after the comment
error 398 Expected 1 space before variable type
error 398 Expected 1 space after the longest type
error 398 Expected 1 space after the longest variable name
error 402 File is being conditionally included; use "include_once" instead
error 421 Parameters must appear immediately after the comment
error 421 Expected 1 space before variable type
error 421 Doc comment var "path" does not match actual variable name "$path" at position 1
error 421 Expected 1 space after the longest type
error 425 File is being conditionally included; use "include_once" instead
warning 427 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 445 Parameters must appear immediately after the comment
error 445 Expected 1 space before variable type
error 445 Expected 1 space after the longest type
error 445 Expected 1 space after the longest variable name
error 449 File is being conditionally included; use "include_once" instead
warning 451 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 469 Parameters must appear immediately after the comment
error 469 Expected 1 space before variable type
error 469 Missing comment for param "$address" at position 1
error 470 Expected 1 space before variable type
error 470 The comments for parameters $address (1) and $port (2) do not align
error 470 Missing comment for param "$port" at position 2
error 474 File is being conditionally included; use "include_once" instead
warning 476 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 492 Parameters must appear immediately after the comment
error 492 Expected 1 space before variable type
error 492 Missing comment for param "$address" at position 1
error 493 Expected 1 space before variable type
error 493 The comments for parameters $address (1) and $port (2) do not align
error 493 Missing comment for param "$port" at position 2
error 497 File is being conditionally included; use "include_once" instead
warning 499 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 515 Parameters must appear immediately after the comment
error 515 Expected 1 space before variable type
error 515 Missing comment for param "$address" at position 1
error 516 Expected 1 space before variable type
error 516 The comments for parameters $address (1) and $port (2) do not align
error 516 Missing comment for param "$port" at position 2
error 520 File is being conditionally included; use "include_once" instead
warning 522 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 540 Parameters must appear immediately after the comment
error 540 Expected 1 space before variable type
error 540 Missing comment for param "$address" at position 1
error 541 Expected 1 space before variable type
error 541 The comments for parameters $address (1) and $port (2) do not align
error 541 Missing comment for param "$port" at position 2
error 545 File is being conditionally included; use "include_once" instead
warning 547 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
Sum 88 errors and 9 warnings