-
Notifications
You must be signed in to change notification settings - Fork 130
Conversation
just a sec, I'll submit my fixes as a PR |
sorry, didn't notice this is a PR... whoops |
php |
@samsonasik Where can I take a look how it's done, so that I can complete this? |
there is |
.travis.yml
Outdated
- php: 7.1 | ||
env: | ||
- DEPS=locked | ||
- CS_CHECK=true |
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.
There is no need to run cs-check on every PHP version - please remove it here and also on PHP 7.2.
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.
LGTM 👍
We just need update travis configuration/lock file, because it failing on PHP 5.6 and 7.2 locked.
@webimpress Is there anything else I can do to help? |
@thexpand It would be nice if you can update the .travis.yml configuration. So basicaly we need define Then we should be able to update composer.lock to the latest version (by running |
Use LEGACY_DEPS to allow installing older PHPUnit versions on PHP 5.6 and 7.0 targets.
abc72f0
to
3314628
Compare
These provide full support for PHP 7. Doing so required updating test cases as these versions offer namespaced versions of their classes.
@@ -41,7 +41,7 @@ | |||
"zendframework/zend-view": "^2.6" | |||
}, | |||
"require-dev": { | |||
"phpunit/phpunit": "^4.8 || ^5.0", | |||
"phpunit/phpunit": "^5.7.25 || ^6.4.4", |
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.
We can have also || ^7.1
Thanks, @thexpand. I have updated the Travis configuration, and also upped the minimum supported |
@weierophinney Thanks for helping out. I was extremely busy lately and moreover I was not quite sure how to update the Travis file. Could you explain to me your changes? |
@thexpand The approach is as follows:
The only other change I made was to update PHPUnit to allow using versions 5.7+, 6, or 7 (and no longer use 4), as PHPUnit 4 and early 5.X series do not run under PHP 7.1 and up. This also meant some minor changes to the test suite. |
Detailed explanation as always 😉 Thank you once again, @weierophinney |
No description provided.