src/Robo/Commands/Deploy/DeployCommand.php
protected function mungeExcludeLists($file1, $file2) {
    $file1_contents = file($file1);
    $file2_contents = file($file2);
    $merged = array_merge($file1_contents, $file2_contents);
    $merged_without_dups = array_unique($merged);
    file_put_contents($this->excludeFileTemp, $merged_without_dups);

    return $this->excludeFileTemp;
  }
protected function mungeExcludeLists($file1, $file2) {
    $file1_contents = file($file1);
    $file2_contents = file($file2);
    $merged = array_merge($file1_contents, $file2_contents);
    $merged_without_dups = array_unique($merged);
    file_put_contents($this->excludeFileTemp, $merged_without_dups);

    return $this->excludeFileTemp;
  }
protected function mungeExcludeLists ( $ file1 , $ file2 ) { $ file1_contents = file ( $ file1 ) ; $ file2_contents = file ( $ file2 ) ; $ merged = array_merge ( $ file1_contents , $ file2_contents ) ; $ merged_without_dups = array_unique ( $ merged ) ; file_put_contents ( $ this -> excludeFileTemp , $ merged_without_dups ) ; return $ this -> excludeFileTemp ; }
Combines deploy.exclude_file with deploy.exclude_additions_file.

Creates a temporary file containing the combination.

@return string
The filepath to the temporary file containing the combined list.
Combines deploy . exclude_file with deploy . exclude_additions_file .