Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
FILE: ...s/custom/taxonomy_manager/src/Tests/TaxonomyManagerPagesTest.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
15 | ERROR | Missing member variable doc comment
16 | ERROR | Missing member variable doc comment
----------------------------------------------------------------------
FILE: .../custom/taxonomy_manager/src/Tests/TaxonomyManagerConfigTest.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
34 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait
| | and $this->t() instead
36 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait
| | and $this->t() instead
----------------------------------------------------------------------
FILE: ...modules/custom/taxonomy_manager/src/Form/TaxonomyManagerForm.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 9 WARNINGS AFFECTING 11 LINES
----------------------------------------------------------------------
98 | ERROR | [x] No space found before comment text; expected "//
| | &&" but found "//&&"
98 | ERROR | [x] Comments may not appear after statements
99 | ERROR | [x] No space found before comment text; expected "//
| | ($this->config('advagg_mod.settings')->get('js_adjust_sort_external'))"
| | but found
| | "//($this->config('advagg_mod.settings')->get('js_adjust_sort_external'))"
102 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
114 | WARNING | [ ] \Drupal calls should be avoided in classes, use
| | dependency injection instead
176 | WARNING | [ ] \Drupal calls should be avoided in classes, use
| | dependency injection instead
201 | WARNING | [ ] Unused variable $selected_terms.
236 | WARNING | [ ] \Drupal calls should be avoided in classes, use
| | dependency injection instead
238 | WARNING | [ ] \Drupal calls should be avoided in classes, use
| | dependency injection instead
253 | WARNING | [ ] \Drupal calls should be avoided in classes, use
| | dependency injection instead
261 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: $current_path
299 | WARNING | [ ] \Drupal calls should be avoided in classes, use
| | dependency injection instead
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...tml/modules/custom/taxonomy_manager/src/Form/DeleteTermsForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../html/modules/custom/taxonomy_manager/src/Form/MoveTermsForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...es/custom/taxonomy_manager/src/Form/AddTermsToVocabularyForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#3 | taxonomy_manager-phpcs-3160131-3.d8.patch | 10.9 KB | VladimirAus |
Comments
Comment #2
VladimirAusComment #3
VladimirAusExtra fixes
Comment #5
DamienMcKennaIs there more to be done here or can it be marked "fixed"?
Comment #6
VladimirAusJust giving a bit more time until 26th in case someone wants to test dev branch.
Comment #7
VladimirAus