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

[CI] Ensure that all possible@return are turned into native types#42735

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.0fromnicolas-grekas:force-ret-types
Aug 25, 2021

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedAug 25, 2021
edited
Loading

QA
Branch?6.0
Bug fix?no
New feature?yes
Deprecations?no
Tickets#40154
LicenseMIT
Doc PR-

This PR is the final step to close the topic of return types for Symfony 6.

It replaces#42496 bynot adding return types to the classes/interfaces that break cross-component deps.

It enforces that all@return from 5.4 are turned into native types in 6.0, with the known list of exceptions from#42496.

- sed -i 's/ *"\*\*\/Tests\/"//' composer.json
- composer u -o
- SYMFONY_PATCH_TYPE_DECLARATIONS='force=2' php .github/patch-types.php
- git diff -U2 composer.json src/ >.github/expected-missing-return-types.diff
Copy link
Member

Choose a reason for hiding this comment

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

wouldn't this remove those instructions ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

that's right, we'll catch this by reviews I guess :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@wouterjwouterjAwaiting requested review from wouterjwouterj is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.0

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp