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

close #54: Make sure all commands return a value of the type int #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dungahk
Copy link

@dungahk dungahk commented May 1, 2020

Fix #54

Signed-off-by: Emerson Jair <emersonjairr@gmail.com>
@dungahk
Copy link
Author

dungahk commented Jun 26, 2020

closing in favour of #56

@dungahk dungahk closed this Jun 26, 2020
@joachim-n joachim-n reopened this Jun 27, 2020
@joachim-n
Copy link
Owner

joachim-n commented Jun 27, 2020

Sorry for the lack of response. This completely fell off my radar.

What's your thinking behind closing this in favour of locking the versions? Returning an int from every command doesn't seem like a big deal, and if older versions of Symfony ignore it, then it's an easy way to make it compatible with the various major versions.

We're going to have to support Symfony 4 at some point (well, unless d.org does pull requests by then and makes this tool obsolete, which it looks like it might), so this fix seems more future-proof.

@dungahk
Copy link
Author

dungahk commented Jun 27, 2020

True that, I think #56 was more "safe" from my side as I do not have the full knowledge of the code. I am not 100% sure all the return values are correct on this PR as I haven't tested them all.

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.

PHP Fatal Error: Return value of LocalSetup::execute must be of the type int, "NULL" returned.
2 participants