punktDe / sentry-flow

Sentry client package for the Flow framework
Other
4 stars 2 forks source link

Fatal error after composer update #16

Closed Biiru closed 2 years ago

Biiru commented 2 years ago

Hello,

I just did a composer update from my Neos (7.3.5) project and I have this error from this package

`PHP Fatal error: Uncaught Neos\Flow\Error\Exception: Warning: Declaration of PunktDe\Sentry\Flow\Handler\ExceptionHandlerTrait::echoExceptionCli(Throwable $exception): void should be compatible with Neos\Flow\Error\AbstractExceptionHandler::echoExceptionCli(Throwable $exception, bool $exceptionWasLogged) in /var/www/gabwebcms.alloboissons.ch/Packages/Application/PunktDe.Sentry.Flow/Classes/Handler/DebugExceptionHandler.php line 27 in /var/www/gabwebcms.alloboissons.ch/Packages/Framework/Neos.Flow/Classes/Error/ErrorHandler.php:81 Stack trace:

0 /var/www/gabwebcms.alloboissons.ch/Packages/Application/PunktDe.Sentry.Flow/Classes/Handler/DebugExceptionHandler.php(13): Neos\Flow\Error\ErrorHandler->handleError()

1 /var/www/gabwebcms.alloboissons.ch/Packages/Libraries/composer/ClassLoader.php(571): include('/var/www/gabweb...')

2 /var/www/gabwebcms.alloboissons.ch/Packages/Libraries/composer/ClassLoader.php(428): Composer\Autoload\includeFile()

3 [internal function]: Composer\Autoload\ClassLoader->loadClass()

4 [internal func in /var/www/gabwebcms.alloboissons.ch/Packages/Framework/Neos.Flow/Classes/Error/ErrorHandler.php on line 81

`

There is the package list updated, maybe it can help

Thanks a lot for your time and if I can help, don't hesitate !

daniellienert commented 2 years ago

@Biiru - thanks for reporting. Should be fixed with the latest release.