- Issue created by @roshni27
- @roshni27 opened merge request.
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 4:57am 8 August 2023 - Status changed to RTBC
almost 2 years ago 5:56am 8 August 2023
Missing coding standards
Run the command:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml media_vimeo_domain_privacy
Fix the following coding standards issues and create an MR with fixes.
FILE: /home/lenovo/d7to9/web/modules/contrib/media_vimeo_domain_privacy/media_vimeo_domain_privacy.services.yml
---------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------
FILE: /home/lenovo/d7to9/web/modules/contrib/media_vimeo_domain_privacy/src/HttpClientMiddleware/VimeoDomainPrivacyMiddleware.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
27 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------------------------------------------
1.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.