cors-middleware icon indicating copy to clipboard operation
cors-middleware copied to clipboard

php 8.4 - deprecated warnings

Open wdmeest opened this issue 11 months ago • 0 comments

With the new PHP 8.4 version comes "Implicitly nullable parameter declarations deprecated" which causes alot of warnings. Is it possible to fix the deprecated warnings?

Example: Deprecated: Tuupola\Middleware\CorsMiddleware::logger(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/tuupola/cors-middleware/src/CorsMiddleware.php on line 372

wdmeest avatar Dec 11 '24 13:12 wdmeest