From 3503966ca762a2c82a8b2d9b5daae43890063713 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 20 Nov 2024 18:34:42 +0000 Subject: [PATCH] Laravel Pint (#386) * Empty commit * wip * Fix styling * Revert "wip" This reverts commit 4563c74d1d159ca533b358574c52c2536f6cc663. --------- Co-authored-by: duncanmcclean --- tests/Assets/AssetContainerContentsTest.php | 4 ++-- tests/Assets/AssetTest.php | 2 +- tests/Commands/ImportAssetsTest.php | 4 ++-- tests/Commands/ImportBlueprintsTest.php | 2 +- tests/Commands/ImportCollectionsTest.php | 2 +- tests/Commands/ImportEntriesTest.php | 2 +- tests/Commands/ImportFormsTest.php | 2 +- tests/Commands/ImportGlobalsTest.php | 2 +- tests/Commands/ImportNavsTest.php | 2 +- tests/Commands/ImportRevisionsTest.php | 4 ++-- tests/Commands/ImportSitesTest.php | 2 +- tests/Commands/ImportTaxonomiesTest.php | 2 +- tests/Data/Assets/AssetQueryBuilderTest.php | 2 +- tests/Data/Fields/BlueprintTest.php | 2 +- tests/Repositories/AssetContainerRepositoryTest.php | 2 +- tests/Repositories/CollectionRepositoryTest.php | 2 +- tests/Repositories/GlobalRepositoryTest.php | 2 +- tests/Repositories/NavigationRepositoryTest.php | 2 +- tests/Repositories/TaxonomyRepositoryTest.php | 2 +- tests/Repositories/TokenRepositoryTest.php | 2 +- tests/Sites/SitesTest.php | 2 +- 21 files changed, 24 insertions(+), 24 deletions(-) diff --git a/tests/Assets/AssetContainerContentsTest.php b/tests/Assets/AssetContainerContentsTest.php index d7f1c0c0..280a6d82 100644 --- a/tests/Assets/AssetContainerContentsTest.php +++ b/tests/Assets/AssetContainerContentsTest.php @@ -12,7 +12,7 @@ class AssetContainerContentsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -22,7 +22,7 @@ public function setUp(): void ]]); } - public function tearDown(): void + protected function tearDown(): void { app('files')->deleteDirectory(__DIR__.'/tmp'); diff --git a/tests/Assets/AssetTest.php b/tests/Assets/AssetTest.php index 6f763cc1..c5054ca4 100644 --- a/tests/Assets/AssetTest.php +++ b/tests/Assets/AssetTest.php @@ -14,7 +14,7 @@ class AssetTest extends TestCase private $container; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportAssetsTest.php b/tests/Commands/ImportAssetsTest.php index bfdc780a..32dc6190 100644 --- a/tests/Commands/ImportAssetsTest.php +++ b/tests/Commands/ImportAssetsTest.php @@ -20,7 +20,7 @@ class ImportAssetsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -40,7 +40,7 @@ public function setUp(): void app()->bind(\Statamic\Assets\AssetContainerContents::class, \Statamic\Assets\AssetContainerContents::class); } - public function tearDown(): void + protected function tearDown(): void { app('files')->deleteDirectory(__DIR__.'/tmp'); diff --git a/tests/Commands/ImportBlueprintsTest.php b/tests/Commands/ImportBlueprintsTest.php index f1751e42..74408f9b 100644 --- a/tests/Commands/ImportBlueprintsTest.php +++ b/tests/Commands/ImportBlueprintsTest.php @@ -20,7 +20,7 @@ class ImportBlueprintsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportCollectionsTest.php b/tests/Commands/ImportCollectionsTest.php index 93bd1acc..5101bf28 100644 --- a/tests/Commands/ImportCollectionsTest.php +++ b/tests/Commands/ImportCollectionsTest.php @@ -22,7 +22,7 @@ class ImportCollectionsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportEntriesTest.php b/tests/Commands/ImportEntriesTest.php index 77afe8fd..7d0d7986 100644 --- a/tests/Commands/ImportEntriesTest.php +++ b/tests/Commands/ImportEntriesTest.php @@ -21,7 +21,7 @@ class ImportEntriesTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { $this->shouldUseStringEntryIds = true; diff --git a/tests/Commands/ImportFormsTest.php b/tests/Commands/ImportFormsTest.php index 522402a3..3da9135a 100644 --- a/tests/Commands/ImportFormsTest.php +++ b/tests/Commands/ImportFormsTest.php @@ -18,7 +18,7 @@ class ImportFormsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportGlobalsTest.php b/tests/Commands/ImportGlobalsTest.php index 6c102866..88effc9c 100644 --- a/tests/Commands/ImportGlobalsTest.php +++ b/tests/Commands/ImportGlobalsTest.php @@ -18,7 +18,7 @@ class ImportGlobalsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportNavsTest.php b/tests/Commands/ImportNavsTest.php index 97b242d9..7be057f0 100644 --- a/tests/Commands/ImportNavsTest.php +++ b/tests/Commands/ImportNavsTest.php @@ -18,7 +18,7 @@ class ImportNavsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportRevisionsTest.php b/tests/Commands/ImportRevisionsTest.php index 66f4ab25..08d9bf64 100644 --- a/tests/Commands/ImportRevisionsTest.php +++ b/tests/Commands/ImportRevisionsTest.php @@ -16,7 +16,7 @@ class ImportRevisionsTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -33,7 +33,7 @@ public function setUp(): void app()->bind(RevisionContract::class, \Statamic\Revisions\Revision::class); } - public function tearDown(): void + protected function tearDown(): void { app('files')->deleteDirectory(__DIR__.'/tmp'); diff --git a/tests/Commands/ImportSitesTest.php b/tests/Commands/ImportSitesTest.php index fb9e9d2a..d8f30386 100644 --- a/tests/Commands/ImportSitesTest.php +++ b/tests/Commands/ImportSitesTest.php @@ -11,7 +11,7 @@ class ImportSitesTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Commands/ImportTaxonomiesTest.php b/tests/Commands/ImportTaxonomiesTest.php index 7f9d514f..7e1cde08 100644 --- a/tests/Commands/ImportTaxonomiesTest.php +++ b/tests/Commands/ImportTaxonomiesTest.php @@ -19,7 +19,7 @@ class ImportTaxonomiesTest extends TestCase { use PreventsSavingStacheItemsToDisk; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Data/Assets/AssetQueryBuilderTest.php b/tests/Data/Assets/AssetQueryBuilderTest.php index d46b3912..67bde735 100644 --- a/tests/Data/Assets/AssetQueryBuilderTest.php +++ b/tests/Data/Assets/AssetQueryBuilderTest.php @@ -14,7 +14,7 @@ class AssetQueryBuilderTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Data/Fields/BlueprintTest.php b/tests/Data/Fields/BlueprintTest.php index 1e1062b9..b03d77f4 100644 --- a/tests/Data/Fields/BlueprintTest.php +++ b/tests/Data/Fields/BlueprintTest.php @@ -12,7 +12,7 @@ class BlueprintTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Repositories/AssetContainerRepositoryTest.php b/tests/Repositories/AssetContainerRepositoryTest.php index fd65403e..f1d09f2a 100644 --- a/tests/Repositories/AssetContainerRepositoryTest.php +++ b/tests/Repositories/AssetContainerRepositoryTest.php @@ -15,7 +15,7 @@ class AssetContainerRepositoryTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Repositories/CollectionRepositoryTest.php b/tests/Repositories/CollectionRepositoryTest.php index d2d64337..f8f41531 100644 --- a/tests/Repositories/CollectionRepositoryTest.php +++ b/tests/Repositories/CollectionRepositoryTest.php @@ -15,7 +15,7 @@ class CollectionRepositoryTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Repositories/GlobalRepositoryTest.php b/tests/Repositories/GlobalRepositoryTest.php index 25bcf182..197d4868 100644 --- a/tests/Repositories/GlobalRepositoryTest.php +++ b/tests/Repositories/GlobalRepositoryTest.php @@ -16,7 +16,7 @@ class GlobalRepositoryTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Repositories/NavigationRepositoryTest.php b/tests/Repositories/NavigationRepositoryTest.php index 19d2bd4a..a09ea2eb 100644 --- a/tests/Repositories/NavigationRepositoryTest.php +++ b/tests/Repositories/NavigationRepositoryTest.php @@ -15,7 +15,7 @@ class NavigationRepositoryTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Repositories/TaxonomyRepositoryTest.php b/tests/Repositories/TaxonomyRepositoryTest.php index 793ded1e..ab5b29b9 100644 --- a/tests/Repositories/TaxonomyRepositoryTest.php +++ b/tests/Repositories/TaxonomyRepositoryTest.php @@ -17,7 +17,7 @@ class TaxonomyRepositoryTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Repositories/TokenRepositoryTest.php b/tests/Repositories/TokenRepositoryTest.php index c9f012b9..0a3e4eaa 100644 --- a/tests/Repositories/TokenRepositoryTest.php +++ b/tests/Repositories/TokenRepositoryTest.php @@ -13,7 +13,7 @@ class TokenRepositoryTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Sites/SitesTest.php b/tests/Sites/SitesTest.php index a830c67b..3eb05383 100644 --- a/tests/Sites/SitesTest.php +++ b/tests/Sites/SitesTest.php @@ -13,7 +13,7 @@ class SitesTest extends TestCase { use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp();