From c4507125e2c675f2f921fad3822a19b181653ce4 Mon Sep 17 00:00:00 2001 From: Matthew Daly <450801+matthewbdaly@users.noreply.github.com> Date: Thu, 24 Sep 2020 11:21:24 +0100 Subject: [PATCH] Made all classes either abstract or final --- tests/AzureBlobStorageAdapterTest.php | 2 +- tests/ServiceProviderTest.php | 2 +- tests/TestCase.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/AzureBlobStorageAdapterTest.php b/tests/AzureBlobStorageAdapterTest.php index e212ee0..c537d24 100644 --- a/tests/AzureBlobStorageAdapterTest.php +++ b/tests/AzureBlobStorageAdapterTest.php @@ -5,7 +5,7 @@ use Matthewbdaly\LaravelAzureStorage\AzureBlobStorageAdapter; use MicrosoftAzure\Storage\Blob\BlobRestProxy; -class AzureBlobStorageAdapterTest extends TestCase +final class AzureBlobStorageAdapterTest extends TestCase { /** @test */ public function it_correctly_generates_the_file_url() diff --git a/tests/ServiceProviderTest.php b/tests/ServiceProviderTest.php index 81d5135..481e5b1 100644 --- a/tests/ServiceProviderTest.php +++ b/tests/ServiceProviderTest.php @@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Storage; -class ServiceProviderTest extends TestCase +final class ServiceProviderTest extends TestCase { /** @test */ public function it_sets_up_the_storage_correctly() diff --git a/tests/TestCase.php b/tests/TestCase.php index af6d631..28624a9 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,11 +4,11 @@ use Orchestra\Testbench\TestCase as BaseTestCase; -class TestCase extends BaseTestCase +abstract class TestCase extends BaseTestCase { - protected function getPackageProviders($app) - { - return ['Matthewbdaly\LaravelAzureStorage\AzureStorageServiceProvider']; + protected function getPackageProviders($app) + { + return ['Matthewbdaly\LaravelAzureStorage\AzureStorageServiceProvider']; } /**