franzliedke / whoops-middleware

PSR-15 compatible middleware for Whoops, the pretty error handler
MIT License
28 stars 10 forks source link

Use response factory #13

Closed MrHash closed 3 years ago

MrHash commented 4 years ago

Replaced explicit Zend Diactoros requirement with response factory. Updated tests to use mocks instead of any impl.

MrHash commented 4 years ago

References #12

MrHash commented 4 years ago

Reverted tests and switched to Laminas for dev mode since Zend is abandoned. Sorry the commits are a bit messy.

franzliedke commented 3 years ago

I extracted the relevant commit onto master now - went with PHP 7.2, as other dependencies hardly gave me a choice here. :confused:

Thanks so much! This has been released as 2.0.