I'm accustomed to seeing such old-style error behavior wrapped by exceptions as much as possible, so I'm -1 on the idea.
Working Group / others, thoughts? CRB *about.me/ashnazg <http://about.me/ashnazg>* On Mon, Nov 26, 2018 at 5:00 AM Magnar Ovedal Myrtveit <[email protected]> wrote: > Would it be interesting to include a @triggers tag in PSR-19? This would > be used with code that may call trigger_error() or other code that may > trigger errors, such as filesize(), mime_content_type(), filemtime(), > md5_file(), pspell_new(), etc. (There are really many!) > > Examples would be: > > @triggers E_ERROR Some text explaining what might trigger the error. > > @triggers E_WARNING Some text explaining what might trigger the warning. > > -- > You received this message because you are subscribed to the Google Groups > "PHP Framework Interoperability Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/php-fig/a044b2ab-a22a-4385-9a26-95c2fc1ac121%40googlegroups.com > <https://groups.google.com/d/msgid/php-fig/a044b2ab-a22a-4385-9a26-95c2fc1ac121%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CANsgjnujHCAJd7rSvMYXX7az-8zM-%3DFJONz3JMJW44P3G5D0Pw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
