mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR: Remove checks for PHP <5.3.2, as it's no longer supported
This commit is contained in:
parent
dcdb0b4731
commit
d1c500a5f9
@ -831,10 +831,6 @@ class SiteTreeTest extends SapphireTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function testClassDropdown() {
|
function testClassDropdown() {
|
||||||
if(version_compare(PHP_VERSION, '5.3.2', '<')){
|
|
||||||
// @link http://www.php.net/manual/en/reflectionmethod.setaccessible.php
|
|
||||||
$this->markTestSkipped('Need PHP 5.3.2 to run this test.');
|
|
||||||
}
|
|
||||||
$sitetree = new SiteTree();
|
$sitetree = new SiteTree();
|
||||||
$method = new ReflectionMethod($sitetree, 'getClassDropdown');
|
$method = new ReflectionMethod($sitetree, 'getClassDropdown');
|
||||||
$method->setAccessible(true);
|
$method->setAccessible(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user