Fix syntax error in EnviromentSpec.php for php 5.3