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: string interpolation issue on the WPCOM_Liveblog_Entry_Extend_Feature_Commands class #693

Conversation

renatonascalves
Copy link

I noticed this while testing a client site with PHP 8.2

PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/site/wp-content/plugins/liveblog/classes/class-wpcom-liveblog-entry-extend-feature-commands.php on line 243

This is usually harmless, but we use convertDeprecationsToExceptions=true in our unit tests, which essentially fails because of this PHP deprecation.

The fix works for any PHP version, so it should be safe for a minor version bump. :)

@renatonascalves
Copy link
Author

@mjangda any update on merging this?

@renatonascalves renatonascalves closed this by deleting the head repository Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants