From bcf846b3d9df980e81204264da5647cc46116b9a Mon Sep 17 00:00:00 2001 From: hekmatinasser Date: Wed, 16 Feb 2022 15:19:20 +0000 Subject: [PATCH] Fix styling --- src/Traits/Date.php | 18 +++++++++--------- tests/ComparisionTest.php | 1 - tests/CreatorTest.php | 1 - 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/Traits/Date.php b/src/Traits/Date.php index 833aabe..dc58d09 100644 --- a/src/Traits/Date.php +++ b/src/Traits/Date.php @@ -6,15 +6,15 @@ use Hekmatinasser\Verta\VertaInterface; trait Date { - use Accessor, - Comparison, - Creator, - Formatting, - Modification, - Transformation, - Translator, - Boundaries, - Difference; + use Accessor; + use Comparison; + use Creator; + use Formatting; + use Modification; + use Transformation; + use Translator; + use Boundaries; + use Difference; /** * Format to use for __toString. * diff --git a/tests/ComparisionTest.php b/tests/ComparisionTest.php index 735b30b..047c397 100644 --- a/tests/ComparisionTest.php +++ b/tests/ComparisionTest.php @@ -277,6 +277,5 @@ class ComparisionTest extends TestCase $this->assertFalse($datetime->isWednesday()); $this->assertFalse($datetime->isThursday()); $this->assertFalse($datetime->isFriday()); - } } diff --git a/tests/CreatorTest.php b/tests/CreatorTest.php index f1b3c91..e91666f 100644 --- a/tests/CreatorTest.php +++ b/tests/CreatorTest.php @@ -9,7 +9,6 @@ use PHPUnit\Framework\TestCase; class CreatorTest extends TestCase { - public function testNow() { $expected = (new DateTime())->getTimestamp();