Fixes #5869 - More aggressive phpunit error reporting levels

WIP making PR for Travis to run