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

#10 Make the <version> cli parameter optional #56

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

LeJeanbono
Copy link
Contributor

No description provided.

Copy link
Owner

@Elendev Elendev left a comment

Choose a reason for hiding this comment

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

Hello @LeJeanbono, thanks for your contribution (again)!

I have a small correction/suggestion, but otherwise it's all good for me!

src/Configuration.php Outdated Show resolved Hide resolved
Elendev and others added 2 commits October 13, 2021 19:14
Co-authored-by: Jonas Renaudot <jonas.renaudot@gmail.com>
@Elendev Elendev merged commit 685b40c into Elendev:master Oct 13, 2021
@Elendev
Copy link
Owner

Elendev commented Oct 13, 2021

Thanks a lot @LeJeanbono !

@Elendev
Copy link
Owner

Elendev commented Oct 14, 2021

Hum @LeJeanbono I just figured something out: it was not possible to bypass the version parameter since it wasn't optional.
Now, it can be empty if it's not set in composer and not passed as argument.

If you want to do an other PR to throw an error in case the version is not set it would be perfect, otherwise I'll create an issue 😄 .

Cheers

@LeJeanbono
Copy link
Contributor Author

Oh you're right !
I will ;)

@LeJeanbono
Copy link
Contributor Author

Here we are #57

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.

2 participants