FILE: ...pal/d8/drupal/core/modules/locale/lib/Drupal/locale/Form/ExportForm.php -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AND 2 WARNING(S) AFFECTING 7 LINE(S) -------------------------------------------------------------------------------- 118 | WARNING | A comma should follow the last multiline array item. Found: | | 'actions' 122 | WARNING | A comma should follow the last multiline array item. Found: ) 140 | ERROR | Variable "languageName" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 145 | ERROR | Variable "languageName" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 146 | ERROR | Concat operator must be surrounded by spaces 158 | ERROR | Variable "languageName" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 160 | ERROR | Calling class constructors must always include parentheses -------------------------------------------------------------------------------- FILE: ...rupal/core/modules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AND 1 WARNING(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 110 | ERROR | Case breaking statements must be followed by a single blank | | line 116 | ERROR | Case breaking statements must be followed by a single blank | | line 125 | WARNING | Line exceeds 80 characters; contains 81 characters -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/Form/TranslateEditForm.php -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AND 2 WARNING(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 86 | WARNING | A comma should follow the last multiline array item. Found: | | '' 123 | ERROR | Expected 1 space after comma in function call; 2 found 135 | ERROR | Expected 1 space after comma in function call; 2 found 184 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 192 | WARNING | Line exceeds 80 characters; contains 98 characters -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/Form/TranslateFormBase.php -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 91 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 124 | ERROR | Return comment must be on the next line -------------------------------------------------------------------------------- FILE: ...ctos/drupal/d8/drupal/core/modules/locale/lib/Drupal/locale/Gettext.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 49 | ERROR | Visibility must be declared on method "fileToDatabase" -------------------------------------------------------------------------------- FILE: ...ectos/drupal/d8/drupal/core/modules/locale/lib/Drupal/locale/Locale.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 23 | ERROR | Missing comment for @return statement -------------------------------------------------------------------------------- FILE: ...d8/drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php -------------------------------------------------------------------------------- FOUND 13 ERROR(S) AFFECTING 7 LINE(S) -------------------------------------------------------------------------------- 72 | ERROR | Doc comment for var The does not match actual variable name | | $language_manager at position 7 72 | ERROR | Parameter comment must be on the next line at position 7 75 | ERROR | Variable "configStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 75 | ERROR | Variable "schemaStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 75 | ERROR | Variable "installStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 75 | ERROR | Variable "localeStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 77 | ERROR | Variable "configStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 77 | ERROR | Variable "schemaStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 78 | ERROR | Variable "installStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 79 | ERROR | Variable "localeStorage" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 265 | ERROR | Expected "foreach (...) {\n"; found "foreach (...){\n" 265 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 272 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...drupal/d8/drupal/core/modules/locale/lib/Drupal/locale/LocaleLookup.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AND 1 WARNING(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 122 | WARNING | A comma should follow the last multiline array item. Found: | | VERSION 132 | ERROR | Expected "foreach (...) {\n"; found "foreach(...) {\n" -------------------------------------------------------------------------------- FILE: ...l/d8/drupal/core/modules/locale/lib/Drupal/locale/LocaleTypedConfig.php -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 50 | ERROR | Doc comment for var $localeConfig; does not match actual variable | | name $localeConfig at position 4 53 | ERROR | Variable "localeConfig" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ 56 | ERROR | Variable "localeConfig" is camel caps format. do not use mixed | | case (camelCase), use lower case and _ -------------------------------------------------------------------------------- FILE: ...b/Drupal/locale/ParamConverter/LocaleAdminPathConfigEntityConverter.php -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 55 | ERROR | Last parameter comment requires a blank newline after it 57 | ERROR | Additional blank line found at the end of doc comment -------------------------------------------------------------------------------- FILE: ...al/d8/drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseReader.php -------------------------------------------------------------------------------- FOUND 13 ERROR(S) AND 3 WARNING(S) AFFECTING 13 LINE(S) -------------------------------------------------------------------------------- 34 | WARNING | Property name "$_options" should not be prefixed with an | | underscore to indicate visibility 34 | ERROR | Class property $_options should use lowerCamel naming without | | underscores 41 | WARNING | Property name "$_langcode" should not be prefixed with an | | underscore to indicate visibility 41 | ERROR | Class property $_langcode should use lowerCamel naming without | | underscores 48 | WARNING | Property name "$_result" should not be prefixed with an | | underscore to indicate visibility 48 | ERROR | Class property $_result should use lowerCamel naming without | | underscores 53 | ERROR | Visibility must be declared on method "__construct" 74 | ERROR | Visibility must be declared on method "getOptions" 81 | ERROR | Visibility must be declared on method "setOptions" 93 | ERROR | Visibility must be declared on method "getHeader" 103 | ERROR | Visibility must be declared on method "setHeader" 168 | ERROR | Visibility must be declared on method "readItem" 170 | ERROR | A cast statement must be followed by a single space 171 | ERROR | Variable "poItem" is camel caps format. do not use mixed case | | (camelCase), use lower case and _ 172 | ERROR | Variable "poItem" is camel caps format. do not use mixed case | | (camelCase), use lower case and _ 173 | ERROR | Variable "poItem" is camel caps format. do not use mixed case | | (camelCase), use lower case and _ -------------------------------------------------------------------------------- FILE: ...al/d8/drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php -------------------------------------------------------------------------------- FOUND 13 ERROR(S) AND 6 WARNING(S) AFFECTING 15 LINE(S) -------------------------------------------------------------------------------- 36 | WARNING | Property name "$_options" should not be prefixed with an | | underscore to indicate visibility 36 | ERROR | Class property $_options should use lowerCamel naming without | | underscores 43 | WARNING | Property name "$_langcode" should not be prefixed with an | | underscore to indicate visibility 43 | ERROR | Class property $_langcode should use lowerCamel naming without | | underscores 50 | WARNING | Property name "$_header" should not be prefixed with an | | underscore to indicate visibility 50 | ERROR | Class property $_header should use lowerCamel naming without | | underscores 63 | WARNING | Property name "$_report" should not be prefixed with an | | underscore to indicate visibility 63 | ERROR | Class property $_report should use lowerCamel naming without | | underscores 68 | ERROR | Visibility must be declared on method "__construct" 99 | ERROR | Visibility must be declared on method "setReport" 113 | ERROR | Visibility must be declared on method "getOptions" 120 | ERROR | Visibility must be declared on method "setOptions" 137 | ERROR | Visibility must be declared on method "getHeader" 156 | ERROR | Visibility must be declared on method "setHeader" 190 | ERROR | Visibility must be declared on method "writeItem" 192 | ERROR | join() is a function name alias, use implode() instead 193 | ERROR | join() is a function name alias, use implode() instead 234 | WARNING | A comma should follow the last multiline array item. Found: | | $context 251 | WARNING | A comma should follow the last multiline array item. Found: | | $customized -------------------------------------------------------------------------------- FILE: ...s/drupal/d8/drupal/core/modules/locale/lib/Drupal/locale/StringBase.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AND 2 WARNING(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 66 | ERROR | A cast statement must be followed by a single space 192 | WARNING | A comma should follow the last multiline array item. Found: ) 208 | WARNING | A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------------------- FILE: .../drupal/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php -------------------------------------------------------------------------------- FOUND 7 ERROR(S) AND 5 WARNING(S) AFFECTING 12 LINE(S) -------------------------------------------------------------------------------- 95 | ERROR | Visibility must be declared on method "getLocations" 152 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 158 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 205 | WARNING | A comma should follow the last multiline array item. Found: ) 218 | ERROR | Expected 1 space after comma in function call; 2 found 219 | ERROR | Expected 1 space after comma in function call; 2 found 243 | WARNING | A comma should follow the last multiline array item. Found: | | TRUE 346 | ERROR | Last parameter comment requires a blank newline after it 383 | WARNING | A comma should follow the last multiline array item. Found: ] 473 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 482 | WARNING | A comma should follow the last multiline array item. Found: ) 515 | WARNING | A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------------------- FILE: ...pal/d8/drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 69 | ERROR | Expected 3 space(s) before asterisk; 2 found 90 | ERROR | Expected 3 space(s) before asterisk; 2 found 109 | ERROR | Expected 3 space(s) before asterisk; 2 found 198 | ERROR | Doc comment for var $type. does not match actual variable name | | $type at position 1 200 | ERROR | Doc comment for var $name. does not match actual variable name | | $name at position 2 -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/StringStorageException.php -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 13 | ERROR | Opening class brace must be on a line by itself 13 | ERROR | There should be no white space after an opening "{" 13 | ERROR | There should be no white space before a closing "}" -------------------------------------------------------------------------------- FILE: .../modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php -------------------------------------------------------------------------------- FOUND 12 ERROR(S) AFFECTING 11 LINE(S) -------------------------------------------------------------------------------- 26 | ERROR | Missing function doc comment 34 | ERROR | Missing function doc comment 49 | ERROR | Visibility must be declared on method "testConfigTranslation" 52 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 63 | ERROR | There should be no white space after an opening "(" 63 | ERROR | There should be no white space before a closing ")" 67 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 98 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 129 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 136 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 142 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 162 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...rupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleContentTest.php -------------------------------------------------------------------------------- FOUND 13 ERROR(S) AFFECTING 13 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Missing function doc comment 35 | ERROR | Visibility must be declared on method "testMachineNameLTR" 37 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 64 | ERROR | Visibility must be declared on method | | "testContentTypeLanguageConfiguration" 69 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 71 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 113 | ERROR | Expected 1 space after "="; 2 found 138 | ERROR | Visibility must be declared on method "testContentTypeDirLang" 142 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 181 | ERROR | Functions must not contain multiple empty lines in a row; found | | 2 empty lines 209 | ERROR | Function comment short description must start with exactly one | | space 211 | ERROR | Visibility must be declared on method | | "testNodeAdminLanguageFilter" 214 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleExportTest.php -------------------------------------------------------------------------------- FOUND 11 ERROR(S) AFFECTING 10 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Missing function doc comment 35 | ERROR | Class property $admin_user should use lowerCamel naming without | | underscores 37 | ERROR | Missing function doc comment 37 | ERROR | Visibility must be declared on method "setUp" 40 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 51 | ERROR | Visibility must be declared on method "testExportTranslation" 123 | ERROR | Visibility must be declared on method | | "testExportTranslationTemplateFile" 137 | ERROR | Visibility must be declared on method "getPoFile" 153 | ERROR | Function comment short description must be on a single line, | | further text should be a separate paragraph 156 | ERROR | Visibility must be declared on method "getCustomPoFile" 177 | ERROR | Visibility must be declared on method "getUntranslatedString" -------------------------------------------------------------------------------- FILE: ...e/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php -------------------------------------------------------------------------------- FOUND 35 ERROR(S) AFFECTING 34 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Missing function doc comment 35 | ERROR | Class property $admin_user should use lowerCamel naming without | | underscores 37 | ERROR | Missing function doc comment 37 | ERROR | Visibility must be declared on method "setUp" 44 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 57 | ERROR | Visibility must be declared on method "testStandalonePoFile" 67 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 75 | ERROR | Functions must not contain multiple empty lines in a row; found | | 2 empty lines 83 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 104 | ERROR | Functions must not contain multiple empty lines in a row; found | | 2 empty lines 113 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 135 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 155 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 171 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 190 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 205 | ERROR | Visibility must be declared on method "testLanguageContext" 218 | ERROR | Visibility must be declared on method "testEmptyMsgstr" 226 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 234 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 249 | ERROR | Visibility must be declared on method "testConfigPoFile" 280 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 314 | ERROR | Missing parameter type at position 1 316 | ERROR | Missing parameter type at position 2 319 | ERROR | Visibility must be declared on method "importPoFile" 330 | ERROR | Visibility must be declared on method "getPoFile" 371 | ERROR | Visibility must be declared on method "getEmptyPoFile" 378 | ERROR | Visibility must be declared on method "getBadPoFile" 403 | ERROR | Visibility must be declared on method "getOverwritePoFile" 422 | ERROR | Function comment short description must be on a single line, | | further text should be a separate paragraph 425 | ERROR | Visibility must be declared on method "getCustomPoFile" 460 | ERROR | Visibility must be declared on method "getCustomOverwritePoFile" 484 | ERROR | Visibility must be declared on method "getPoFileWithContext" 508 | ERROR | Visibility must be declared on method "getPoFileWithEmptyMsgstr" 527 | ERROR | Visibility must be declared on method "getPoFileWithMsgstr" 549 | ERROR | Visibility must be declared on method "getPoFileWithConfig" -------------------------------------------------------------------------------- FILE: .../modules/locale/lib/Drupal/locale/Tests/LocaleJavascriptTranslation.php -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 25 | ERROR | Missing function doc comment 33 | ERROR | Missing function doc comment 33 | ERROR | Visibility must be declared on method "testFileParsing" -------------------------------------------------------------------------------- FILE: ...e/modules/locale/lib/Drupal/locale/Tests/LocaleLibraryInfoAlterTest.php -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 25 | ERROR | Missing function doc comment 34 | ERROR | Expected 3 space(s) before asterisk; 5 found 35 | ERROR | Expected 3 space(s) before asterisk; 5 found 36 | ERROR | Expected 3 space(s) before asterisk; 5 found 37 | ERROR | Expected 3 space(s) before asterisk; 5 found -------------------------------------------------------------------------------- FILE: ...8/drupal/core/modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php -------------------------------------------------------------------------------- FOUND 9 ERROR(S) AND 1 WARNING(S) AFFECTING 8 LINE(S) -------------------------------------------------------------------------------- 25 | ERROR | Missing function doc comment 33 | ERROR | Missing function doc comment 33 | ERROR | Visibility must be declared on method "setUp" 43 | ERROR | Visibility must be declared on method | | "testPathLanguageConfiguration" 45 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 64 | ERROR | There should be no white space after an opening "(" 64 | ERROR | There should be no white space before a closing ")" 120 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 121 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 131 | WARNING | Line exceeds 80 characters; contains 87 characters -------------------------------------------------------------------------------- FILE: .../core/modules/locale/lib/Drupal/locale/Tests/LocalePluralFormatTest.php -------------------------------------------------------------------------------- FOUND 14 ERROR(S) AFFECTING 13 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Missing function doc comment 32 | ERROR | Missing function doc comment 32 | ERROR | Visibility must be declared on method "setUp" 35 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 42 | ERROR | Visibility must be declared on method "testGetPluralFormat" 137 | ERROR | Visibility must be declared on method "testPluralEditExport" 247 | ERROR | Line indented incorrectly; expected 4 spaces, found 3 267 | ERROR | Missing parameter type at position 1 269 | ERROR | Missing parameter type at position 2 272 | ERROR | Visibility must be declared on method "importPoFile" 283 | ERROR | Visibility must be declared on method | | "getPoFileWithSimplePlural" 306 | ERROR | Visibility must be declared on method | | "getPoFileWithComplexPlural" 330 | ERROR | Visibility must be declared on method | | "getPoFileWithMissingPlural" 347 | ERROR | Visibility must be declared on method | | "getPoFileWithBrokenPlural" -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php -------------------------------------------------------------------------------- FOUND 17 ERROR(S) AND 2 WARNING(S) AFFECTING 17 LINE(S) -------------------------------------------------------------------------------- 34 | ERROR | Missing short description in function doc comment 35 | ERROR | Missing comment for @return statement 45 | ERROR | Missing function doc comment 45 | ERROR | Visibility must be declared on method "setUp" 59 | ERROR | Visibility must be declared on method "testStringCRUDAPI" 84 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 94 | ERROR | Expected 1 space after "="; 2 found 97 | WARNING | Line exceeds 80 characters; contains 83 characters 126 | ERROR | Visibility must be declared on method "testStringSearchAPI" 139 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 150 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 154 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 154 | ERROR | Expected 1 space between comma and "'source'"; 2 found 157 | WARNING | Line exceeds 80 characters; contains 142 characters 165 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 166 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 186 | ERROR | Visibility must be declared on method "buildSourceString" 196 | ERROR | Visibility must be declared on method "createAllTranslations" 207 | ERROR | Visibility must be declared on method "createTranslation" -------------------------------------------------------------------------------- FILE: ...core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationUiTest.php -------------------------------------------------------------------------------- FOUND 18 ERROR(S) AND 11 WARNING(S) AFFECTING 26 LINE(S) -------------------------------------------------------------------------------- 27 | ERROR | Missing function doc comment 36 | ERROR | Function comment short description must start with exactly one | | space 36 | ERROR | Function comment short description must end with a full stop 38 | ERROR | Visibility must be declared on method "testEnglishTranslation" 47 | WARNING | Line exceeds 80 characters; contains 92 characters 49 | ERROR | Visibility must be declared on method "testStringTranslation" 72 | WARNING | Only string literals should be passed to t() where possible 75 | ERROR | Concat operator must be surrounded by spaces 76 | WARNING | Only string literals should be passed to t() where possible 122 | ERROR | Functions must not contain multiple empty lines in a row; | | found 2 empty lines 148 | WARNING | Only string literals should be passed to t() where possible 154 | WARNING | Only string literals should be passed to t() where possible 155 | WARNING | Only string literals should be passed to t() where possible 211 | ERROR | Missing function doc comment 211 | ERROR | Visibility must be declared on method | | "testJavaScriptTranslation" 212 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 273 | ERROR | Visibility must be declared on method "testStringValidation" 275 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 289 | ERROR | Expected 1 space after "="; 0 found 300 | WARNING | Only string literals should be passed to t() where possible 327 | ERROR | Visibility must be declared on method "testStringSearch" 359 | WARNING | Only string literals should be passed to t() where possible 469 | ERROR | Visibility must be declared on method | | "testUICustomizedStrings" 469 | ERROR | Expected 1 space after closing parenthesis; found 0 470 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 475 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 492 | WARNING | Line exceeds 80 characters; contains 100 characters 511 | WARNING | Line exceeds 80 characters; contains 95 characters 529 | WARNING | Line exceeds 80 characters; contains 89 characters -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateBase.php -------------------------------------------------------------------------------- FOUND 14 ERROR(S) AFFECTING 12 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Class property $timestamp_old should use lowerCamel naming | | without underscores 31 | ERROR | Class property $timestamp_medium should use lowerCamel naming | | without underscores 38 | ERROR | Class property $timestamp_new should use lowerCamel naming | | without underscores 47 | ERROR | Missing function doc comment 47 | ERROR | Visibility must be declared on method "setUp" 77 | ERROR | Missing parameter type at position 1 94 | ERROR | Invalid @param data type, expected int but found integer 119 | ERROR | Concat operator must be surrounded by spaces 120 | ERROR | Concat operator must be surrounded by spaces 179 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 180 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 180 | ERROR | There should be no white space after an opening "(" 181 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 200 | ERROR | Function comment short description must be on a single line, | | further text should be a separate paragraph -------------------------------------------------------------------------------- FILE: ...al/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php -------------------------------------------------------------------------------- FOUND 6 ERROR(S) AFFECTING 5 LINE(S) -------------------------------------------------------------------------------- 15 | ERROR | Class property $batch_output should use lowerCamel naming without | | underscores 24 | ERROR | Missing function doc comment 32 | ERROR | Missing function doc comment 32 | ERROR | Visibility must be declared on method "setUp" 34 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 42 | ERROR | Visibility must be declared on method "testUpdateCron" -------------------------------------------------------------------------------- FILE: ...re/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AFFECTING 4 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Missing function doc comment 32 | ERROR | Missing function doc comment 32 | ERROR | Visibility must be declared on method "setUp" 34 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 44 | ERROR | Visibility must be declared on method "testInterface" -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php -------------------------------------------------------------------------------- FOUND 18 ERROR(S) AFFECTING 17 LINE(S) -------------------------------------------------------------------------------- 24 | ERROR | Missing function doc comment 32 | ERROR | Missing function doc comment 32 | ERROR | Visibility must be declared on method "setUp" 36 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 47 | ERROR | Visibility must be declared on method "testUpdateProjects" 60 | ERROR | Space found before comma in function call 77 | ERROR | Visibility must be declared on method "testUpdateCheckStatus" 129 | ERROR | Visibility must be declared on method | | "testUpdateImportSourceRemote" 134 | ERROR | Space found after object operator 191 | ERROR | Visibility must be declared on method | | "testUpdateImportSourceLocal" 196 | ERROR | Space found after object operator 245 | ERROR | Visibility must be declared on method | | "testUpdateImportModeNonCustomized" 250 | ERROR | Space found after object operator 281 | ERROR | Visibility must be declared on method "testUpdateImportModeNone" 286 | ERROR | Space found after object operator 313 | ERROR | Visibility must be declared on method | | "testEnableUninstallModule" 351 | ERROR | Visibility must be declared on method "testEnableLanguage" 395 | ERROR | Visibility must be declared on method "testEnableCustomLanguage" -------------------------------------------------------------------------------- FILE: .../d8/drupal/core/modules/locale/lib/Drupal/locale/TranslationsStream.php -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AND 1 WARNING(S) AFFECTING 4 LINE(S) -------------------------------------------------------------------------------- 20 | ERROR | Function comment short description must end with a full stop 22 | ERROR | Visibility must be declared on method "getDirectoryPath" 27 | WARNING | Line exceeds 80 characters; contains 83 characters 30 | ERROR | Visibility must be declared on method "getExternalUrl" -------------------------------------------------------------------------------- FILE: ...l/d8/drupal/core/modules/locale/lib/Drupal/locale/TranslationString.php -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AFFECTING 2 LINE(S) -------------------------------------------------------------------------------- 45 | ERROR | Class property $is_new should use lowerCamel naming without | | underscores 83 | ERROR | Expected 3 space(s) before asterisk; 2 found -------------------------------------------------------------------------------- FILE: ...sers/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.api.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AND 5 WARNING(S) AFFECTING 6 LINE(S) -------------------------------------------------------------------------------- 32 | WARNING | Line exceeds 80 characters; contains 102 characters 40 | WARNING | Line exceeds 80 characters; contains 87 characters 43 | WARNING | Line exceeds 80 characters; contains 94 characters 49 | WARNING | Line exceeds 80 characters; contains 84 characters 55 | WARNING | Line exceeds 80 characters; contains 125 characters 112 | ERROR | Trailing punctuation for @see references is not allowed. -------------------------------------------------------------------------------- FILE: ...rs/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.batch.inc -------------------------------------------------------------------------------- FOUND 12 ERROR(S) AFFECTING 11 LINE(S) -------------------------------------------------------------------------------- 5 | ERROR | The third line in the file doc comment must contain a | | description and must not be indented 36 | ERROR | Expected 1 space(s) before asterisk; 0 found 37 | ERROR | Arguments with default values must be at the end of the argument | | list 89 | ERROR | Invalid @param data type, expected bool but found boolean 97 | ERROR | Line indented incorrectly; expected 6 spaces, found 8 98 | ERROR | Line indented incorrectly; expected 8 spaces, found 10 100 | ERROR | Line indented incorrectly; expected 6 spaces, found 8 101 | ERROR | Line indented incorrectly; expected 8 spaces, found 10 103 | ERROR | Line indented incorrectly; expected 6 spaces, found 8 205 | ERROR | Invalid @param data type, expected bool but found boolean 207 | ERROR | Doc comment for var Batch does not match actual variable name | | $results at position 2 207 | ERROR | Parameter comment must be on the next line at position 2 -------------------------------------------------------------------------------- FILE: ...ers/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.bulk.inc -------------------------------------------------------------------------------- FOUND 16 ERROR(S) AND 8 WARNING(S) AFFECTING 24 LINE(S) -------------------------------------------------------------------------------- 46 | WARNING | A comma should follow the last multiline array item. Found: ) 104 | WARNING | A comma should follow the last multiline array item. Found: | | 'actions' 108 | WARNING | A comma should follow the last multiline array item. Found: ) 124 | WARNING | A comma should follow the last multiline array item. Found: ] 127 | WARNING | Only string literals should be passed to t() where possible 145 | WARNING | Empty return statement not required here 164 | ERROR | Missing parameter type at position 2 249 | ERROR | Missing parameter type at position 1 265 | ERROR | Data type of return value is missing 278 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 281 | ERROR | Expected 1 space after "="; 2 found 306 | WARNING | Line exceeds 80 characters; contains 85 characters 321 | ERROR | Missing parameter type at position 3 402 | ERROR | Missing parameter type at position 1 510 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 512 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 522 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 535 | ERROR | Missing parameter type at position 1 538 | ERROR | Data type of return value is missing 613 | ERROR | Invalid @return data type, expected bool but found boolean 681 | WARNING | Line exceeds 80 characters; contains 90 characters 685 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 690 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 708 | ERROR | Doc comment for var $name does not match actual variable name | | $names at position 1 -------------------------------------------------------------------------------- FILE: .../fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.compare.inc -------------------------------------------------------------------------------- FOUND 6 ERROR(S) AND 2 WARNING(S) AFFECTING 7 LINE(S) -------------------------------------------------------------------------------- 43 | WARNING | Line exceeds 80 characters; contains 168 characters 117 | ERROR | Line indented incorrectly; expected 4 spaces, found 6 118 | ERROR | Line indented incorrectly; expected 4 spaces, found 6 196 | WARNING | Line exceeds 80 characters; contains 81 characters 216 | ERROR | Missing function doc comment 285 | ERROR | Function comment short description must be on a single line, | | further text should be a separate paragraph 304 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 304 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...rs/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.fetch.inc -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AND 1 WARNING(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 5 | WARNING | Line exceeds 80 characters; contains 81 characters 101 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 103 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 103 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...sers/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.install -------------------------------------------------------------------------------- FOUND 12 ERROR(S) AFFECTING 10 LINE(S) -------------------------------------------------------------------------------- 114 | ERROR | Comments may not appear after statements. 173 | ERROR | Array indentation error, expected 6 spaces but found 7 174 | ERROR | Array indentation error, expected 6 spaces but found 7 312 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 314 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 314 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 320 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 322 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 322 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line 329 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 337 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name 339 | ERROR | Do not use t() or st() in installation phase hooks, use $t = | | get_t() to retrieve the appropriate localization function name -------------------------------------------------------------------------------- FILE: ...Users/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.module -------------------------------------------------------------------------------- FOUND 27 ERROR(S) AND 11 WARNING(S) AFFECTING 37 LINE(S) -------------------------------------------------------------------------------- 5 | WARNING | Line exceeds 80 characters; contains 81 characters 96 | WARNING | Line exceeds 80 characters; contains 81 characters 140 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 144 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 146 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 148 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 160 | ERROR | Concat operator must be surrounded by spaces 220 | WARNING | Format should be "* Implements hook_foo().", "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar().", or "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar.tpl.php.". 231 | WARNING | Format should be "* Implements hook_foo().", "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar().", or "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar.tpl.php.". 242 | WARNING | Format should be "* Implements hook_foo().", "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar().", or "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar.tpl.php.". 284 | ERROR | Missing parameter type at position 1 286 | ERROR | Last parameter comment requires a blank newline after it 286 | ERROR | Missing parameter type at position 2 289 | ERROR | Data type of return value is missing 409 | ERROR | Parameter comment indentation must be 2 additional spaces at | | position 1 478 | WARNING | Line exceeds 80 characters; contains 82 characters 511 | WARNING | Line exceeds 80 characters; contains 81 characters 556 | ERROR | Last parameter comment requires a blank newline after it 690 | WARNING | Format should be "* Implements hook_foo().", "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar().", or "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar.tpl.php.". 796 | WARNING | Format should be "* Implements hook_foo().", "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar().", or "* Implements | | hook_foo_BAR_ID_bar() for xyz_bar.tpl.php.". 844 | ERROR | Invalid @return data type, expected int but found integer 871 | ERROR | Doc comment for var $langcode does not match actual variable | | name $langcodes at position 2 959 | ERROR | Case breaking statements must be followed by a single blank | | line 1044 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 1105 | ERROR | Function comment short description must be on a single line, | | further text should be a separate paragraph 1196 | WARNING | Line exceeds 80 characters; contains 82 characters 1214 | ERROR | Missing parameter type at position 1 1217 | ERROR | Data type of return value is missing 1240 | ERROR | Function comment short description must start with a capital | | letter 1242 | ERROR | Missing parameter type at position 1 1263 | ERROR | Expected 1 space after "=>"; 2 found 1292 | WARNING | Line exceeds 80 characters; contains 90 characters 1344 | ERROR | Case breaking statements must be followed by a single blank | | line 1347 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 1348 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 1351 | ERROR | Case breaking statements must be followed by a single blank | | line 1354 | ERROR | Case breaking statements must be followed by a single blank | | line 1357 | ERROR | Case breaking statements must be followed by a single blank | | line -------------------------------------------------------------------------------- FILE: ...rs/fran/proyectos/drupal/d8/drupal/core/modules/locale/locale.pages.inc -------------------------------------------------------------------------------- FOUND 7 ERROR(S) AND 1 WARNING(S) AFFECTING 7 LINE(S) -------------------------------------------------------------------------------- 77 | ERROR | There should be no white space before a closing ")" 94 | ERROR | Expected "foreach (...) {\n"; found "foreach(...) {\n" 107 | WARNING | A comma should follow the last multiline array item. Found: | | $title 110 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 110 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 142 | ERROR | Expected "else {\n"; found "else {\n" 336 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 379 | ERROR | Missing parameter type at position 1 -------------------------------------------------------------------------------- FILE: ...n/proyectos/drupal/d8/drupal/core/modules/locale/locale.translation.inc -------------------------------------------------------------------------------- FOUND 5 ERROR(S) AND 1 WARNING(S) AFFECTING 6 LINE(S) -------------------------------------------------------------------------------- 44 | ERROR | Expected 1 space between asterisk and tag; 2 found 110 | ERROR | Expected "foreach (...) {\n"; found "foreach(...) {\n" 161 | ERROR | Invalid @return data type, expected object but found stdClass 206 | WARNING | Line exceeds 80 characters; contains 82 characters 370 | ERROR | Invalid @return data type, expected bool but found boolean 392 | ERROR | Invalid @return data type, expected int but found integer -------------------------------------------------------------------------------- FILE: ...upal/core/modules/locale/tests/Drupal/locale/Tests/LocaleLookupTest.php -------------------------------------------------------------------------------- FOUND 17 ERROR(S) AND 6 WARNING(S) AFFECTING 21 LINE(S) -------------------------------------------------------------------------------- 27 | WARNING | Line exceeds 80 characters; contains 88 characters 34 | WARNING | Line exceeds 80 characters; contains 91 characters 41 | WARNING | Line exceeds 80 characters; contains 89 characters 48 | WARNING | Line exceeds 80 characters; contains 88 characters 55 | WARNING | Line exceeds 80 characters; contains 85 characters 62 | WARNING | Line exceeds 80 characters; contains 97 characters 127 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 167 | ERROR | Line indented incorrectly; expected 4 spaces, found 6 168 | ERROR | Line indented incorrectly; expected 37 spaces, found 8 169 | ERROR | Line indented incorrectly; expected 39 spaces, found 10 171 | ERROR | Line indented incorrectly; expected 6 spaces, found 8 176 | ERROR | Line indented incorrectly; expected 4 spaces, found 6 177 | ERROR | Line indented incorrectly; expected 37 spaces, found 8 178 | ERROR | Line indented incorrectly; expected 39 spaces, found 10 179 | ERROR | Case breaking statements must be followed by a single blank | | line 179 | ERROR | Line indented incorrectly; expected 39 spaces, found 19 180 | ERROR | Line indented incorrectly; expected 39 spaces, found 10 181 | ERROR | Case breaking statements must be followed by a single blank | | line 181 | ERROR | Line indented incorrectly; expected 39 spaces, found 19 182 | ERROR | Line indented incorrectly; expected 39 spaces, found 10 183 | ERROR | Line indented incorrectly; expected 39 spaces, found 19 238 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line 265 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...core/modules/locale/tests/Drupal/locale/Tests/LocaleTranslationTest.php -------------------------------------------------------------------------------- FOUND 2 ERROR(S) AND 1 WARNING(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 31 | WARNING | Line exceeds 80 characters; contains 97 characters 35 | ERROR | Missing function doc comment 54 | ERROR | Function comment short description must end with a full stop -------------------------------------------------------------------------------- FILE: .../modules/locale/tests/Drupal/locale/Tests/Menu/LocaleLocalTasksTest.php -------------------------------------------------------------------------------- FOUND 3 ERROR(S) AFFECTING 3 LINE(S) -------------------------------------------------------------------------------- 20 | ERROR | Missing function doc comment 28 | ERROR | Missing function doc comment 42 | ERROR | If the line declaring an array spans longer than 80 characters, | | each element should be broken into its own line -------------------------------------------------------------------------------- FILE: ...drupal/core/modules/locale/tests/modules/locale_test/locale_test.module -------------------------------------------------------------------------------- FOUND 11 ERROR(S) AFFECTING 11 LINE(S) -------------------------------------------------------------------------------- 51 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 52 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 54 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 67 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 69 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 82 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 84 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 97 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 99 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 113 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis 115 | ERROR | There must be no space between the Array keyword and the opening | | parenthesis --------------------------------------------------------------------------------