private function resolveFiles()
    {
        $this->files = [];

        if ($this->isHeadValid()) {
            $cmd         = new GetStagedFiles($this->repo->getRoot());
            $formatter   = new FilterByStatus(['A', 'M']);
            $result      = $this->runner->run($cmd, $formatter);
            $this->files = $result->getFormattedOutput();
        }
    }
private function resolveFiles()
    {
        $this->files = [];

        if ($this->isHeadValid()) {
            $cmd         = new GetStagedFiles($this->repo->getRoot());
            $formatter   = new FilterByStatus(['A', 'M']);
            $result      = $this->runner->run($cmd, $formatter);
            $this->files = $result->getFormattedOutput();
        }
    }
private function resolveFiles ( ) { $ this -> files = [ ] ; if ( $ this -> isHeadValid ( ) ) { $ cmd = new GetStagedFiles ( $ this -> repo -> getRoot ( ) ) ; $ formatter = new FilterByStatus ( [ 'A' , 'M' ] ) ; $ result = $ this -> runner -> run ( $ cmd , $ formatter ) ; $ this -> files = $ result -> getFormattedOutput ( ) ; } }
Resolve the list of files that changed.
Resolve the list of files that changed .