[Php 70] Fix this call on static for PHPUnit non-assert

This commit is contained in:
TomasVotruba 2019-11-23 21:12:57 +01:00
parent 45a6df769f
commit 858df2f646
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -9,5 +9,6 @@ class SkipPhpUnit extends TestCase
public function testMe()
{
$this->assertTrue(True);
$this->markTestSkipped('uups');
}
}