Skip to content

Fix constant accessor #36379

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
Apr 8, 2020
Merged

Fix constant accessor #36379

merged 1 commit into from
Apr 8, 2020

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