set php error reporting to pass tests