-
Notifications
You must be signed in to change notification settings - Fork 9
Make executes's signature compatible with symfony 7 #29
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
Make executes's signature compatible with symfony 7 #29
Conversation
…ommand\Command Return Command's constant instead of litaral number.
|
Thanks @emembeka - have you confirmed that the constant is available in all versions of Symfony Console that we support? |
|
The constants where introduced in symfony/console:5.1.3 |
|
Ok this sounds mergeable then. |
|
It's interesting it hasn't come up in unit tests (e.g. https://github.com/colemanw/webform_civicrm/actions/runs/18466516067/job/52609698960#step:19:75) and I can't reproduce locally. Having said that, this does seem like the Right Thing To Do™ and it runs ok with the change, and also in drupal 10. |
|
Doesn't it make sense to define a dependency to |
Aah, good to know.
No and yes? 🙃
Would that it were so. 🥲 That sounds like the constraint on the current-stable of composer (circa 2.8.12). Each developer/site-operator runs their own version of
The good news is that (IIRC) we don't need every version of Here are a couple paths:
|
OK, it looks like
So this makes it awkward to express constraints on other bundled/transitive dependencies ( |
Forked off a discussion at composer/composer#12587. (IMHO, the plugin docs should probably speak more to this kind of situation...) |
Symfony\Component\Console\Command\Command
Fixing the signature and returning Command's constant instead of literal number.