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] Fix deprecated ${var} string interpolation patterns #5154

Merged
merged 1 commit into from May 26, 2022
Merged

[PHP 8.2] Fix deprecated ${var} string interpolation patterns #5154

merged 1 commit into from May 26, 2022

Conversation

Ayesh
Copy link
Contributor

@Ayesh Ayesh commented May 25, 2022

PHP 8.2 deprecates string interpolation patterns that place the dollar sign outside the curly braces. This fixes such patterns by replacing them with proper curly braced patterns.

Fix: Drush\Psysh\DrushHelpCommand::execute()

Reference:

PHP 8.2 deprecates string interpolation patterns that place the
dollar sign outside the curly braces. This fixes such patterns
by replacing them with proper curly braced patterns.

Fix: `Drush\Psysh\DrushHelpCommand::execute()`

Reference:
 - [PHP.Watch: `${var}` string interpolation deprecated](https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated)
 - [wiki.php.net RFC](https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation)
@Ayesh Ayesh requested a review from damiankloip as a code owner May 25, 2022 19:03
@weitzman weitzman merged commit b2c6634 into drush-ops:11.x May 26, 2022
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.

None yet

2 participants