Skip to content
Snippets Groups Projects
Commit 3f096bda authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Merge branch '3477455-sort-use-statements' into '2.1.x'

Issue #3477455 by tr: Sort use statements using the new Drupal-defined alphabetical ordering

See merge request !36
parents b8d0636b c9e2c78e
No related branches found
No related tags found
No related merge requests found
Pipeline #294959 passed
......@@ -21,9 +21,6 @@
<!-- Ignore specific sniffs in all files. The following are either not
relevant for Typed Data or we have decided not to adhere to them. -->
<!-- Don't require strict alphabetical ordering of use statements. -->
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses"><severity>0</severity></rule>
<rule ref="DrupalPractice">
<!-- Allow empty lines after comments, we don't care. -->
<exclude name="DrupalPractice.Commenting.CommentEmptyLine"/>
......
......@@ -3,12 +3,12 @@
namespace Drupal\typed_data\Plugin\TypedDataFormWidget;
use Drupal\Core\Form\SubformStateInterface;
use Drupal\Core\Plugin\Context\ContextDefinition;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\DataDefinitionInterface;
use Drupal\Core\TypedData\ListInterface;
use Drupal\Core\TypedData\OptionsProviderInterface;
use Drupal\Core\TypedData\TypedDataInterface;
use Drupal\Core\Plugin\Context\ContextDefinition;
use Drupal\typed_data\Attribute\TypedDataFormWidget;
use Drupal\typed_data\Form\SubformState;
use Drupal\typed_data\Widget\FormWidgetBase;
......
......@@ -10,9 +10,9 @@ use Drupal\Core\Datetime\Entity\DateFormat;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Render\BubbleableMetadata;
use Drupal\Core\TypedData\DataDefinition;
use Drupal\KernelTests\KernelTestBase;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\KernelTests\KernelTestBase;
/**
* Tests the placeholder resolver.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment