[FrameworkBundle] Changed PHP version detection (see: #3529)
This commit is contained in:
parent
4a3f6d5768
commit
e7d38c1381
@ -28,7 +28,7 @@ class ServerRunCommand extends ContainerAwareCommand
|
|||||||
*/
|
*/
|
||||||
public function isEnabled()
|
public function isEnabled()
|
||||||
{
|
{
|
||||||
if (PHP_VERSION_ID < 50400) {
|
if (version_compare(phpversion(), '5.4.0', '<')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user