mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-19 15:45:43 +01:00
29 lines
1016 B
PHP
29 lines
1016 B
PHP
<?php
|
|
|
|
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
use RectorPrefix20210819\Symfony\Polyfill\Intl\Normalizer as p;
|
|
if (!\function_exists('normalizer_is_normalized')) {
|
|
function normalizer_is_normalized(?string $string, ?int $form = \RectorPrefix20210819\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) : bool
|
|
{
|
|
return \RectorPrefix20210819\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized((string) $string, (int) $form);
|
|
}
|
|
}
|
|
if (!\function_exists('normalizer_normalize')) {
|
|
/**
|
|
* @return string|bool
|
|
*/
|
|
function normalizer_normalize(?string $string, ?int $form = \RectorPrefix20210819\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C)
|
|
{
|
|
return \RectorPrefix20210819\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize((string) $string, (int) $form);
|
|
}
|
|
}
|