- 🇮🇳India riddhi.addweb
I have applied the patch cleanly but still, there are some errors left.
Please check the screenshot for the same.FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/field_layout-field_layout/tests/src/Unit/FieldLayoutBuilderTest.php ----------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Layout\LayoutPluginManagerInterface. ----------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/field_layout-field_layout/src/FieldLayoutBuilder.php ----------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Layout\LayoutPluginManagerInterface. ----------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/field_layout-field_layout/field_layout.module ---------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------- 37 | WARNING | [x] The variable name should be defined after the type ---------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------
- Status changed to Closed: works as designed
5 months ago 5:41pm 24 July 2024 - 🇺🇸United States bnjmnm Ann Arbor, MI
Your passion for coding standards in contrib modules is commendable, but we're fine with it as is. Thanks.