Is there a way to have Behat NOT fail on PHP Notice errors?

前端 未结 2 1704
野的像风
野的像风 2021-01-01 03:40

I understand that it is a best practice to have all variables defined and to check for array indexes before evaluating. However, I\'m trying to run some tests on new functio

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 04:20

    For Behat 3 see my question and answer: How to run Behat tests when there are errors of level E_USER_DEPRECATED

    BEHAT_ERROR_REPORTING is dropped in favor of a configuration value.

提交回复
热议问题