- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 72
 
Description
One of the popular strategies for marking deprecated code in libraries is to use @trigger_error('...', E_USER_DEPRECATED) call, see:
The main advantage and also its main disadvantage is that this method is by default side-effect free. You need to have custom error handler to collect and track usage of the deprecated code.
For PHPUnit there is symfony/phpunit-bridge that has quite an extensive feature set for detecting and tracking the deprecations ( https://symfony.com/doc/current/components/phpunit_bridge.html ).
I would like to add at least some basic support for detecting and tracking these deprecations to Nette Tester. Before I start working on any PRs, I would like to discuss, if this even is something that would be accepted. And if yes, what kind of support should I aim for in the first iteration?