Fixed PHP 8.4 deprecation (#590)

Fixed deprecation warning for str_getcsv in php 8.4, since the default
parameter will change, by providing the parameter explicitly.

Sidenote: some of the vendor packages still have the same issue with
deprecation warnings when running code maintenance tools. They should be
updated as well.

Closes #587
This commit is contained in:
philipp.nardmann
2025-05-26 06:49:04 +02:00
committed by GitHub
parent 716f668327
commit fd7c1c974c
@@ -171,7 +171,7 @@ class SystemDceSecurityProvider implements DceSecurityProviderInterface
return '';
}
$sid = str_getcsv(trim((string) $response))[1] ?? '';
$sid = str_getcsv(trim((string) $response), escape: '\\')[1] ?? '';
if (($lastHyphen = strrpos($sid, '-')) === false) {
return '';