From ce144736781c4af25dedf04bc3b6e9844b650e61 Mon Sep 17 00:00:00 2001 From: SonataCI Date: Fri, 22 Mar 2024 12:12:24 +0000 Subject: [PATCH 1/2] DevKit updates --- .php-cs-fixer.dist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index d197afd5..67707a5e 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -45,7 +45,7 @@ 'no_useless_return' => true, 'no_superfluous_elseif' => true, 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true], - 'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true], + 'nullable_type_declaration_for_default_null_value' => true, 'ordered_class_elements' => true, 'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']], 'phpdoc_order' => ['order' => ['var', 'param', 'throws', 'return', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return']], From 306f8f8bd3594493e8bfbd31e06791c78e85ea63 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 3 Apr 2024 20:20:10 +0200 Subject: [PATCH 2/2] Fix --- tests/Filter/IdFilterTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/Filter/IdFilterTest.php b/tests/Filter/IdFilterTest.php index 3b4d1b35..26248ed2 100644 --- a/tests/Filter/IdFilterTest.php +++ b/tests/Filter/IdFilterTest.php @@ -102,11 +102,10 @@ public function testNotEquals(): void $builder = new ProxyQuery($queryBuilder); - $filter->apply($builder, FilterData::fromArray( - [ + $filter->apply($builder, FilterData::fromArray([ 'value' => '507f1f77bcf86cd799439011', - 'type' => EqualOperatorType::TYPE_NOT_EQUAL, ] - )); + 'type' => EqualOperatorType::TYPE_NOT_EQUAL, + ])); static::assertTrue($filter->isActive()); } }