- Issue created by @sidharth_soman
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:02pm 10 July 2023 - last update
over 1 year ago 1 pass - š®š³India sidharth_soman Bangalore
I have fixed the issue and attached a patch. Please review.
- Status changed to RTBC
7 months ago 7:32am 20 August 2024 - šµšPhilippines cleavinjosh
Hi @sidharth_soman,
I applied patch #2, it was applied smoothly, and fixed all the issues related to the null coalesce.
ā amazon_onsite git:(1.x) curl https://www.drupal.org/files/issues/2023-07-10/3373610-2.patch | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3123 100 3123 0 0 10668 0 --:--:-- --:--:-- --:--:-- 10695 patching file amazon_onsite.permissions.yml patching file src/Form/SettingsForm.php patching file src/Plugin/Field/FieldWidget/AopProductWidget.php ā amazon_onsite git:(1.x) ā .. ā contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml amazon_onsite FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/amazon_onsite/README.md -------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------- 5 | WARNING | Line exceeds 80 characters; contains 87 characters -------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/amazon_onsite/src/AopFeedItemListBuilder.php ------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Datetime\DateFormatterInterface. ------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------- Time: 388ms; Memory: 10MB ā contrib
I am moving the status to RTBC since this issue only focuses on the issues mentioned in the description.
Thank you.