Skip to content

Commit 0af111b

Browse files
DevKit updates for 4.x branch (#964)
Co-authored-by: Vincent Langlet <vincentlanglet@hotmail.fr>
1 parent fc72298 commit 0af111b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
'no_useless_return' => true,
4646
'no_superfluous_elseif' => true,
4747
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true],
48-
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
48+
'nullable_type_declaration_for_default_null_value' => true,
4949
'ordered_class_elements' => true,
5050
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']],
5151
'phpdoc_order' => ['order' => ['var', 'param', 'throws', 'return', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return']],

tests/Admin/Filter/CategoryFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testRenderSettings(): void
4242
$filter = new CategoryFilter($this->categoryManager);
4343
$filter->initialize('field_name', [
4444
'field_options' => ['class' => 'FooBar'],
45-
]);
45+
]);
4646
$options = $filter->getRenderSettings()[1];
4747

4848
static::assertSame(ChoiceType::class, $options['field_type']);

tests/Admin/Filter/CollectionFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testRenderSettings(): void
3838
$filter = new CollectionFilter($this->collectionManager);
3939
$filter->initialize('field_name', [
4040
'field_options' => ['class' => 'FooBar'],
41-
]);
41+
]);
4242
$options = $filter->getRenderSettings()[1];
4343

4444
static::assertSame(ChoiceType::class, $options['field_type']);

0 commit comments

Comments
 (0)