Package: php-slim
Version: 3.12.5-1
Severity: important
Control: affects -1 + src:php-di-slim-bridge
Dear maintainers,
while building php-di-slim-bridge from source, PHPUnit reports the
following when called with the option '--display-deprecation':
10 tests triggered 1 PHP deprecation:
1) /usr/share/php/Slim/Http/Uri.php:719
preg_replace_callback(): Passing null to parameter #3 ($subject) of type
array|string is deprecated
The reason is basically that parse_url() returns null instead of an
empty string in Uri::createFromEnvironment() if the requested part of
the URL does not exist. This issue has already been fixed for Slim 4
in slim/psr7.
I am going to provide a patch once I have received a ticket number.
Best regards,
Thomas Uhle