File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Phpactor \TestUtils \Tests \Integration ;
4
4
5
- use PHPUnit \ Framework \TestCase ;
5
+ use Phpactor \ TestUtils \ PHPUnit \TestCase ;
6
6
7
7
class IntegrationTestCase extends TestCase
8
8
{
9
- protected function workspaceDir ()
9
+ protected function workspaceDir (): string
10
10
{
11
11
return realpath (__DIR__ . '/.. ' ) . '/Workspace ' ;
12
12
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Phpactor \TestUtils \Tests \Unit ;
4
4
5
- use PHPUnit \Framework \TestCase ;
6
5
use Phpactor \TestUtils \ExtractOffset ;
6
+ use Phpactor \TestUtils \PHPUnit \TestCase ;
7
7
8
8
class ExtractOffsetTest extends TestCase
9
9
{
10
- public function testExtractOffset ()
10
+ public function testExtractOffset (): void
11
11
{
12
12
list ($ source , $ offset ) = ExtractOffset::fromSource ('<?php class Foobar { <> } ' );
13
13
$ this ->assertEquals (21 , $ offset );
You can’t perform that action at this time.
0 commit comments