芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/phpunit/phpunit/src/Util/XdebugFilterScriptGenerator.php
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Util; use const DIRECTORY_SEPARATOR; use function addslashes; use function array_map; use function implode; use function is_string; use function realpath; use function sprintf; /** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class XdebugFilterScriptGenerator { public function generate(array $filterData): string { $items = $this->getWhitelistItems($filterData); $files = array_map( static function ($item) { return sprintf( " '%s'", $item ); }, $items ); $files = implode(",\n", $files); return <<