Skip to content

[Rules] Enable some optional rules in rector.php#5923

Closed
samsonasik wants to merge 2 commits intomainfrom
enable-optional-rules
Closed

[Rules] Enable some optional rules in rector.php#5923
samsonasik wants to merge 2 commits intomainfrom
enable-optional-rules

Conversation

@samsonasik
Copy link
Copy Markdown
Member

ref #5917 (review) to enable some optional rules only in rector-src rector.php so it always applied and tested on rector-src.

PostIncDecToPreIncDecRector::class,
UseIncrementAssignRector::class,
ArraySpreadInsteadOfArrayMergeRector::class,
FinalizeTestCaseClassRector::class,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@TomasVotruba there is other option for this, eg: add new set for collection of opiniated sets, but usefull for our code base, eg rector-preset, wdyt?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant