Allow to limit the reporting of deprecations, notices, and warnings to specified directories #5293
Labels
feature/events
Issues related to PHPUnit's event system
feature/test-runner
CLI test runner
type/enhancement
A new idea that should be implemented
Milestone
As of PHPUnit 10.0, the test runner prints
D
,N
, andW
, respectively, for tests that execute code which triggersE_DEPRECATED
,E_USER_DEPRECATED
,E_NOTICE
,E_USER_NOTICE
,E_STRICT
,E_WARNING
, orE_USER_WARNING
events.Detailed information (which notices was triggered where, for instance) is only printed when
--display-deprecations
,--display-notices
, or--display-warnings
is used.The test runner should support limiting the reporting of deprecations, notices, and warnings to "your code", excluding code from directories such as
vendor
, for example.This depends on #5294.
The text was updated successfully, but these errors were encountered: