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

PHP 8.2: Deprecated: Creation of dynamic property #56

Closed
joshuafredrickson opened this issue Nov 20, 2023 · 0 comments · Fixed by #57
Closed

PHP 8.2: Deprecated: Creation of dynamic property #56

joshuafredrickson opened this issue Nov 20, 2023 · 0 comments · Fixed by #57

Comments

@joshuafredrickson
Copy link
Contributor

Describe the bug
Running PHP 8.2 receives the following deprecation warnings:

Deprecated: Creation of dynamic property ResponsivePicsWP::$api is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 102
Deprecated: Creation of dynamic property ResponsivePicsWP::$helpers is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 103
Deprecated: Creation of dynamic property ResponsivePicsWP::$error is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 104
Deprecated: Creation of dynamic property ResponsivePicsWP::$process is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 105
Deprecated: Creation of dynamic property ResponsivePicsWP::$rules is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 106
Deprecated: Creation of dynamic property ResponsivePicsWP::$breakpoints is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 107
Deprecated: Creation of dynamic property ResponsivePicsWP::$grid is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 108
Deprecated: Creation of dynamic property ResponsivePicsWP::$sources is deprecated in /***/wp-content/plugins/responsive-pics/src/class-responsive-pics.php on line 109

Expected behavior
Fewer deprecation warnings in PHP 8.2 ;)

Software (please complete the following information):

  • PHP Version: 8.2.x
  • ResponsivePicture version: 1.7.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant