Skip to content

Commit

Permalink
DevKit updates for 4.x branch (#849)
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Langlet <vincentlanglet@hotmail.fr>
  • Loading branch information
SonataCI and VincentLanglet committed Apr 3, 2024
1 parent a87ffb5 commit 3cded10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
Expand Down
7 changes: 3 additions & 4 deletions tests/Filter/IdFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 3cded10

Please sign in to comment.