paraunit
paraunit copied to clipboard
Deprecation warnings in >2.0
The class src/Logs/TestHook/Deprecation.php
implements PHPUnit's \PHPUnit\Event\Test\DeprecationTriggeredSubscriber
.
This means that every time a deprecation is triggered in PHPUnit tests, it is reported by paraunit. (In our case, it also includes deprecations triggered by vendors' code usage / dependencies). But PHPUnit itself doesn't do this kind of reporting by default.
Perhaps I've missed an important setting somewhere. Is it possible to suppress these deprecations? It becomes a bit difficult to see the results of our rather large test suites when there are so many deprecations being reported.
If it's helpful, I created a repository with minimal packages to demonstrate the deprecations with paraunit and the lack thereof in phpunit.
https://github.com/evang522/demo-paraunit-deprecations
Thanks!