Automated formatting changes

This commit is contained in:
Formatter Bot 2020-09-13 18:41:31 +00:00
parent d2ccc2d15e
commit b779e21375
4 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ class CustomerValueTest extends \PHPUnit\Framework\TestCase
public function testMRR() : void public function testMRR() : void
{ {
$revenues = [ $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); self::assertEqualsWithDelta(77.53846, CustomerValue::getMRR($revenues, 13, 10, 1000), 0.01);

View File

@ -37,7 +37,7 @@ class ModuleManagerTest extends \PHPUnit\Framework\TestCase
protected function setUp() : void protected function setUp() : void
{ {
$this->app = new class() extends ApplicationAbstract { $this->app = new class() extends ApplicationAbstract {
protected string $appName = 'Api'; protected string $appName = 'Api';
}; };

View File

@ -84,7 +84,7 @@ class ArrayUtilsTest extends \PHPUnit\Framework\TestCase
2 => '2a', 2 => '2a',
]; ];
self::assertEquals(null, ArrayUtils::getArray('a/zzz/1', $expected)); self::assertNull(ArrayUtils::getArray('a/zzz/1', $expected));
} }
/** /**

View File

@ -173,7 +173,7 @@ class StringUtilsTest extends \PHPUnit\Framework\TestCase
*/ */
public function testInvalidStringify() : void public function testInvalidStringify() : void
{ {
self::assertEquals(null, StringUtils::stringify(new class() {})); self::assertNull(StringUtils::stringify(new class() {}));
} }
/** /**