Skip to content

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

Open
emersonreisdev wants to merge 1 commit into
joachim-n:masterfrom
emersonreisdev:54
Open

close #54: Make sure all commands return a value of the type int#55
emersonreisdev wants to merge 1 commit into
joachim-n:masterfrom
emersonreisdev:54

Conversation

@emersonreisdev
Copy link
Copy Markdown

Fix #54

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

closing in favour of #56

@joachim-n
Copy link
Copy Markdown
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.

@emersonreisdev
Copy link
Copy Markdown
Author

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