Finally fixed project directory for Build::writeSshKey and
Build::writeSshWrapper (Now files in system temp directory). Issue #165.
This commit is contained in:
parent
7747193c89
commit
55bebf05dc
3 changed files with 10 additions and 14 deletions
|
|
@ -99,7 +99,7 @@ class PhpCpd extends Plugin implements ZeroConfigPluginInterface
|
|||
|
||||
$phpcpd = $this->findBinary('phpcpd');
|
||||
|
||||
$tmpFileName = tempnam('/tmp', 'phpcpd');
|
||||
$tmpFileName = tempnam(sys_get_temp_dir(), 'phpcpd_');
|
||||
|
||||
$cmd = $phpcpd . ' --log-pmd "%s" %s "%s"';
|
||||
$success = $this->builder->executeCommand($cmd, $tmpFileName, $ignore, $this->path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue