Skip to content

Allow PHP ^7.2.5 #34443

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
Nov 20, 2019
Merged

Allow PHP ^7.2.5 #34443

merged 1 commit into from
Nov 20, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Nov 18, 2019

Q A
Branch? 5.0
Bug fix? no
New feature? no
Deprecations? no
Tickets Fix #34442
License MIT
Doc PR -

Let's what the CI says.

Will need tagging all contracts as v2.0.1 after merge.

@nicolas-grekas
Copy link
Member Author

Looks good to me (appveyor failure is unrelated - existed before)

@derrabus
Copy link
Member

Out of curiosity: Do you know why 7.2.9 was originally picked as minimal requirement?

@nicolas-grekas
Copy link
Member Author

I think it's the version Debian ships

Copy link
Member

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

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

72 composer.json, hoho

@k00ni
Copy link

k00ni commented Nov 19, 2019

Why was the min PHP-version lowered to 7.2.5 and not 7.2?

@nicolas-grekas
Copy link
Member Author

.0 versions are always buggy and we don't want to test with them and workaround these early bugs.

@Defcon0
Copy link

Defcon0 commented Nov 19, 2019

mhm, seems to not being accepted?

@Matts
Copy link

Matts commented Nov 19, 2019

Note:
7.2.5 -> Security fix
7.2.8 -> Security fix

https://www.php.net/ChangeLog-7.php#PHP_7_2

Maybe a good idea to note somewhere that, although Symfony supports 7.2.5, it is advised to always update to latest patch?

Also, I would guess the core team already has ideas/has thought about this, but 7.1 security support is being dropped at the end of the month. Same for 7.2 only receiving security patches as of 30 nov. Haven't seen documentation specifically relating to this? (Symfony 3.4 LTS supports 7.0 and up?)

@Defcon0
Copy link

Defcon0 commented Nov 19, 2019

Could be, but SUSE Linux (up to 15) only has php 7.2.5. This is a major show stopper.

@nicolas-grekas
Copy link
Member Author

Distributions backport security fixes, that's why ppl pay for them. It's not our job to safeguard ppl from themselves :)

@stof
Copy link
Member

stof commented Nov 20, 2019

tests are failing for the Cache PdoAdapter and the Lock PdoStore. Not sure whether this is related to the new PHP version or whether they were already broken on Windows.

@nicolas-grekas
Copy link
Member Author

@stof not related to this PR, I noticed these failures before, reported in #34444

@fabpot
Copy link
Member

fabpot commented Nov 20, 2019

Thank you @nicolas-grekas.

fabpot added a commit that referenced this pull request Nov 20, 2019
This PR was merged into the 5.0 branch.

Discussion
----------

Allow PHP ^7.2.5

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #34442
| License       | MIT
| Doc PR        | -

Let's what the CI says.

Will need tagging all contracts as v2.0.1 after merge.

Commits
-------

6194c2a Allow PHP ^7.2.5
@fabpot fabpot merged commit 6194c2a into symfony:5.0 Nov 20, 2019
@nicolas-grekas nicolas-grekas deleted the php725 branch November 20, 2019 11:12
@Defcon0
Copy link

Defcon0 commented Nov 20, 2019

Will this trickle down to the repo

https://github.com/symfony/contracts/blob/master/composer.json

?

@chalasr
Copy link
Member

chalasr commented Nov 20, 2019

@Defcon0 yes, see PR description :)

Should be applied to symfony/*skeleton also

nicolas-grekas added a commit to symfony/website-skeleton that referenced this pull request Nov 20, 2019
This PR was merged into the 5.0 branch.

Discussion
----------

Update to ^7.2.5

Follow up from symfony/symfony#34443

Commits
-------

d8b3eb4 Update to ^7.2.5
nicolas-grekas added a commit to symfony/skeleton that referenced this pull request Nov 20, 2019
This PR was merged into the 5.0 branch.

Discussion
----------

Update to ^7.2.5

Follow up from symfony/symfony#34443

Commits
-------

69e213b Update to ^7.2.5
@Defcon0
Copy link

Defcon0 commented Nov 21, 2019

@nicolas-grekas Could you please tag the contracts bundle to 2.0.1? We need the fix quite urgently ;-) Thanks!

@GrahamCampbell
Copy link
Contributor

Any news on the 2.0.1 contracts tag?

@derrabus
Copy link
Member

Any news on the 2.0.1 contracts tag?

The core team is probably busy with SymfonyCon right now. Please have a little patience. You can require ^2@dev in the meantime, if the missing tag really blocks you.

javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Nov 30, 2019
This PR was merged into the 5.0 branch.

Discussion
----------

Set PHP Version requirement to 7.2.5

Based on the last pull request for 5.0 the minimum PHP Version is 7.2.5
symfony/symfony#34443

That's also the required version in composer.json
https://github.com/symfony/symfony/blob/5.0/composer.json#L19

Commits
-------

3d50d78 Set PHP Version requirement to 7.2.5
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.