chore: update dependencies, chore: pint

This commit is contained in:
Benjamin Nussbaum 2025-08-27 11:25:46 +02:00
parent fb506fa846
commit 0ffc0acc3f
7 changed files with 43 additions and 40 deletions

View file

@ -46,7 +46,7 @@ class OidcProvider extends AbstractProvider implements ProviderInterface
if (str_ends_with($endpoint, '/.well-known/openid-configuration')) {
$this->baseUrl = str_replace('/.well-known/openid-configuration', '', $endpoint);
} else {
$this->baseUrl = rtrim($endpoint, '/');
$this->baseUrl = mb_rtrim($endpoint, '/');
}
$this->scopes = $scopes ?: ['openid', 'profile', 'email'];

View file

@ -144,7 +144,7 @@ class PluginExportService
$markup = preg_replace('/^<div class="view view--\{\{ size \}\}">\s*/', '', $markup);
$markup = preg_replace('/\s*<\/div>\s*$/', '', $markup);
return trim($markup);
return mb_trim($markup);
}
/**