Hi, reviewed the patch #3, applied cleanly and fixes all the phpcs errors mentioned.
- Status changed to Needs work
4 months ago 1:07pm 31 July 2024 - šµšPhilippines cleavinjosh
Hi @omkar_yewale,
I applied MR!1, it was applied smoothly and fixed most of the phpcs issues.
These are the remaining issues I encountered after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
.ā micro_sso git:(8.x-1.0-beta4) curl https://git.drupalcode.org/project/micro_sso/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4911 0 4911 0 0 13257 0 --:--:-- --:--:-- --:--:-- 13272 patching file micro_sso.module patching file micro_sso.permissions.yml patching file micro_sso.routing.yml patching file src/Controller/MicroSsoController.php ā micro_sso git:(8.x-1.0-beta4) ā .. ā contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml micro_sso FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/micro_sso/src/MicroSsoHelper.php --------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Url. --------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/micro_sso/src/Controller/MicroSsoController.php ---------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------- 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Symfony\Component\HttpFoundation\JsonResponse. ---------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/micro_sso/src/EventSubscriber/MicroSsoSubscriber.php ---------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Symfony\Component\EventDispatcher\EventSubscriberInterface. ---------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------------- Time: 201ms; Memory: 10MB ā contrib
Thank you.
- Status changed to Needs review
3 months ago 12:51pm 9 August 2024