Created
November 25, 2015 08:27
-
-
Save otarza/f9e7cb3124dcb631596a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@9c76c50b4019:/var/www/project/web# phpcs modules/custom/sync_data/drush/sync_data.drush.inc | |
FILE: ...w/project/web/modules/custom/sync_data/drush/sync_data.drush.inc | |
---------------------------------------------------------------------- | |
FOUND 100 ERRORS AND 1 WARNING AFFECTING 73 LINES | |
---------------------------------------------------------------------- | |
3 | ERROR | [ ] Missing short description in doc comment | |
7 | ERROR | [ ] Content of the @author tag must be in the form | |
| | "Display Name <[email protected]>" | |
8 | WARNING | [ ] PHP version not specified | |
8 | ERROR | [ ] Missing @category tag in file comment | |
8 | ERROR | [ ] Missing @package tag in file comment | |
8 | ERROR | [ ] Missing @license tag in file comment | |
8 | ERROR | [ ] Missing @link tag in file comment | |
12 | ERROR | [ ] Missing @return tag in function comment | |
13 | ERROR | [ ] Function name "sync_data_drush_command" is | |
| | prefixed with a package name but does not begin | |
| | with a capital letter | |
13 | ERROR | [x] Opening brace should be on a new line | |
14 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
63 | ERROR | [ ] Doc comment for parameter "$module_name" missing | |
68 | ERROR | [ ] Missing parameter name | |
68 | ERROR | [x] Tag value indented incorrectly; expected 1 | |
| | spaces but found 8 | |
70 | ERROR | [ ] Missing @return tag in function comment | |
71 | ERROR | [ ] Function name "drush_sync_data_menu_import" is | |
| | prefixed with a package name but does not begin | |
| | with a capital letter | |
71 | ERROR | [x] Opening brace should be on a new line | |
72 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
74 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
77 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
79 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
80 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
81 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
82 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
83 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
85 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
94 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
98 | ERROR | [ ] Doc comment for parameter "$menu_name" missing | |
103 | ERROR | [ ] Missing parameter name | |
103 | ERROR | [x] Tag value indented incorrectly; expected 1 | |
| | spaces but found 8 | |
105 | ERROR | [ ] Missing @return tag in function comment | |
106 | ERROR | [ ] Function name | |
| | "drush_sync_data_menu_links_delete" is prefixed | |
| | with a package name but does not begin with a | |
| | capital letter | |
106 | ERROR | [x] Opening brace should be on a new line | |
107 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
109 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
112 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
114 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
115 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
116 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
117 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
118 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
120 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
126 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
130 | ERROR | [ ] Doc comment for parameter "$menu_name" missing | |
133 | ERROR | [ ] Missing parameter name | |
133 | ERROR | [x] Tag value indented incorrectly; expected 1 | |
| | spaces but found 8 | |
135 | ERROR | [ ] Missing @return tag in function comment | |
136 | ERROR | [ ] Function name "drush_sync_data_menu_export" is | |
| | prefixed with a package name but does not begin | |
| | with a capital letter | |
136 | ERROR | [x] Opening brace should be on a new line | |
138 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
141 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
143 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
143 | ERROR | [x] The open comment tag must be the only content on | |
| | the line | |
143 | ERROR | [ ] Missing short description in doc comment | |
143 | ERROR | [x] The close comment tag must be the only content | |
| | on the line | |
144 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
147 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
147 | ERROR | [x] Opening parenthesis of a multi-line function | |
| | call must be the last content on the line | |
148 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 4 spaces but found 6 | |
148 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
148 | ERROR | [x] Closing parenthesis of a multi-line function | |
| | call must be on a line by itself | |
149 | ERROR | [x] Line indented incorrectly; expected 8 spaces, | |
| | found 4 | |
150 | ERROR | [x] Line indented incorrectly; expected at least 12 | |
| | spaces, found 6 | |
152 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n" | |
153 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
161 | ERROR | [ ] Missing parameter comment | |
161 | ERROR | [x] Expected 1 spaces after parameter type; 2 found | |
163 | ERROR | [ ] Missing @return tag in function comment | |
164 | ERROR | [ ] Function name | |
| | "drush_sync_data_menu_export_references" is | |
| | prefixed with a package name but does not begin | |
| | with a capital letter | |
164 | ERROR | [x] Opening brace should be on a new line | |
165 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
165 | ERROR | [x] The open comment tag must be the only content on | |
| | the line | |
165 | ERROR | [ ] Missing short description in doc comment | |
165 | ERROR | [x] The close comment tag must be the only content | |
| | on the line | |
166 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
168 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
170 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
173 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | spaces, found 2 | |
175 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
176 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 4 | |
176 | ERROR | [x] Opening parenthesis of a multi-line function | |
| | call must be the last content on the line | |
177 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 4 spaces but found 6 | |
177 | ERROR | [x] Line indented incorrectly; expected at least 8 | |
| | spaces, found 6 | |
177 | ERROR | [x] Closing parenthesis of a multi-line function | |
| | call must be on a line by itself | |
178 | ERROR | [x] Line indented incorrectly; expected 8 spaces, | |
| | found 4 | |
179 | ERROR | [x] Line indented incorrectly; expected at least 12 | |
| | spaces, found 6 | |
180 | ERROR | [x] Line indented incorrectly; expected at least 12 | |
| | spaces, found 6 | |
181 | ERROR | [x] Line indented incorrectly; expected at least 12 | |
| | spaces, found 6 | |
182 | ERROR | [x] Line indented incorrectly; expected 12 spaces, | |
| | found 6 | |
183 | ERROR | [x] Line indented incorrectly; expected at least 16 | |
| | spaces, found 8 | |
183 | ERROR | [x] Opening parenthesis of a multi-line function | |
| | call must be the last content on the line | |
184 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 8 spaces but found 10 | |
184 | ERROR | [x] Line indented incorrectly; expected at least 16 | |
| | spaces, found 10 | |
184 | ERROR | [x] Closing parenthesis of a multi-line function | |
| | call must be on a line by itself | |
185 | ERROR | [x] Line indented incorrectly; expected 8 spaces, | |
| | found 6 | |
187 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | |
| | found 2 | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 74 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
Time: 120ms; Memory: 5.5Mb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment