Skip to content

Commit 2d9d36c

Browse files
committed
Update rules for PHP CS Fixer
1 parent aad2dfc commit 2d9d36c

File tree

7 files changed

+1
-21
lines changed

7 files changed

+1
-21
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
'no_homoglyph_names' => true,
5353
'no_null_property_initialization' => true,
5454
'no_superfluous_elseif' => true,
55-
'no_superfluous_phpdoc_tags' => false,
55+
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
5656
'no_unset_on_property' => true,
5757
'no_useless_else' => true,
5858
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
@@ -69,7 +69,6 @@
6969
'php_unit_construct' => true,
7070
'php_unit_dedicate_assert' => true,
7171
'php_unit_dedicate_assert_internal_type' => true,
72-
'php_unit_method_casing' => false,
7372
'php_unit_mock' => true,
7473
'php_unit_namespaced' => true,
7574
'php_unit_set_up_tear_down_visibility' => true,

src/SoftDeleteable/Mapping/Event/Adapter/ODM.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
*/
2424
final class ODM extends BaseAdapterODM implements SoftDeleteableAdapter, ClockAwareAdapterInterface
2525
{
26-
/**
27-
* @var ClockInterface|null
28-
*/
2926
private ?ClockInterface $clock = null;
3027

3128
public function setClock(ClockInterface $clock): void

src/SoftDeleteable/Mapping/Event/Adapter/ORM.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
*/
2626
final class ORM extends BaseAdapterORM implements SoftDeleteableAdapter, ClockAwareAdapterInterface
2727
{
28-
/**
29-
* @var ClockInterface|null
30-
*/
3128
private ?ClockInterface $clock = null;
3229

3330
public function setClock(ClockInterface $clock): void

src/Timestampable/Mapping/Event/Adapter/ODM.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
*/
2424
final class ODM extends BaseAdapterODM implements TimestampableAdapter, ClockAwareAdapterInterface
2525
{
26-
/**
27-
* @var ClockInterface|null
28-
*/
2926
private ?ClockInterface $clock = null;
3027

3128
public function setClock(ClockInterface $clock): void

src/Timestampable/Mapping/Event/Adapter/ORM.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
*/
2626
final class ORM extends BaseAdapterORM implements TimestampableAdapter, ClockAwareAdapterInterface
2727
{
28-
/**
29-
* @var ClockInterface|null
30-
*/
3128
private ?ClockInterface $clock = null;
3229

3330
public function setClock(ClockInterface $clock): void

src/Tool/ORM/Repository/EntityRepositoryCompat.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
trait EntityRepositoryCompat
2424
{
2525
/**
26-
* @param string $method
27-
* @param array $args
28-
*
29-
* @return mixed
30-
*
3126
* @phpstan-param list<mixed> $args
3227
*/
3328
public function __call(string $method, array $args): mixed

src/Tree/Traits/MaterializedPath.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ trait MaterializedPath
4747
protected $hash;
4848

4949
/**
50-
* @param self $parent
51-
*
5250
* @return self
5351
*/
5452
public function setParent(?self $parent = null)

0 commit comments

Comments
 (0)