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

Declare return types to be compatible with composer 2.7+ #39

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

Seldaek
Copy link
Contributor

@Seldaek Seldaek commented Feb 9, 2024

Composer 2.7 had to declare the return type for Command::execute() to be compatible with Symfony 7, leading to issues with this plugin composer/composer#11843

Copy link

@andrewbess andrewbess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Seldaek
Thank you for your efforts here.
It looks like we need to fix setApplication method too.
Could you please check it and fix if it is required?
Thank you in advance.

@Seldaek
Copy link
Contributor Author

Seldaek commented Feb 14, 2024

Yes that's needed but only when using symfony 7 i think. Anyway i added it for safety

@sidolov sidolov merged commit 917d4e5 into magento:develop Feb 14, 2024
3 checks passed
@Stoyvo Stoyvo mentioned this pull request Mar 13, 2024
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

Successfully merging this pull request may close these issues.

3 participants