Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0347e5a

Browse filesBrowse files
[Form] Add notice to upgrade to PHP v7.0.8+
1 parent 3088e0a commit 0347e5a
Copy full SHA for 0347e5a

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎src/Symfony/Component/Form/Extension/DataCollector/FormDataCollector.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/DataCollector/FormDataCollector.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ 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 < 70800) {
89+
@trigger_error('A bug in PHP v7.0.0 to v7.0.7 is breaking the Form panel, please upgrade to v7.0.8 or more.', E_USER_DEPRECATED);
90+
}
8891
}
8992

9093
/**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.