Fix Robofile
This commit is contained in:
parent
a6649465c3
commit
9e6549a9f3
@ -169,7 +169,6 @@ class RoboFile extends \Robo\Tasks
|
|||||||
*/
|
*/
|
||||||
public function prepare()
|
public function prepare()
|
||||||
{
|
{
|
||||||
$this->clean();
|
|
||||||
array_map([$this, '_mkdir'], $this->taskDirs);
|
array_map([$this, '_mkdir'], $this->taskDirs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -248,7 +247,7 @@ class RoboFile extends \Robo\Tasks
|
|||||||
$task = $task->process("php -l {$file}");
|
$task = $task->process("php -l {$file}");
|
||||||
}
|
}
|
||||||
|
|
||||||
$task->addToCollection($collection);
|
$collection->add($task);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user