Update required PHP version to 5.3.3 as Symfony 2.1

This commit is contained in:
Romain Neutron
2012-05-09 14:17:53 +02:00
parent ea1f57836d
commit ea324964e4
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ notifications:
use_notice: true use_notice: true
php: php:
- 5.3.2 - 5.3.3
- 5.3 - 5.3
- 5.4 - 5.4

View File

@@ -2,7 +2,7 @@
"name": "phraseanet/phraseanet", "name": "phraseanet/phraseanet",
"description": "Phraseanet", "description": "Phraseanet",
"require": { "require": {
"php": ">=5.3.2", "php": ">=5.3.3",
"twig/twig": "1.8.*", "twig/twig": "1.8.*",
"twig/extensions": "master", "twig/extensions": "master",
"doctrine/orm": "2.2.2", "doctrine/orm": "2.2.2",

View File

@@ -488,10 +488,10 @@ class setup
*/ */
public static function check_php_version() public static function check_php_version()
{ {
$version_ok = version_compare(PHP_VERSION, '5.3.2', '>'); $version_ok = version_compare(PHP_VERSION, '5.3.3', '>');
if ( ! $version_ok) { if ( ! $version_ok) {
$message = sprintf( $message = sprintf(
'Wrong PHP version : % ; PHP >= 5.3.2 required' 'Wrong PHP version : % ; PHP >= 5.3.3 required'
, PHP_VERSION , PHP_VERSION
); );
} else { } else {