- Issue created by @sidharth_soman
- š®š¹Italy apaderno Brescia, š®š¹
The issue summary should always describe what the issue is trying to fix and, in the case of coding standards issues, show which command and arguments have been used and which report that command shown. In this way, project maintainers can verify the patch/MR fixes all the warnings/errors.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 2:13pm 4 July 2023 - š®š³India sidharth_soman Bangalore
I have solved all the issues and issued an MR as above. Please review.
- Status changed to Needs work
over 1 year ago 4:41pm 4 July 2023 - š®š¹Italy apaderno Brescia, š®š¹
The status is also for the issue summary, which does not show the command and the arguments used to get the report quoted in the issue summary.
- Status changed to Needs review
over 1 year ago 4:47pm 4 July 2023 - Status changed to Needs work
5 months ago 9:22am 21 August 2024 - šµšPhilippines cleavinjosh
Hi @sidharth_soman,
I applied MR!9, it was applied smoothly and fixed most of the phpcs issues.
These are the remaining issues after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
:ā popup_message git:(2.0.2) curl https://git.drupalcode.org/project/popup_message/-/merge_requests/9.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5659 0 5659 0 0 8149 0 --:--:-- --:--:-- --:--:-- 8154 patching file popup_message.module patching file src/EventSubscriber/PopupMessageSubscriber.php patching file src/Form/PopupMessageSettingsForm.php patching file src/GlobalConstantsInterface.php ā popup_message git:(2.0.2) ā .. ā contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig popup_message FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/popup_message/src/Form/PopupMessageSettingsForm.php ------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------ 14 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Html. ------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/popup_message/src/EventSubscriber/PopupMessageSubscriber.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Xss. --------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------- Time: 290ms; Memory: 12MB ā contrib
Moreover, MR!9 is 2 commits behind the target branch.
Thank you.
- š®š¹Italy apaderno Brescia, š®š¹
The 2.0.x branch is no longer supported.
-
rafal.tokarski ā
committed f653d62d on 3372278-fix_phpstan_phpcs_errors
Issue #3372278: fix phpstan and phpcs errors
-
rafal.tokarski ā
committed f653d62d on 3372278-fix_phpstan_phpcs_errors
https://git.drupalcode.org/project/popup_message/-/merge_requests/18/diffs - phpstan and phpcs fixes for the module
-
rafal.tokarski ā
committed 2f2c50ba on 3.x
Issue #3372278: fix phpstan and phpcs errors
-
rafal.tokarski ā
committed 2f2c50ba on 3.x