Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2015-07-29 09:34:01 +0300
committersgiehl <stefan@piwik.org>2015-10-06 17:23:55 +0300
commit5af7f397274703fb32f02d177ea6773ad71bbbb5 (patch)
tree98314b61b3708371a5a456f93f55eaaa5633863a /tests/PHPUnit/Framework/TestCase
parentf8392fcc93e69c3b778bb73752fb316e85eb4fb0 (diff)
this method is used by plugins, adding it again as it breaks API
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase')
-rwxr-xr-xtests/PHPUnit/Framework/TestCase/SystemTestCase.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
index 8446a66d16..cccd70b8aa 100755
--- a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
@@ -101,6 +101,11 @@ abstract class SystemTestCase extends PHPUnit_Framework_TestCase
return !empty($travis);
}
+ public static function isPhpVersion53()
+ {
+ return strpos(PHP_VERSION, '5.3') === 0;
+ }
+
public static function isPhp7orLater()
{
return version_compare('7.0.0-dev', PHP_VERSION) < 1;