[~/www/batflat]$ ./vendor/bin/phpcs
[1mFILE: ~/www/batflat/inc/core/Admin.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES[0m
----------------------------------------------------------------------
68 | [33mWARNING[0m | Line exceeds 120 characters; contains 122 characters
112 | [33mWARNING[0m | Line exceeds 120 characters; contains 121 characters
117 | [33mWARNING[0m | Line exceeds 120 characters; contains 121 characters
119 | [33mWARNING[0m | Line exceeds 120 characters; contains 124 characters
271 | [33mWARNING[0m | Line exceeds 120 characters; contains 130 characters
289 | [33mWARNING[0m | Line exceeds 120 characters; contains 125 characters
296 | [33mWARNING[0m | Line exceeds 120 characters; contains 124 characters
301 | [33mWARNING[0m | Line exceeds 120 characters; contains 129 characters
304 | [33mWARNING[0m | Line exceeds 120 characters; contains 134 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/BaseModule.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
101 | [33mWARNING[0m | Method name "_getLanguages" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/defines.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
1 | [33mWARNING[0m | A file should declare new symbols (classes, functions, constants, etc.) and
| | cause no other side effects, or it should execute logic with side effects, but
| | should not do both. The first symbol is defined on line 18 and the first side
| | effect is on line 14.
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Autoloader.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
1 | [33mWARNING[0m | A file should declare new symbols (classes, functions, constants, etc.) and
| | cause no other side effects, or it should execute logic with side effects, but
| | should not do both. The first symbol is defined on line 20 and the first side
| | effect is on line 14.
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Image.php[0m
------------------------------------------------------------------------------------
[1mFOUND 3 ERRORS AFFECTING 3 LINES[0m
------------------------------------------------------------------------------------
64 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
439 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
440 | [31mERROR[0m | [x] Line indented incorrectly; expected at least 20 spaces, found 16
------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Indenter.php[0m
--------------------------------------------------------------------------
[1mFOUND 11 ERRORS AND 4 WARNINGS AFFECTING 14 LINES[0m
--------------------------------------------------------------------------
14 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
15 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
18 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
18 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 196 characters
19 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
20 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
33 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
52 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
68 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
70 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 146 characters
83 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 121 characters
99 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
117 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
121 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
146 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 124 characters
--------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
--------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/License.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES[0m
----------------------------------------------------------------------
32 | [33mWARNING[0m | Line exceeds 120 characters; contains 136 characters
56 | [33mWARNING[0m | Line exceeds 120 characters; contains 160 characters
80 | [33mWARNING[0m | Line exceeds 120 characters; contains 143 characters
85 | [33mWARNING[0m | Line exceeds 120 characters; contains 192 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Pagination.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES[0m
------------------------------------------------------------------------------------------------
15 | [33mWARNING[0m | Property name "$_currentPage" should not be prefixed with an underscore to
| | indicate visibility
16 | [33mWARNING[0m | Property name "$_totalRecords" should not be prefixed with an underscore to
| | indicate visibility
17 | [33mWARNING[0m | Property name "$_recordsPerPage" should not be prefixed with an underscore to
| | indicate visibility
18 | [33mWARNING[0m | Property name "$_url" should not be prefixed with an underscore to indicate
| | visibility
52 | [33mWARNING[0m | Method name "_totalPages" should not be prefixed with an underscore to
| | indicate visibility
61 | [33mWARNING[0m | Method name "_previousPage" should not be prefixed with an underscore to
| | indicate visibility
70 | [33mWARNING[0m | Method name "_nextPage" should not be prefixed with an underscore to indicate
| | visibility
79 | [33mWARNING[0m | Method name "_hasPreviousPage" should not be prefixed with an underscore to
| | indicate visibility
88 | [33mWARNING[0m | Method name "_hasNextPage" should not be prefixed with an underscore to
| | indicate visibility
112 | [33mWARNING[0m | Line exceeds 120 characters; contains 127 characters
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Parsedown.php[0m
--------------------------------------------------------------------------------------------
[1mFOUND 125 ERRORS AND 7 WARNINGS AFFECTING 128 LINES[0m
--------------------------------------------------------------------------------------------
19 | [31mERROR[0m | [ ] Class constants must be uppercase; expected VERSION but found version
24 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
28 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
32 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
37 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
40 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
51 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
56 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
59 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
99 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
100 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
101 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
102 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
103 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
104 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
105 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
106 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
107 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
108 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
109 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
110 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
111 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
112 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
113 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
114 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
115 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
116 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
117 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
118 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
119 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
120 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
121 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
122 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
125 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
167 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
288 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
289 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
292 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
339 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 125 characters
340 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
370 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
378 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
383 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
385 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
448 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
449 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
462 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
462 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
465 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
468 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
474 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
477 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
490 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 133 characters
501 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
504 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
542 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
543 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
578 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
579 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
614 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
655 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
657 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
659 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
678 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
689 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
704 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
735 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
747 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
756 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
766 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
769 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
775 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
780 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
783 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
786 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
803 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
815 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
822 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
830 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
844 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
845 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
855 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
856 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
857 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
858 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
859 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
860 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
861 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
862 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
863 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
864 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
865 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
866 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
867 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
881 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
935 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 121 characters
940 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
942 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
952 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 128 characters
959 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
961 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
964 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
988 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
990 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1001 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1022 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1024 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1026 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1042 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1046 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1094 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1094 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1094 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 126 characters
1096 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1109 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1116 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1122 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 143 characters
1123 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1133 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1139 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1142 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1156 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1158 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1174 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1177 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1180 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1192 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 124 characters
1193 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1193 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1195 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1197 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
1200 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 124 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
--------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/QueryBuilder.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 5 ERRORS AND 3 WARNINGS AFFECTING 8 LINES[0m
------------------------------------------------------------------------------------------------
158 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
248 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
306 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
797 | [31mERROR[0m | [ ] Expected 1 space after closing brace; newline found
809 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
859 | [33mWARNING[0m | [ ] Method name "_build" should not be prefixed with an underscore to indicate
| | visibility
871 | [33mWARNING[0m | [ ] Method name "_query" should not be prefixed with an underscore to indicate
| | visibility
892 | [33mWARNING[0m | [ ] Method name "_getColumns" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Router.php[0m
----------------------------------------------------------------------
[1mFOUND 2 ERRORS AFFECTING 2 LINES[0m
----------------------------------------------------------------------
24 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
31 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
----------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/lib/Templates.php[0m
-----------------------------------------------------------------------------------------
[1mFOUND 11 ERRORS AND 2 WARNINGS AFFECTING 12 LINES[0m
-----------------------------------------------------------------------------------------
51 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 128 characters
55 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 127 characters
162 | [31mERROR[0m | [ ] Method name "Templates::organize_array" is not in camel caps format
162 | [31mERROR[0m | [x] Whitespace found at end of line
163 | [31mERROR[0m | [x] Whitespace found at end of line
165 | [31mERROR[0m | [x] Whitespace found at end of line
166 | [31mERROR[0m | [x] Whitespace found at end of line
167 | [31mERROR[0m | [x] Whitespace found at end of line
168 | [31mERROR[0m | [x] Whitespace found at end of line
170 | [31mERROR[0m | [x] Whitespace found at end of line
171 | [31mERROR[0m | [x] Whitespace found at end of line
254 | [31mERROR[0m | [ ] Method name "Templates::noParse_array" is not in camel caps format
283 | [31mERROR[0m | [x] Expected 1 space before "=>"; 2 found
-----------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
-----------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/Main.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES[0m
----------------------------------------------------------------------
257 | [33mWARNING[0m | Line exceeds 120 characters; contains 128 characters
259 | [33mWARNING[0m | Line exceeds 120 characters; contains 133 characters
271 | [33mWARNING[0m | Line exceeds 120 characters; contains 138 characters
289 | [33mWARNING[0m | Line exceeds 120 characters; contains 257 characters
300 | [33mWARNING[0m | Line exceeds 120 characters; contains 169 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/core/Site.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
----------------------------------------------------------------------
113 | [33mWARNING[0m | Line exceeds 120 characters; contains 138 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/blog/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES[0m
------------------------------------------------------------------------------------------------
103 | [31mERROR[0m | [x] Line indented incorrectly; expected 20 spaces, found 24
165 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 226 characters
442 | [33mWARNING[0m | [ ] Method name "_addHeaderFiles" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/blog/Info.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES[0m
----------------------------------------------------------------------
49 | [33mWARNING[0m | Line exceeds 120 characters; contains 1236 characters
50 | [33mWARNING[0m | Line exceeds 120 characters; contains 1681 characters
51 | [33mWARNING[0m | Line exceeds 120 characters; contains 167 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/blog/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 25 WARNINGS AFFECTING 25 LINES[0m
------------------------------------------------------------------------------------------------
22 | [33mWARNING[0m | Line exceeds 120 characters; contains 137 characters
46 | [33mWARNING[0m | Method name "_getLatestPosts" should not be prefixed with an underscore to
| | indicate visibility
56 | [33mWARNING[0m | Line exceeds 120 characters; contains 130 characters
66 | [33mWARNING[0m | Method name "_getAllTags" should not be prefixed with an underscore to
| | indicate visibility
84 | [33mWARNING[0m | Method name "_importPost" should not be prefixed with an underscore to
| | indicate visibility
91 | [33mWARNING[0m | Line exceeds 120 characters; contains 138 characters
97 | [33mWARNING[0m | Line exceeds 120 characters; contains 134 characters
128 | [33mWARNING[0m | Line exceeds 120 characters; contains 134 characters
131 | [33mWARNING[0m | Line exceeds 120 characters; contains 135 characters
136 | [33mWARNING[0m | Line exceeds 120 characters; contains 143 characters
142 | [33mWARNING[0m | Line exceeds 120 characters; contains 211 characters
153 | [33mWARNING[0m | Line exceeds 120 characters; contains 150 characters
157 | [33mWARNING[0m | Line exceeds 120 characters; contains 217 characters
159 | [33mWARNING[0m | Line exceeds 120 characters; contains 153 characters
168 | [33mWARNING[0m | Method name "_importAllPosts" should not be prefixed with an underscore to
| | indicate visibility
188 | [33mWARNING[0m | Line exceeds 120 characters; contains 130 characters
204 | [33mWARNING[0m | Line exceeds 120 characters; contains 133 characters
228 | [33mWARNING[0m | Line exceeds 120 characters; contains 135 characters
244 | [33mWARNING[0m | Line exceeds 120 characters; contains 155 characters
251 | [33mWARNING[0m | Method name "_importTagPosts" should not be prefixed with an underscore to
| | indicate visibility
278 | [33mWARNING[0m | Line exceeds 120 characters; contains 130 characters
295 | [33mWARNING[0m | Line exceeds 120 characters; contains 133 characters
319 | [33mWARNING[0m | Line exceeds 120 characters; contains 267 characters
338 | [33mWARNING[0m | Method name "_generateRSS" should not be prefixed with an underscore to
| | indicate visibility
360 | [33mWARNING[0m | Line exceeds 120 characters; contains 121 characters
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/carousel/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
23 | [33mWARNING[0m | Method name "_insertCarousels" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/contact/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
84 | [33mWARNING[0m | Method name "_getUsers" should not be prefixed with an underscore to indicate
| | visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/contact/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 2 ERRORS AND 11 WARNINGS AFFECTING 13 LINES[0m
------------------------------------------------------------------------------------------------
18 | [33mWARNING[0m | [ ] Property name "$_headers" should not be prefixed with an underscore to
| | indicate visibility
19 | [33mWARNING[0m | [ ] Property name "$_params" should not be prefixed with an underscore to
| | indicate visibility
20 | [33mWARNING[0m | [ ] Property name "$_error" should not be prefixed with an underscore to
| | indicate visibility
44 | [33mWARNING[0m | [ ] Method name "_insertForm" should not be prefixed with an underscore to
| | indicate visibility
54 | [33mWARNING[0m | [ ] Method name "_initDriver" should not be prefixed with an underscore to
| | indicate visibility
91 | [33mWARNING[0m | [ ] Method name "_checkErrors" should not be prefixed with an underscore to
| | indicate visibility
117 | [33mWARNING[0m | [ ] Method name "_sendEmail" should not be prefixed with an underscore to
| | indicate visibility
125 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 137 characters
128 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 124 characters
140 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 128 characters
155 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
156 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
167 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 128 characters
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/dashboard/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES[0m
------------------------------------------------------------------------------------------------
31 | [33mWARNING[0m | Method name "_modulesList" should not be prefixed with an underscore to
| | indicate visibility
62 | [33mWARNING[0m | Method name "_fetchNews" should not be prefixed with an underscore to indicate
| | visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/devbar/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
1 | [33mWARNING[0m | A file should declare new symbols (classes, functions, constants, etc.) and
| | cause no other side effects, or it should execute logic with side effects, but
| | should not do both. The first symbol is defined on line 16 and the first side
| | effect is on line 62.
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/devbar/functions.php[0m
----------------------------------------------------------------------------------------------
[1mFOUND 149 ERRORS AND 1 WARNING AFFECTING 39 LINES[0m
----------------------------------------------------------------------------------------------
16 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 123 characters
25 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
25 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
25 | [31mERROR[0m | [x] Closing brace must be on a line by itself
25 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
26 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
26 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
26 | [31mERROR[0m | [x] Closing brace must be on a line by itself
26 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
27 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
27 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
27 | [31mERROR[0m | [x] Closing brace must be on a line by itself
27 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
28 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
28 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
28 | [31mERROR[0m | [x] Closing brace must be on a line by itself
28 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
29 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
29 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
29 | [31mERROR[0m | [x] Closing brace must be on a line by itself
29 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
30 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
30 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
30 | [31mERROR[0m | [x] Closing brace must be on a line by itself
30 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
31 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
31 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
31 | [31mERROR[0m | [x] Closing brace must be on a line by itself
31 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
32 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
32 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
32 | [31mERROR[0m | [x] Closing brace must be on a line by itself
32 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
33 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
33 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
33 | [31mERROR[0m | [x] Closing brace must be on a line by itself
33 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
34 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
34 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
34 | [31mERROR[0m | [x] Closing brace must be on a line by itself
34 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
35 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
35 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
35 | [31mERROR[0m | [x] Closing brace must be on a line by itself
35 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
36 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
36 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
36 | [31mERROR[0m | [x] Closing brace must be on a line by itself
36 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
37 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
37 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
37 | [31mERROR[0m | [x] Closing brace must be on a line by itself
37 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
38 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
38 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
38 | [31mERROR[0m | [x] Closing brace must be on a line by itself
38 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
39 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
39 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
39 | [31mERROR[0m | [x] Closing brace must be on a line by itself
39 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
40 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
40 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
40 | [31mERROR[0m | [x] Closing brace must be on a line by itself
40 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
41 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
41 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
41 | [31mERROR[0m | [x] Closing brace must be on a line by itself
41 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
42 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
42 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
42 | [31mERROR[0m | [x] Closing brace must be on a line by itself
42 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
43 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
43 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
43 | [31mERROR[0m | [x] Closing brace must be on a line by itself
43 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
44 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
44 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
44 | [31mERROR[0m | [x] Closing brace must be on a line by itself
44 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
45 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
45 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
45 | [31mERROR[0m | [x] Closing brace must be on a line by itself
45 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
46 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
46 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
46 | [31mERROR[0m | [x] Closing brace must be on a line by itself
46 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
47 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
47 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
47 | [31mERROR[0m | [x] Closing brace must be on a line by itself
47 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
48 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
48 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
48 | [31mERROR[0m | [x] Closing brace must be on a line by itself
48 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
49 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
49 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
49 | [31mERROR[0m | [x] Closing brace must be on a line by itself
49 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
50 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
50 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
50 | [31mERROR[0m | [x] Closing brace must be on a line by itself
50 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
51 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
51 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
51 | [31mERROR[0m | [x] Closing brace must be on a line by itself
51 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
52 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
52 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
52 | [31mERROR[0m | [x] Closing brace must be on a line by itself
52 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
53 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
53 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
53 | [31mERROR[0m | [x] Closing brace must be on a line by itself
53 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
54 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
54 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
54 | [31mERROR[0m | [x] Closing brace must be on a line by itself
54 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
55 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
55 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
55 | [31mERROR[0m | [x] Closing brace must be on a line by itself
55 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
56 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
56 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
56 | [31mERROR[0m | [x] Closing brace must be on a line by itself
56 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
57 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
57 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
57 | [31mERROR[0m | [x] Closing brace must be on a line by itself
57 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
58 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
58 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
58 | [31mERROR[0m | [x] Closing brace must be on a line by itself
58 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
59 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
59 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
59 | [31mERROR[0m | [x] Closing brace must be on a line by itself
59 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
60 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
60 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
60 | [31mERROR[0m | [x] Closing brace must be on a line by itself
60 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
61 | [31mERROR[0m | [x] The CASE body must start on the line following the statement
61 | [31mERROR[0m | [x] Terminating statement must be on a line by itself
61 | [31mERROR[0m | [x] Closing brace must be on a line by itself
61 | [31mERROR[0m | [x] Each PHP statement must be on a line by itself
64 | [31mERROR[0m | [x] Terminating statement must be indented to the same level as the CASE body
----------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 149 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
----------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/devbar/Info.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 13 ERRORS AFFECTING 9 LINES[0m
------------------------------------------------------------------------------------------------
4 | [31mERROR[0m | [x] Whitespace found at end of line
17 | [31mERROR[0m | [x] Spaces must be used to indent lines; tabs are not allowed
17 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
17 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
20 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
20 | [31mERROR[0m | [x] Expected 1 space after USE keyword; found 0
21 | [31mERROR[0m | [x] Opening brace should be on the same line as the declaration
23 | [31mERROR[0m | [x] Function closing brace must go on the next line following the body; found 1
| | blank lines before brace
24 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
24 | [31mERROR[0m | [x] Expected 1 space after USE keyword; found 0
25 | [31mERROR[0m | [x] Opening brace should be on the same line as the declaration
27 | [31mERROR[0m | [x] Function closing brace must go on the next line following the body; found 1
| | blank lines before brace
28 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/devbar/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
1 | [33mWARNING[0m | A file should declare new symbols (classes, functions, constants, etc.) and
| | cause no other side effects, or it should execute logic with side effects, but
| | should not do both. The first symbol is defined on line 16 and the first side
| | effect is on line 62.
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/galleries/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES[0m
------------------------------------------------------------------------------------------------
18 | [33mWARNING[0m | Property name "$_thumbs" should not be prefixed with an underscore to indicate
| | visibility
19 | [33mWARNING[0m | Property name "$_uploads" should not be prefixed with an underscore to
| | indicate visibility
111 | [33mWARNING[0m | Line exceeds 120 characters; contains 130 characters
173 | [33mWARNING[0m | Line exceeds 120 characters; contains 121 characters
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/galleries/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES[0m
------------------------------------------------------------------------------------------------
23 | [33mWARNING[0m | [ ] Method name "_importGalleries" should not be prefixed with an underscore to
| | indicate visibility
59 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/modules/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES[0m
------------------------------------------------------------------------------------------------
54 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
103 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 140 characters
187 | [33mWARNING[0m | [ ] Method name "_modulesList" should not be prefixed with an underscore to
| | indicate visibility
206 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 158 characters
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/navigation/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES[0m
------------------------------------------------------------------------------------------------
110 | [33mWARNING[0m | Line exceeds 120 characters; contains 172 characters
283 | [33mWARNING[0m | Method name "_getPages" should not be prefixed with an underscore to indicate
| | visibility
305 | [33mWARNING[0m | Method name "_getParents" should not be prefixed with an underscore to
| | indicate visibility
343 | [33mWARNING[0m | Method name "_getNavItems" should not be prefixed with an underscore to
| | indicate visibility
358 | [33mWARNING[0m | Line exceeds 120 characters; contains 151 characters
432 | [33mWARNING[0m | Method name "_getHighestOrder" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/navigation/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES[0m
------------------------------------------------------------------------------------------------
26 | [33mWARNING[0m | Method name "_insertMenu" should not be prefixed with an underscore to indicate
| | visibility
42 | [33mWARNING[0m | Line exceeds 120 characters; contains 251 characters
57 | [33mWARNING[0m | Line exceeds 120 characters; contains 243 characters
64 | [33mWARNING[0m | Line exceeds 120 characters; contains 173 characters
75 | [33mWARNING[0m | Line exceeds 120 characters; contains 132 characters
87 | [33mWARNING[0m | Method name "_isChildActive" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/pages/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES[0m
------------------------------------------------------------------------------------------------
46 | [33mWARNING[0m | Line exceeds 120 characters; contains 123 characters
80 | [33mWARNING[0m | Line exceeds 120 characters; contains 189 characters
107 | [33mWARNING[0m | Line exceeds 120 characters; contains 197 characters
153 | [33mWARNING[0m | Line exceeds 120 characters; contains 146 characters
156 | [33mWARNING[0m | Line exceeds 120 characters; contains 128 characters
239 | [33mWARNING[0m | Method name "_getTemplates" should not be prefixed with an underscore to
| | indicate visibility
256 | [33mWARNING[0m | Method name "_addHeaderFiles" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/pages/Info.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES[0m
----------------------------------------------------------------------
35 | [33mWARNING[0m | Line exceeds 120 characters; contains 153 characters
36 | [33mWARNING[0m | Line exceeds 120 characters; contains 430 characters
37 | [33mWARNING[0m | Line exceeds 120 characters; contains 573 characters
42 | [33mWARNING[0m | Line exceeds 120 characters; contains 150 characters
43 | [33mWARNING[0m | Line exceeds 120 characters; contains 623 characters
44 | [33mWARNING[0m | Line exceeds 120 characters; contains 537 characters
50 | [33mWARNING[0m | Line exceeds 120 characters; contains 145 characters
57 | [33mWARNING[0m | Line exceeds 120 characters; contains 150 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/pages/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES[0m
------------------------------------------------------------------------------------------------
63 | [33mWARNING[0m | Method name "_importPage" should not be prefixed with an underscore to
| | indicate visibility
88 | [33mWARNING[0m | Method name "_importAllPages" should not be prefixed with an underscore to
| | indicate visibility
116 | [33mWARNING[0m | Method name "_getCurrentLang" should not be prefixed with an underscore to
| | indicate visibility
125 | [33mWARNING[0m | Method name "_getLanguageBySlug" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/searchbox/Info.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 13 ERRORS AFFECTING 9 LINES[0m
------------------------------------------------------------------------------------------------
4 | [31mERROR[0m | [x] Whitespace found at end of line
17 | [31mERROR[0m | [x] Spaces must be used to indent lines; tabs are not allowed
17 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
17 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
20 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
20 | [31mERROR[0m | [x] Expected 1 space after USE keyword; found 0
21 | [31mERROR[0m | [x] Opening brace should be on the same line as the declaration
23 | [31mERROR[0m | [x] Function closing brace must go on the next line following the body; found 1
| | blank lines before brace
24 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
24 | [31mERROR[0m | [x] Expected 1 space after USE keyword; found 0
25 | [31mERROR[0m | [x] Opening brace should be on the same line as the declaration
27 | [31mERROR[0m | [x] Function closing brace must go on the next line following the body; found 1
| | blank lines before brace
28 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/searchbox/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 56 ERRORS AND 5 WARNINGS AFFECTING 35 LINES[0m
------------------------------------------------------------------------------------------------
4 | [31mERROR[0m | [x] Whitespace found at end of line
16 | [31mERROR[0m | [x] Line indented incorrectly; expected 0 spaces, found 4
19 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
21 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
21 | [31mERROR[0m | [x] Inline control structures are not allowed
25 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
28 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
32 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
34 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
46 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
46 | [31mERROR[0m | [x] Inline control structures are not allowed
48 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
48 | [31mERROR[0m | [x] Expected 1 space(s) after ELSE keyword; newline found
48 | [31mERROR[0m | [x] Inline control structures are not allowed
52 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
52 | [31mERROR[0m | [x] Inline control structures are not allowed
54 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
54 | [31mERROR[0m | [x] Expected 1 space(s) after ELSE keyword; newline found
54 | [31mERROR[0m | [x] Whitespace found at end of line
57 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 128 characters
62 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
62 | [31mERROR[0m | [x] Expected 1 space(s) after FOREACH keyword; 0 found
62 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
65 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
68 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 141 characters
73 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
73 | [31mERROR[0m | [x] Expected 1 space(s) after FOREACH keyword; 0 found
73 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
76 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
82 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
82 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
82 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
83 | [31mERROR[0m | [x] Whitespace found at end of line
87 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
87 | [31mERROR[0m | [x] Expected 1 space after closing brace; newline found
88 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
88 | [31mERROR[0m | [x] Expected 1 space(s) after ELSE keyword; newline found
88 | [31mERROR[0m | [x] Inline control structures are not allowed
90 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
93 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
95 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
95 | [33mWARNING[0m | [ ] Method name "_insertSearchBox" should not be prefixed with an underscore
| | to indicate visibility
98 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
100 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
100 | [33mWARNING[0m | [ ] Method name "_insertResults" should not be prefixed with an underscore to
| | indicate visibility
102 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
102 | [31mERROR[0m | [x] Expected 1 space(s) after FOREACH keyword; 0 found
102 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
106 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
108 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
110 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
110 | [33mWARNING[0m | [ ] Method name "_currentLanguage" should not be prefixed with an underscore
| | to indicate visibility
112 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
112 | [31mERROR[0m | [x] Inline control structures are not allowed
114 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
114 | [31mERROR[0m | [x] Expected 1 space(s) after ELSE keyword; newline found
114 | [31mERROR[0m | [x] Inline control structures are not allowed
116 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
118 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
118 | [31mERROR[0m | [x] Line indented incorrectly; expected 0 spaces, found 4
118 | [31mERROR[0m | [x] The closing brace for the class must go on the next line after the body
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 56 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/settings/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 8 ERRORS AND 16 WARNINGS AFFECTING 24 LINES[0m
------------------------------------------------------------------------------------------------
112 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 125 characters
226 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 160 characters
414 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 122 characters
416 | [31mERROR[0m | [x] Expected 1 space after closing brace; newline found
421 | [31mERROR[0m | [x] Whitespace found at end of line
436 | [31mERROR[0m | [x] Whitespace found at end of line
447 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 122 characters
453 | [31mERROR[0m | [x] Whitespace found at end of line
510 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 187 characters
574 | [33mWARNING[0m | [ ] Method name "_checkUpdate" should not be prefixed with an underscore to
| | indicate visibility
629 | [33mWARNING[0m | [ ] Method name "_getThemes" should not be prefixed with an underscore to
| | indicate visibility
660 | [33mWARNING[0m | [ ] Method name "_getPages" should not be prefixed with an underscore to
| | indicate visibility
676 | [33mWARNING[0m | [ ] Method name "_getThemeFiles" should not be prefixed with an underscore to
| | indicate visibility
691 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 143 characters
697 | [33mWARNING[0m | [ ] Method name "_updateSettings" should not be prefixed with an underscore to
| | indicate visibility
739 | [33mWARNING[0m | [ ] Method name "_verifyLicense" should not be prefixed with an underscore to
| | indicate visibility
756 | [33mWARNING[0m | [ ] Method name "_getTimezones" should not be prefixed with an underscore to
| | indicate visibility
758 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
771 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
776 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
785 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
798 | [33mWARNING[0m | [ ] Method name "_getAllTranslations" should not be prefixed with an
| | underscore to indicate visibility
870 | [33mWARNING[0m | [ ] Method name "_directorySize" should not be prefixed with an underscore to
| | indicate visibility
875 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 166 characters
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/settings/Info.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 15 WARNINGS AFFECTING 15 LINES[0m
----------------------------------------------------------------------
28 | [33mWARNING[0m | Line exceeds 120 characters; contains 128 characters
29 | [33mWARNING[0m | Line exceeds 120 characters; contains 150 characters
30 | [33mWARNING[0m | Line exceeds 120 characters; contains 134 characters
31 | [33mWARNING[0m | Line exceeds 120 characters; contains 193 characters
32 | [33mWARNING[0m | Line exceeds 120 characters; contains 128 characters
33 | [33mWARNING[0m | Line exceeds 120 characters; contains 155 characters
34 | [33mWARNING[0m | Line exceeds 120 characters; contains 128 characters
35 | [33mWARNING[0m | Line exceeds 120 characters; contains 129 characters
36 | [33mWARNING[0m | Line exceeds 120 characters; contains 135 characters
37 | [33mWARNING[0m | Line exceeds 120 characters; contains 136 characters
38 | [33mWARNING[0m | Line exceeds 120 characters; contains 128 characters
39 | [33mWARNING[0m | Line exceeds 120 characters; contains 129 characters
40 | [33mWARNING[0m | Line exceeds 120 characters; contains 132 characters
41 | [33mWARNING[0m | Line exceeds 120 characters; contains 131 characters
42 | [33mWARNING[0m | Line exceeds 120 characters; contains 123 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/settings/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
23 | [33mWARNING[0m | Method name "_importSettings" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/sitemap/Info.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 13 ERRORS AFFECTING 9 LINES[0m
------------------------------------------------------------------------------------------------
4 | [31mERROR[0m | [x] Whitespace found at end of line
17 | [31mERROR[0m | [x] Spaces must be used to indent lines; tabs are not allowed
17 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
17 | [31mERROR[0m | [x] Spaces must be used for alignment; tabs are not allowed
20 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
20 | [31mERROR[0m | [x] Expected 1 space after USE keyword; found 0
21 | [31mERROR[0m | [x] Opening brace should be on the same line as the declaration
23 | [31mERROR[0m | [x] Function closing brace must go on the next line following the body; found 1
| | blank lines before brace
24 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
24 | [31mERROR[0m | [x] Expected 1 space after USE keyword; found 0
25 | [31mERROR[0m | [x] Opening brace should be on the same line as the declaration
27 | [31mERROR[0m | [x] Function closing brace must go on the next line following the body; found 1
| | blank lines before brace
28 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/sitemap/Site.php[0m
-----------------------------------------------------------------------------------------------
[1mFOUND 42 ERRORS AND 3 WARNINGS AFFECTING 23 LINES[0m
-----------------------------------------------------------------------------------------------
4 | [31mERROR[0m | [x] Whitespace found at end of line
16 | [31mERROR[0m | [x] Line indented incorrectly; expected 0 spaces, found 4
18 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
20 | [31mERROR[0m | [x] Expected 1 space after FUNCTION keyword; 0 found
36 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
36 | [31mERROR[0m | [x] Expected 1 space(s) after FOREACH keyword; 0 found
36 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
41 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
41 | [31mERROR[0m | [x] Inline control structures are not allowed
41 | [31mERROR[0m | [x] TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
44 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
44 | [31mERROR[0m | [x] Inline control structures are not allowed
46 | [33mWARNING[0m | [x] Usage of ELSE IF is discouraged; use ELSEIF instead
46 | [31mERROR[0m | [x] Line indented incorrectly; expected 16 spaces, found 20
46 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
46 | [31mERROR[0m | [x] Inline control structures are not allowed
48 | [33mWARNING[0m | [x] Usage of ELSE IF is discouraged; use ELSEIF instead
48 | [31mERROR[0m | [x] Line indented incorrectly; expected 16 spaces, found 20
48 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
48 | [31mERROR[0m | [x] Inline control structures are not allowed
50 | [31mERROR[0m | [x] Line indented incorrectly; expected 16 spaces, found 20
50 | [31mERROR[0m | [x] Expected 1 space(s) after ELSE keyword; newline found
50 | [31mERROR[0m | [x] Inline control structures are not allowed
52 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
56 | [33mWARNING[0m | [ ] Line exceeds 120 characters; contains 293 characters
57 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
57 | [31mERROR[0m | [x] Expected 1 space(s) after IF keyword; 0 found
57 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
63 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
63 | [31mERROR[0m | [x] Expected 1 space after closing brace; newline found
64 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
64 | [31mERROR[0m | [x] Expected 1 space(s) after ELSE keyword; newline found
67 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
68 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
68 | [31mERROR[0m | [x] Expected 1 space(s) after FOREACH keyword; 0 found
68 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
75 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
76 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
76 | [31mERROR[0m | [x] Expected 1 space(s) after FOREACH keyword; 0 found
76 | [31mERROR[0m | [x] Expected 1 space(s) after closing parenthesis; found newline
82 | [31mERROR[0m | [x] Line indented incorrectly; expected 12 spaces, found 16
85 | [31mERROR[0m | [x] Line indented incorrectly; expected 8 spaces, found 12
86 | [31mERROR[0m | [x] Line indented incorrectly; expected 4 spaces, found 8
87 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
87 | [31mERROR[0m | [x] Line indented incorrectly; expected 0 spaces, found 4
-----------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 44 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
-----------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/snippets/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
166 | [33mWARNING[0m | Method name "_add2header" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/snippets/Site.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
------------------------------------------------------------------------------------------------
23 | [33mWARNING[0m | Method name "_importSnippets" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/statistics/DB.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES[0m
------------------------------------------------------------------------------------------------
1 | [33mWARNING[0m | [ ] A file should declare new symbols (classes, functions, constants, etc.) and
| | cause no other side effects, or it should execute logic with side effects,
| | but should not do both. The first symbol is defined on line 7 and the first
| | side effect is on line 15.
16 | [31mERROR[0m | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/statistics/Info.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
----------------------------------------------------------------------
42 | [33mWARNING[0m | Line exceeds 120 characters; contains 130 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/statistics/phpbrowserdetector/BrowserDetector.php[0m
------------------------------------------------------------------------------------------
[1mFOUND 7 ERRORS AFFECTING 7 LINES[0m
------------------------------------------------------------------------------------------
16 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
212 | [31mERROR[0m | [ ] Expected 1 space after closing brace; newline found
221 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
229 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
269 | [31mERROR[0m | [ ] Expected 1 space after closing brace; newline found
282 | [31mERROR[0m | [ ] Expected 1 space after closing brace; newline found
524 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/statistics/phpbrowserdetector/LanguageDetector.php[0m
-------------------------------------------------------------------------------------------
[1mFOUND 1 ERROR AFFECTING 1 LINE[0m
-------------------------------------------------------------------------------------------
18 | [31mERROR[0m | [x] Short array syntax must be used to define arrays
-------------------------------------------------------------------------------------------
[1mPHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY[0m
-------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/statistics/phpbrowserdetector/OsDetector.php[0m
-------------------------------------------------------------------------------------
[1mFOUND 2 ERRORS AFFECTING 2 LINES[0m
-------------------------------------------------------------------------------------
60 | [31mERROR[0m | Expected 1 space after closing brace; newline found
188 | [31mERROR[0m | Expected 1 space after closing brace; newline found
-------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/users/Admin.php[0m
------------------------------------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES[0m
------------------------------------------------------------------------------------------------
214 | [33mWARNING[0m | Method name "_getModules" should not be prefixed with an underscore to
| | indicate visibility
238 | [33mWARNING[0m | Line exceeds 120 characters; contains 124 characters
248 | [33mWARNING[0m | Method name "_userAlreadyExists" should not be prefixed with an underscore to
| | indicate visibility
------------------------------------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/users/Info.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES[0m
----------------------------------------------------------------------
47 | [33mWARNING[0m | Line exceeds 120 characters; contains 142 characters
48 | [33mWARNING[0m | Line exceeds 120 characters; contains 402 characters
----------------------------------------------------------------------
[1mFILE: ~/www/batflat/inc/modules/users/Site.php[0m
----------------------------------------------------------------------
[1mFOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE[0m
----------------------------------------------------------------------
22 | [33mWARNING[0m | Line exceeds 120 characters; contains 125 characters
----------------------------------------------------------------------
Time: 10.73 secs; Memory: 18Mb
Since 1.3.4 announced PSR2 code style usage.
./composer.json
:./phpcs.xml
configuration file: