Skip to content

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented May 26, 2022

PHP 8.2 will deprecate two of the four currently supported syntaxes for embedding variables in double quoted text string/heredocs.

This libary contains one such use of an embedded variable using braces after the dollar sign ("${foo}"), which is one of the deprecated forms.

This commit fixes this.

Refs:

PHP 8.2 will deprecate two of the four currently supported syntaxes for embedding variables in double quoted text string/heredocs.

This libery contains one such use of an embedded variable using braces after the dollar sign (`"${foo}"`), which is one of the deprecated forms.

This commit fixes this.

Refs:
* https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
@jrfnl jrfnl added the bug label May 26, 2022
@jrfnl jrfnl requested a review from sirbrillig May 26, 2022 03:57
@sirbrillig sirbrillig merged commit c3243c8 into 2.x May 26, 2022
@sirbrillig sirbrillig deleted the php-8.2/fix-deprecated-embedded-vars-in-strings branch May 26, 2022 21:39
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.

2 participants