phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig ckeditor_templates_ui/
FILE: /var/www/html/vb/drupal-2821827/modules/contrib/ckeditor_templates_ui/src/CkeditorTemplatesUi.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Missing class doc comment
36 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vb/drupal-2821827/modules/contrib/ckeditor_templates_ui/src/Form/CkeditorTemplateForm.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------
74 | WARNING | Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
--------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vb/drupal-2821827/modules/contrib/ckeditor_templates_ui/ckeditor_templates_ui.post_update.php
-----------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
11 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3
13 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
-----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------
Time: 202ms; Memory: 10MB