From a0ff64f4446b68f050f9d18d33b8bcf8d97e6cd3 Mon Sep 17 00:00:00 2001 From: Netkas Date: Sat, 9 Jul 2022 20:03:56 -0400 Subject: [PATCH] Updated namespaces for Symfony's polyfill-ctype & polyfill-mbstring --- src/ncc/ThirdParty/Symfony/polyfill-ctype/Ctype.php | 2 +- src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap.php | 2 +- src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap80.php | 2 +- src/ncc/ThirdParty/Symfony/polyfill-mbstring/Mbstring.php | 2 +- src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap.php | 2 +- src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap80.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ncc/ThirdParty/Symfony/polyfill-ctype/Ctype.php b/src/ncc/ThirdParty/Symfony/polyfill-ctype/Ctype.php index ba75a2c..efebf65 100644 --- a/src/ncc/ThirdParty/Symfony/polyfill-ctype/Ctype.php +++ b/src/ncc/ThirdParty/Symfony/polyfill-ctype/Ctype.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace Symfony\Polyfill\Ctype; +namespace ncc\Symfony\Polyfill\Ctype; /** * Ctype implementation through regex. diff --git a/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap.php b/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap.php index d54524b..1cc060b 100644 --- a/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap.php +++ b/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -use Symfony\Polyfill\Ctype as p; +use ncc\Symfony\Polyfill\Ctype as p; if (\PHP_VERSION_ID >= 80000) { return require __DIR__.'/bootstrap80.php'; diff --git a/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap80.php b/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap80.php index ab2f861..159f9ab 100644 --- a/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap80.php +++ b/src/ncc/ThirdParty/Symfony/polyfill-ctype/bootstrap80.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -use Symfony\Polyfill\Ctype as p; +use ncc\Symfony\Polyfill\Ctype as p; if (!function_exists('ctype_alnum')) { function ctype_alnum(mixed $text): bool { return p\Ctype::ctype_alnum($text); } diff --git a/src/ncc/ThirdParty/Symfony/polyfill-mbstring/Mbstring.php b/src/ncc/ThirdParty/Symfony/polyfill-mbstring/Mbstring.php index 693749f..6b87d91 100644 --- a/src/ncc/ThirdParty/Symfony/polyfill-mbstring/Mbstring.php +++ b/src/ncc/ThirdParty/Symfony/polyfill-mbstring/Mbstring.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace Symfony\Polyfill\Mbstring; +namespace ncc\Symfony\Polyfill\Mbstring; /** * Partial mbstring implementation in PHP, iconv based, UTF-8 centric. diff --git a/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap.php b/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap.php index 1fedd1f..3d1a68e 100644 --- a/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap.php +++ b/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -use Symfony\Polyfill\Mbstring as p; +use ncc\Symfony\Polyfill\Mbstring as p; if (\PHP_VERSION_ID >= 80000) { return require __DIR__.'/bootstrap80.php'; diff --git a/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap80.php b/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap80.php index 82f5ac4..7acfc86 100644 --- a/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap80.php +++ b/src/ncc/ThirdParty/Symfony/polyfill-mbstring/bootstrap80.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -use Symfony\Polyfill\Mbstring as p; +use ncc\Symfony\Polyfill\Mbstring as p; if (!function_exists('mb_convert_encoding')) { function mb_convert_encoding(array|string|null $string, ?string $to_encoding, array|string|null $from_encoding = null): array|string|false { return p\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); }