Commit c3243c8
authored
PHP 8.2 | Fix deprecated embedded variables in text strings (#248)
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
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>1 parent dafcd6f commit c3243c8
File tree
1 file changed
+1
-1
lines changed- VariableAnalysis/Sniffs/CodeAnalysis
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
922 | | - | |
| 922 | + | |
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
| |||
0 commit comments