fixes coverage tests to work with latest PHPUnit
fixes cs analyzer fixer