protected function setPluginHeaders(string $name, array $headers)
    {
        $this->info('Set plugin headers...');

        $path = $this->path($name.'/plugin-name.php');
        $handle = fopen($path, 'r');
        $content = [];

        while (($line = fgets($handle)) !== false) {
            $content[] = $this->parseLine($line, $headers);
        }

        fclose($handle);

        $this->files->put($path, implode('', $content), true);
    }