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

Travis CI pass on PHP v7.3 and 7.4 #199

Closed
wants to merge 10 commits into from
Closed

Travis CI pass on PHP v7.3 and 7.4 #199

wants to merge 10 commits into from

Conversation

tuck1s
Copy link

@tuck1s tuck1s commented Mar 10, 2021

This corrects the previous Travis CI failures on these PHP versions, arising from outdated dependencies.

Updating these dependencies has the knock-on effect of Travis CI tests no longer being able to run on PHP v7.2 and older.
This is because the required version of support tooling (such as phpunit) has no compatibility with older versions.

FWIW getting a “pass” from phpunit requires (minor) changes to the test code definitions (particularly in the four areas of catching exceptions where these are expected in the test) and wholesale changes the phpunit.xml.dist file, achieved by ./vendor/bin/phpunit --migrate-configuration

PHP has fairly tight "supported version" windows anyway so I think it's reasonable to deprecate ancient, officially-unsupported versions and move forwards. The solution proposed here, is with a note in the README, referring users to older library releases if they need them.

@tuck1s tuck1s mentioned this pull request Mar 12, 2021
@tuck1s
Copy link
Author

tuck1s commented Mar 12, 2021

Closing this as #200 supersedes it, providing support for wider range of versions too.

@tuck1s tuck1s closed this Mar 12, 2021
@tuck1s tuck1s deleted the fix-php-cs-fixer branch March 16, 2021 11:41
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