* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\String; @trigger_error('The CharacterCleaner is deprecated since version 8.0.0. Its use is not required.', E_USER_DEPRECATED); class CharacterCleaner { /** * Delete unicode class from regular expression patterns. * * @deprecated Since 8.0.0 and will be removed in the next major. * * @param string $pattern * * @return string pattern */ public function cleanNonUnicodeSupport($pattern) { @trigger_error( sprintf( '%s is deprecated since version 8.0.0. Its use is not required.', __METHOD__ ), E_USER_DEPRECATED ); return $pattern; } }