Skip to content

Fix the rule override in the set#318

Merged
TomasVotruba merged 2 commits into
ecsphp:mainfrom
mspirkov:fix-198
Dec 18, 2025
Merged

Fix the rule override in the set#318
TomasVotruba merged 2 commits into
ecsphp:mainfrom
mspirkov:fix-198

Conversation

@mspirkov

@mspirkov mspirkov commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Fixes: https://github.com/easy-coding-standard/easy-coding-standard/discussions/198

I think it would be more correct for ConfigurableFixerInterface to set the default configuration if this fixer is specified in withRules.

@TomasVotruba

TomasVotruba commented Dec 18, 2025

Copy link
Copy Markdown
Member

Thanks 👍 This should be covered with a test, so we know its behaves as expected.

@mspirkov

Copy link
Copy Markdown
Contributor Author

I'll do it now

@mspirkov

Copy link
Copy Markdown
Contributor Author

@TomasVotruba Take a look, please

@TomasVotruba

Copy link
Copy Markdown
Member

Very nice and clean. Thank you 👍

Let's give it a go

@TomasVotruba TomasVotruba merged commit 74cd92a into ecsphp:main Dec 18, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants