Commit 0dcd146
committed
Cleaned up code - some adjustments to selected files
The following adjustments were made:
- Mergeable "if" statements should be combined (PHP:S1066)
- Lines should not end with trailing whitespaces (PHP:S1131)
- Identical expressions should not be used on both sides of a binary
operator (PHP:S1764)
- The "var" keyword should not be used (PHP:S1765)
- PHP keywords and constants "true", "false", "null" should be lower
case (PHP:S1781)
- Method visibility should be explicitly declared (PHP:S1784)
- "elseif" keyword should be used in place of "else if" keywords
(PHP:S1793)
- Unused assignments should be removed (PHP:S1854)1 parent 95aa894 commit 0dcd146
2 files changed
Lines changed: 489 additions & 514 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
335 | | - | |
| 334 | + | |
336 | 335 | | |
337 | 336 | | |
338 | 337 | | |
| |||
350 | 349 | | |
351 | 350 | | |
352 | 351 | | |
353 | | - | |
354 | | - | |
355 | 352 | | |
356 | 353 | | |
357 | 354 | | |
358 | 355 | | |
359 | 356 | | |
360 | | - | |
| 357 | + | |
361 | 358 | | |
362 | 359 | | |
363 | 360 | | |
| |||
985 | 982 | | |
986 | 983 | | |
987 | 984 | | |
988 | | - | |
| 985 | + | |
989 | 986 | | |
990 | 987 | | |
991 | 988 | | |
| |||
3876 | 3873 | | |
3877 | 3874 | | |
3878 | 3875 | | |
3879 | | - | |
| 3876 | + | |
3880 | 3877 | | |
3881 | 3878 | | |
3882 | 3879 | | |
| |||
0 commit comments