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

New dependencies can break updates #22

Open
danepowell opened this issue Jul 13, 2022 · 0 comments
Open

New dependencies can break updates #22

danepowell opened this issue Jul 13, 2022 · 0 comments

Comments

@danepowell
Copy link
Collaborator

It's common for packages to add dependencies on new versions of PHP or PHP extensions that may not be available in a user environment.

This leads to a bad UX where a user has a working Symfony CLI, runs self-update, and suddenly the CLI is broken because of the missing dependency and they can't even roll back if it can't bootstrap.

One solution (a bit fiddly, admittedly) would be for the self-update command to have a requirements checker that parses an updated composer.json and ensures that it's compatible with the current environment before allowing an update to continue.

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

1 participant