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

History 25

  1. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-02-24T19:35:07+00:00" > 02/24/26, 19:35 </span>

    Applied in changeset commit:b6863913dfa781acee8665e310ac249bbf0bfe3b.