- Issue created by @Harpreet_singh_saluja
- First commit to issue fork.
- Status changed to Fixed
9 months ago 5:37am 19 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Hi @fago
Referred source
when I run the command
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
for your module and found this
FILE: /var/www/html/web/modules/contrib/ohdear_integration/src/Controller/OhDearIntegrationController.php
---------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------
58 | ERROR | Parameter $ohdear_sdk is not described in comment
---------------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/ohdear_integration/src/OhDearInfo.php
----------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------
137 | ERROR | [ ] Missing parameter type
137 | ERROR | [x] Tag value indented incorrectly; expected 1 space but found 2
140 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1 spaces
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/ohdear_integration/ohdear_integration.services.yml
------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------
21 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------
I created Patch to fix this
Hope you value my time and efforts.
Thank You !!
Fixed
2.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.