phpunit: PHP errors, notices, etc. cannot be tested anymore with PHPUnit 8.3

Q A
PHPUnit version 8.3.0
PHP version N/A
Installation Method Composer / PHAR

Class PHPUnit\Framework\Error\Error has been removed in 8.3.0.

The removed class was marked as @internal but the Testing PHP Errors mentions uses of that class. So what’s the alternative?

Docs for 8.3 don’t seem to be up yet.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

PHPUnit 8.3.2 has been released with a fix for this.