-
Notifications
You must be signed in to change notification settings - Fork 10
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
This plugin uses symfony console, but does not require it so a newer version can be included breaking build processes. #46
Comments
Note that this doesn't seem to be causing any installation issues with CMS 6 which uses symfony 7 (included in framework's composer.json) while things like recipe-cms are still using recipe-plugin 2 (which CMS 5 also uses) - https://github.com/silverstripe/recipe-cms/blob/6/composer.json#L9 |
Based on this comment in the related issue it seems like the issue is probably caused by a mis-configured composer.json file at the project level If this isn't the case and you can point out something wrong at our end then please let me know and I'll reopen this and probably the other issue too |
This doesn't have anything to do with the composer deps (i.e. composer.json deps) I think. It seems more likely related to what version of I think we should update this. |
While we could just merge these PRs as they are and they'll work with both versions of symfony via PHP Covariance, we do have a policy of strictly following semver to make decision making easier. Since there's a method signature change, we'd need to make new majors of recipe-plugin / vendor-plugin and update all CMS 6 modules that depend on them accordingly, if you want to do that then we should backlog a new issue for that |
I'm not saying we should make this change in a patch or minor release. |
Because we'd basically end up deleting the description of this issue in order to write a new one for doing the work, seems much cleaner to just create a new issue. I've gone ahead and done this - silverstripe/.github#325 |
That feels unnecessary but seeing as it's already been done: |
Module version(s) affected
2.0.1
Description
As far as I can tell this project expects symfony/console 6 (recipe plugin too)
but there is no dependency, so if you update you get console 7 and a bunch of errors.
How to reproduce
Include symfony console 7
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)Related issues
PR
The text was updated successfully, but these errors were encountered: