Instead adding stub like, that can be not available in non @ImpressCMS to give a possibility to with some Facade class configure providing special class that implements interface that let's change censor string provider/functionality:
if (!class_exists('icms_core_DataFilter')) {
class icms_core_DataFilter
{
public static function censorString(string $text): string
{
return $text;
}
}
}
Instead adding stub like, that can be not available in non @ImpressCMS to give a possibility to with some Facade class configure providing special class that implements interface that let's change censor string provider/functionality: