-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add CI check ensuring interfaces have return types #49439
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5b1a263
to
8386d05
Compare
nicolas-grekas
added a commit
that referenced
this pull request
Mar 6, 2023
…urn types (wouterj) This PR was merged into the 6.3 branch. Discussion ---------- [HttpFoundation][HttpKernel] Add missing void PHPdoc return types | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no (void return types don't get a deprecation notice) | Tickets | Fix part of #47551 , ref #49439 | License | MIT | Doc PR | - Commits ------- 9bb72d7 [HttpFoundation][HttpKernel] Add missing void PHPdoc return types
04248ce
to
fcb37b3
Compare
48541fd
to
d7ed67c
Compare
d7ed67c
to
f312232
Compare
f312232
to
b8ade5a
Compare
b8ade5a
to
ae8554b
Compare
ae8554b
to
2d98e28
Compare
fabpot
approved these changes
Apr 22, 2023
2d98e28
to
29ea860
Compare
Thank you @wouterj. |
wouterj
added a commit
that referenced
this pull request
Apr 22, 2023
This PR was merged into the 6.3 branch. Discussion ---------- [Serializer] Fix tests | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Add some missing void return types to test dummies. This fixes the tests broken by #49439 Commits ------- e1faaae [Serializer] Fix tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a CI check to enforce all methods on an interface to have a return type (native or PHPdoc).
For now, this is a living version of the list I published in #47551. I'll rebase this PR whenever we add more types.