Tomas Votruba c81e0916bc Updated Rector to commit 9f311dca009b4bd6ef7fbc3e57500197db41e50a
9f311dca00 Add failing test fixture for RemoveParentCallWithoutParentRector (#711)
2021-08-19 04:03:26 +00:00

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);
}
}