vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/masonry/
FILE: /var/www/html/drupalvb/web/modules/contrib/masonry/src/Services/MasonryService.php
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 17 ERRORS AND 32 WARNINGS AFFECTING 47 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment
7 | ERROR | [x] Doc comment long description must end with a full stop
22 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
41 | ERROR | [x] Doc comment short description must end with a full stop
48 | ERROR | [x] Doc comment short description must end with a full stop
66 | ERROR | [ ] Expected type hint "LanguageManagerInterface"; found "LanguageManager" for $language_manager
155 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1 spaces
158 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1 spaces
161 | ERROR | [ ] Missing parameter comment
163 | ERROR | [ ] Type hint "array" missing for $form
163 | ERROR | [ ] Type hint "array" missing for $options
163 | ERROR | [ ] Type hint "array" missing for $masonry_ids
219 | ERROR | [ ] Missing parameter name
234 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
235 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
240 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
241 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
243 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
244 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
245 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
251 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
252 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
257 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
258 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
263 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
264 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
269 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
270 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
280 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
281 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
285 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
295 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
296 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
301 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
302 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
307 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
308 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
313 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
314 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
328 | ERROR | [x] Expected "string|null" but found "string|NULL" for function return type
333 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
334 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
337 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
349 | ERROR | [x] Expected "string|null" but found "string|NULL" for function return type
354 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
355 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
358 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
365 | ERROR | [x] Expected 1 blank line after function; 0 found
366 | ERROR | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/masonry/masonry.install
------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------
7 | ERROR | [x] Doc comment long description must end with a full stop
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/masonry/masonry.api.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 13 LINES
------------------------------------------------------------------------------------------------------------------------------
7 | ERROR | [x] Doc comment long description must end with a full stop
13 | ERROR | [ ] Missing parameter type
17 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
23 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
24 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
24 | ERROR | [x] Trailing punctuation for @see references is not allowed.
26 | ERROR | [ ] Parameter tags must be defined first in a doc comment
26 | ERROR | [ ] Missing parameter type
28 | ERROR | [ ] Missing parameter type
32 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
54 | ERROR | [ ] Missing parameter type
56 | ERROR | [ ] Missing parameter type
67 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
72 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
75 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/masonry/masonry.module
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AND 2 WARNINGS AFFECTING 8 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7 | ERROR | [x] Doc comment long description must end with a full stop
36 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
54 | ERROR | [ ] Return type missing for @return tag in function comment
57 | ERROR | [ ] The text '@deprecated Use \Drupal::service('masonry.service')->isMasonryInstalled() and \Drupal::service('masonry.service')->isImagesloadedInstalled() instead.' does not match the
| | standard format: @deprecated in %deprecation-version% and is removed from %removal-version%. %extra-info%.
57 | ERROR | [ ] Each @deprecated tag must have a @see tag immediately following it
80 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
80 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
85 | ERROR | [x] Expected 1 space after "="; 2 found
86 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
86 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
90 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/masonry/INSTALL.txt
-----------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
-----------------------------------------------------------------------
21 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters
28 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters
57 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------
Time: 477ms; Memory: 12MB