Running PHPUnit with the Symfony PHPUnit Bridge listener gives me a yellow box "Legacy deprecation notices (10)" in a custom Drupal 8 module. I would like to fix those 10, but am struggling to get the details which they are (e.g. which line of code).
--verbose
to the phpunit command line. SYMFONY_DEPRECATIONS_HELPER
environment variable to 0 or 1, both in Bash and in my phpunit.xml.I have the suspicion that something in my environment reverts my attempts to see details. Nothing seems to change the output.
Versions:
- PHPUnit 4.8.36
- Symfony PHPUnit Bridge 3.2.14
- PHP 7.0.22
Thanks in advance!
If you want more detail, you can try this:
export SYMFONY_DEPRECATIONS_HELPER="/.*/"
before launch phpunit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With