- Issue created by @alyaj2a
- šµšPhilippines cleavinjosh
Hi @alyaj2a,
Thank you for providing an MR. I applied MR!4, it was applied smoothly and fixed most of the phpcs issues.
This is the remaining issue after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
:ā url_restriction_by_role git:(1.1.x) curl https://git.drupalcode.org/project/url_restriction_by_role/-/merge_requests/4.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2631 0 2631 0 0 6546 0 --:--:-- --:--:-- --:--:-- 6544 patching file README.md patching file src/EventSubscriber/UrlRestrictionByRole.php ā url_restriction_by_role git:(1.1.x) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml url_restriction_by_role FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/url_restriction_by_role/src/EventSubscriber/UrlRestrictionByRole.php ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 114 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- Time: 229ms; Memory: 10MB ā contrib git:(main) ā
Thank you.
- Issue was unassigned.
- Status changed to Needs review
23 days ago 3:26pm 26 November 2024 - First commit to issue fork.
-
sovimi ā
committed 730526e7 on 1.1.x authored by
alyaj2a ā
Codign Standard issues - #3477139
-
sovimi ā
committed 730526e7 on 1.1.x authored by
alyaj2a ā
Hi all!
All phpcs issues are fixed, as well as the unit tests, so the pipeline is green.An updated version has been released.
Thanks for all the contributions!Automatically closed - issue fixed for 2 weeks with no activity.