From b779e21375fa4186e2ab7dc062d0def0a0de2ed1 Mon Sep 17 00:00:00 2001 From: Formatter Bot Date: Sun, 13 Sep 2020 18:41:31 +0000 Subject: [PATCH] Automated formatting changes --- tests/Business/Marketing/CustomerValueTest.php | 2 +- tests/Module/ModuleManagerTest.php | 2 +- tests/Utils/ArrayUtilsTest.php | 2 +- tests/Utils/StringUtilsTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Business/Marketing/CustomerValueTest.php b/tests/Business/Marketing/CustomerValueTest.php index 220ab89a9..2422528d3 100644 --- a/tests/Business/Marketing/CustomerValueTest.php +++ b/tests/Business/Marketing/CustomerValueTest.php @@ -42,7 +42,7 @@ class CustomerValueTest extends \PHPUnit\Framework\TestCase public function testMRR() : void { $revenues = [ - 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096 + 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, ]; self::assertEqualsWithDelta(77.53846, CustomerValue::getMRR($revenues, 13, 10, 1000), 0.01); diff --git a/tests/Module/ModuleManagerTest.php b/tests/Module/ModuleManagerTest.php index a37f0043e..c652d5218 100644 --- a/tests/Module/ModuleManagerTest.php +++ b/tests/Module/ModuleManagerTest.php @@ -37,7 +37,7 @@ class ModuleManagerTest extends \PHPUnit\Framework\TestCase protected function setUp() : void { - $this->app = new class() extends ApplicationAbstract { + $this->app = new class() extends ApplicationAbstract { protected string $appName = 'Api'; }; diff --git a/tests/Utils/ArrayUtilsTest.php b/tests/Utils/ArrayUtilsTest.php index 61e5e54fb..c0ce0c8cf 100644 --- a/tests/Utils/ArrayUtilsTest.php +++ b/tests/Utils/ArrayUtilsTest.php @@ -84,7 +84,7 @@ class ArrayUtilsTest extends \PHPUnit\Framework\TestCase 2 => '2a', ]; - self::assertEquals(null, ArrayUtils::getArray('a/zzz/1', $expected)); + self::assertNull(ArrayUtils::getArray('a/zzz/1', $expected)); } /** diff --git a/tests/Utils/StringUtilsTest.php b/tests/Utils/StringUtilsTest.php index 38ee52f92..dd2694173 100644 --- a/tests/Utils/StringUtilsTest.php +++ b/tests/Utils/StringUtilsTest.php @@ -173,7 +173,7 @@ class StringUtilsTest extends \PHPUnit\Framework\TestCase */ public function testInvalidStringify() : void { - self::assertEquals(null, StringUtils::stringify(new class() {})); + self::assertNull(StringUtils::stringify(new class() {})); } /**