mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-11 03:53:31 +00:00
fc17cc90a9
[Php80] Test for misplaced } on multiline in AnnotationToAttributeRector (#218)
29 lines
993 B
PHP
29 lines
993 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 RectorPrefix20210614\Symfony\Polyfill\Intl\Normalizer as p;
|
|
if (\PHP_VERSION_ID >= 80000) {
|
|
return require __DIR__ . '/bootstrap80.php';
|
|
}
|
|
if (!\function_exists('normalizer_is_normalized')) {
|
|
function normalizer_is_normalized($string, $form = \RectorPrefix20210614\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C)
|
|
{
|
|
return \RectorPrefix20210614\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized($string, $form);
|
|
}
|
|
}
|
|
if (!\function_exists('normalizer_normalize')) {
|
|
function normalizer_normalize($string, $form = \RectorPrefix20210614\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C)
|
|
{
|
|
return \RectorPrefix20210614\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize($string, $form);
|
|
}
|
|
}
|