Change error reporting to not flag on deprecated

See https://github.com/sebastianbergmann/phpunit/commit/a4835d134439c02a9e648e82a2cdfddb22e26bde
Merge pull request #4271 from wilsonge/patch-24

Change error reporting to not flag on E_USER_DEPRECATED in tests (fixes travis for now)