On Wed, Feb 6, 2019 at 7:30 AM Nicolas Grekas <nicolas.gre...@gmail.com> wrote:
> Hi Nikita > > > https://wiki.php.net/rfc/consistent_type_errors > > > Would it make sense and be possible to trigger a deprecation notice in PHP > 7.4? > > That might help the ecosystem move forward in a smooth way instead of > experimenting the failure when actually moving to 8. > > Nicolas > I don't think so. We generally consider a warning a "harder" error than a deprecation (unlike deprecations, they are part of the default error_reporting level), so I don't think replacing or adding a deprecation would do much here. The only way you can be unaware of problems resulting from this change is if you are deliberately suppressing warnings, in which case chances are very good that you are also suppressing deprecations. Nikita