Issue Task Closed

#109045Disallow #[WithoutErrorHandler] attribute

Elias Häußler 02/20/26, 20:27 updated 03/31/26, 08:11

Description

Usage of this attribute completely disables PHPUnit’s error handler, which is not sufficient in nearly all cases. Instead, more specific attributes like #[IgnoreDeprecations] should be used instead.

Reviews 1