diff --git a/.travis.yml b/.travis.yml index b4dafc2..ad60818 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,19 +7,7 @@ php: - 7.0 - 7.1 - 7.2 - -matrix: - include: - - php: hhvm - sudo: true - dist: trusty - group: edge - cache: - directories: "$HOME/.composer/cache" - before_install: - - wget https://phar.phpunit.de/phpunit-4.5.1.phar - script: - - php phpunit-4.5.1.phar --verbose $PHPUNIT_FLAGS + - 7.3 sudo: false @@ -40,7 +28,7 @@ before_script: fi script: - - phpunit --verbose $PHPUNIT_FLAGS + - ./vendor/bin/phpunit --verbose $PHPUNIT_FLAGS after_script: - | diff --git a/composer.json b/composer.json index 37f5866..b7f6214 100644 --- a/composer.json +++ b/composer.json @@ -35,6 +35,9 @@ "yiisoft/yii2": "~2.0.6", "bower-asset/bootstrap": "3.4.* | 3.3.* | 3.2.* | 3.1.*" }, + "require-dev": { + "phpunit/phpunit": "<7" + }, "repositories": [ { "type": "composer", diff --git a/tests/ActiveFieldTest.php b/tests/ActiveFieldTest.php index 6b6a86d..84b26f6 100644 --- a/tests/ActiveFieldTest.php +++ b/tests/ActiveFieldTest.php @@ -55,7 +55,7 @@ class ActiveFieldTest extends TestCase $expectedHtml = << -
+

@@ -158,4 +158,4 @@ EXPECTED; EXPECTED; $this->assertEqualsWithoutLE($expectedHtml, $html); } -} \ No newline at end of file +}