FILE: leaflet.api.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Field\FieldItemInterface. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: modules/leaflet_views/src/Controller/LeafletAjaxPopupController.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Access\AccessResult. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: modules/leaflet_views/src/Plugin/views/style/LeafletMap.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\NestedArray. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Plugin\ContainerFactoryPluginInterface. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: src/Plugin/Field/FieldWidget/LeafletDefaultWidget.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Field\FieldDefinitionInterface. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: src/Plugin/Field/FieldFormatter/LeafletDefaultFormatter.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Field\FieldDefinitionInterface. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: src/LeafletService.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 5 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 6 | WARNING | [x] Unused use statement (Drupal.Classes.UnusedUseStatement.UnusedUse) 9 | WARNING | [x] Unused use statement (Drupal.Classes.UnusedUseStatement.UnusedUse) 13 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Extension\ModuleHandlerInterface. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) 15 | WARNING | [x] Unused use statement (Drupal.Classes.UnusedUseStatement.UnusedUse) 109 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 4 spaces (Drupal.Commenting.FunctionComment.ParamCommentIndentation) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: src/LeafletSettingsElementsTrait.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 3 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Url. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) 1454 | ERROR | [ ] The array declaration extends to column 124 (the limit is 120). The array content should be split up over multiple lines (Drupal.Arrays.Array.LongLineDeclaration) 1454 | ERROR | [ ] The array declaration extends to column 123 (the limit is 120). The array content should be split up over multiple lines (Drupal.Arrays.Array.LongLineDeclaration) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: leaflet.install ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Link. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Time: 1.85 secs; Memory: 18MB PHP CODE SNIFFER REPORT SUMMARY ----------------------------------------------------------------------------------------------------------------------------- FILE ERRORS WARNINGS ----------------------------------------------------------------------------------------------------------------------------- leaflet.api.php 1 0 leaflet.install 1 0 modules/leaflet_views/src/Controller/LeafletAjaxPopupController.php 1 0 modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php 1 0 modules/leaflet_views/src/Plugin/views/style/LeafletMap.php 1 0 src/LeafletService.php 2 3 src/LeafletSettingsElementsTrait.php 3 0 src/Plugin/Field/FieldFormatter/LeafletDefaultFormatter.php 1 0 src/Plugin/Field/FieldWidget/LeafletDefaultWidget.php 1 0 ----------------------------------------------------------------------------------------------------------------------------- A TOTAL OF 12 ERRORS AND 3 WARNINGS WERE FOUND IN 9 FILES ----------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX 13 OF THESE SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------- PHP CODE SNIFFER VIOLATION SOURCE SUMMARY -------------------------------------------------------------------------------------------- SOURCE COUNT -------------------------------------------------------------------------------------------- [x] SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses 9 [x] Drupal.Classes.UnusedUseStatement.UnusedUse 3 [ ] Drupal.Arrays.Array.LongLineDeclaration 2 [x] Drupal.Commenting.FunctionComment.ParamCommentIndentation 1 -------------------------------------------------------------------------------------------- A TOTAL OF 15 SNIFF VIOLATIONS WERE FOUND IN 4 SOURCES -------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SOURCES AUTOMATICALLY (13 VIOLATIONS IN TOTAL) --------------------------------------------------------------------------------------------