Do not run on php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
6b7731a852
commit
1670eabdb3
|
@ -22,6 +22,10 @@ class DeprecationCheckTest extends TestCase {
|
|||
* @param string $fileToVerify
|
||||
*/
|
||||
public function testFindInvalidUsage($expectedErrorToken, $expectedErrorCode, $fileToVerify) {
|
||||
if (PHP_MAJOR_VERSION > 7) {
|
||||
$this->markTestSkipped('Only run on php7');
|
||||
}
|
||||
|
||||
$checker = new CodeChecker(
|
||||
new DeprecationCheck(new EmptyCheck()),
|
||||
false
|
||||
|
|
|
@ -57,6 +57,10 @@ class NodeVisitorTest extends TestCase {
|
|||
* @param string $fileToVerify
|
||||
*/
|
||||
public function testMethodsToCheck($expectedErrors, $fileToVerify) {
|
||||
if (PHP_MAJOR_VERSION > 7) {
|
||||
$this->markTestSkipped('Only run on php7');
|
||||
}
|
||||
|
||||
$checker = new CodeChecker(
|
||||
new TestList(new EmptyCheck()),
|
||||
false
|
||||
|
|
Loading…
Reference in New Issue