See More

* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Util; /** * @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 <<