Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 4eb0894

Browse files
committed
Merge branch 'hotfix/coding-style' into release-2.0.0
Close #50
2 parents 1f98518 + e93de46 commit 4eb0894

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/ConfigProviderTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function setUp() : void
2727
public function testInvocationReturnsArray() : array
2828
{
2929
$config = ($this->provider)();
30-
self::assertInternalType('array', $config);
30+
$this->assertInternalType('array', $config);
3131

3232
return $config;
3333
}
@@ -37,8 +37,8 @@ public function testInvocationReturnsArray() : array
3737
*/
3838
public function testReturnedArrayContainsDependencies(array $config) : void
3939
{
40-
self::assertArrayHasKey('dependencies', $config);
41-
self::assertArrayHasKey('templates', $config);
42-
self::assertInternalType('array', $config['dependencies']);
40+
$this->assertArrayHasKey('dependencies', $config);
41+
$this->assertArrayHasKey('templates', $config);
42+
$this->assertInternalType('array', $config['dependencies']);
4343
}
4444
}

test/ExceptionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ExceptionTest extends TestCase
1818
{
1919
public function testExceptionInterfaceExtendsTemplateExceptionInterface() : void
2020
{
21-
self::assertTrue(is_a(ExceptionInterface::class, TemplateExceptionInterface::class, true));
21+
$this->assertTrue(is_a(ExceptionInterface::class, TemplateExceptionInterface::class, true));
2222
}
2323

2424
public function exception() : Generator
@@ -38,7 +38,7 @@ public function exception() : Generator
3838
*/
3939
public function testExceptionIsInstanceOfExceptionInterface(string $exception) : void
4040
{
41-
self::assertContains('Exception', $exception);
42-
self::assertTrue(is_a($exception, ExceptionInterface::class, true));
41+
$this->assertContains('Exception', $exception);
42+
$this->assertTrue(is_a($exception, ExceptionInterface::class, true));
4343
}
4444
}

0 commit comments

Comments
 (0)