- Issue created by @sidharth_soman
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:17am 7 July 2023 - š«š®Finland tvalimaa
FILE: user_email_verification.module ----------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\Display\EntityViewDisplayInterface. ----------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Plugin/views/filter/EmailVerification.php -------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\views\Plugin\views\filter\FilterPluginBase. -------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Controller/UserEmailVerificationVerifyExtended.php ----------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 93 | ERROR | Unnecessarily gendered language in a comment ----------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Controller/UserEmailVerificationVerify.php --------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------------- 94 | ERROR | Unnecessarily gendered language in a comment --------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Event/UserEmailVerificationVerifyEvent.php --------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\user\UserInterface. --------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Event/UserEmailVerificationDeleteAccountEvent.php ---------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\user\UserInterface. ---------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Event/UserEmailVerificationCreateVerificationEvent.php --------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\user\UserInterface. --------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Event/UserEmailVerificationBlockAccountEvent.php --------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\user\UserInterface. --------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: user_email_verification/src/UserEmailVerification.php ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 20 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\user_email_verification\Event\UserEmailVerificationBlockAccountEvent. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Status changed to Needs work
6 months ago 1:29pm 9 June 2024 - šµšPhilippines clarkssquared
Hi
I applied MR !4 and there are PHPCS error that PHPCS reported:
ā user_email_verification git:(8.x-1.2) curl https://git.drupalcode.org/project/user_email_verification/-/merge_requests/4.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10239 0 10239 0 0 13598 0 --:--:-- --:--:-- --:--:-- 13725 patching file 'src/Controller/UserEmailVerificationVerify.php' patching file 'src/Controller/UserEmailVerificationVerifyExtended.php' patching file 'src/Event/UserEmailVerificationBlockAccountEvent.php' patching file 'src/Event/UserEmailVerificationCreateVerificationEvent.php' patching file 'src/Event/UserEmailVerificationDeleteAccountEvent.php' patching file 'src/Event/UserEmailVerificationVerifyEvent.php' patching file 'src/Form/UserEmailVerificationRequestForm.php' patching file 'src/Plugin/views/filter/EmailVerification.php' patching file 'src/UserEmailVerification.php' patching file user_email_verification.install patching file user_email_verification.module ā user_email_verification git:(8.x-1.2) ā .. ā contrib git:(master) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml user_email_verification FILE: ...trib/user_email_verification/src/Plugin/views/filter/EmailVerification.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 149 | ERROR | The array declaration extends to column 83 (the limit is 80). | | The array content should be split up over multiple lines -------------------------------------------------------------------------------- FILE: .../web/modules/contrib/user_email_verification/src/UserEmailVerification.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 671 | ERROR | The array declaration extends to column 83 (the limit is 80). | | The array content should be split up over multiple lines -------------------------------------------------------------------------------- Time: 687ms; Memory: 16MB ā contrib git:(master) ā
- š«š®Finland tvalimaa
hmm I didn't get those errors even I use same line on my local. Anyway I made commit based #5 comment
- Status changed to RTBC
5 months ago 11:46am 13 June 2024 - š®š³India dev16.addweb
Hello,
I have tested MR !4 and found no errors or warnings. I have attached SS for the same.