fix linting

This commit is contained in:
danilopolani
2022-03-07 18:23:06 +01:00
parent 00029c15ef
commit d0136b63d4
2 changed files with 5 additions and 5 deletions

View File

@ -182,9 +182,7 @@ final class TestCall
$isMethod = function_exists($classOrFunction);
if (!$isClass && !$isMethod) {
throw new InvalidArgumentException(
sprintf('No class or method named "%s" has been found.', $classOrFunction)
);
throw new InvalidArgumentException(sprintf('No class or method named "%s" has been found.', $classOrFunction));
}
if ($isClass) {

View File

@ -17,7 +17,9 @@ class TestCoversClass3
{
}
function testCoversFunction() { }
function testCoversFunction()
{
}
it('uses the correct PHPUnit attribute for class', function () {
$attributes = (new ReflectionClass($this))->getAttributes();