Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Add native return types to fix compat with v7#50890

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:6.4fromnicolas-grekas:compat-v7
Jul 6, 2023

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?6.4
Bug fix?no
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

@nicolas-grekasnicolas-grekasforce-pushed thecompat-v7 branch 3 times, most recently frome7c4be9 to133bb13CompareJuly 5, 2023 14:43
@nicolas-grekasnicolas-grekasforce-pushed thecompat-v7 branch 6 times, most recently frome9fef32 to404ea2fCompareJuly 6, 2023 06:22
Copy link
MemberAuthor

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

All green, PR is ready.

What this does is adding a few return types on some selected classes on 6.4.
Technically, this is a BC break, but I think the patched methods have a very low chance of being overridden in a child class.

Note that while preparing this PR, I reverted some native return types on 7.0 as well, see full list in:
https://github.com/symfony/symfony/blob/7.0/.github/expected-missing-return-types.diff

Alternatively to this PR, we could revert more native return types on 7.0, and we could also declare v6 and v7 as being incompatible for the related packages. This is a matter of finding the sweet spot between those approaches, and this PR is my proposal :)

I'm merging it now to unlock the CI, but feel free to discuss the topic even after merge, we still have a few months to adjust this before the release.

@nicolas-grekasnicolas-grekas merged commit20cd059 intosymfony:6.4Jul 6, 2023
@nicolas-grekasnicolas-grekas deleted the compat-v7 branchJuly 6, 2023 07:15
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@derrabusderrabusderrabus left review comments

@lyrixxlyrixxAwaiting requested review from lyrixx

@wouterjwouterjAwaiting requested review from wouterj

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@xabbuhxabbuhAwaiting requested review from xabbuh

@ycerutoycerutoAwaiting requested review from yceruto

@dunglasdunglasAwaiting requested review from dunglas

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@stof@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp