diff --git a/Neos.Neos/Classes/Utility/User.php b/Neos.Neos/Classes/Utility/User.php index 1d7f0840544..9ecaaf1d110 100644 --- a/Neos.Neos/Classes/Utility/User.php +++ b/Neos.Neos/Classes/Utility/User.php @@ -6,12 +6,15 @@ /** * Utility functions for dealing with users in the Content Repository. + * + * @deprecated with Neos 9.0 please use the respective replacements instead. */ class User { /** * Constructs a personal workspace name for the user with the given username. * + * @deprecated with Neos 9.0 please use {@see WorkspaceNameBuilder::fromAccountIdentifier} instead. * @param string $username * @return string */ @@ -23,6 +26,7 @@ public static function getPersonalWorkspaceNameForUsername($username): string /** * Will reduce the username to ascii alphabet and numbers. * + * @deprecated with Neos 9.0 please implement your own slug genration. You might also want to look into transliteration with {@see \Behat\Transliterator\Transliterator}. * @param string $username * @return string */