- Issue created by @Charchil Khandelwal
- @charchil-khandelwal opened merge request.
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 6:35am 17 February 2023 - š®š³India Charchil Khandelwal
Created MR !7 for the issue, please review.
Thanks.
- Status changed to Needs work
4 months ago 11:28am 15 August 2024 - šµšPhilippines cleavinjosh
Hi @Charchil Khandelwal,
I applied MR!7, 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
:ā before_after git:(8.x-2.x) curl https://git.drupalcode.org/project/before_after/-/merge_requests/7.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3772 0 3772 0 0 7484 0 --:--:-- --:--:-- --:--:-- 7484 patching file beforeafter.info.yml patching file src/Plugin/Field/FieldFormatter/BeforeAfterFieldFormatter.php ā before_after git:(8.x-2.x) ā .. ā contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml before_after FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/before_after/beforeafter.info.yml ------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------ 5 | ERROR | "dependencies" should be an array in the info yaml file ------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/before_after/src/Plugin/Field/FieldFormatter/BeforeAfterFieldFormatter.php ----------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------- 15 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityTypeManagerInterface. ----------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------- Time: 142ms; Memory: 10MB ā contrib
Thank you.