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
|
* @param string $fileToVerify
|
||||||
*/
|
*/
|
||||||
public function testFindInvalidUsage($expectedErrorToken, $expectedErrorCode, $fileToVerify) {
|
public function testFindInvalidUsage($expectedErrorToken, $expectedErrorCode, $fileToVerify) {
|
||||||
|
if (PHP_MAJOR_VERSION > 7) {
|
||||||
|
$this->markTestSkipped('Only run on php7');
|
||||||
|
}
|
||||||
|
|
||||||
$checker = new CodeChecker(
|
$checker = new CodeChecker(
|
||||||
new DeprecationCheck(new EmptyCheck()),
|
new DeprecationCheck(new EmptyCheck()),
|
||||||
false
|
false
|
||||||
|
|
|
@ -57,6 +57,10 @@ class NodeVisitorTest extends TestCase {
|
||||||
* @param string $fileToVerify
|
* @param string $fileToVerify
|
||||||
*/
|
*/
|
||||||
public function testMethodsToCheck($expectedErrors, $fileToVerify) {
|
public function testMethodsToCheck($expectedErrors, $fileToVerify) {
|
||||||
|
if (PHP_MAJOR_VERSION > 7) {
|
||||||
|
$this->markTestSkipped('Only run on php7');
|
||||||
|
}
|
||||||
|
|
||||||
$checker = new CodeChecker(
|
$checker = new CodeChecker(
|
||||||
new TestList(new EmptyCheck()),
|
new TestList(new EmptyCheck()),
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue