diff --git a/composer.json b/composer.json index 379b42d..fa12807 100644 --- a/composer.json +++ b/composer.json @@ -17,13 +17,14 @@ ], "require": { "php": "^7.2", - "laravel/nova": "*", + "laravel/nova": "^2.0", + "illuminate/support": "^5.8", "spatie/laravel-backup": "^6.0" }, "require-dev": { - "orchestra/testbench": "^3.6", - "phpunit/phpunit": "7.1", - "spatie/phpunit-snapshot-assertions": "^1.3" + "orchestra/testbench": "^3.8", + "phpunit/phpunit": "8.0", + "spatie/phpunit-snapshot-assertions": "^2.0" }, "repositories": [ { diff --git a/tests/Controllers/BackupsControllerTest.php b/tests/Controllers/BackupsControllerTest.php index ff3c8e4..92b222a 100644 --- a/tests/Controllers/BackupsControllerTest.php +++ b/tests/Controllers/BackupsControllerTest.php @@ -9,7 +9,7 @@ class BackupsControllerTest extends TestCase { - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Controllers/CleanBackupsControllerTest.php b/tests/Controllers/CleanBackupsControllerTest.php index 90824ac..5c01978 100644 --- a/tests/Controllers/CleanBackupsControllerTest.php +++ b/tests/Controllers/CleanBackupsControllerTest.php @@ -7,7 +7,7 @@ class CleanBackupsControllerTest extends TestCase { - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/Controllers/DownloadBackupControllerTest.php b/tests/Controllers/DownloadBackupControllerTest.php index 27d36a5..37f7483 100644 --- a/tests/Controllers/DownloadBackupControllerTest.php +++ b/tests/Controllers/DownloadBackupControllerTest.php @@ -8,7 +8,7 @@ class DownloadBackupControllerTest extends TestCase { - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/tests/TestCase.php b/tests/TestCase.php index 634f49a..ba45702 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -14,7 +14,7 @@ abstract class TestCase extends Orchestra /** @var \Illuminate\Filesystem\Filesystem */ protected $filesystem; - public function setUp() + public function setUp(): void { $this->filesystem = new Filesystem();