diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index f11a860694..68519db238 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -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], @@ -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, diff --git a/src/SoftDeleteable/Mapping/Event/Adapter/ODM.php b/src/SoftDeleteable/Mapping/Event/Adapter/ODM.php index 7311463514..c698d205c4 100644 --- a/src/SoftDeleteable/Mapping/Event/Adapter/ODM.php +++ b/src/SoftDeleteable/Mapping/Event/Adapter/ODM.php @@ -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 diff --git a/src/SoftDeleteable/Mapping/Event/Adapter/ORM.php b/src/SoftDeleteable/Mapping/Event/Adapter/ORM.php index 069139b2ea..e20b7f1b70 100644 --- a/src/SoftDeleteable/Mapping/Event/Adapter/ORM.php +++ b/src/SoftDeleteable/Mapping/Event/Adapter/ORM.php @@ -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 diff --git a/src/Timestampable/Mapping/Event/Adapter/ODM.php b/src/Timestampable/Mapping/Event/Adapter/ODM.php index 541e228b60..9dc685d61e 100644 --- a/src/Timestampable/Mapping/Event/Adapter/ODM.php +++ b/src/Timestampable/Mapping/Event/Adapter/ODM.php @@ -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 diff --git a/src/Timestampable/Mapping/Event/Adapter/ORM.php b/src/Timestampable/Mapping/Event/Adapter/ORM.php index fc6d2ba211..276bc05c02 100644 --- a/src/Timestampable/Mapping/Event/Adapter/ORM.php +++ b/src/Timestampable/Mapping/Event/Adapter/ORM.php @@ -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 diff --git a/src/Tool/ORM/Repository/EntityRepositoryCompat.php b/src/Tool/ORM/Repository/EntityRepositoryCompat.php index dfd2d69843..9c0c5d82b7 100644 --- a/src/Tool/ORM/Repository/EntityRepositoryCompat.php +++ b/src/Tool/ORM/Repository/EntityRepositoryCompat.php @@ -23,11 +23,6 @@ trait EntityRepositoryCompat { /** - * @param string $method - * @param array $args - * - * @return mixed - * * @phpstan-param list $args */ public function __call(string $method, array $args): mixed diff --git a/src/Tree/Traits/MaterializedPath.php b/src/Tree/Traits/MaterializedPath.php index c6d7c59af3..9d6915122e 100644 --- a/src/Tree/Traits/MaterializedPath.php +++ b/src/Tree/Traits/MaterializedPath.php @@ -47,8 +47,6 @@ trait MaterializedPath protected $hash; /** - * @param self $parent - * * @return self */ public function setParent(?self $parent = null)