- Issue created by @alyaj2a
- Issue was unassigned.
- Status changed to Needs review
2 months ago 5:33pm 10 September 2024 - Status changed to Needs work
2 months ago 10:42am 15 September 2024 - šµšPhilippines clarkssquared
I checked MR !5 and there are PHPCS left in the module after applying it.
ā fontawesome_menu_icons git:(3.x) curl https://git.drupalcode.org/project/fontawesome_menu_icons/-/merge_requests/5.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5172 0 5172 0 0 9882 0 --:--:-- --:--:-- --:--:-- 10042 patching file fontawesome_menu_icons.install patching file fontawesome_menu_icons.module ā fontawesome_menu_icons git:(3.x) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml fontawesome_menu_icons FILE: .../web/modules/contrib/fontawesome_menu_icons/fontawesome_menu_icons.install -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 18 | ERROR | unserialize() is insecure unless allowed classes are limited. Use | | a safe format like JSON or use the allowed_classes option. -------------------------------------------------------------------------------- FILE: ...l/web/modules/contrib/fontawesome_menu_icons/fontawesome_menu_icons.module -------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first | | wrong one is Drupal\Core\Routing\RouteMatchInterface. 80 | WARNING | [ ] #options values usually have to run through t() for | | translation 186 | WARNING | [ ] #options values usually have to run through t() for | | translation -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- Time: 339ms; Memory: 12MB ā contrib git:(main) ā
- Assigned to amit.rawat777
- Issue was unassigned.
- Status changed to Needs review
2 months ago 7:07am 21 September 2024 - šµšPhilippines clarkssquared
Hi amit,
I applied your MR !6 but there's still 1 PHPCS issues that remains
ā fontawesome_menu_icons git:(3.x) curl https://git.drupalcode.org/project/fontawesome_menu_icons/-/merge_requests/6.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6611 0 6611 0 0 2710 0 --:--:-- 0:00:02 --:--:-- 2717 patching file fontawesome_menu_icons.install patching file fontawesome_menu_icons.module ā fontawesome_menu_icons git:(3.x) ā .. ā contrib git:(2.1.x) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml fontawesome_menu_icons FILE: ...al-issues/drupal-contrib/web/modules/contrib/fontawesome_menu_icons/fontawesome_menu_icons.module ------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is | | Drupal\Core\Routing\RouteMatchInterface. ------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------- Time: 187ms; Memory: 12MB ā contrib git:(2.1.x) ā
Also try to avoid opening a new Merge Request, let's use the existing Merge Request in the issue.
Thanks
- First commit to issue fork.
- šµšPhilippines clarkssquared
I applied MR !6 after commit
cae62d5d
and I confirmed that all PHPCS issues were fixed.ā fontawesome_menu_icons git:(3.x) curl https://git.drupalcode.org/project/fontawesome_menu_icons/-/merge_requests/6.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6772 0 6772 0 0 13477 0 --:--:-- --:--:-- --:--:-- 13653 patching file fontawesome_menu_icons.install patching file fontawesome_menu_icons.module ā fontawesome_menu_icons git:(3.x) ā .. ā contrib git:(2.1.x) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml fontawesome_menu_icons ā contrib git:(2.1.x) ā