Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix usage of static variables #6281

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

jamieburchell
Copy link
Contributor

@jamieburchell jamieburchell commented May 16, 2024

Fixes problematic use of static variables in inherited methods in PHP >= 8.1

See:

Notes:

  • There is a mixture of "char" and "chr" naming conventions so I just chose one.
  • There are other instances where static variables are used in database classes but I do not know if these are problematic. I think not if they are introduced in what are essentially final classes, but I have not tested or verified.

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

Successfully merging this pull request may close these issues.

1 participant