Don't check on php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
c084008df2
commit
988ce1374c
|
@ -22,6 +22,10 @@ class CodeCheckerTest 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 PrivateCheck(new EmptyCheck()),
|
||||
false
|
||||
|
@ -49,6 +53,10 @@ class CodeCheckerTest extends TestCase {
|
|||
* @param string $fileToVerify
|
||||
*/
|
||||
public function testPassValidUsage($fileToVerify) {
|
||||
if (PHP_MAJOR_VERSION > 7) {
|
||||
$this->markTestSkipped('Only run on php7');
|
||||
}
|
||||
|
||||
$checker = new CodeChecker(
|
||||
new PrivateCheck(new EmptyCheck()),
|
||||
false
|
||||
|
|
|
@ -45,6 +45,10 @@ class StrongComparisonCheckTest extends TestCase {
|
|||
* @param string $fileToVerify
|
||||
*/
|
||||
public function testPassValidUsage($fileToVerify) {
|
||||
if (PHP_MAJOR_VERSION > 7) {
|
||||
$this->markTestSkipped('Only run on php7');
|
||||
}
|
||||
|
||||
$checker = new CodeChecker(
|
||||
new StrongComparisonCheck(new EmptyCheck()),
|
||||
false
|
||||
|
|
Loading…
Reference in New Issue