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

[ErrorHandler] Reword return type deprecation message#42935

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

Conversation

@wouterj
Copy link
Member

@wouterjwouterj commentedSep 8, 2021
edited
Loading

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

This deprecation is triggered for all classes (not only Symfony-ones), so we cannot be precise on when it will be added. However, we must do a "call to action" to prepare users for Symfony 6 (and potentially other package releases).

I do welcome suggestions for better wordings :) (i.e. is "php return type" clear?)

@wouterj

This comment has been minimized.

@wouterjwouterjforce-pushed thereturn-type-deprecation-message branch from10ea722 to09c84bcCompareSeptember 8, 2021 13:28
@wouterj
Copy link
MemberAuthor

Thanks@derrabus.

I have no clue where the Psalm errors come from...

@derrabus
Copy link
Member

I have no clue where the Psalm errors come from...

Apparently, we need to install PhpUnitBridge before running Psalm. 🤔

@wouterj
Copy link
MemberAuthor

But it doesn't show up in e.g.#42939 . So it must be that the changes in this PR cause Psalm to fail with these errors?

It is triggered for all classes (not only Symfony-ones), so we cannot beprecise on when it will be added. However, we must do a "call to action" toprepare users for Symfony 6 (and potentially other package releases).
@wouterjwouterjforce-pushed thereturn-type-deprecation-message branch from09c84bc tob7d88cfCompareSeptember 10, 2021 08:09
@nicolas-grekas
Copy link
Member

Thank you@wouterj.

@nicolas-grekasnicolas-grekas merged commit1ee9727 intosymfony:5.4Sep 10, 2021
@wouterjwouterj deleted the return-type-deprecation-message branchSeptember 10, 2021 08:27
nicolas-grekas added a commit that referenced this pull requestSep 30, 2021
…r missing return types on 5.3 (chalasr)This PR was merged into the 5.3 branch.Discussion----------[PhpUnitBridge] Fix skipping triggering file override for missing return types on 5.3| Q             | A| ------------- | ---| Branch?       | 5.3| Bug fix?      | yes| New feature?  | no| Deprecations? | -| Tickets       | -| License       | MIT| Doc PR        | -#43241 was merged in 5.3 instead of 5.4, but the deprecation notice was reworded on 5.4:#42935.Commits-------c1034dc [PHPUnitBridge] Fix skipping triggering file override on 5.3
symfony-splitter pushed a commit to symfony/phpunit-bridge that referenced this pull requestSep 30, 2021
…r missing return types on 5.3 (chalasr)This PR was merged into the 5.3 branch.Discussion----------[PhpUnitBridge] Fix skipping triggering file override for missing return types on 5.3| Q             | A| ------------- | ---| Branch?       | 5.3| Bug fix?      | yes| New feature?  | no| Deprecations? | -| Tickets       | -| License       | MIT| Doc PR        | -symfony/symfony#43241 was merged in 5.3 instead of 5.4, but the deprecation notice was reworded on 5.4:symfony/symfony#42935.Commits-------c1034dc940 [PHPUnitBridge] Fix skipping triggering file override on 5.3
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@derrabusderrabusderrabus left review comments

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@wouterj@derrabus@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp