zeuxisoo / php-slim-whoops

PHP whoops error on slim framework
131 stars 10 forks source link

getContentCharset() is broking. branch 0.7.x #25

Closed kaxias closed 5 years ago

kaxias commented 5 years ago

https://github.com/zeuxisoo/php-slim-whoops/blob/0.7.x/src/Zeuxisoo/Whoops/Slim/WhoopsGuard.php#L52

getContentCharset() is broked or it is been removed. I'm not sure.

sorry for bad English.

zeuxisoo commented 5 years ago

Sorry for the late reply.

The getContentCharset method comes from Slim-Http Decorators. This package is recommended to use in Slim Framework, and this method is not part of the PSR-7 standard reference to Slim-Http Source

Please try the latest 0.7.x version again. It removed this requirement.