src/ExcludeFilePlugin.php
private function parseExcludedFiles(array $paths, $vendorPath)
    {
        foreach ($paths as &$path) {
            $path = preg_replace('{/+}', '/', trim(strtr($path, '\\', '/'), '/'));
            $path = $vendorPath . '/' . $path;
        }

        return $paths;
    }
private function parseExcludedFiles(array $paths, $vendorPath)
    {
        foreach ($paths as &$path) {
            $path = preg_replace('{/+}', '/', trim(strtr($path, '\\', '/'), '/'));
            $path = $vendorPath . '/' . $path;
        }

        return $paths;
    }
private function parseExcludedFiles ( array $ paths , $ vendorPath ) { foreach ( $ paths as & $ path ) { $ path = preg_replace ( '{/+}' , '/' , trim ( strtr ( $ path , '\\' , '/' ) , '/' ) ) ; $ path = $ vendorPath . '/' . $ path ; } return $ paths ; }
Prepends the vendor directory to each path in "extra.exclude-from-files".

@param  string[] $paths      Array of paths absolute from the vendor directory.
@param  string   $vendorPath The directory for installed dependencies.
@return array    Retuns the list of excluded files, prepended with the vendor directory.
Prepends the vendor directory to each path in extra . exclude - from - files .