Coding Standards Report for Calendar

Type Line Message
Package 130 errors and 108 warnings
/data/pear/pear/Calendar/Decorator/Textual.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 64 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 90 Line exceeds 85 characters; contains 86 characters
warning 116 Line exceeds 85 characters; contains 92 characters
warning 118 Line exceeds 85 characters; contains 86 characters
warning 131 Line exceeds 85 characters; contains 86 characters
warning 142 Line exceeds 85 characters; contains 88 characters
warning 144 Line exceeds 85 characters; contains 86 characters
warning 155 Line exceeds 85 characters; contains 98 characters
warning 157 Line exceeds 85 characters; contains 86 characters
warning 168 Line exceeds 85 characters; contains 89 characters
warning 170 Line exceeds 85 characters; contains 86 characters
warning 181 Line exceeds 85 characters; contains 94 characters
warning 183 Line exceeds 85 characters; contains 86 characters
warning 198 Line exceeds 85 characters; contains 86 characters
Sum 2 errors and 13 warnings
/data/pear/pear/Calendar/Decorator/Uri.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 69 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 147 Line exceeds 85 characters; contains 90 characters
warning 160 Line exceeds 85 characters; contains 88 characters
warning 173 Line exceeds 85 characters; contains 88 characters
Sum 2 errors and 3 warnings
/data/pear/pear/Calendar/Decorator/Weekday.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 66 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 122 Space after opening parenthesis of function call prohibited
error 126 Space before closing parenthesis of function call prohibited
error 142 Space after opening parenthesis of function call prohibited
error 146 Space before closing parenthesis of function call prohibited
error 164 Space after opening parenthesis of function call prohibited
error 168 Space before closing parenthesis of function call prohibited
error 187 Space after opening parenthesis of function call prohibited
error 191 Space before closing parenthesis of function call prohibited
Sum 10 errors and 0 warnings
/data/pear/pear/Calendar/Decorator/Wrapper.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 56 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
Sum 2 errors and 0 warnings
/data/pear/pear/Calendar/Calendar.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 57 Expected 1 space after comma in function call; 10 found
error 59 Expected 1 space after comma in function call; 4 found
error 68 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 100 Line exceeds 85 characters; contains 95 characters
error 111 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 249 Space after opening parenthesis of function call prohibited
error 389 Space after opening parenthesis of function call prohibited
error 500 Space after opening parenthesis of function call prohibited
error 504 Space before closing parenthesis of function call prohibited
error 506 Space before opening parenthesis of function call prohibited
warning 563 Line exceeds 85 characters; contains 87 characters
warning 591 Line exceeds 85 characters; contains 87 characters
error 604 Space after opening parenthesis of function call prohibited
error 619 Space after opening parenthesis of function call prohibited
error 634 Space after opening parenthesis of function call prohibited
error 649 Space after opening parenthesis of function call prohibited
error 664 Space after opening parenthesis of function call prohibited
error 679 Space after opening parenthesis of function call prohibited
error 694 Space after opening parenthesis of function call prohibited
warning 697 Line exceeds 85 characters; contains 89 characters
error 710 Space after opening parenthesis of function call prohibited
error 726 Space after opening parenthesis of function call prohibited
warning 729 Line exceeds 85 characters; contains 89 characters
error 742 Space after opening parenthesis of function call prohibited
warning 745 Line exceeds 85 characters; contains 89 characters
error 758 Space after opening parenthesis of function call prohibited
error 774 Space after opening parenthesis of function call prohibited
warning 777 Line exceeds 85 characters; contains 89 characters
Sum 22 errors and 7 warnings
/data/pear/pear/Calendar/Day.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 62 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 111 Line exceeds 85 characters; contains 87 characters
error 142 Expected "if (...) {\n"; found "if (...)\n {\n"
Sum 3 errors and 1 warnings
/data/pear/pear/Calendar/Decorator.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 57 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 442 Space after opening parenthesis of function call prohibited
error 464 Space after opening parenthesis of function call prohibited
error 486 Space after opening parenthesis of function call prohibited
Sum 5 errors and 0 warnings
/data/pear/pear/Calendar/Factory.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 60 Line exceeds 85 characters; contains 94 characters
warning 61 Line exceeds 85 characters; contains 91 characters
error 68 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 96 Line exceeds 85 characters; contains 91 characters
warning 140 Line exceeds 85 characters; contains 87 characters
Sum 2 errors and 4 warnings
/data/pear/pear/Calendar/Hour.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 63 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 91 Line exceeds 85 characters; contains 90 characters
error 123 Expected "if (...) {\n"; found "if (...)\n {\n"
Sum 3 errors and 1 warnings
/data/pear/pear/Calendar/Minute.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 63 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 92 Line exceeds 85 characters; contains 90 characters
error 123 Expected "if (...) {\n"; found "if (...)\n {\n"
Sum 3 errors and 1 warnings
/data/pear/pear/Calendar/Month.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 63 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 92 Line exceeds 85 characters; contains 87 characters
Sum 2 errors and 1 warnings
/data/pear/pear/Calendar/Second.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 57 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
Sum 2 errors and 0 warnings
/data/pear/pear/Calendar/Validator.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 53 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 180 Space after opening parenthesis of function call prohibited
error 183 Space before closing parenthesis of function call prohibited
error 285 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
Sum 5 errors and 0 warnings
/data/pear/pear/Calendar/Week.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 69 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 134 Line exceeds 85 characters; contains 96 characters
warning 144 Line exceeds 85 characters; contains 91 characters
error 145 Space after opening parenthesis of function call prohibited
error 148 Space after opening parenthesis of function call prohibited
error 152 Space before closing parenthesis of function call prohibited
error 154 Space before closing parenthesis of function call prohibited
error 155 Space after opening parenthesis of function call prohibited
warning 155 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 158 Space after opening parenthesis of function call prohibited
error 162 Space before closing parenthesis of function call prohibited
error 164 Space before closing parenthesis of function call prohibited
error 179 Space after opening parenthesis of function call prohibited
error 181 Space before closing parenthesis of function call prohibited
error 182 Space after opening parenthesis of function call prohibited
error 185 Space after opening parenthesis of function call prohibited
error 189 Space before closing parenthesis of function call prohibited
error 191 Space before closing parenthesis of function call prohibited
error 192 Space after opening parenthesis of function call prohibited
error 195 Space after opening parenthesis of function call prohibited
error 199 Space before closing parenthesis of function call prohibited
error 201 Space before closing parenthesis of function call prohibited
warning 207 Line exceeds 85 characters; contains 87 characters
error 218 Space after opening parenthesis of function call prohibited
error 222 Space before closing parenthesis of function call prohibited
warning 225 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 309 Line exceeds 85 characters; contains 91 characters
warning 318 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 319 Line exceeds 85 characters; contains 100 characters
warning 319 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 321 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 2 spaces
error 348 Space after opening parenthesis of function call prohibited
error 380 Space after opening parenthesis of function call prohibited
error 385 Space after opening parenthesis of function call prohibited
error 391 Space after opening parenthesis of function call prohibited
error 421 Space after opening parenthesis of function call prohibited
Sum 27 errors and 10 warnings
/data/pear/pear/Calendar/Year.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 63 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 91 Line exceeds 85 characters; contains 98 characters
warning 92 Line exceeds 85 characters; contains 95 characters
warning 122 Line exceeds 85 characters; contains 87 characters
Sum 2 errors and 3 warnings
/data/pear/pear/Calendar/Engine/Interface.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 44 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 368 Doc comment var "timestamp" does not match actual variable name "$stamp" at position 1
Sum 3 errors and 0 warnings
/data/pear/pear/Calendar/Engine/PearDate.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 48 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 203 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 211 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 219 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 225 Inline control structures are discouraged
warning 226 Inline control structures are discouraged
warning 339 Line exceeds 85 characters; contains 105 characters
warning 357 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 358 Line exceeds 85 characters; contains 86 characters
warning 359 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 385 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 388 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
Sum 2 errors and 11 warnings
/data/pear/pear/Calendar/Engine/UnixTS.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 43 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 80 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 305 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 336 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 339 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 359 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 454 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
Sum 2 errors and 6 warnings
/data/pear/pear/Calendar/Month/Weekdays.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 78 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 107 Line exceeds 85 characters; contains 96 characters
warning 121 Line exceeds 85 characters; contains 87 characters
warning 152 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 203 Space after opening parenthesis of function call prohibited
warning 203 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 207 Space before closing parenthesis of function call prohibited
Sum 4 errors and 4 warnings
/data/pear/pear/Calendar/Month/Weeks.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 61 Line exceeds 85 characters; contains 87 characters
error 69 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 99 Line exceeds 85 characters; contains 96 characters
warning 112 Line exceeds 85 characters; contains 88 characters
error 124 Space after opening parenthesis of function call prohibited
error 128 Space before closing parenthesis of function call prohibited
error 155 Expected "if (...) {\n"; found "if (...)\n {\n"
Sum 5 errors and 3 warnings
/data/pear/pear/Calendar/Table/Helper.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 43 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 112 Line exceeds 85 characters; contains 92 characters
warning 120 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 122 Space after opening parenthesis of function call prohibited
error 126 Space before closing parenthesis of function call prohibited
error 141 Space after opening parenthesis of function call prohibited
error 145 Space before closing parenthesis of function call prohibited
warning 148 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 153 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 171 Space after opening parenthesis of function call prohibited
warning 171 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 173 Space after opening parenthesis of function call prohibited
warning 173 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 175 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 182 Space after opening parenthesis of function call prohibited
error 185 Space after opening parenthesis of function call prohibited
error 189 Space before closing parenthesis of function call prohibited
error 190 Space before closing parenthesis of function call prohibited
error 265 Space after opening parenthesis of function call prohibited
error 282 Space after opening parenthesis of function call prohibited
error 286 Space before closing parenthesis of function call prohibited
error 307 Space after opening parenthesis of function call prohibited
error 311 Space before closing parenthesis of function call prohibited
Sum 17 errors and 7 warnings
/data/pear/pear/Calendar/Util/Textual.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 62 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 77 Line exceeds 85 characters; contains 86 characters
warning 114 Line exceeds 85 characters; contains 87 characters
warning 134 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 149 Line exceeds 85 characters; contains 92 characters
warning 152 Line exceeds 85 characters; contains 91 characters
warning 168 Line exceeds 85 characters; contains 91 characters
warning 181 Line exceeds 85 characters; contains 88 characters
warning 184 Line exceeds 85 characters; contains 91 characters
warning 197 Line exceeds 85 characters; contains 98 characters
warning 201 Line exceeds 85 characters; contains 91 characters
warning 209 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 211 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 219 Line exceeds 85 characters; contains 89 characters
warning 223 Line exceeds 85 characters; contains 91 characters
warning 233 Line exceeds 85 characters; contains 105 characters
warning 238 Line exceeds 85 characters; contains 94 characters
warning 241 Line exceeds 85 characters; contains 91 characters
warning 249 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 251 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 264 Line exceeds 85 characters; contains 91 characters
error 282 Expected "} elseif (...) {\n"; found "} elseif(...) {\n"
warning 295 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 296 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Sum 3 errors and 22 warnings
/data/pear/pear/Calendar/Util/Uri.php
error 30 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
error 53 Category name "Date and Time" is not valid; consider "Date_And_Time" instead
warning 121 Inline control structures are discouraged
warning 122 Inline control structures are discouraged
warning 123 Inline control structures are discouraged
warning 124 Inline control structures are discouraged
warning 125 Inline control structures are discouraged
warning 126 Inline control structures are discouraged
warning 133 Line exceeds 85 characters; contains 86 characters
warning 149 Line exceeds 85 characters; contains 86 characters
warning 190 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 193 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 199 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Sum 2 errors and 11 warnings