This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments