Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

[rector] Add defluent set #27

Merged
merged 5 commits into from
Oct 18, 2020
Merged

[rector] Add defluent set #27

merged 5 commits into from
Oct 18, 2020

Conversation

TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba changed the title rector defluent [rector] Add defluent set Oct 18, 2020
@@ -33,10 +33,6 @@ parameters:
ignoreErrors:
- '#Method App\\Form\\ProjectFormType\:\:buildForm\(\) has parameter \$formBuilder with no value type specified in iterable type Symfony\\Component\\Form\\FormBuilderInterface#'

# no idea how to fix these now, possible sources: /~https://github.com/phpstan/phpstan-doctrine/blob/e560d32f6fb68e5bbec0e556a69723e7faece14a/tests/Rules/Doctrine/ORM/data/EntityWithRelations.php
- '#Method (.*?) return type with generic interface Doctrine\\Common\\Collections\\Collection does not specify its types\: TKey, T#'
- '#Property (.*?) with generic interface Doctrine\\Common\\Collections\\Collection does not specify its types\: TKey, T#'
Copy link
Member Author

@TomasVotruba TomasVotruba Oct 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kerrialn FIY, I took a Sunday off and made a Rector rule to handle these :)

See rectorphp/rector#4442 (comment)

It's part of SetList::DOCTRINE_CODE_QUALITY set

@TomasVotruba TomasVotruba merged commit 5c85c61 into master Oct 18, 2020
@TomasVotruba TomasVotruba deleted the rector-defluent branch October 18, 2020 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant