diff --git a/tests/TestEnv.php b/tests/TestEnv.php index c2026a4..19f32f0 100644 --- a/tests/TestEnv.php +++ b/tests/TestEnv.php @@ -56,7 +56,7 @@ public function testCreatingWithBrokenName(): void public function testCreatingFromFile(): void { Env::destroy(); - Env::createFromFile(__DIR__.'/.test.env'); + Env::createFromFile(__DIR__ . '/.test.env'); $this->assertSame('root', Env::get()->USERNAME); $this->assertSame('123456', Env::get()->PASSWORD); @@ -68,13 +68,13 @@ public function testCreatingFromNonExistingFile(): void { Env::destroy(); $this->expectException(Exception::class); - Env::createFromFile(__DIR__.'/.non-existing.env'); + Env::createFromFile(__DIR__ . '/.non-existing.env'); } public function testDebugInfo(): void { Env::destroy(); - $env = Env::createFromFile(__DIR__.'/.test.env'); + $env = Env::createFromFile(__DIR__ . '/.test.env'); $props = [ 'USERNAME' => 'root', @@ -89,7 +89,7 @@ public function testDebugInfo(): void public function testArrayAccess(): void { Env::destroy(); - $env = Env::createFromFile(__DIR__.'/.test.env'); + $env = Env::createFromFile(__DIR__ . '/.test.env'); $env['TEST'] = 10; $this->assertSame('root', $env['USERNAME']);