Skip to content

Commit 36f2059

Browse files
bug #23703 Bump minimal PHP version to ^5.5.9|>=7.0.8 (nicolas-grekas)
This PR was merged into the 3.3 branch. Discussion ---------- Bump minimal PHP version to ^5.5.9|>=7.0.8 | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22973 | License | MIT | Doc PR | - As spotted in the linked issue, because of https://bugs.php.net/72229. Commits ------- 2282a6f Bump minimal PHP version to ^5.5.9|>=7.0.8
2 parents 153c700 + d19faa6 commit 36f2059

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Extension/DataCollector/FormDataCollector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ public function __construct(FormDataExtractorInterface $dataExtractor)
8585
*/
8686
public function collect(Request $request, Response $response, \Exception $exception = null)
8787
{
88-
if (70000 <= \PHP_VERSION_ID && \PHP_VERSION_ID < 70008) {
89-
@trigger_error('A bug in PHP 7.0.0 to 7.0.7 is breaking the Form panel, please upgrade to 7.0.8 or higher.', E_USER_DEPRECATED);
90-
}
9188
}
9289

9390
/**

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.5.9",
19+
"php": "^5.5.9|>=7.0.8",
2020
"symfony/event-dispatcher": "~2.8|~3.0",
2121
"symfony/intl": "^2.8.18|^3.2.5",
2222
"symfony/options-resolver": "~2.8|~3.0",

0 commit comments

Comments
 (0)