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

Replace deprecated ${var} string interpolation with {$var} interpolation #228

Merged

Conversation

mwernaert
Copy link
Contributor

@mwernaert mwernaert commented Feb 11, 2023

Although #216 was closed and fixed by 9bd2cd7, suppressing the deprecation errors is not a solution when gordalina/cachetool is used as a library in projects where error reporting is desired.

This PR replaces the deprecated ${var} string interpolation with {$var} interpolation. As I couldn't figure out the preferred way to build strings for this project, because string concatenation and sprintf are also used, I went ahead and kept this change as small as possible.

@mwernaert mwernaert marked this pull request as ready for review February 11, 2023 12:58
@gordalina gordalina merged commit e3e6e79 into gordalina:main Feb 13, 2023
@gordalina
Copy link
Owner

This is great, thank you for your contribution!

@mwernaert mwernaert deleted the replace-deprecated-string-interpolation branch February 15, 2023 07:14
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