Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Symfony 6 to PHP 8 #41282

Merged
merged 1 commit into from May 19, 2021
Merged

Bump Symfony 6 to PHP 8 #41282

merged 1 commit into from May 19, 2021

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 6.0
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

馃帀

@carsonbot
Copy link

Hey!

But you have made this PR towards a branch that is not maintained anymore. :/
Could you update the PR base branch to target one of these branches instead? 4.4, 5.2.

Cheers!

Carsonbot

@fabpot
Copy link
Member

fabpot commented May 19, 2021

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 675590e into symfony:6.0 May 19, 2021
@nicolas-grekas nicolas-grekas deleted the bump6 branch May 19, 2021 13:46
.travis.yml Show resolved Hide resolved
@hacfi
Copy link
Contributor

hacfi commented May 20, 2021

Just a note: there is an issue with PHP 8.0.5 and Postgresql which is why 8.0.6 was released.

@nicolas-grekas
Copy link
Member Author

For the record, 8.0.2 was chosen as the minimum because that's the version that runs on Travis.

@derrabus
Copy link
Member

8.0.2 is a reasonable requirement. We can still fine tune this before November, but a Postgres compat issue is not enough to block 8.0.5 imho.

@hacfi
Copy link
Contributor

hacfi commented May 20, 2021

I'm also fine with 8.0.2. Just wanted to note this in case someone is setting up a project with 8.0.5 and then gets errors (happened to me recently).

@stof
Copy link
Member

stof commented May 20, 2021

Well, in any case, the recommended version is always the uptodate patch release, to benefit from PHP bugfixes. This constraint is about the minimum version, not the recommended one.

@@ -216,8 +216,6 @@ jobs:

- name: Install dependencies
run: |
echo "::group::fake PHP version"
composer config platform.php 8.0.99
Copy link
Member

Choose a reason for hiding this comment

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

We still need this, actually.

Copy link
Member

Choose a reason for hiding this comment

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

nicolas-grekas added a commit that referenced this pull request May 21, 2021
This PR was merged into the 6.0 branch.

Discussion
----------

Fake PHP version on PHP nightly builds

| Q             | A
| ------------- | ---
| Branch?       | 6.0
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

These two lines have been removed in #41282. Unfortunately, we still need them because people set upper boundaries in their composer.json. Without lying to composer, we cannot install dependencies on PHP 8.1 (yet).

Commits
-------

6d6ea6d Fake PHP version on PHP nightly builds
@fabpot fabpot mentioned this pull request Nov 5, 2021
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.

None yet

6 participants