- 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.