Breaking: #72117 - API change in ExceptionHandlerInterface¶
See Issue #72117
The class Throwable was added in PHP7 as new parent of Exceptions. This leads to the issue that ExceptionHandlers need to change the API of their exception handling method. To support PHP 5.5, 5.6 and 7.0 we need to remove the type hint. It will later be set to Throwable if we only support PHP 7.0 and newer. See https://php.net/manual/en/migration70.incompatible.php
A fatal error will be thrown if you use own ExceptionHandlers implementing TYPO3CMSCoreErrorExceptionHandlerInterface “Fatal error: Declaration of … must be compatible with …”
Installations which use an own ExceptionHandler implementing TYPO3s ExceptionHandlerInterface.
Remove the type hinting in your implementation of ExceptionHandlerInterface. If you switch to PHP 7 you may also get instances from Throwable, so check the API/type hinting of the function were you process the exception.