diff --git a/tests/autoload.php b/tests/autoload.php index 4c0cb03..a9c83fb 100644 --- a/tests/autoload.php +++ b/tests/autoload.php @@ -34,4 +34,8 @@ function dumpt() } $e = new Exception(); echo "-------\nDump trace: \n" . $e->getTraceAsString() . "\n"; +} + +if(PHP_VERSION_ID > 50400) { + function php_gte_54() {} } \ No newline at end of file diff --git a/tests/cases/FenomTest.php b/tests/cases/FenomTest.php index d42e079..351bed9 100644 --- a/tests/cases/FenomTest.php +++ b/tests/cases/FenomTest.php @@ -261,7 +261,7 @@ class FenomTest extends \Fenom\TestCase } /** - * @requires PHP >=5.4 + * @requires function php_gte_54 * @group pipe */ public function testPipe()