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

Allow users to ignore old php version extention warnings with the --since-version argument. #4

Merged
merged 3 commits into from
Feb 17, 2017

Conversation

leemason
Copy link

Its not important if curl wasnt included in PHP 4.0.2 if the project your working requires PHP 5.6/7 anyway, this just gives users the option to ignore those messages in the report.

Most projects support PHP 5.4 at a minimum these days, therefore its
almost useless to pollute the result set with extensions bundled since 5.2 etc.

This additional flag `--since-version` llows you to pass a version string which will
be compared using the `version_compare` function.
If the extension php version is less it will be ommitted from the report.
@wapmorgan wapmorgan merged commit 79804fc into wapmorgan:master Feb 17, 2017
@wapmorgan
Copy link
Owner

Thanks.

@wapmorgan
Copy link
Owner

I changed your logic of version comparation. It now has > sign to check.

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.

2 participants