Skip to content

Conversation

@jrushlow
Copy link
Collaborator

PR #728 introduced symfony/deprecations-contracts at version ^2.3 which prevented some users from using maker bundle.

PR #746 fixed the reported issue by lowering the version constraint to ^2.2. But in reality we can lower it even further to 2.1 as
this is when symfony/deprecation-contracts was introduced.

PR symfony#728 introduces symfony/deprecations-contracts at version `^2.3`
which prevented some users from using maker bundle.

PR symfony#746 fixed the reported issue by lowering the version constraint
to `^2.2`. But in reality we can lower it even further to `2.1` as
this is when `symfony/deprecation-contracts` was introduced.
@jrushlow jrushlow added the Status: Needs Review Needs to be reviewed label Nov 25, 2020
@jrushlow jrushlow requested a review from stof November 25, 2020 17:40
@jrushlow
Copy link
Collaborator Author

@stof think we can go even lower w/ this constraint. Only thought I have - will going lower than 2.2 have any negative affects for PHP8 compatibility? I cant think of anything off the top of my head as composer should take care of the versions needed respectively.

@stof
Copy link
Member

stof commented Nov 25, 2020

Well, support for PHP 8 exists only in 2.2+ of the contracts. I think it is fine to depend on 2.2+. There is nothing forbidding to upgrade from 2.1 to 2.2 in a project (the only blockage to upgrade to the previously required 2.3 is that it does not exist yet...)

@jrushlow
Copy link
Collaborator Author

good point, thanks for the feedback @stof

@jrushlow jrushlow closed this Nov 27, 2020
@jrushlow jrushlow deleted the fix/lower-contracts-dep branch November 27, 2020 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Needs Review Needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants