- Issue created by @mglaman
I noticed the following errors in our tests which use EntityToJsonApi
/app/docroot/core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php:24
stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated
/app/docroot/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php:85
stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated
Turns out the register basic HTTP kernel doesn't call \Drupal\Core\StackMiddleware\NegotiationMiddleware which is how Drupal registers content types. So all responses from the basic kernel have null
as the content type.
Active
3.0
Code