parent
98226e5f82
commit
18880e8c21
|
@ -79,7 +79,7 @@ class Pdepend extends Plugin
|
|||
public function execute()
|
||||
{
|
||||
if (!file_exists($this->location)) {
|
||||
mkdir($this->location, 0777, true);
|
||||
mkdir($this->location, (0777 & ~umask()), true);
|
||||
}
|
||||
if (!is_writable($this->location)) {
|
||||
throw new \Exception(sprintf('The location %s is not writable or does not exist.', $this->location));
|
||||
|
|
|
@ -148,7 +148,7 @@ class PhpUnit extends Plugin implements ZeroConfigPluginInterface
|
|||
}
|
||||
|
||||
if (!file_exists($this->location) && $options->getOption('coverage')) {
|
||||
mkdir($this->location, 0777, true);
|
||||
mkdir($this->location, (0777 & ~umask()), true);
|
||||
}
|
||||
|
||||
$arguments = $this->builder->interpolate($options->buildArgumentString());
|
||||
|
|
Loading…
Reference in a new issue