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

Fix php 8.2 dynamic properties. Thanks to GitHub user @daveromsey for the submission. #521

Merged

Conversation

daveromsey
Copy link
Contributor

This PR adds property declarations to classes in order to clean up some of the deprecation warnings that have cropped up after upgrading to PHP 8.2.

How do I test this Pull Request?

Load the plugin and view the error log. This PR will clean up the deprecation notices for dynamic properties. There are still some other deprecations for other things, but I wanted to limit the scope of this PR and also make sure I didn't break anything :)

@jonathanstegall jonathanstegall added the chore Pull request that does maintenance tasks label Jan 5, 2024
@jonathanstegall jonathanstegall added this to the v2.2.8 milestone Jan 5, 2024
@jonathanstegall
Copy link
Member

I'm no longer at MinnPost, and I don't think anyone is currently working on the plugin, but I'll try to take a look at this over the weekend and approve it and get a small release out. Hopefully soon!

@jonathanstegall jonathanstegall merged commit f4379e6 into MinnPost:master Jan 27, 2024
2 of 3 checks passed
@jonathanstegall jonathanstegall changed the title Fix php 8.2 dynamic properties Fix php 8.2 dynamic properties. Thanks to GitHub user @daveromsey for the submission. Jan 27, 2024
@jonathanstegall jonathanstegall added the patch pull request that requires a patch release, ex v2.1.2. This is the default for new releases. label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull request that does maintenance tasks patch pull request that requires a patch release, ex v2.1.2. This is the default for new releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants