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

Check requirements when running from a PHAR #116

Merged
merged 13 commits into from
Oct 9, 2017

Conversation

theofidry
Copy link
Member

@theofidry theofidry commented Oct 7, 2017

An issue one may come across when running a PHAR, as opposed to when you install a tool via Composer, is that no check whatsoever is run.

By leveraging symfony/requirements-checker, a check is now run when running the PHAR. The check is run before anything. The output is the following when checks are passing in very verbose mode (-vv or -vvv):

screen shot 2017-10-07 at 12 30 23

If the very verbose mode is not given, nothing is displayed unless an error occurs. If the checks don't pass, regardless of the verbosity specified, the errors will be printed:

screen shot 2017-10-07 at 12 28 00

@theofidry theofidry requested a review from padraic October 7, 2017 10:35
@theofidry theofidry force-pushed the feature/requirements-check branch from d0e6d8c to 441e039 Compare October 7, 2017 10:42
@theofidry theofidry force-pushed the feature/requirements-check branch from 3ac36e0 to 44bd87c Compare October 9, 2017 19:32
@theofidry theofidry merged commit e93a4a0 into humbug:master Oct 9, 2017
@theofidry theofidry deleted the feature/requirements-check branch October 9, 2017 20:34
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.

1 participant