Skip to content

Cannot use latest version containing security update with older versions of Symfony #3234

@christian-fries

Description

@christian-fries

Describe the bug

Since version 3.366.0, this package has a dependency on symfony/filesystem >= 6.4.3 (introduced in #3179). As a result, this package cannot be used with Symfony 5.4 anymore, which otherwise still gets security updates. For Symfony 5.4 projects, its not possible to use the latest version containing the latest security patches.

After quickly scanning the Composer script that requires the filesystem component, I think it would work with symfony/filesystem:^5.4 as well.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The latest version containing security updates can be used with Symfony 5.4

Current Behavior

The latest version cannot be installed in Symfony 5.4 projects due to the dependency on symfony/filesystem >= 6.4.3

Reproduction Steps

Try install latest version of package in Symfony 5.4 project.

Possible Solution

I propose to add compatibility for symfony/filesystem ^5.4

Additional Information/Context

No response

SDK version used

3.359.11

Environment details (Version of PHP (php -v)? OS name and version, etc.)

PHP 8.2.29

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.investigatingThis issue is being investigated and/or work is in progress to resolve the issue.needs-discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions