phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml json_users_imp ort/ FILE: json_users_import/json_users_import.info.yml ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ------------------------------------------------------------------------------------------------------------- FILE: json_users_import/json_users_import.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: json_users_import/json_users_import.module ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 89 ERRORS AND 2 WARNINGS AFFECTING 42 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] Missing file doc comment 17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 17 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 27 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 29 | ERROR | [x] Whitespace found at end of line 30 | ERROR | [ ] Parameter tags must be grouped together in a doc comment 33 | ERROR | [ ] Type hint "array" missing for $context 33 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "creating_users_batch" but expected | | "json_users_import_creating_users_batch" 33 | ERROR | [x] Expected 1 space before opening brace; found 0 36 | ERROR | [x] Short array syntax must be used to define arrays 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 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 42 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 42 | WARNING | [ ] Unused variable $key. 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] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 44 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 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 after IF keyword; 0 found 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 46 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 46 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 47 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 47 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 48 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 48 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 48 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 49 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 49 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 50 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 50 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 50 | ERROR | [x] Expected 1 space after IF keyword; 0 found 51 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 51 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4 52 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 52 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 52 | ERROR | [x] Expected newline after closing brace 52 | ERROR | [x] Use "elseif" in place of "else if" 52 | ERROR | [x] Expected 1 space after IF keyword; 0 found 53 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 53 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4 54 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 54 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 54 | ERROR | [x] Expected newline after closing brace 55 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 55 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4 56 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 56 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4 57 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 57 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4 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] Spaces must be used to indent lines; tabs are not allowed 58 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 59 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 59 | ERROR | [x] Expected newline after closing brace 60 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 60 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 61 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 62 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 63 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 77 | ERROR | [ ] Type hint "array" missing for $results 77 | ERROR | [ ] All functions defined in a module file must be prefixed with the module's name, found "users_finished_batch" but expected | | "json_users_import_users_finished_batch" 81 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 81 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 82 | ERROR | [x] Object operator not indented correctly; expected 4 spaces but found 8 85 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 99 | ERROR | [x] Short array syntax must be used to define arrays 102 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 106 | WARNING | [ ] Only string literals should be passed to t() where possible 107 | ERROR | [x] Expected one space after the comma, 0 found 107 | ERROR | [ ] The array declaration extends to column 156 (the limit is 80). The array content should be split up over multiple lines 107 | ERROR | [x] Expected 1 space between comma and "'clear'"; 0 found 107 | ERROR | [x] Expected one space after the comma, 0 found ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 83 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: json_users_import/json_users_import.routing.yml ------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------- 15 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------- FILE: json_users_import/src/Controller/JsonUsersImportController.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 76 ERRORS AND 18 WARNINGS AFFECTING 65 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 12 | ERROR | [x] You must use "/**" style comments for a class comment 21 | ERROR | [x] There should be no white space after an opening "(" 21 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 22 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 23 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces, found 6 31 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 38 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 40 | ERROR | [x] Expected 1 space after IF keyword; 0 found 41 | ERROR | [ ] The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines 41 | ERROR | [x] Short array syntax must be used to define arrays 41 | ERROR | [x] There must be no space between the "array" keyword and the opening parenthesis 41 | ERROR | [x] Concat operator must be surrounded by a single space 48 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 55 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 56 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 8 58 | ERROR | [x] Expected 1 space after IF keyword; 0 found 59 | ERROR | [ ] The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines 59 | ERROR | [x] Short array syntax must be used to define arrays 59 | ERROR | [x] There must be no space between the "array" keyword and the opening parenthesis 59 | ERROR | [x] Concat operator must be surrounded by a single space 66 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 78 | ERROR | [x] Concat operator must be surrounded by a single space 79 | ERROR | [x] Expected newline after closing brace 79 | ERROR | [x] Use "elseif" in place of "else if" 81 | ERROR | [x] Concat operator must be surrounded by a single space 82 | ERROR | [x] Expected newline after closing brace 82 | ERROR | [x] Use "elseif" in place of "else if" 84 | ERROR | [x] Concat operator must be surrounded by a single space 85 | ERROR | [x] Expected newline after closing brace 85 | ERROR | [x] Use "elseif" in place of "else if" 87 | ERROR | [x] Concat operator must be surrounded by a single space 88 | ERROR | [x] Expected newline after closing brace 88 | ERROR | [x] Use "elseif" in place of "else if" 88 | ERROR | [x] There should be no white space before a closing ")" 90 | ERROR | [x] Concat operator must be surrounded by a single space 92 | ERROR | [x] Short array syntax must be used to define arrays 92 | ERROR | [x] There must be no space between the "array" keyword and the opening parenthesis 95 | ERROR | [ ] Parameter $fields is not described in comment 98 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 101 | ERROR | [ ] Parameter tags must be grouped together in a doc comment 101 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 104 | ERROR | [ ] Parameter tags must be grouped together in a doc comment 104 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 107 | ERROR | [ ] Parameter tags must be grouped together in a doc comment 107 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 107 | ERROR | [ ] Doc comment for parameter $jsonKey does not match actual variable name $fields 114 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 115 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 117 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 119 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 130 | ERROR | [x] Short array syntax must be used to define arrays 131 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 133 | ERROR | [x] Expected one space after the comma, 0 found 137 | WARNING | [ ] Unused variable $result. 140 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 142 | ERROR | [x] Expected one space after the comma, 0 found 144 | ERROR | [x] Concat operator must be surrounded by a single space 144 | ERROR | [x] Concat operator must be surrounded by a single space 145 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 146 | ERROR | [x] Expected newline after closing brace 147 | ERROR | [x] Concat operator must be surrounded by a single space 147 | ERROR | [x] Concat operator must be surrounded by a single space 148 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 150 | ERROR | [x] Short array syntax must be used to define arrays 150 | ERROR | [x] There must be no space between the "array" keyword and the opening parenthesis 156 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 159 | ERROR | [ ] Parameter tags must be grouped together in a doc comment 159 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 162 | ERROR | [ ] Parameter tags must be grouped together in a doc comment 162 | ERROR | [x] Expected 1 spaces after parameter type; 0 found 165 | ERROR | [x] Additional blank lines found at end of doc comment 166 | ERROR | [ ] Method name "JsonUsersImportController::send_user_account_details" is not in lowerCamel format 166 | ERROR | [x] Visibility must be declared on method "send_user_account_details" 167 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 168 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 172 | ERROR | [x] Expected 1 space after IF keyword; 0 found 175 | ERROR | [x] Expected newline after closing brace 181 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 182 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 184 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 185 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 185 | ERROR | [x] Short array syntax must be used to define arrays 186 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 187 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 190 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 190 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables 190 | ERROR | [x] Short array syntax must be used to define arrays 191 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 192 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 193 | ERROR | [x] Expected 1 blank line after function; 0 found 194 | ERROR | [x] The closing brace for the class must have an empty line before it 194 | ERROR | [ ] Closing class brace must be on a line by itself 194 | ERROR | [x] Whitespace found at end of line ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 65 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: json_users_import/src/Form/JsonUsersImport.php ------------------------------------------------------------------------------------------------- FOUND 68 ERRORS AND 2 WARNINGS AFFECTING 42 LINES ------------------------------------------------------------------------------------------------- 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n" 8 | WARNING | [x] Unused use statement 11 | ERROR | [x] Doc comment short description must end with a full stop 14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 14 | ERROR | [x] Whitespace found at end of line 15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 19 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 20 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 22 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 23 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 24 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 25 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 26 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 26 | ERROR | [x] Whitespace found at end of line 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] Array indentation error, expected 4 spaces but found 6 29 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 30 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 31 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 32 | ERROR | [x] Array closing indentation error, expected 2 spaces but found 4 33 | 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 2 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 43 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 44 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 45 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 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 50 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 51 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 52 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 53 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 54 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 55 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 56 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 56 | ERROR | [x] Expected 1 space after IF keyword; 0 found 57 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 57 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 64 | ERROR | [x] Expected newline after closing brace 65 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 65 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 65 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 66 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 67 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 68 | ERROR | [x] Expected 1 newline at end of file; 0 found 68 | ERROR | [x] The closing brace for the class must have an empty line before it ------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 69 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------- FILE: json_users_import/src/Form/JsonUsersImportConfig.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 295 ERRORS AND 20 WARNINGS AFFECTING 157 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 13 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 13 | ERROR | [x] Whitespace found at end of line 14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 22 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 23 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 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] Expected 2 space(s) before asterisk; 3 found 30 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 34 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 35 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 37 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 38 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 38 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 38 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 39 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 39 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 39 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 39 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 40 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 40 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 40 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 41 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 41 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 42 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 44 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 44 | ERROR | [x] Short array syntax must be used to define arrays 45 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 45 | ERROR | [x] Array indentation error, expected 4 spaces but found 5 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 46 | ERROR | [x] Array indentation error, expected 4 spaces but found 5 46 | ERROR | [x] Whitespace found at end of line 47 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 49 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 50 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 51 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 51 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 52 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 53 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 54 | ERROR | [x] Array closing indentation error, expected 2 spaces but found 4 56 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 57 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 58 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 58 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 59 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 60 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 61 | ERROR | [x] Array closing indentation error, expected 2 spaces but found 4 63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 64 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 65 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 65 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 66 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 66 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 66 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 66 | WARNING | [ ] Only string literals should be passed to t() where possible 66 | ERROR | [x] Concat operator must be surrounded by a single space 67 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 67 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 68 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 68 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 5 69 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 71 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 72 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 72 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 72 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 73 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 73 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 73 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 73 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 74 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 74 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 74 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 75 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 75 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 75 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 76 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 78 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 78 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 79 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 80 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 80 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 81 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 82 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 83 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 83 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 84 | ERROR | [x] Array closing indentation error, expected 2 spaces but found 4 88 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 91 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 91 | ERROR | [x] Array indentation error, expected 8 spaces but found 7 92 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 93 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 93 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 93 | ERROR | [x] Short array syntax must be used to define arrays 94 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 95 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 96 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 96 | ERROR | [x] Array indentation error, expected 8 spaces but found 7 96 | ERROR | [ ] No key specified for array entry; first entry specifies key 97 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 97 | ERROR | [x] Array indentation error, expected 8 spaces but found 7 98 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 99 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 99 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 99 | ERROR | [x] Short array syntax must be used to define arrays 100 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 101 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 103 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 103 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4 103 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 103 | ERROR | [x] Short array syntax must be used to define arrays 104 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 104 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4 104 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 108 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 108 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 108 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 109 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 109 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 109 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 110 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 110 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 2 113 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 113 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 114 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 114 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 114 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 115 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 115 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 116 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 116 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 117 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 117 | ERROR | [x] Array indentation error, expected 6 spaces but found 4 118 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 118 | ERROR | [x] Array indentation error, expected 6 spaces but found 7 119 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 120 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 120 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 120 | ERROR | [x] Short array syntax must be used to define arrays 121 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 122 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 123 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 123 | ERROR | [x] Array indentation error, expected 6 spaces but found 7 123 | ERROR | [ ] No key specified for array entry; first entry specifies key 124 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 124 | ERROR | [x] Array indentation error, expected 6 spaces but found 7 125 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 126 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 126 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 126 | ERROR | [x] Short array syntax must be used to define arrays 127 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 128 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 129 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 130 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 130 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 2 133 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 133 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 133 | ERROR | [x] Array indentation error, expected 6 spaces but found 3 134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 134 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 134 | ERROR | [x] Array indentation error, expected 6 spaces but found 3 134 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 135 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 135 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 135 | ERROR | [x] Array indentation error, expected 6 spaces but found 3 135 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 135 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 135 | ERROR | [x] Concat operator must be surrounded by a single space 136 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 136 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 136 | ERROR | [x] Array indentation error, expected 6 spaces but found 3 137 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 137 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 137 | ERROR | [x] Array indentation error, expected 6 spaces but found 3 138 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 138 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 139 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 140 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 140 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 140 | ERROR | [x] Short array syntax must be used to define arrays 141 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 141 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 141 | ERROR | [x] Short array syntax must be used to define arrays 142 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 143 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 144 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 144 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 144 | ERROR | [ ] No key specified for array entry; first entry specifies key 145 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 145 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 146 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 147 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 147 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 147 | ERROR | [x] Short array syntax must be used to define arrays 148 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 148 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 148 | ERROR | [x] Short array syntax must be used to define arrays 149 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 150 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 151 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 6 152 | ERROR | [x] Short array syntax must be used to define arrays 153 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 153 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 2 155 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 156 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 156 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 156 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 157 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 157 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 157 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 157 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 158 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 158 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 158 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 158 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 158 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 158 | ERROR | [x] Concat operator must be surrounded by a single space 159 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 159 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 159 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 160 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 160 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 3 160 | ERROR | [x] Array indentation error, expected 4 spaces but found 3 161 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 161 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 162 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 163 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 163 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 163 | ERROR | [x] Short array syntax must be used to define arrays 164 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 164 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 164 | ERROR | [x] Short array syntax must be used to define arrays 165 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 166 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 167 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 167 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 167 | ERROR | [ ] No key specified for array entry; first entry specifies key 168 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 168 | ERROR | [x] Array indentation error, expected 5 spaces but found 7 169 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 170 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 170 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 170 | ERROR | [x] Short array syntax must be used to define arrays 171 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 171 | ERROR | [x] Array indentation error, expected 10 spaces but found 9 171 | ERROR | [x] Short array syntax must be used to define arrays 172 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 173 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 174 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 6 175 | ERROR | [x] Array indentation error, expected 4 spaces but found 6 175 | ERROR | [x] Short array syntax must be used to define arrays 176 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 184 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 184 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 185 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 185 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 187 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 187 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 188 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 189 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 190 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 190 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 192 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 192 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 194 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 194 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 195 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 196 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found 197 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 197 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 198 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 198 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2 207 | ERROR | [x] Expected 1 space after IF keyword; 0 found 208 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 208 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3 209 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 209 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4 210 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 210 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5 210 | ERROR | [x] Closing brace indented incorrectly; expected 3 spaces, found 5 211 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 211 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3 211 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces, found 3 212 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 212 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 213 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 213 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1 214 | ERROR | [x] Expected 1 newline at end of file; 0 found 214 | ERROR | [x] The closing brace for the class must have an empty line before it ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 291 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------