Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

composer and github have different files #62

Open
Aleksandern opened this issue Oct 27, 2015 · 1 comment
Open

composer and github have different files #62

Aleksandern opened this issue Oct 27, 2015 · 1 comment

Comments

@Aleksandern
Copy link

composer and github have different files

for example:
github - Zipper.php

public function add($pathToAdd, $fileName = null)
{
    if (is_array($pathToAdd)) {
        foreach ($pathToAdd as $dir) {
            $this->add($dir);
        }
    } else if ($this->file->isFile($pathToAdd)) {
        if ($fileName)
            $this->addFile($pathToAdd, $fileName);
        else
            $this->addFile($pathToAdd);
    } else
        $this->addDir($pathToAdd);
    return $this;
}

composer ("chumper/zipper": "0.6.x") - github - Zipper.php

public function add($pathToAdd)
{
    if (is_array($pathToAdd)) {
        foreach ($pathToAdd as $dir) {
            $this->add($dir);
        }
    } else if ($this->file->isFile($pathToAdd)) {
        $this->addFile($pathToAdd);
    } else
        $this->addDir($pathToAdd);
    return $this;
}
@impleri
Copy link

impleri commented Oct 27, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants