From f8d1cb70ff2dbeaf76ad5eefa483bf29819c5579 Mon Sep 17 00:00:00 2001 From: duncanmcclean Date: Wed, 4 Dec 2024 16:42:14 +0000 Subject: [PATCH] Fix styling --- routes/cp.php | 2 +- tests/Console/Commands/GenerateMigrationTest.php | 4 ++-- tests/Fieldtypes/BelongsToFieldtypeTest.php | 2 +- tests/Fieldtypes/HasManyFieldtypeTest.php | 2 +- tests/Http/Controllers/ApiControllerTest.php | 2 +- tests/Http/Controllers/CP/ModelRevisionsControllerTest.php | 4 ++-- tests/Http/Controllers/CP/PublishedModelsControllerTest.php | 4 ++-- tests/Http/Controllers/CP/ResourceActionControllerTest.php | 2 +- tests/Http/Controllers/CP/RestoreModelRevisionController.php | 4 ++-- tests/Tags/RunwayTagTest.php | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/routes/cp.php b/routes/cp.php index 88ab9748..c35a0614 100644 --- a/routes/cp.php +++ b/routes/cp.php @@ -1,9 +1,9 @@ $this->dir]); } - public function tearDown(): void + protected function tearDown(): void { Folder::delete($this->dir); diff --git a/tests/Http/Controllers/CP/PublishedModelsControllerTest.php b/tests/Http/Controllers/CP/PublishedModelsControllerTest.php index ad6ffdea..953a3e4b 100644 --- a/tests/Http/Controllers/CP/PublishedModelsControllerTest.php +++ b/tests/Http/Controllers/CP/PublishedModelsControllerTest.php @@ -12,7 +12,7 @@ class PublishedModelsControllerTest extends TestCase { private $dir; - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -21,7 +21,7 @@ public function setUp(): void config(['statamic.revisions.path' => $this->dir]); } - public function tearDown(): void + protected function tearDown(): void { Folder::delete($this->dir); diff --git a/tests/Http/Controllers/CP/ResourceActionControllerTest.php b/tests/Http/Controllers/CP/ResourceActionControllerTest.php index efc9cd75..7791aacb 100644 --- a/tests/Http/Controllers/CP/ResourceActionControllerTest.php +++ b/tests/Http/Controllers/CP/ResourceActionControllerTest.php @@ -10,7 +10,7 @@ class ResourceActionControllerTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Http/Controllers/CP/RestoreModelRevisionController.php b/tests/Http/Controllers/CP/RestoreModelRevisionController.php index f2b47d01..0558dfc1 100644 --- a/tests/Http/Controllers/CP/RestoreModelRevisionController.php +++ b/tests/Http/Controllers/CP/RestoreModelRevisionController.php @@ -12,7 +12,7 @@ class RestoreModelRevisionController extends TestCase { private $dir; - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -21,7 +21,7 @@ public function setUp(): void config(['statamic.revisions.path' => $this->dir]); } - public function tearDown(): void + protected function tearDown(): void { Folder::delete($this->dir); diff --git a/tests/Tags/RunwayTagTest.php b/tests/Tags/RunwayTagTest.php index f8fc5d76..a295b971 100644 --- a/tests/Tags/RunwayTagTest.php +++ b/tests/Tags/RunwayTagTest.php @@ -17,7 +17,7 @@ class RunwayTagTest extends TestCase { public $tag; - public function setUp(): void + protected function setUp(): void { parent::setUp();