Problem/Motivation
/var/www/html$ vendor/bin/phpcs --standard=DrupalPractice,Drupal --extensions=php,module,info,txt,yml web/modules/contrib/audiofield/
FILE: /var/www/html/web/modules/contrib/audiofield/audiofield.module
-----------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------
161 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
-----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/audiofield/src/Plugin/Field/FieldFormatter/AudioFieldFieldFormatter.php
---------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------
169 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
---------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/audiofield/src/AudioFieldPluginBase.php
-------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------
394 | WARNING | File::load calls should be avoided in classes, use dependency injection instead
-------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/audiofield/src/Commands/AudiofieldCommands.php
--------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------
7 | WARNING | [x] Unused use statement
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------
Time: 1.04 secs; Memory: 10MB
Steps to reproduce
Run this command : vendor/bin/phpcs --standard=DrupalPractice,Drupal --extensions=php,module,info,txt,yml web/modules/contrib/audiofield/
Proposed resolution
Run this command : vendor/bin/phpcbf --standard=DrupalPractice,Drupal --extensions=php,module,info,txt,yml web/modules/contrib/audiofield/
This will fix some automatic errors then you will have to fix remaining error.