HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/shaping-sar.ru/public_html/wp-content/plugins/cyr2lat/bin/polyfill-mbstring.scoper.php
<?php
/**
 * PHP-Scoper configuration file.
 *
 * @package cyr-to-lat
 */

// phpcs:disable Generic.Commenting.DocComment.MissingShort
/** @noinspection PhpUndefinedClassInspection */
/** @noinspection PhpUndefinedNamespaceInspection */
// phpcs:enable Generic.Commenting.DocComment.MissingShort

declare( strict_types=1 );

use Symfony\Component\Finder\Finder;

/**
 * Dir to scope
 */
const POLYFILL_MBSTRING_BASE_DIR = __DIR__ . '/../vendor/symfony/polyfill-mbstring';

return [
	'finders'       => [
		Finder::create()
			->files()
			->notName( '/LICENSE|.*\\.md|composer\\.json/' )
			->in( POLYFILL_MBSTRING_BASE_DIR ),
	],
	'exclude-files' => [
		POLYFILL_MBSTRING_BASE_DIR . '/Resources/unidata/lowerCase.php',
		POLYFILL_MBSTRING_BASE_DIR . '/Resources/unidata/titleCaseRegexp.php',
		POLYFILL_MBSTRING_BASE_DIR . '/Resources/unidata/upperCase.php',
	],
];