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
Upgrade to PHP 7.1+ #271
Upgrade to PHP 7.1+ #271
Conversation
5f814bf
to
1fd3e3f
Compare
@@ -7,8 +7,7 @@ | |||
convertNoticesToExceptions="true" | |||
convertWarningsToExceptions="true" | |||
processIsolation="false" | |||
stopOnFailure="false" | |||
syntaxCheck="false"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why have we removed this syntax check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That argument has been removed from the last versions of PHPUnit, see the answer by PHPUnit author here. I googled all I could and I can't even find what exactly that was doing 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-Authored-By: GabrielAnca <GabrielAnca@users.noreply.github.com>
43dd320
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Why?
PHP 5.6 and 7.0 are no longer supported. We should only support active versions (7.1, 7.2 and 7.3 at the time of writing)
How?
This PR drops the support for PHP < 7.1 and splits the circle tests to ensure it works in all of those versions.
PHPUnit 4 is both unsupported and not compatible with PHP >=7.2. PHPUnit 7 is compatible with php 7.1 to 7.3, so I'm upgrading to that version.