symfony check phpunit version code example
Example: phpunit bridge vs phpunit
The PHPUnit Bridge provides utilities to report legacy tests
and usage of deprecated code
and helpers for mocking native functions related to time,
DNS and class existence.