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

Using ${var} in strings is deprecated, use {$var} instead #1821

Open
lingyunzhizun opened this issue Oct 8, 2024 · 3 comments
Open

Using ${var} in strings is deprecated, use {$var} instead #1821

lingyunzhizun opened this issue Oct 8, 2024 · 3 comments

Comments

@lingyunzhizun
Copy link

Bug Report

code: 0
file: "D:\\Projects\\qichengapi\\vendor\\league\\flysystem\\src\\UnableToCreateDirectory.php"
line: 19message: "Using ${var} in strings is deprecated, use {$var} instead"

image

@frankdejonge
Copy link
Member

Hi @lingyunzhizun, which version did you detect this in? I don't see this in the current released version.

@lingyunzhizun
Copy link
Author

Hi @lingyunzhizun, which version did you detect this in? I don't see this in the current released version.

Upgrade PHP to version 8.2 or above。

The ${name} writing style is no longer supported. You can refer to the official PHP instructions, as it will be removed in PHP9

@frankdejonge
Copy link
Member

frankdejonge commented Oct 12, 2024 via email

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

No branches or pull requests

2 participants