minor #37831 stop using deprecated PHPUnit APIs (xabbuh)
minor #37831 stop using deprecated PHPUnit APIs (xabbuh)

This PR was merged into the 4.4 branch.

Discussion
----------

stop using deprecated PHPUnit APIs

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

3d209c46e4 stop using deprecated PHPUnit APIs

symfony/Translation