Fixes #5869 - More aggressive phpunir error reporting levels

WIP making PR for Travis to run