diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-01-30 21:09:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 21:09:56 +0300 |
commit | ec58ab4606cbc6c7f7c3a7aa7f1e9cc5a88e5dfb (patch) | |
tree | 343b3f6224977c772f7862364090bf526d19fa93 | |
parent | 76477c705a43b1f08e6ef8b3b6ec4a6c9588c5bd (diff) |
run report tests on any PHP version (#18666)
-rw-r--r-- | tests/PHPUnit/Framework/Fixture.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php index 31f3b99034..4c275477d5 100644 --- a/tests/PHPUnit/Framework/Fixture.php +++ b/tests/PHPUnit/Framework/Fixture.php @@ -78,7 +78,6 @@ use ReflectionClass; class Fixture extends \PHPUnit\Framework\Assert { const IMAGES_GENERATED_ONLY_FOR_OS = 'linux'; - const IMAGES_GENERATED_FOR_PHP = '7.2'; const IMAGES_GENERATED_FOR_GD = '2.1.0'; const DEFAULT_SITE_NAME = 'Piwik test'; @@ -911,7 +910,6 @@ class Fixture extends \PHPUnit\Framework\Assert $gdInfo = gd_info(); return stristr(php_uname(), self::IMAGES_GENERATED_ONLY_FOR_OS) && - strpos( phpversion(), self::IMAGES_GENERATED_FOR_PHP) !== false && strpos( $gdInfo['GD Version'], self::IMAGES_GENERATED_FOR_GD) !== false; } |