-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PropertyAccess] Fix accessing public property on Object #44419
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
[PropertyAccess] Fix accessing public property on Object #44419
Conversation
kevcomparadise
commented
Dec 2, 2021
•
edited by nicolas-grekas
Loading
edited by nicolas-grekas
Q | A |
---|---|
Branch? | 5.4 |
Bug fix? | yes |
New feature? | no |
Deprecations? | no |
Tickets | Fix #37026, fix #37615 |
License | MIT |
Doc PR | no |
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
Hey! I think @HeahDude has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
Can you please add a test case for what Fabien described in #37622 (comment) to make sure that we do not break those use cases? |
Will this also fix #37615? |
@xabbuh For that maybe I'm wrong but testGetValueIgnoresMagicGet covers this case no ? |
Not sure, if I don't miss anything, that test was already present at the time #37622 was merged. |
Hi, Did you have time to watch ? @xabbuh thx :) |
…operties (kevcomparadise) This PR was merged into the 4.4 branch. Discussion ---------- [PropertyAccess] Add tests accessing public (dynamic) properties | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Backporting tests from #44419 Commits ------- 29eec31 [PropertyAccess] Add tests accessing public (dynamic) properties
0cc177f
to
e03f7e5
Compare
Thank you @kevcomparadise. |