src/Viserio/Component/Foundation/DataCollector/FilesLoadedCollector.php
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        // Get the files included on load.
        $included = [];

        foreach (\get_included_files() as $file) {
            // Skip the files from Profiler, they are only loaded for Debugging and confuse the output.
            if (\mb_strpos($file, 'vendor/narrowspark/framework/src/Viserio/Profiler') !== false ||
                \mb_strpos($file, 'vendor/viserio/profiler') !== false
            ) {
                continue;
            }

            $included[] = $this->stripBasePath($file);
        }

        $this->included = $included;
    }
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        // Get the files included on load.
        $included = [];

        foreach (\get_included_files() as $file) {
            // Skip the files from Profiler, they are only loaded for Debugging and confuse the output.
            if (\mb_strpos($file, 'vendor/narrowspark/framework/src/Viserio/Profiler') !== false ||
                \mb_strpos($file, 'vendor/viserio/profiler') !== false
            ) {
                continue;
            }

            $included[] = $this->stripBasePath($file);
        }

        $this->included = $included;
    }
{@inheritdoc}