Makes ThrowMatcher show the full error message if the thrown exception is an instance of Error.
Makes ThrowMatcher show the full error message if the thrown exception is an instance of Error.

Useful since PHP 7's Error class is thrown for a number of problems and it's useful for developers to see the full error message for Error instances for debugging purposes.

pamil/phpspec,Harrisonbro/phpspec,pamil/phpspec,carlosV2/phpspec,Harrisonbro/phpspec,carlosV2/phpspec