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

Command::execute() should always return an integer #4570

Merged
merged 1 commit into from
Oct 8, 2019
Merged

Command::execute() should always return an integer #4570

merged 1 commit into from
Oct 8, 2019

Conversation

derrabus
Copy link
Contributor

@derrabus derrabus commented Oct 7, 2019

In Symfony 4.4, a deprecation error is triggered if Command::execute() does not return an integer, see symfony/symfony#33747. This PR adds the necessary return statements.

@SpacePossum SpacePossum added this to the 2.15.4 milestone Oct 8, 2019
@SpacePossum SpacePossum added the RTM Ready To Merge label Oct 8, 2019
@SpacePossum
Copy link
Contributor

Thank you @derrabus.

SpacePossum added a commit that referenced this pull request Oct 8, 2019
…bus)

This PR was merged into the 2.15 branch.

Discussion
----------

Command::execute() should always return an integer

In Symfony 4.4, a deprecation error is triggered if `Command::execute()` does not return an integer, see symfony/symfony#33747. This PR adds the necessary `return` statements.

Commits
-------

ee758b1 Command::execute() should always return an integer.
@SpacePossum SpacePossum merged commit ee758b1 into PHP-CS-Fixer:2.15 Oct 8, 2019
@SpacePossum SpacePossum removed the RTM Ready To Merge label Oct 8, 2019
@derrabus derrabus deleted the bugfix/execute-returns-int branch October 9, 2019 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants