-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add some native return types #874
Conversation
Not sure how to fix the unit tests as they seem to be running |
They are running with both composer 1 and composer 2, which flex supports. |
You can ignore these warnings! |
Thanks for testing snapshots @PhilETaylor ! I reverted the changes as part of composer/composer#10561 because my intent here is to move the Composer code forward as much as I can but not to break things massively.. That said, it's still great if types get added here, so that one day Composer can add them too. |
@Seldaek Hi there... I run snapshot updated daily "for fun" on my Mac. I appreciate it can sometimes be broken - but I do try to contribute when I can, and not complain or look for support on issues. Im not here looking for support but to help. If I read correctly, this PR is no longer needed because the changes in composer are being reverted? (I could not resolve the issues anyway, as the unit tests pass locally, but not in the symfony/flex GitHub actions and I ran out of time to debug that - cause probably by my lack of understanding and experience) |
I can confirm using Composer snapshot af995c30384a846a998a4dacb860a02d50400b16 and flex causes no issues so I'll close this for now. |
@PhilETaylor it's not needed anymore but I think it'd still be nice to add return types so that one day we may add these to Composer too. I didn't want to break all currently installed flex versions right now tho. So if you do have time to clean up and finalize the PR it'd be cool but if not I can't blame you ;) |
Thank you @PhilETaylor. |
Symfony version(s) affected
symfony/flex: v1.18.5
Description
Composer version 2.3-dev (2.3-dev+c9baeda95b2da59a8c2d0bb7350b18d009aa891b) 2022-02-21 12:57:32
Symfony Project with
symfony/flex: v1.18.5
How to reproduce
Possible Solution
:bool
?Additional Context
I appreciate Im ahead of the game again running bleeding edge composer :)