Skip to content

[Security] add return types #42513

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 1 commit into from
Aug 20, 2021

Conversation

nicolas-grekas
Copy link
Member

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

Extracted from #42496

Not all possible return types are patched for the attached components, to save breaking BC cross-components, for now at least.

@wouterj
Copy link
Member

wouterj commented Aug 12, 2021

If I'm correct, these changes are all automated (correct me if I'm wrong). In that case, I would appreciate it if this could be merged after #41613, to avoid merge conflicts (I'm currently working on the last 5.4 PR that is blocking the merge).

@nicolas-grekas
Copy link
Member Author

Works for me, I'll rebase after.
(Changes are semi-automated)

@StaffNowa
Copy link
Contributor

By the way fabbot not happy 😃😊

@nicolas-grekas nicolas-grekas force-pushed the return-types-sec branch 8 times, most recently from 3ad6d62 to 077a238 Compare August 18, 2021 13:21
Copy link
Member Author

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

/cc @wouterj here are some comments for you I guess (+ review welcome of course :) )

@nicolas-grekas nicolas-grekas force-pushed the return-types-sec branch 4 times, most recently from d003dfa to b71fa54 Compare August 20, 2021 09:48
nicolas-grekas added a commit that referenced this pull request Aug 20, 2021
…ekas)

This PR was merged into the 5.4 branch.

Discussion
----------

[Security] fix restrictive return annotation

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

See #42513 (comment) for rationale.

Commits
-------

974e4ba [Security] fix restrictive return annotation
symfony-splitter pushed a commit to symfony/security-http that referenced this pull request Aug 20, 2021
…ekas)

This PR was merged into the 5.4 branch.

Discussion
----------

[Security] fix restrictive return annotation

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

See symfony/symfony#42513 (comment) for rationale.

Commits
-------

974e4ba23d [Security] fix restrictive return annotation
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.

5 participants