- Issue created by @sunil_lnwebworks
I got the following when I run the phpcs command
FILE: /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect/lib/ProdNoRedirectDrupalKernel.php ------------------------------------------------------------------------------------------------------------------ FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------ 8 | ERROR | [x] Missing class doc comment 10 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------ FILE: /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect/prod_no_redirect.info.yml ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ------------------------------------------------------------------------------------------------------------- ➜ prod_no_redirect git:(master) ✗ /Users/mac/project/phpcs/vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect FILE: /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect/README.md ----------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ----------------------------------------------------------------------------------------- 7 | WARNING | Line exceeds 80 characters; contains 85 characters 13 | WARNING | Line exceeds 80 characters; contains 120 characters ----------------------------------------------------------------------------------------- FILE: /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect/lib/ProdNoRedirectDrupalKernel.php ------------------------------------------------------------------------------------------------------------------ FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------ 8 | ERROR | [x] Missing class doc comment 10 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------ FILE: /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect/prod_no_redirect.info.yml ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ------------------------------------------------------------------------------------------------------------- FILE: /Users/mac/contribution/my_site_name/web/modules/contrib/prod_no_redirect/src/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php --------------------------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced with use statements 12 | ERROR | [x] Missing function doc comment --------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------- Time: 63ms; Memory: 8MB
- gaurav gupta Jaipur, Rajasthsan
Gaurav Gupta → made their first commit to this issue’s fork.
- Status changed to Needs review
9 months ago 8:58am 23 March 2024 - Status changed to RTBC
9 months ago 2:39pm 23 March 2024 - 🇵🇭Philippines clarkssquared
Hi
I applied MR !1 and I confirmed that I can no longer see any PHPCS issues/errors.
➜ prod_no_redirect git:(1.0.x) curl https://git.drupalcode.org/project/prod_no_redirect/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8391 0 8391 0 0 14629 0 --:--:-- --:--:-- --:--:-- 14798 patching file .gitlab-ci.yml patching file 'lib/ProdNoRedirectDrupalKernel.php' patching file 'src/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php' ➜ prod_no_redirect git:(1.0.x) ✗ .. ➜ contrib git:(master) ✗ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml prod_no_redirect ➜ contrib git:(master) ✗
- Status changed to Needs review
8 months ago 6:28am 1 May 2024 - Status changed to RTBC
6 months ago 10:44am 10 June 2024 - Status changed to Fixed
6 months ago 10:51am 10 June 2024 - gaurav gupta Jaipur, Rajasthsan
Hi @Moshe Weitzman
i can see that PR has been merged but we have not get the credit for the issue.
It would be great if you could ptovide the credit.
Thanks. Automatically closed - issue fixed for 2 weeks with no activity.