Skip to content
Snippets Groups Projects
Unverified Commit 988ce137 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Don't check on php8

parent c084008d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment