- Issue created by @jay jangid
- @jay-jangid opened merge request.
- Status changed to Needs work
9 months ago 11:25am 15 July 2024 - 🇮🇳India riddhi.addweb
I applied the patch but after applying the Patch, there are errors still displayed. Attaching the SS for the same.
FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/appointment_time_slots/appointment_time_slots.module ------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------- 9 | WARNING | [x] Unused use statement 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Html. ------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/appointment_time_slots/src/Plugin/Field/FieldWidget/TimeSlotWidget.php ----------------------------------------------------------------------------------------------------------------------------- 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\Ajax\AjaxResponse. 86 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 101 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead ----------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/appointment_time_slots/src/Plugin/Field/FieldType/TimeSlotField.php ------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Field\FieldStorageDefinitionInterface. ------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------