Problem/Motivation
vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/event_platform/
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_scheduler/src/Form/SchedulerSettingsForm.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------
15 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
95 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
-----------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_sponsors/event_platform_sponsors.install
-------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------
5 | WARNING | Line exceeds 80 characters; contains 82 characters
-------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_sessions/event_platform_sessions.install
-------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------
5 | WARNING | Line exceeds 80 characters; contains 82 characters
-------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_details/src/Plugin/Block/EventPlatformHeaderCtaBlock.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------------
32 | ERROR | [x] The first index in a multi-value array must be on a new line
36 | ERROR | [x] Closing parenthesis of array declaration must be on a new line
-----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_details/src/Plugin/Block/CopyrightBlock.php
----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------
35 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_details/src/Plugin/Block/EventPlatformHomeHeroBlock.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------
48 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/event_platform_details/event_platform_details.module
----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Missing function doc comment
14 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
20 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
32 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/vbd9/web/modules/contrib/event_platform/README.md
-----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------
10 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
72 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------
Time: 1.05 secs; Memory: 12MB
Steps to reproduce
Proposed resolution
RUN::
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/event_platform/
Remaining tasks
User interface changes
API changes
Data model changes