Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Jan 11, 2024

Q A
Branch? 7.1
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

@carsonbot carsonbot added this to the 7.1 milestone Jan 11, 2024
@OskarStark
Copy link
Contributor

As this hardens the codebase, I am for target branch 5.4

@xabbuh xabbuh force-pushed the request-stack-mock branch from 59db2b1 to 527ef4a Compare January 11, 2024 07:45
Copy link
Member

@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.

Thanks!
This is not a bugfix so 7.1 is correct to me. Also the code is different in 5.4 so moving the patch to it would double the effort.

@OskarStark OskarStark changed the title do not mock the RequestStack class do not mock RequestStack in tests Jan 11, 2024
@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 34915f6 into symfony:7.1 Jan 11, 2024
@xabbuh xabbuh deleted the request-stack-mock branch January 11, 2024 08:25
xabbuh added a commit that referenced this pull request Jan 12, 2024
This PR was merged into the 7.1 branch.

Discussion
----------

[Security] do not mock the RequestStack class

| Q             | A
| ------------- | ---
| Branch?       | 7.1
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

I forgot to push these changes for #53500

Commits
-------

88e519d do not mock the RequestStack class
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.

4 participants