User tests: Successful: Unsuccessful:
Based on Symfony's PhpUnit bridge, this handler will catch E_USER_DEPRECATED and E_DEPRECATED messages triggered while running the unit test suite and display them at the end of the test output. This removes the need to silence deprecation messages in the unit test bootstrap and gives contributors an idea of deprecated code uses either in the core PHP platform or libraries.
Implementing this exposed a call to a non-static method in a static manner which only affects the unit test suite, this is also corrected.
E_STRICT
and E_USER_DEPRECATED
messages are no longer ignored\Composer\Autoload\ClassLoader
is updated to the latest version since composer update phpunit/phpunit
was runThe below sample output comes from a Vagrant box running PHP 7:
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-14 09:33:49 |
Closed_By | ⇒ | Bakual | |
Build | 3.5-dev | ⇒ | staging |
Labels |
Added:
?
|
Labels |
Added:
?
|
Milestone |
Added: |