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

Fix deprecated use of ${var} in Encoding.php #108

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Conversation

mdio
Copy link
Contributor

@mdio mdio commented Nov 6, 2023

Since PHP 8.2 the syntax "${var}" is deprecated.
"{$var}" should be used instead.

Issue #, if available: #105

Description of changes:
Changing "a${len}" to "a{$len}" works the same as before but doesn't use the ${var} syntax deprecated in PHP 8.2

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Since PHP 8.2 the syntax "${var}" is deprecated.
"{$var}" should be used instead.
@mdio mdio mentioned this pull request Nov 6, 2023
@waahm7
Copy link
Contributor

waahm7 commented Nov 8, 2023

LGTM! Thank you for the contribution.

@waahm7 waahm7 enabled auto-merge (squash) November 8, 2023 00:31
@waahm7 waahm7 merged commit eb0c6e4 into awslabs:main Nov 8, 2023
15 checks passed
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