Skip to content

Conversation

@mickverm
Copy link
Contributor

@mickverm mickverm commented Feb 6, 2025

The following configuration has been in our codebase for quite some time, so I figured it's about time to patch it directly into Rector. I based my changes on a similar issue: #6531.

->withSkip([
    ReadOnlyPropertyRector::class => [
        __DIR__ . '/src/Document/*.php',
    ],
])

@samsonasik samsonasik merged commit ecd8b37 into rectorphp:main Feb 6, 2025
44 checks passed
@samsonasik
Copy link
Member

Thank you @mickverm

@mickverm
Copy link
Contributor Author

mickverm commented Feb 6, 2025

That was quick! 🥳

@mickverm mickverm deleted the readonlypropertyrector-doctrine-mongodb-odm branch February 6, 2025 16:14
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants