mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Skip NamespacedClassManifestTest on PHP versions before 5.3
This commit is contained in:
parent
3e6a91a07f
commit
97f8cc4ab3
@ -12,7 +12,11 @@ class NamespacedClassManifestTest extends SapphireTest {
|
||||
|
||||
public function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
|
||||
if(version_compare(PHP_VERSION, '5.3', '<')) {
|
||||
$this->markTestSkipped('Namespaces are not supported before PHP 5.3');
|
||||
}
|
||||
|
||||
$this->base = dirname(__FILE__) . '/fixtures/namespaced_classmanifest';
|
||||
$this->manifest = new SS_ClassManifest($this->base, false, true, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user