When updating all dependencies prior to executing tests, the
AbstractExceptionHandlerTest failed due to the instantiation
of an abstract class which didn't comply with the interface
contract of ExceptionHandlerInterface which made the existence
of a cnstructor mandatory.
To fix this issue, the constructor method has been removed
from the interface. This is a non breaking change as removing
methods from interfaces do not result in a need to adjust
concrete implementations.
Also, defining constructors in interfaces is a code smell the
least because interfaces are a way to describe behaviour of
an implementation. How implementations are constructed is a
different issue.
In this case, the interface contained the constructor method
to indicate that an ExceptionHandler needs a constructor as
the current implementations of exception handlers register
themselves via set_exception_handler. This however is not the
scope of interfaces. Interfaces define how an object behaves,
seen from the outside. The interface must only define how an
exception handler handles exceptions, how it is registered
is a different topic.