Skip to content

Bump minimal PHP version to ^5.5.9|>=7.0.8 #23703

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
Aug 3, 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 -

As spotted in the linked issue, because of https://bugs.php.net/72229.

@nicolas-grekas nicolas-grekas added this to the 3.3 milestone Jul 28, 2017
@curry684
Copy link
Contributor

This will just confuse users with <7.0.8 about why they're not getting important security updates anymore.

@nicolas-grekas
Copy link
Member Author

@curry684 truth is, serializing is broken with PHP <7.0.8, so everybody should reject these versions. It's only losely related to the linked issue.

@curry684
Copy link
Contributor

I completely agree with the solution and change, just not some of its possible side effects.

If 3.3.6 contains a warning for PHP <7.0.8, and we then remove that in 3.3.7 and 3.4.0 along with the Composer bump the issue is fixed, and users that are upgrading Symfony but not PHP have a clear end-of-road warning.

@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Jul 28, 2017

@curry684 see #23705

@symfony/deciders should be merged after the release of v3.3.6

@curry684
Copy link
Contributor

Cheers, well solved.

@@ -85,9 +85,6 @@ 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 7.0.0 to 7.0.7 is breaking the Form panel, please upgrade to 7.0.8 or higher.', E_USER_DEPRECATED);
Copy link
Member Author

Choose a reason for hiding this comment

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

now removed

@nicolas-grekas nicolas-grekas merged commit 2282a6f into symfony:3.3 Aug 3, 2017
nicolas-grekas added a commit that referenced this pull request Aug 3, 2017
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
@nicolas-grekas nicolas-grekas deleted the php708 branch August 3, 2017 09:00
@fabpot fabpot mentioned this pull request Aug 28, 2017
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.

7 participants