phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/feeds_youtube_api_parser/
FILE: /var/www/html/contribution/web/modules/contrib/feeds_youtube_api_parser/src/Exception/YouTubeApiException.php
-------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
-------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/feeds_youtube_api_parser/src/Feeds/Fetcher/FeedsYouTubeApiFetcher.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------------------
95 | ERROR | [ ] Doc comment for parameter $id does not match actual variable name
122 | ERROR | [ ] Doc comment for parameter $id does not match actual variable name
190 | WARNING | [ ] Unused variable $playlist.
191 | WARNING | [x] A comma should follow the last multiline array item. Found: $source
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/feeds_youtube_api_parser/src/Feeds/Fetcher/Form/FeedsYouTubeApiFetcherFeedForm.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 4 WARNINGS AFFECTING 9 LINES
---------------------------------------------------------------------------------------------------------------------------------------
55 | WARNING | [ ] Unused variable $test.
56 | ERROR | [x] Expected newline after closing brace
58 | WARNING | [x] A comma should follow the last multiline array item. Found: )
60 | ERROR | [x] Expected newline after closing brace
62 | WARNING | [x] A comma should follow the last multiline array item. Found: )
64 | ERROR | [x] Expected newline after closing brace
66 | WARNING | [x] A comma should follow the last multiline array item. Found: )
76 | ERROR | [x] Expected 1 blank line after function; 0 found
77 | ERROR | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/feeds_youtube_api_parser/src/Feeds/Fetcher/Form/FeedsYouTubeApiFetcherForm.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
26 | ERROR | [x] Short array syntax must be used to define arrays
29 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
30 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
34 | ERROR | [x] Short array syntax must be used to define arrays
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/feeds_youtube_api_parser/README.md
---------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES
---------------------------------------------------------------------------------------
33 | WARNING | Line exceeds 80 characters; contains 85 characters
66 | WARNING | Line exceeds 80 characters; contains 87 characters
94 | WARNING | Line exceeds 80 characters; contains 94 characters
102 | WARNING | Line exceeds 80 characters; contains 85 characters
135 | WARNING | Line exceeds 80 characters; contains 84 characters
150 | WARNING | Line exceeds 80 characters; contains 122 characters
151 | WARNING | Line exceeds 80 characters; contains 96 characters
153 | WARNING | Line exceeds 80 characters; contains 98 characters
157 | WARNING | Line exceeds 80 characters; contains 92 characters
173 | WARNING | Line exceeds 80 characters; contains 94 characters
---------------------------------------------------------------------------------------