Skip to content

Commit 95f8e21

Browse files
committed
Updated Symfony version and dependencies
1 parent af91913 commit 95f8e21

File tree

3 files changed

+1253
-312
lines changed

3 files changed

+1253
-312
lines changed

Symfony/app/SymfonyRequirements.php

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,20 @@ function_exists('simplexml_import_dom'),
554554
'Your project might not work properly due to the PHP bug #61453 ("Cannot dump definitions which have method calls"). Install PHP 5.4.1 or newer.'
555555
);
556556

557+
$this->addRecommendation(
558+
version_compare($installedPhpVersion, '5.4.11', '>='),
559+
'When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration)',
560+
'Install PHP 5.4.11 or newer if your project uses the logout handler from the Symfony Security Component.'
561+
);
562+
563+
$this->addRecommendation(
564+
(version_compare($installedPhpVersion, '5.3.18', '>=') && version_compare($installedPhpVersion, '5.4.0', '<'))
565+
||
566+
version_compare($installedPhpVersion, '5.4.8', '>='),
567+
'You should use PHP 5.3.18+ or PHP 5.4.8+ to always get nice error messages for fatal errors in the development environment due to PHP bug #61767/#60909',
568+
'Install PHP 5.3.18+ or PHP 5.4.8+ if you want nice error messages for all fatal errors in the development environment.'
569+
);
570+
557571
if (null !== $pcreVersion) {
558572
$this->addRecommendation(
559573
$pcreVersion >= 8.0,
@@ -564,8 +578,8 @@ function_exists('simplexml_import_dom'),
564578

565579
$this->addRecommendation(
566580
class_exists('DomDocument'),
567-
'PHP-XML module should be installed',
568-
'Install and enable the <strong>PHP-XML</strong> module.'
581+
'PHP-DOM and PHP-XML modules should be installed',
582+
'Install and enable the <strong>PHP-DOM</strong> and the <strong>PHP-XML</strong> modules.'
569583
);
570584

571585
$this->addRecommendation(

Symfony/composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@
2020
"sensio/generator-bundle": "2.3.*",
2121
"incenteev/composer-parameter-handler": "~2.0"
2222
},
23-
"require-dev": {
24-
"satooshi/php-coveralls": "dev-master"
25-
},
23+
"require-dev": {
24+
"phpunit/phpunit": "3.7.*",
25+
"satooshi/php-coveralls": "dev-master",
26+
"sebastian/phpcpd": "*",
27+
"phpmd/phpmd" : "2.0.*"
28+
},
2629
"scripts": {
2730
"post-install-cmd": [
2831
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",

0 commit comments

Comments
 (0)