We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3251eb7 commit 1980c36Copy full SHA for 1980c36
rules-tests/CodeQuality/Rector/Class_/PreferPHPUnitSelfCallRector/Fixture/include_exceptions.php.inc
@@ -8,6 +8,7 @@ final class IncludeExceptions extends TestCase
8
{
9
public function testMe()
10
11
+ // this calls should be preserved with $this, because methods are not static
12
$this->expectException(\RuntimeException::class);
13
$this->expectExceptionMessage('foo');
14
$this->expectExceptionCode(123);
@@ -26,6 +27,7 @@ final class IncludeExceptions extends TestCase
26
27
28
29
30
31
32
33
0 commit comments