Skip to content

Conversation

@mickverm
Copy link
Contributor

@mickverm mickverm commented Jan 21, 2026

The namespace was changed in doctrine/mongodb-odm 2.16, see: doctrine/mongodb-odm#2933

Ref: #6721

Should a rule be added to automatically replace the attribute?

@samsonasik
Copy link
Member

samsonasik commented Jan 21, 2026

Could you rebase latest main branch? We currently pin to phpstan 2.1.34 on main branch as phpstan 2.1.35 cause issue.

We don't have ODM set on doctrine, feel free to create rule/upgrade config there and register to config set

https://github.com/rectorphp/rector-doctrine/tree/main/config/sets

Thank you.

@mickverm mickverm force-pushed the readonlypropertyrector-doctrine-mongodb-odm-2.16 branch from 16085f0 to 64fff92 Compare January 21, 2026 12:13
@mickverm
Copy link
Contributor Author

I've rebased it.

I'll see what I can do once I have some spare time.

@TomasVotruba
Copy link
Member

Looks good, thank you 👍

@TomasVotruba TomasVotruba merged commit 581b0cb into rectorphp:main Jan 21, 2026
57 checks passed
@mickverm mickverm deleted the readonlypropertyrector-doctrine-mongodb-odm-2.16 branch January 21, 2026 13:24
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.

3 participants