Skip to content

Commit

Permalink
Update rules for PHP CS Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Jan 14, 2025
1 parent aad2dfc commit 2d9d36c
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 21 deletions.
3 changes: 1 addition & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
'no_homoglyph_names' => true,
'no_null_property_initialization' => true,
'no_superfluous_elseif' => true,
'no_superfluous_phpdoc_tags' => false,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'no_unset_on_property' => true,
'no_useless_else' => true,
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
Expand All @@ -69,7 +69,6 @@
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'php_unit_dedicate_assert_internal_type' => true,
'php_unit_method_casing' => false,
'php_unit_mock' => true,
'php_unit_namespaced' => true,
'php_unit_set_up_tear_down_visibility' => true,
Expand Down
3 changes: 0 additions & 3 deletions src/SoftDeleteable/Mapping/Event/Adapter/ODM.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
*/
final class ODM extends BaseAdapterODM implements SoftDeleteableAdapter, ClockAwareAdapterInterface
{
/**
* @var ClockInterface|null
*/
private ?ClockInterface $clock = null;

public function setClock(ClockInterface $clock): void
Expand Down
3 changes: 0 additions & 3 deletions src/SoftDeleteable/Mapping/Event/Adapter/ORM.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
*/
final class ORM extends BaseAdapterORM implements SoftDeleteableAdapter, ClockAwareAdapterInterface
{
/**
* @var ClockInterface|null
*/
private ?ClockInterface $clock = null;

public function setClock(ClockInterface $clock): void
Expand Down
3 changes: 0 additions & 3 deletions src/Timestampable/Mapping/Event/Adapter/ODM.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
*/
final class ODM extends BaseAdapterODM implements TimestampableAdapter, ClockAwareAdapterInterface
{
/**
* @var ClockInterface|null
*/
private ?ClockInterface $clock = null;

public function setClock(ClockInterface $clock): void
Expand Down
3 changes: 0 additions & 3 deletions src/Timestampable/Mapping/Event/Adapter/ORM.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
*/
final class ORM extends BaseAdapterORM implements TimestampableAdapter, ClockAwareAdapterInterface
{
/**
* @var ClockInterface|null
*/
private ?ClockInterface $clock = null;

public function setClock(ClockInterface $clock): void
Expand Down
5 changes: 0 additions & 5 deletions src/Tool/ORM/Repository/EntityRepositoryCompat.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
trait EntityRepositoryCompat
{
/**
* @param string $method
* @param array $args
*
* @return mixed
*
* @phpstan-param list<mixed> $args
*/
public function __call(string $method, array $args): mixed
Expand Down
2 changes: 0 additions & 2 deletions src/Tree/Traits/MaterializedPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ trait MaterializedPath
protected $hash;

/**
* @param self $parent
*
* @return self
*/
public function setParent(?self $parent = null)
Expand Down

0 comments on commit 2d9d36c

Please sign in to comment.