8000 added a new recommandation for a PHP bug (see symfony/symfony#5868) · sensiolabs/SensioDistributionBundle@2a518e7 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 6, 2020. It is now read-only.

Commit 2a518e7

Browse files
committed
added a new recommandation for a PHP bug (see symfony/symfony#5868)
1 parent 5cfbd3c commit 2a518e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Resources/skeleton/app/SymfonyRequirements.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,12 @@ 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 the logout handler from the Symfony Security Component.'
561+
);
562+
557563
if (null !== $pcreVersion) {
558564
$this->addRecommendation(
559565
$pcreVersion >= 8.0,

0 commit comments

Comments
 (0)
0