Update PHPUnit, configuration and tests

This commit is contained in:
2023-03-04 17:44:57 +02:00
parent 36b8a22ee7
commit 65245093ce
8 changed files with 50 additions and 57 deletions

View File

@@ -4,7 +4,7 @@ namespace ivuorinen\BBCode\Tests;
class BBCodeParserFacadeTest extends TestCase
{
public function testFacadeExistsAndHasBbcode()
public function testFacadeExistsAndHasBbcode(): void
{
try {
$method = $this->callMethod(
@@ -13,7 +13,7 @@ class BBCodeParserFacadeTest extends TestCase
[]
);
$this->assertEquals('bbcode', $method);
} catch (ReflectionException $e) {
} catch (\ReflectionException $e) {
$this->throwException($e);
}
}
@@ -23,7 +23,7 @@ class BBCodeParserFacadeTest extends TestCase
* @param $name
* @param array $args
* @return mixed
* @throws ReflectionException
* @throws \ReflectionException
*/
public static function callMethod($obj, $name, array $args)
{