On 15/11/2021 12:03, Michał Marcin Brzuchalski wrote:
Personally, I think that given feature users would add whole vendor directory,
since the vendor/package directory is not fixed,
may change - which in essence may go out of control and silently invoke a waterfall of unexpected errors.


I don't understand your concern; possibly you have misunderstood my suggestion?

I'm saying that a user who wants to see if they are using deprecated features in their own code would want to turn on E_DEPRECATED in their main error_reporting, but turn it OFF for all third-party code. Most of the time, deprecation notices in third-party code are not useful to users: they are not responsible for fixing them in advance, and when actually switching major PHP version, they may have to switch to a different major release of the library before testing anyway.

Regards,

--
Rowan Tommins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to