- Issue created by @alyaj2a
- Assigned to alyaj2a
- Issue was unassigned.
- Status changed to Needs review
2 months ago 10:15pm 12 September 2024 - Status changed to Needs work
2 months ago 9:33am 13 September 2024 - šµšPhilippines clarkssquared
Hi
I applied MR !9 and there are still few PHPCS issues.
ā swiper_formatter git:(1.0.x) curl https://git.drupalcode.org/project/swiper_formatter/-/merge_requests/9.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2691 0 2691 0 0 5553 0 --:--:-- --:--:-- --:--:-- 5641 patching file 'src/Plugin/Field/FieldFormatter/SwiperFormatterEntity.php' patching file 'src/SwiperFormatterTrait.php' patching file 'templates/swiper-formatter-slide.html.twig' patching file 'templates/swiper-formatter.html.twig' ā swiper_formatter git:(1.0.x) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml swiper_formatter FILE: /Users/clarksubing-subing/Projects/d10/drupal_local/web/modules/contrib/swiper_formatter/src/Plugin/Field/FieldFormatter/SwiperFormatterEntity.php -------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------- 51 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter -------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/clarksubing-subing/Projects/d10/drupal_local/web/modules/contrib/swiper_formatter/src/SwiperFormatterTrait.php --------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------- 77 | 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: 694ms; Memory: 14MB ā contrib git:(main) ā
Automatically closed - issue fixed for 2 weeks with no activity.