Git errors:
- The following git branches do not match the release branch pattern, you should remove/rename them. See https://www.drupal.org/node/1015226
8.x-1.0 remotes/origin/8.x-1.0 remotes/origin/HEAD -> origin/8.x-1.0
- README.md or README.txt is missing, see the guidelines for in-project documentation.
- The better_login_form_config.module does not implement
hook_help()
. See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... . - Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
- DrupalPractice has found some issues with your code, but could be false positives.
FILE: .../pareview_temp/better_login_form_config/src/Form/FancyConfigForm.php -------------------------------------------------------------------------- FOUND 0 ERRORS AND 20 WARNINGS AFFECTING 20 LINES -------------------------------------------------------------------------- 48 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 57 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 66 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 74 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 83 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 92 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 102 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 113 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 121 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 129 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 138 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 148 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 157 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 165 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 174 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 182 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 191 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 199 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 206 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead 211 | WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead -------------------------------------------------------------------------- FILE: ...review_temp/better_login_form_config/better_login_form_config.module -------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------- 10 | WARNING | Unused global variable $base_url. 14 | WARNING | There must be no blank line following an inline comment -------------------------------------------------------------------------- Time: 263ms; Memory: 6Mb
- No automated test cases were found, did you consider writing PHPUnit tests? This is not a requirement but encouraged for professional software development.
FILE: ...pareviewsh/pareview_temp/better_login_form_config/css/fancylogin.css -------------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 1 LINE -------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space before opening brace of class | | definition; 0 found 1 | ERROR | [x] Opening brace should be the last content on the line 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 | | found 1 | ERROR | [x] Closing brace of class definition must be on new line -------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: .../drupal/pareviewsh/pareview_temp/better_login_form_config/README.txt -------------------------------------------------------------------------- FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES -------------------------------------------------------------------------- 13 | WARNING | Line exceeds 80 characters; contains 362 characters 29 | WARNING | Line exceeds 80 characters; contains 125 characters 31 | WARNING | Line exceeds 80 characters; contains 111 characters 32 | WARNING | Line exceeds 80 characters; contains 112 characters -------------------------------------------------------------------------- FILE: .../pareview_temp/better_login_form_config/src/Form/FancyConfigForm.php -------------------------------------------------------------------------- FOUND 330 ERRORS AND 10 WARNINGS AFFECTING 204 LINES -------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not | | begin with a file doc comment 3 | ERROR | [x] Doc comment star missing 3 | ERROR | [x] Whitespace found at end of line 5 | ERROR | [x] Doc comment star missing 5 | ERROR | [x] Whitespace found at end of line 6 | ERROR | [x] Doc comment short description must be on the first | | line 7 | ERROR | [x] Doc comment star missing 7 | ERROR | [x] Whitespace found at end of line 8 | ERROR | [x] Additional blank lines found at end of doc comment 9 | ERROR | [x] Whitespace found at end of line 11 | ERROR | [x] Whitespace found at end of line 13 | ERROR | [x] Whitespace found at end of line 15 | ERROR | [x] Whitespace found at end of line 16 | ERROR | [x] Missing class doc comment 17 | ERROR | [x] Whitespace found at end of line 19 | ERROR | [x] Doc comment star missing 19 | ERROR | [x] Whitespace found at end of line 20 | ERROR | [x] Doc comment short description must be on the first | | line 21 | ERROR | [x] Doc comment star missing 21 | ERROR | [x] Whitespace found at end of line 22 | ERROR | [x] Additional blank lines found at end of doc comment 22 | ERROR | [x] There must be no blank lines after the function | | comment 23 | ERROR | [x] Whitespace found at end of line 25 | ERROR | [x] Whitespace found at end of line 27 | ERROR | [x] Whitespace found at end of line 29 | ERROR | [x] Whitespace found at end of line 31 | ERROR | [x] Doc comment star missing 31 | ERROR | [x] Whitespace found at end of line 32 | ERROR | [x] Doc comment short description must be on the first | | line 33 | ERROR | [x] Doc comment star missing 33 | ERROR | [x] Whitespace found at end of line 34 | ERROR | [x] Additional blank lines found at end of doc comment 34 | ERROR | [x] There must be no blank lines after the function | | comment 35 | ERROR | [x] Whitespace found at end of line 37 | ERROR | [x] Whitespace found at end of line 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 41 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 6 42 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 6 43 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 6 44 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 4 45 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 45 | ERROR | [x] Whitespace found at end of line 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 46 | ERROR | [x] Short array syntax must be used to define arrays 47 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 48 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 49 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 50 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 51 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 51 | ERROR | [x] Short array syntax must be used to define arrays 51 | ERROR | [x] Short array syntax must be used to define arrays 52 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 53 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 54 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 55 | ERROR | [x] Short array syntax must be used to define arrays 60 | ERROR | [x] Short array syntax must be used to define arrays 60 | ERROR | [x] Short array syntax must be used to define arrays 62 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 3 62 | ERROR | [x] Array indentation error, expected 4 spaces but found | | 3 64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 64 | ERROR | [x] Short array syntax must be used to define arrays 69 | ERROR | [x] Short array syntax must be used to define arrays 69 | ERROR | [x] Short array syntax must be used to define arrays 72 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 72 | ERROR | [x] Short array syntax must be used to define arrays 77 | ERROR | [x] Short array syntax must be used to define arrays 77 | ERROR | [x] Short array syntax must be used to define arrays 81 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 81 | ERROR | [x] Short array syntax must be used to define arrays 86 | ERROR | [x] Short array syntax must be used to define arrays 86 | ERROR | [x] Short array syntax must be used to define arrays 90 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 90 | ERROR | [x] Short array syntax must be used to define arrays 95 | ERROR | [x] Short array syntax must be used to define arrays 95 | ERROR | [x] Short array syntax must be used to define arrays 96 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 96 | ERROR | [x] Whitespace found at end of line 97 | ERROR | [x] Expected 1 space before ":"; 0 found 99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 99 | ERROR | [x] Short array syntax must be used to define arrays 100 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 101 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 3 102 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 103 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 104 | ERROR | [x] Whitespace found at end of line 105 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 106 | ERROR | [x] Array indentation error, expected 4 spaces but found | | 6 107 | ERROR | [x] Array indentation error, expected 4 spaces but found | | 6 108 | ERROR | [x] Array indentation error, expected 4 spaces but found | | 6 108 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | | "FALSE" but found "false" 109 | ERROR | [x] Array closing indentation error, expected 2 spaces | | but found 4 110 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 110 | ERROR | [x] Whitespace found at end of line 111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 111 | ERROR | [x] Short array syntax must be used to define arrays 112 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 113 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 113 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 114 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 115 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 115 | ERROR | [x] Short array syntax must be used to define arrays 115 | ERROR | [x] Short array syntax must be used to define arrays 116 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 116 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 116 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 1 117 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 117 | ERROR | [x] Expected 1 space before ":"; 0 found 118 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 119 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 119 | ERROR | [x] Short array syntax must be used to define arrays 120 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 121 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 121 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 122 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 123 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 123 | ERROR | [x] Short array syntax must be used to define arrays 123 | ERROR | [x] Short array syntax must be used to define arrays 124 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 124 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 124 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 1 125 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 125 | ERROR | [x] Expected 1 space before ":"; 0 found 126 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 126 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 126 | ERROR | [x] Whitespace found at end of line 127 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 127 | ERROR | [x] Short array syntax must be used to define arrays 128 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 129 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 129 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 130 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 131 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 131 | ERROR | [x] Short array syntax must be used to define arrays 131 | ERROR | [x] Short array syntax must be used to define arrays 132 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 132 | ERROR | [x] Expected 1 space before ":"; 0 found 133 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 135 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 135 | ERROR | [x] Short array syntax must be used to define arrays 137 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 3 137 | ERROR | [x] Array indentation error, expected 4 spaces but found | | 3 139 | ERROR | [x] Whitespace found at end of line 140 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 141 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 6 142 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 6 143 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 6 143 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | | "FALSE" but found "false" 144 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 4 145 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 145 | ERROR | [x] Whitespace found at end of line 146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 146 | ERROR | [x] Short array syntax must be used to define arrays 147 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 148 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 148 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 149 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 150 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 150 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 150 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 1 151 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 151 | ERROR | [x] Short array syntax must be used to define arrays 151 | ERROR | [x] Short array syntax must be used to define arrays 152 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 152 | ERROR | [x] Expected 1 space before ":"; 0 found 153 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 0 155 | ERROR | [x] Short array syntax must be used to define arrays 156 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 157 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 157 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 158 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 159 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 159 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 159 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 1 160 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 160 | ERROR | [x] Short array syntax must be used to define arrays 160 | ERROR | [x] Short array syntax must be used to define arrays 161 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 161 | ERROR | [x] Expected 1 space before ":"; 0 found 162 | ERROR | [x] Array closing indentation error, expected 0 spaces | | but found 2 163 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 0 163 | ERROR | [x] Short array syntax must be used to define arrays 164 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 165 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 165 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 166 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 167 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 167 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 167 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 1 168 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 168 | ERROR | [x] Short array syntax must be used to define arrays 168 | ERROR | [x] Short array syntax must be used to define arrays 169 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 169 | ERROR | [x] Expected 1 space before ":"; 0 found 170 | ERROR | [x] Array closing indentation error, expected 0 spaces | | but found 2 170 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 170 | ERROR | [x] Whitespace found at end of line 172 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 0 172 | ERROR | [x] Short array syntax must be used to define arrays 173 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 174 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 174 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 175 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 176 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 176 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 176 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 1 177 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 177 | ERROR | [x] Short array syntax must be used to define arrays 177 | ERROR | [x] Short array syntax must be used to define arrays 178 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 178 | ERROR | [x] Expected 1 space before ":"; 0 found 179 | ERROR | [x] Array closing indentation error, expected 0 spaces | | but found 2 180 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 0 180 | ERROR | [x] Short array syntax must be used to define arrays 181 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 182 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 182 | WARNING | [ ] Translatable strings must not begin or end with | | white spaces, use placeholders with t() for | | variables 183 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 184 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 184 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 1 184 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 1 185 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 185 | ERROR | [x] Short array syntax must be used to define arrays 185 | ERROR | [x] Short array syntax must be used to define arrays 186 | ERROR | [x] Array indentation error, expected 2 spaces but found | | 4 186 | ERROR | [x] Expected 1 space before ":"; 0 found 187 | ERROR | [x] Array closing indentation error, expected 0 spaces | | but found 2 188 | ERROR | [x] Whitespace found at end of line 189 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 189 | ERROR | [x] Short array syntax must be used to define arrays 193 | ERROR | [x] Short array syntax must be used to define arrays 193 | ERROR | [x] Short array syntax must be used to define arrays 194 | ERROR | [x] Expected 1 space before ":"; 0 found 196 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 196 | ERROR | [x] Short array syntax must be used to define arrays 197 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 198 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 3 199 | ERROR | [x] Array indentation error, expected 3 spaces but found | | 4 200 | ERROR | [x] Array closing indentation error, expected 1 spaces | | but found 2 201 | ERROR | [x] Whitespace found at end of line 201 | ERROR | [x] Functions must not contain multiple empty lines in a | | row; found 2 empty lines 203 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 203 | ERROR | [x] Short array syntax must be used to define arrays 208 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 208 | ERROR | [x] Short array syntax must be used to define arrays 210 | ERROR | [x] Line indented incorrectly; expected at least 4 | | spaces, found 3 210 | ERROR | [x] Array indentation error, expected 4 spaces but found | | 3 213 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 215 | WARNING | [ ] Line exceeds 80 characters; contains 116 characters 217 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 218 | ERROR | [x] Line indented incorrectly; expected 5 spaces, found | | 0 219 | ERROR | [x] Whitespace found at end of line 221 | ERROR | [x] Whitespace found at end of line 223 | ERROR | [x] Whitespace found at end of line 225 | ERROR | [x] Doc comment star missing 225 | ERROR | [x] Whitespace found at end of line 226 | ERROR | [x] Doc comment short description must be on the first | | line 227 | ERROR | [x] Doc comment star missing 227 | ERROR | [x] Whitespace found at end of line 228 | ERROR | [x] Additional blank lines found at end of doc comment 228 | ERROR | [x] There must be no blank lines after the function | | comment 229 | ERROR | [x] Whitespace found at end of line 231 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 231 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 232 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 232 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 233 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 233 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 234 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 234 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 235 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 235 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 236 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 236 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 237 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 237 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 238 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 238 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 239 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 239 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 240 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 240 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 240 | ERROR | [x] No space found before comment text; expected "// | | $config->set('login_block', | | $form_state->getValue('login_block'));" but found | | "//$config->set('login_block', | | $form_state->getValue('login_block'));" 240 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 241 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 241 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 242 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 242 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 243 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 243 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 244 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 244 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 245 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 245 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 246 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 246 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 247 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 247 | ERROR | [x] Whitespace found at end of line 248 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 248 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 249 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 249 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 250 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 250 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 251 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 251 | ERROR | [x] Whitespace found at end of line 252 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 252 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 253 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 253 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 254 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 254 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 255 | ERROR | [x] Functions must not contain multiple empty lines in a | | row; found 3 empty lines 257 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 257 | ERROR | [x] Whitespace found at end of line 260 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 260 | ERROR | [x] Whitespace found at end of line 261 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 261 | WARNING | [ ] Code after RETURN statement cannot be executed 261 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 262 | ERROR | [x] Whitespace found at end of line 264 | ERROR | [x] Whitespace found at end of line 266 | ERROR | [x] Doc comment star missing 266 | ERROR | [x] Whitespace found at end of line 267 | ERROR | [x] Doc comment short description must be on the first | | line 268 | ERROR | [x] Doc comment star missing 268 | ERROR | [x] Whitespace found at end of line 269 | ERROR | [x] Additional blank lines found at end of doc comment 269 | ERROR | [x] There must be no blank lines after the function | | comment 270 | ERROR | [x] Whitespace found at end of line 272 | ERROR | [x] Whitespace found at end of line 274 | ERROR | [x] Whitespace found at end of line 276 | ERROR | [x] Whitespace found at end of line 278 | ERROR | [x] Whitespace found at end of line 280 | ERROR | [x] Expected 1 newline at end of file; 0 found 280 | ERROR | [x] The closing brace for the class must have an empty | | line before it -------------------------------------------------------------------------- PHPCBF CAN FIX THE 330 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...w_temp/better_login_form_config/better_login_form_config.routing.yml -------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------- 7 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...emp/better_login_form_config/better_login_form_config.links.menu.yml -------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------- 5 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...review_temp/better_login_form_config/better_login_form_config.module -------------------------------------------------------------------------- FOUND 195 ERRORS AND 5 WARNINGS AFFECTING 85 LINES -------------------------------------------------------------------------- 1 | ERROR | [x] Missing file doc comment 1 | ERROR | [x] The PHP open tag must be followed by exactly one | | blank line 2 | ERROR | [x] When importing a class with "use", do not include a | | leading \ 3 | WARNING | [x] Unused use statement 4 | WARNING | [x] Unused use statement 4 | ERROR | [x] There must be one blank line after the last USE | | statement; 0 found; 6 | ERROR | [x] Line indented incorrectly; expected 1 spaces, found | | 0 7 | ERROR | [x] Line indented incorrectly; expected 1 spaces, found | | 0 8 | ERROR | [x] Line indented incorrectly; expected 1 spaces, found | | 0 9 | ERROR | [x] You must use "/**" style comments for a function | | comment 9 | ERROR | [x] Expected 1 blank line before function; 0 found 9 | ERROR | [x] Expected 1 space before opening brace; found 0 10 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 11 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 11 | ERROR | [x] Whitespace found at end of line 12 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 12 | ERROR | [x] Expected 1 space before "="; 0 found 13 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 13 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 14 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 14 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 14 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 14 | ERROR | [x] Comments may not appear after statements 14 | ERROR | [x] Inline comments must start with a capital letter 14 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 15 | ERROR | [x] Whitespace found at end of line 16 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 16 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 17 | ERROR | [x] Short array syntax must be used to define arrays 17 | ERROR | [x] Expected 1 space between double arrow and | | "$site_name"; 0 found 17 | ERROR | [x] Expected 1 space after "=>"; 0 found 20 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 20 | ERROR | [x] Whitespace found at end of line 21 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 21 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 21 | ERROR | [x] Expected 1 space after IF keyword; 0 found 21 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 22 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 22 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 23 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 23 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 23 | ERROR | [x] Namespaced classes/interfaces/traits should be | | referenced with use statements 24 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 24 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 4 25 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 25 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 26 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 27 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 28 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 29 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 29 | ERROR | [x] Whitespace found at end of line 30 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 3 32 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 33 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 33 | ERROR | [x] Whitespace found at end of line 34 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 34 | ERROR | [x] Expected 1 space after IF keyword; 0 found 34 | ERROR | [x] There should be no white space before a closing ")" 34 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 35 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 1 36 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 36 | ERROR | [x] Whitespace found at end of line 37 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 38 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 38 | ERROR | [x] Expected 1 space after IF keyword; 0 found 38 | ERROR | [x] There should be no white space before a closing ")" 38 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 39 | ERROR | [x] Expected 1 space after "="; 0 found 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 40 | ERROR | [x] Whitespace found at end of line 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 41 | ERROR | [x] Expected 1 space before "="; 0 found 41 | ERROR | [x] Expected 1 space after "="; 0 found 42 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 42 | ERROR | [x] Whitespace found at end of line 43 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 43 | ERROR | [x] Expected 1 space after "="; 0 found 44 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 44 | ERROR | [x] Whitespace found at end of line 45 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found | | 2 45 | ERROR | [x] Expected 1 space before "="; 0 found 45 | ERROR | [x] Expected 1 space after "="; 0 found 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 46 | ERROR | [x] Whitespace found at end of line 47 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 47 | ERROR | [x] Expected 1 space after "="; 0 found 48 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 49 | ERROR | [x] Expected 1 blank line after function; 2 found 56 | ERROR | [x] Spaces must be used to indent lines; tabs are not | | allowed 56 | ERROR | [x] Whitespace found at end of line 57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 57 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 57 | ERROR | [x] Whitespace found at end of line 58 | ERROR | [x] Whitespace found at end of line 58 | ERROR | [x] Functions must not contain multiple empty lines in a | | row; found 2 empty lines 59 | ERROR | [x] Whitespace found at end of line 65 | ERROR | [x] Inline comments must start with a capital letter 65 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 3 66 | ERROR | [x] Expected 1 space after IF keyword; 0 found 66 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 67 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 67 | ERROR | [x] There should be no white space after an opening "(" 68 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 3 69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 3 69 | ERROR | [x] Inline comments must start with a capital letter 69 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 70 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 70 | ERROR | [x] Expected 1 space after IF keyword; 0 found 70 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 71 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 71 | ERROR | [x] There should be no white space after an opening "(" 72 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 73 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 1 73 | ERROR | [x] Inline comments must start with a capital letter 73 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 4 74 | ERROR | [x] Expected 1 space after IF keyword; 0 found 74 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 75 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 75 | ERROR | [x] There should be no white space after an opening "(" 76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found | | 3 76 | ERROR | [x] Closing brace indented incorrectly; expected 4 | | spaces, found 3 77 | ERROR | [x] Whitespace found at end of line 96 | ERROR | [x] Expected 1 space after "="; 0 found 97 | ERROR | [x] Expected 1 space after "="; 0 found 98 | ERROR | [x] Whitespace found at end of line 101 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 4 102 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 102 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 4 102 | ERROR | [x] Expected 1 space after IF keyword; 0 found 102 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 103 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 103 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 3 103 | ERROR | [x] Short array syntax must be used to define arrays 104 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 104 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 3 104 | ERROR | [x] Short array syntax must be used to define arrays 105 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 105 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 4 106 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 106 | ERROR | [x] Case breaking statement indented incorrectly; | | expected 6 spaces, found 2 109 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 109 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 109 | WARNING | [ ] Only string literals should be passed to t() where | | possible 110 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 110 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 110 | ERROR | [x] Expected 1 space after IF keyword; 0 found 110 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 111 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 111 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 3 111 | ERROR | [x] Short array syntax must be used to define arrays 112 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 112 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 3 112 | ERROR | [x] Short array syntax must be used to define arrays 113 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 113 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 4 113 | ERROR | [x] Closing brace indented incorrectly; expected 2 | | spaces, found 4 114 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 114 | ERROR | [x] Whitespace found at end of line 118 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 118 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 118 | WARNING | [ ] Only string literals should be passed to t() where | | possible 119 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 119 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 2 119 | ERROR | [x] Expected 1 space after IF keyword; 0 found 119 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 120 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 120 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 3 120 | ERROR | [x] Short array syntax must be used to define arrays 121 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 121 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found | | 3 121 | ERROR | [x] Short array syntax must be used to define arrays 122 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 122 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found | | 4 122 | ERROR | [x] Closing brace indented incorrectly; expected 2 | | spaces, found 4 123 | ERROR | [x] Spaces must be used for alignment; tabs are not | | allowed 123 | ERROR | [x] Case breaking statement indented incorrectly; | | expected 6 spaces, found 1 128 | ERROR | [x] Whitespace found at end of line -------------------------------------------------------------------------- PHPCBF CAN FIX THE 197 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- Time: 554ms; Memory: 6Mb