Skip to content

Conversation

driesvints
Copy link
Contributor

Q A
Branch? master
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #...
License MIT
Doc PR symfony/symfony-docs#...

Because HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES is private, using static will fail for any classes extending the Response class. HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES is already properly using self a bit lower so we should do the same thing here.

Introduced in #35748

@nicolas-grekas nicolas-grekas added this to the next milestone Apr 7, 2020
@stof
Copy link
Member

stof commented Apr 7, 2020

should be considered minor when merging rather than bug, as this is a bug in unreleased code only.

@driesvints
Copy link
Contributor Author

Testing failures seem unrelated...

@fabpot
Copy link
Member

fabpot commented Apr 8, 2020

Thank you @driesvints.

@fabpot fabpot merged commit aa44db0 into symfony:master Apr 8, 2020
@fabpot
Copy link
Member

fabpot commented Apr 8, 2020

@stof Merging it as a bug or minor does not change a lot as bug fixes are not listed in the CHANGELOG for new minor versions (only PRS tagged with feature).

@driesvints driesvints deleted the fix-constant-accessor branch April 8, 2020 09:41
@nicolas-grekas nicolas-grekas modified the milestones: next, 5.1 May 4, 2020
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.

7 participants