File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ services:
1818install :
1919 - |
2020 # Install PHPUnit v9 on PHP 8
21- if dpkg --compare-versions "${TRAVIS_PHP_VERSION}" ge 8.0; then
21+ if [ "${TRAVIS_PHP_VERSION}" == nightly ] || [ dpkg --compare-versions "${TRAVIS_PHP_VERSION}" ge 8.0 ] ; then
2222 travis_retry composer require --no-interaction --prefer-dist --dev --ignore-platform-reqs "phpunit/phpunit" 9.*
2323 # Enable test on PHP 7.1+
2424 else
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ protected function use(Closure $fn) {
2929 TestDB::use ($ fn );
3030 }
3131
32- protected function setUp () {
32+ protected function setUp (): void {
3333 parent ::setUp ();
3434 $ this ->db = new TestDB ();
3535 $ this ->db ->exec ('USE travis_test ' );
3636 }
3737
38- protected function tearDown () {
38+ protected function tearDown (): void {
3939 parent ::tearDown ();
4040 $ this ->db ->close ();
4141 $ this ->db = null ;
You can’t perform that action at this time.
0 commit comments