Coding Standards Report for MDB_Frontend

Type Line Message
Package 78 errors and 33 warnings
/data/pear/pear/MDB_Frontend/Common.php
error 2 Missing file doc comment
error 4 "require_once" is a statement, not a function; no parentheses are required
error 5 "require_once" is a statement, not a function; no parentheses are required
error 6 "require_once" is a statement, not a function; no parentheses are required
error 18 Line indented incorrectly; expected 0 spaces, found 4
error 23 Line indented incorrectly; expected 0 spaces, found 4
error 25 "require" is a statement, not a function; no parentheses are required
error 25 File is being conditionally included; use "include" instead
error 27 Line indented incorrectly; expected 0 spaces, found 4
error 39 Line indented incorrectly; expected 0 spaces, found 4
error 41 "require" is a statement, not a function; no parentheses are required
error 41 File is being conditionally included; use "include" instead
Sum 12 errors and 0 warnings
/data/pear/pear/MDB_Frontend/Dump.php
error 2 Missing file doc comment
error 2 "require" is a statement, not a function; no parentheses are required
error 5 Expected "if (...) {\n"; found "if (...) \n {\n"
error 5 Line indented incorrectly; expected 0 spaces, found 4
error 13 Line indented incorrectly; expected 4 spaces, found 8
error 14 Line indented incorrectly; expected 8 spaces, found 12
error 16 Line indented incorrectly; expected 8 spaces, found 12
error 19 Line indented incorrectly; expected 8 spaces, found 12
error 22 Line indented incorrectly; expected 8 spaces, found 12
error 25 Line indented incorrectly; expected 8 spaces, found 12
error 28 Line indented incorrectly; expected 4 spaces, found 8
error 32 Space after opening parenthesis of function call prohibited
error 38 Space before closing parenthesis of function call prohibited
error 40 Line indented incorrectly; expected 4 spaces, found 8
warning 48 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 49 Line indented incorrectly; expected 4 spaces, found 8
error 51 Line indented incorrectly; expected 8 spaces, found 12
warning 52 Line exceeds 85 characters; contains 94 characters
error 54 Line indented incorrectly; expected 8 spaces, found 12
Sum 17 errors and 2 warnings
/data/pear/pear/MDB_Frontend/Frontend.php
error 2 Missing file doc comment
error 2 "require" is a statement, not a function; no parentheses are required
error 9 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 9 Line indented incorrectly; expected 0 spaces, found 4
error 11 Line indented incorrectly; expected 4 spaces, found 8
error 13 Line indented incorrectly; expected 8 spaces, found 12
error 25 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 25 Line indented incorrectly; expected 8 spaces, found 12
error 29 Expected 1 space after comma in function call; 3 found
error 33 Line indented incorrectly; expected 12 spaces, found 16
warning 33 Line exceeds 85 characters; contains 103 characters
error 36 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 36 Line indented incorrectly; expected 16 spaces, found 20
warning 37 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 40 Line exceeds 85 characters; contains 86 characters
error 41 Line indented incorrectly; expected 20 spaces, found 24
warning 44 Line exceeds 85 characters; contains 92 characters
error 45 Line indented incorrectly; expected 20 spaces, found 24
warning 46 Line exceeds 85 characters; contains 102 characters
error 48 Line indented incorrectly; expected 20 spaces, found 24
warning 49 Line exceeds 85 characters; contains 119 characters
error 59 Line indented incorrectly; expected 12 spaces, found 16
warning 59 Line exceeds 85 characters; contains 102 characters
error 60 Line indented incorrectly; expected 16 spaces, found 20
error 62 Line indented incorrectly; expected 16 spaces, found 20
error 64 Line indented incorrectly; expected 20 spaces, found 24
error 66 Line indented incorrectly; expected 24 spaces, found 28
warning 66 Line exceeds 85 characters; contains 88 characters
warning 69 Line exceeds 85 characters; contains 89 characters
error 71 Line indented incorrectly; expected 20 spaces, found 24
warning 71 Line exceeds 85 characters; contains 96 characters
error 73 Space found before comma in function call
error 73 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 73 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 73 Line exceeds 85 characters; contains 117 characters
warning 75 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 83 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 85 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 85 Line indented incorrectly; expected 20 spaces, found 24
error 86 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 86 Line indented incorrectly; expected 24 spaces, found 28
error 87 Line indented incorrectly; expected 28 spaces, found 32
warning 88 Line exceeds 85 characters; contains 87 characters
error 89 Expected "if (...) {\n"; found "if (...) \n {\n"
error 89 Line indented incorrectly; expected 32 spaces, found 36
warning 89 Line exceeds 85 characters; contains 94 characters
warning 90 Line exceeds 85 characters; contains 97 characters
error 93 Line indented incorrectly; expected 32 spaces, found 36
warning 96 Line exceeds 85 characters; contains 145 characters
warning 99 Line exceeds 85 characters; contains 100 characters
warning 100 Line exceeds 85 characters; contains 100 characters
error 104 Line indented incorrectly; expected 28 spaces, found 32
warning 105 Line exceeds 85 characters; contains 95 characters
warning 107 Line exceeds 85 characters; contains 107 characters
warning 108 Line exceeds 85 characters; contains 87 characters
warning 109 Line exceeds 85 characters; contains 88 characters
error 120 No space found after comma in function call
warning 120 Line exceeds 85 characters; contains 106 characters
error 121 No space found after comma in function call
warning 121 Line exceeds 85 characters; contains 106 characters
warning 125 Line exceeds 85 characters; contains 87 characters
error 131 Line indented incorrectly; expected 12 spaces, found 16
error 141 Line indented incorrectly; expected 8 spaces, found 12
error 156 Line indented incorrectly; expected 0 spaces, found 4
error 157 Line indented incorrectly; expected 4 spaces, found 8
error 159 Line indented incorrectly; expected 8 spaces, found 12
error 172 Line indented incorrectly; expected 0 spaces, found 4
warning 174 Line exceeds 85 characters; contains 113 characters
Sum 41 errors and 27 warnings
/data/pear/pear/MDB_Frontend/Login.tpl.php
error 10 Missing file doc comment
error 12 Closing brace must be on a line by itself
warning 20 Line exceeds 85 characters; contains 96 characters
warning 28 Line exceeds 85 characters; contains 96 characters
warning 36 Line exceeds 85 characters; contains 100 characters
warning 44 Line exceeds 85 characters; contains 92 characters
Sum 2 errors and 4 warnings
/data/pear/pear/MDB_Frontend/Update.php
error 2 Missing file doc comment
error 2 "require" is a statement, not a function; no parentheses are required
error 5 Expected "if (...) {\n"; found "if (...) \n {\n"
error 5 Line indented incorrectly; expected 0 spaces, found 4
error 12 TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
error 14 Line indented incorrectly; expected 4 spaces, found 8
Sum 6 errors and 0 warnings