I feel that at some point in time I will have to do either write a long post or create a talk around handling #deprecations in #PHP https://github.com/thephpleague/csv/issues/574#issuecomment-4115906017 I regularly get those tickets and conversation and I feel the community does not know what a deprecation is... am I wrong or am I wrong 🤔
Deprecations BC Break for error_reporting E_ALL · Issue #574 · thephpleague/csv

Bug Report Information Description Version 9.28.0 PHP version 8.4.18 OS Platform Linux error_reporting E_ALL Summary I appreciate your packages and actively use the csv one in particular for its de...

GitHub

@nyamsprod Nah, you're good.

PHP itself doesn't consider adding a deprecation a BC Break but something applications need to be able to handle sanely.

@nyamsprod yes, you're correct. But lots of the community still handles it as an error, I think due to it being also handled by the error handler (and PHP defaults to treating it like an error IIRC?).

Wrote a blogpost a while ago with the same intention as your comment: https://wouterj.nl/2021/11/deprecations-are-not-errors

Deprecations are not like E_ERROR, E_WARNING, and E_NOTICE

Every now and then, there seems to be a lot of fuss in the PHP community about deprecations. In these discussions, deprecations are often discussed as if they are fatal errors. I think that is very wrong. Let’s reduce our expectations of deprecations. It’ll make everyones live much less stressful.

Wouter J
@nyamsprod "am I wrong or am I wrong" is deprecated since 1.2.0 and will be replaced by the "Change my mind" meme.