Skip to content

Replace Request::getContentType with Request::getContentTypeFormat if available #5325

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
Jan 12, 2023
Merged

Replace Request::getContentType with Request::getContentTypeFormat if available #5325

merged 1 commit into from
Jan 12, 2023

Conversation

MatTheCat
Copy link
Contributor

Q A
Branch? 2.7
Tickets N/A
License MIT
Doc PR N/A

Follows symfony/symfony#45034

Unverified

No user is associated with the committer email.
…eFormat` if available
@MatTheCat MatTheCat changed the base branch from main to 2.7 January 12, 2023 08:12
@soyuka soyuka merged commit ff02d4e into api-platform:2.7 Jan 12, 2023
@soyuka
Copy link
Member

soyuka commented Jan 12, 2023

Thanks @MatTheCat !

@MatTheCat MatTheCat deleted the request-getcontenttypeformat branch January 12, 2023 08:49
soyuka added a commit that referenced this pull request Jan 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* chore: switch from deprecated “loose” email validation mode to “html5” (#5326)

* chore: replace `Request::getContentType` with `Request::getContentTypeFormat` if available (#5325)

* fix: Set twig.exception_listener as service parent (#5059)

* fix(symfony): remove dependency on potentially inexistant `exception_listener` service

* define argument keys on service redefinition

* fix: avoid unneeded use of covariance to keep compatibility with PHP < 7.4 (#5327)

* fix(symfony): http cache wrong metadata argument

* chore: changelog 2.7.6

Co-authored-by: Mathieu <mathieu.lechat@les-tilleuls.coop>
Co-authored-by: Paul Andrieux <paul@appventus.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants