Applied fixes from StyleCI

This commit is contained in:
onigoetz
2016-07-27 15:32:51 -04:00
committed by Stéphane Goetz
parent cfc8d30ba2
commit 2314516ce9
52 changed files with 477 additions and 424 deletions

View File

@ -32,7 +32,7 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator
public function getContentTypes()
{
return [
new ContentTypes\Markdown\ContentType($this->daux->getParams())
new ContentTypes\Markdown\ContentType($this->daux->getParams()),
];
}
@ -44,13 +44,13 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator
$params = $this->daux->getParams();
$confluence = $params['confluence'];
$this->prefix = trim($confluence['prefix']) . " ";
$this->prefix = trim($confluence['prefix']) . ' ';
$tree = $this->runAction(
"Generating Tree ...",
'Generating Tree ...',
$output,
$width,
function() use ($params) {
function () use ($params) {
$tree = $this->generateRecursive($this->daux->tree, $params);
$tree['title'] = $this->prefix . $params['title'];
@ -58,7 +58,7 @@ class Generator implements \Todaymade\Daux\Format\Base\Generator
}
);
$output->writeln("Start Publishing...");
$output->writeln('Start Publishing...');
$publisher = new Publisher($confluence);
$publisher->output = $output;