Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
typed_data
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
typed_data
Commits
c9e2c78e
Commit
c9e2c78e
authored
9 months ago
by
Tim Rohaly
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3477455
by tr: Sort use statements using the new Drupal-defined alphabetical ordering
parent
b8d0636b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!36
Issue #3477455 by tr: Sort use statements using the new Drupal-defined alphabetical ordering
Pipeline
#297670
passed
9 months ago
Stage: build
Stage: validate
Stage: test
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
phpcs.xml.dist
+0
-3
0 additions, 3 deletions
phpcs.xml.dist
src/Plugin/TypedDataFormWidget/SelectWidget.php
+1
-1
1 addition, 1 deletion
src/Plugin/TypedDataFormWidget/SelectWidget.php
tests/src/Kernel/PlaceholderResolverTest.php
+1
-1
1 addition, 1 deletion
tests/src/Kernel/PlaceholderResolverTest.php
with
2 additions
and
5 deletions
phpcs.xml.dist
+
0
−
3
View file @
c9e2c78e
...
...
@@ -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"
/>
...
...
This diff is collapsed.
Click to expand it.
src/Plugin/TypedDataFormWidget/SelectWidget.php
+
1
−
1
View file @
c9e2c78e
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
tests/src/Kernel/PlaceholderResolverTest.php
+
1
−
1
View file @
c9e2c78e
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment