Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rules for PHP CS Fixer #2911

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading