Skip to content

Commit e9374db

Browse files
committed
Updated dependencies
1 parent 4e6133f commit e9374db

File tree

2 files changed

+1323
-309
lines changed

2 files changed

+1323
-309
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(

0 commit comments

Comments
 (0)