Skip to content

Commit 96802db

Browse files
committed
Merge pull request #1 from PHP-DI/analysis-q19wAq
Applied fixes from StyleCI
2 parents d41aeff + f666a94 commit 96802db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/KernelTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ public function setUp()
3232
*/
3333
public function creates_a_container()
3434
{
35-
$this->assertInstanceOf('DI\Container', (new Kernel)->createContainer());
35+
$this->assertInstanceOf('DI\Container', (new Kernel())->createContainer());
3636
}
3737

3838
/**
3939
* @test
4040
*/
4141
public function registers_puli_repository()
4242
{
43-
$container = (new Kernel)->createContainer();
43+
$container = (new Kernel())->createContainer();
4444
$this->assertInstanceOf(ResourceRepository::class, $container->get(ResourceRepository::class));
4545
}
4646

@@ -49,7 +49,7 @@ public function registers_puli_repository()
4949
*/
5050
public function registers_puli_discovery()
5151
{
52-
$container = (new Kernel)->createContainer();
52+
$container = (new Kernel())->createContainer();
5353
$this->assertInstanceOf(Discovery::class, $container->get(Discovery::class));
5454
}
5555

@@ -58,10 +58,10 @@ public function registers_puli_discovery()
5858
*/
5959
public function registers_module_configuration_files()
6060
{
61-
$this->createPuliResource('/blog/config.php', __DIR__ . '/Fixture/config.php');
61+
$this->createPuliResource('/blog/config.php', __DIR__.'/Fixture/config.php');
6262
$this->bindPuliResource('/blog/config.php', Kernel::PULI_BINDING_NAME);
6363

64-
$container = (new Kernel)->createContainer();
64+
$container = (new Kernel())->createContainer();
6565
$this->assertEquals('bar', $container->get('foo'));
6666
}
6767

0 commit comments

Comments
 (0)