shlinkio / shlink

The definitive self-hosted URL shortener
https://shlink.io
MIT License
3.23k stars 259 forks source link

Expressive 2.2 causes failures by triggering E_USER_DEPRECATED errors #126

Closed weirdan closed 6 years ago

weirdan commented 6 years ago

Since Zend Expressive 2.2 (which is transitional release to get people prepared for Expressive 3.0) if error_reporting includes E_USER_DEPRECATED (and it's set to E_ALL, which does, at least in development mode), shlink will fail some tests and all http requests. Shlink allows any 2.* version of Zend Expressive, including 2.2. You can trigger a build on travis to see test failures for yourself.

There are several options:

acelaya commented 6 years ago

I see you have created two pull requests. I appreciate that :)

Let me take a look at them later today. I'll merge one of them.

Also, I plan to update to expressive 3 in the next days, but there's one dependency which needs to be checked first.

acelaya commented 6 years ago

Closed via #128