Skip to content

Conversation

@N-Silbernagel
Copy link
Contributor

This PR adds the AddAllowDynamicPropertiesAttribute to the PHP 8.2 set list as it is needed in lots of legacy applications for a php8.2 upgrade.
It might not be the sexiest solution as some projects might not need it and especially not all classes, but it is the least risky method I think.

I also added a link on the rules overview.

@TomasVotruba
Copy link
Member

TomasVotruba commented Jan 27, 2023

This would turn every class into dynamic one, without any explicit need.

I'm sorry, but we won't merge this. See #1225 (comment)

@N-Silbernagel
Copy link
Contributor Author

Thanks for ponting me at the comment! Somehow I had already liked this a yeae ago 😅

@N-Silbernagel
Copy link
Contributor Author

Maybe there should be a link under the 8.2 section though to make clear that the rule does exist? @TomasVotruba

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.

2 participants