From 56c0a1a62f0dfc3cc5ea1f8a5768cb16a35f0dc4 Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Thu, 19 Dec 2024 17:41:33 +0100 Subject: [PATCH] fix CS --- tests/Feature/DeepfaceTest.php | 4 ++-- tests/TestCase.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Feature/DeepfaceTest.php b/tests/Feature/DeepfaceTest.php index 685cb40..f5f348b 100644 --- a/tests/Feature/DeepfaceTest.php +++ b/tests/Feature/DeepfaceTest.php @@ -6,8 +6,8 @@ use Astrotomic\DeepFace\Enums\Race; use PHPUnit\Framework\Assert; -describe('analyze', function ():void { - it('analyzes: img1', function ():void { +describe('analyze', function (): void { + it('analyzes: img1', function (): void { $img = $this->image('img1.jpg'); $results = $this->deepface()->analyze($img); diff --git a/tests/TestCase.php b/tests/TestCase.php index bcebab6..7622a90 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,11 +9,11 @@ abstract class TestCase extends BaseTestCase { protected function deepface(): DeepFace { - return new DeepFace(); + return new DeepFace; } protected function image(string $img): string { - return realpath(__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures'. DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . $img); + return realpath(__DIR__.DIRECTORY_SEPARATOR.'Fixtures'.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.$img); } }