diff --git a/.travis.yml b/.travis.yml index 6d490be..75a1f2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ language: php php: - - 5.6 - - 7.0 - - 7.1 - 7.2 + - 7.3 + - 7.4 - nightly matrix: @@ -20,4 +19,4 @@ before_script: - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist script: - - vendor/bin/phpunit + - vendor/bin/phpunit --no-coverage diff --git a/composer.json b/composer.json index c3d0d0b..f4e9459 100644 --- a/composer.json +++ b/composer.json @@ -15,11 +15,11 @@ } ], "require": { - "composer/composer": "~1.4" + "composer/composer": ">=1.4" }, "require-dev": { - "orchestra/testbench": "~3.0", - "phpunit/phpunit": "^6.2|^5.6" + "orchestra/testbench": ">=3.0", + "phpunit/phpunit": ">=5.6" }, "autoload": { "psr-4": { diff --git a/tests/HooksTest.php b/tests/HooksTest.php index d2212b2..1715843 100644 --- a/tests/HooksTest.php +++ b/tests/HooksTest.php @@ -14,7 +14,7 @@ class HooksTest extends TestCase { const COMPOSER_REPOSITORY = 'https://testing.larapack.io'; - public function setUp() + public function setUp(): void { // Set Hooks environment Hooks::setMemoryLimit('5G'); diff --git a/tests/TestCase.php b/tests/TestCase.php index be5a6cb..2b1ebc4 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -16,7 +16,7 @@ protected function getPackageProviders($app) /** * Setup the test environment. */ - public function setUp() + public function setUp(): void { parent::setUp(); @@ -65,7 +65,7 @@ public function setUp() $this->artisan('migrate'); } - public function tearDown() + public function tearDown(): void { // Cleanup old hooks before testing app(Filesystem::class)->deleteDirectory(base_path('hooks'));