We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba7779 commit 9823b28Copy full SHA for 9823b28
2 files changed
src/SimpleSAML/Error/ErrorHandler.php
@@ -46,6 +46,7 @@ public function customErrorHandler(
46
E_USER_DEPRECATED => 'User Deprecated',
47
E_NOTICE => 'Notice',
48
E_USER_NOTICE => 'User Notice',
49
+ // E_STRICT has become deprecated in PHP 8.4
50
E_STRICT => 'Runtime Notice',
51
E_WARNING => 'Warning',
52
E_USER_WARNING => 'User Warning',
src/SimpleSAML/Locale/Translate.php
@@ -102,6 +102,7 @@ public static function translateSingularGettext(?string $original): string
102
103
// try attributes.po
104
if ($text === $original) {
105
+ // @TODO: Fix this to be compatible with PHP 8.4 - domain cannot be an empty string
106
$text = TranslatorFunctions::getTranslator()->dgettext("", $original);
107
}
108
0 commit comments