mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Update required PHP version to 5.3.3 as Symfony 2.1
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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",
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user