From 656affbfc37a1ce1f71c2746d91099cd72f0f091 Mon Sep 17 00:00:00 2001 From: Christoph Schweppe Date: Wed, 4 Mar 2020 20:46:42 +0100 Subject: [PATCH 1/4] Update versions --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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": { From c04d3693584fb3e39847e8637deb35beebdc9e30 Mon Sep 17 00:00:00 2001 From: Christoph Schweppe Date: Wed, 4 Mar 2020 20:54:11 +0100 Subject: [PATCH 2/4] Update travis PHP versions --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d490be..c97a7d1 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: From 7c740461300795a11f91a81051efd8b3516f1d0f Mon Sep 17 00:00:00 2001 From: Christoph Schweppe Date: Wed, 4 Mar 2020 21:00:06 +0100 Subject: [PATCH 3/4] Update tests --- tests/HooksTest.php | 2 +- tests/TestCase.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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')); From bddcda9010114ec8037dcfeb16d435d159f65334 Mon Sep 17 00:00:00 2001 From: Christoph Schweppe Date: Wed, 4 Mar 2020 21:15:18 +0100 Subject: [PATCH 4/4] Dont generate coverage reports --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c97a7d1..75a1f2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,4 +19,4 @@ before_script: - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist script: - - vendor/bin/phpunit + - vendor/bin/phpunit --no-coverage