[TASK] Convert deprecations to exceptions in the tests (#1182)
[TASK] Convert deprecations to exceptions in the tests (#1182)

This will allow us to find code which we will need to update to
changes in PHP or in our dependencies.

Also order the configuration options in the PHPUnit configuration
file.

Fixes #1181
MyIntervals/emogrifier