mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
[Php 70] Fix this call on static for PHPUnit non-assert
This commit is contained in:
parent
45a6df769f
commit
858df2f646
@ -87,9 +87,7 @@ PHP
|
||||
}
|
||||
|
||||
if ($this->isObjectType($node->var, TestCase::class)) {
|
||||
if ($this->isName($node->name, 'assert*')) {
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
$className = $node->getAttribute(AttributeKey::CLASS_NAME);
|
||||
|
@ -9,5 +9,6 @@ class SkipPhpUnit extends TestCase
|
||||
public function testMe()
|
||||
{
|
||||
$this->assertTrue(True);
|
||||
$this->markTestSkipped('uups');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user