Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector #5691

Merged
merged 4 commits into from
Oct 12, 2024

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Mar 5, 2024

No description provided.

@TomasVotruba TomasVotruba changed the title tv dyna rule [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector Mar 5, 2024
@TomasVotruba TomasVotruba marked this pull request as draft March 5, 2024 10:39
@staabm
Copy link
Contributor

staabm commented Mar 5, 2024

just a drive-by thing which came to my mind: I think the rule should be skipped when a class has magic __get or __set-methods because declaring a real property will prevent php from calling the magic methods

@TomasVotruba TomasVotruba force-pushed the tv-dyna-rule branch 2 times, most recently from 43868ca to 386e517 Compare July 16, 2024 00:42
@TomasVotruba TomasVotruba marked this pull request as ready for review October 12, 2024 12:28
@TomasVotruba
Copy link
Member Author

@staabm Makes sense, I'll skip those 👍

@TomasVotruba TomasVotruba merged commit d7bfc24 into main Oct 12, 2024
36 checks passed
@TomasVotruba TomasVotruba deleted the tv-dyna-rule branch October 12, 2024 15:38
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.

4 participants