search

Home  >  Q&A  >  body text

php - How to reduce Laravel artisan error level?

php artisan test

My customized console will report errors if there are notice and will no longer be executed.
How to reduce error reporting so that only error is reported?

伊谢尔伦伊谢尔伦2789 days ago729

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-06-05 11:10:26

    Framework code location:IlluminateFoundationBootstrapHandleExceptions::bootstrap()

    Currently, there is no way to change the configuration. Local development can directly modify the value to see the effect. But the best solution is to fix your notice error! ! !

    reply
    0
  • Cancelreply