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

Add AllowDynamicProperties attribute to xPDO class #257

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

opengeek
Copy link
Member

This avoids the deprecation warning when dynamic properties are assigned to the class in 8.2+ and resolves #256

This avoids the deprecation warning when dynamic properties are assigned to the class in 8.2+
@opengeek opengeek added the bug label Apr 16, 2024
@opengeek opengeek added this to the 2.8.7 milestone Apr 16, 2024
@opengeek opengeek linked an issue Apr 16, 2024 that may be closed by this pull request
@sonicpunk
Copy link

We can confirm this behaviour!

@modxcommunity
Copy link

This pull request has been mentioned on MODX Community. There might be relevant details there:

https://community.modx.com/t/migxloopcollection-error-on-php-8-2/8051/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8.2 Deprecated Dynamic Properties when using getService
3 participants