vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/exif/
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/LICENSE.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
106 | WARNING | Line exceeds 80 characters; contains 81 characters
120 | WARNING | Line exceeds 80 characters; contains 84 characters
227 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/src/ExifPHPExtension.php
------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
------------------------------------------------------------------------------
15 | ERROR | Missing member variable doc comment
107 | WARNING | Unused variable $key.
109 | WARNING | Unused variable $one_character.
------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/src/Controller/ExifSettingsController.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
---------------------------------------------------------------------------------------------------------------------------
36 | ERROR | [ ] Missing member variable doc comment
37 | ERROR | [ ] Missing member variable doc comment
202 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
281 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
588 | ERROR | [x] Expected 1 space between comma and "'sanitizeValue'"; 0 found
588 | ERROR | [x] Expected one space after the comma, 0 found
589 | ERROR | [x] Concat operator must be surrounded by a single space
---------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/src/Form/ExifSettingsForm.php
---------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------
135 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
163 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
230 | WARNING | Vocabulary::loadMultiple calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/src/Plugin/Field/FieldWidget/ExifWidgetBase.php
-----------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
153 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
188 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
-----------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/src/ExifContent.php
----------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 3 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------
185 | ERROR | Public method name "ExifContent::entity_insert_update" is not in lowerCamel format
237 | WARNING | Unused variable $index.
256 | WARNING | Unused variable $innerkey.
294 | ERROR | Missing parameter comment
295 | ERROR | Missing parameter comment
295 | ERROR | Missing parameter type
296 | ERROR | Missing parameter comment
296 | ERROR | Missing parameter type
516 | WARNING | Unused variable $config.
----------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/src/SimpleExifToolFacade.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------
11 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
16 | ERROR | Missing member variable doc comment
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/exif.drush.inc
--------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------------------
13 | WARNING | Global constants should not be used, move it to a class or interface
98 | WARNING | Unused variable $count.
101 | WARNING | Unused variable $count.
104 | WARNING | Unused variable $count.
260 | ERROR | Missing parameter comment
262 | ERROR | Description for the @return value is missing
264 | ERROR | Type hint "array" missing for $entity_types
--------------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/exif.module
---------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------
28 | ERROR | [x] Array closing indentation error, expected 6 spaces but found 8
30 | ERROR | [x] Array indentation error, expected 8 spaces but found 10
31 | ERROR | [x] Array closing indentation error, expected 6 spaces but found 8
---------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------
FILE: /var/www/html/drupalvb/web/modules/contrib/exif/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
48 | WARNING | Line exceeds 80 characters; contains 141 characters
----------------------------------------------------------------------
Time: 4.13 secs; Memory: 18MB