Skip to content

[PHP 8.2] Fix ${var} string interpolation deprecation - #148

Merged
schlessera merged 1 commit into
wp-cli:masterfrom
Ayesh:php82/dollar-var-deprecation
Jun 30, 2022
Merged

[PHP 8.2] Fix ${var} string interpolation deprecation#148
schlessera merged 1 commit into
wp-cli:masterfrom
Ayesh:php82/dollar-var-deprecation

Conversation

@Ayesh

@Ayesh Ayesh commented Jun 19, 2022

Copy link
Copy Markdown
Contributor

PHP 8.2 deprecates "${var}" string interpolation pattern.
This fixes all three of such occurrences in wp-cli/php-cli-tools package.

PHP 8.2 deprecates `"${var}"` string interpolation pattern.
This fixes all three of such occurrences in `wp-cli/php-cli-tools` package.

 - [PHP 8.2: `${var}` string interpolation deprecated](https://php.watch/versions/8.2/${var}-string-interpolation-deprecated)
 - [RFC](https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation)
@schlessera schlessera added this to the 0.11.14 milestone Jun 30, 2022
@schlessera schlessera added the bug label Jun 30, 2022
@schlessera
schlessera merged commit 191d79b into wp-cli:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants