Skip to content

Commit 2284ffa

Browse files
committed
Don’t use class name as string, use ::class instead.
1 parent 8e97276 commit 2284ffa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/CodeCoverageExtensionSpec.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use PhpSpec\ObjectBehavior;
66
use PhpSpec\ServiceContainer\IndexedServiceContainer;
77
use Prophecy\Argument;
8+
use LeanPHP\PhpSpec\CodeCoverage\CodeCoverageExtension;
89

910
/**
1011
* @author Henrik Bjornskov
@@ -13,7 +14,7 @@ class CodeCoverageExtensionSpec extends ObjectBehavior
1314
{
1415
function it_is_initializable()
1516
{
16-
$this->shouldHaveType('LeanPHP\PhpSpec\CodeCoverage\CodeCoverageExtension');
17+
$this->shouldHaveType(CodeCoverageExtension::class);
1718
}
1819

1920
function it_should_use_html_format_by_default()
@@ -50,7 +51,5 @@ function it_should_use_singular_output()
5051
if ($options['output'] !== ['foo' => 'test']) {
5152
throw new Exception("Default format is not singular output");
5253
}
53-
54-
5554
}
5655
}

0 commit comments

Comments
 (0)