thephpleague / flysystem

Abstraction for local and remote filesystems
https://flysystem.thephpleague.com
MIT License
13.36k stars 827 forks source link

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

Open lingyunzhizun opened 1 month ago

lingyunzhizun commented 1 month ago

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 commented 1 month ago

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

lingyunzhizun commented 1 month ago

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 commented 1 month ago

Sorry, I should have been more specific. Which Flysystem version?

On Sat, 12 Oct 2024, at 2:57 AM, 凌云 wrote:

Hi @lingyunzhizun https://github.com/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

— Reply to this email directly, view it on GitHub https://github.com/thephpleague/flysystem/issues/1821#issuecomment-2408277483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAECRJK4X27PX3SHLGWQUJLZ3BXXJAVCNFSM6AAAAABPRH7M52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGI3TONBYGM. You are receiving this because you commented.Message ID: @.***>