Phpcs Drupal coding standard issue

Created on 17 February 2023, over 1 year ago

FILE: /var/www/html/contribution/web/modules/contrib/phpmailer_oauth2/phpmailer_oauth2.routing.yml
--------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------
27 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/contrib/phpmailer_oauth2/src/Service/AzureProviderService.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------------------
46 | ERROR | Expected type hint "LoggerChannelFactory"; found "LoggerChannelFactoryInterface" for $logger_channel
72 | ERROR | The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines
96 | ERROR | The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines
-------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/contrib/phpmailer_oauth2/src/OptionProvider/HttpBasicAuthWithScope.php
-------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
4 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
8 | ERROR | [x] Doc comment short description must end with a full stop
13 | ERROR | [ ] Missing short description in doc comment
-------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India himanshu_jhaloya Indore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024