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

[Form] Add notice to upgrade to PHP v7.0.8+ #23705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2017

Conversation

nicolas-grekas
Copy link
Member

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 -

So that PHP7 < 7.0.8 users get a notice about the issue.

@nicolas-grekas
Copy link
Member Author

@symfony/mergers should be merged before releasing v3.3.6

@fabpot
Copy link
Member

fabpot commented Jul 28, 2017

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 0347e5a into symfony:3.3 Jul 28, 2017
fabpot added a commit that referenced this pull request Jul 28, 2017
This PR was merged into the 3.3 branch.

Discussion
----------

[Form] Add notice to upgrade to PHP v7.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        | -

So that PHP7 < 7.0.8 users get a notice about the issue.

Commits
-------

0347e5a [Form] Add notice to upgrade to PHP v7.0.8+
@@ -85,6 +85,9 @@ public function __construct(FormDataExtractorInterface $dataExtractor)
*/
public function collect(Request $request, Response $response, \Exception $exception = null)
{
if (70000 <= \PHP_VERSION_ID && \PHP_VERSION_ID < 70800) {
@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);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/more/higher/ ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, that's better. Done in a6f44d2. Thanks for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.