Skip to content

Commit

Permalink
Merge pull request #10 from acacha/analysis-qMem0l
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
acacha committed Sep 17, 2016
2 parents 83aab4b + 4a34ce9 commit e0759a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions src/Console/InstallCommand.php
Expand Up @@ -98,17 +98,19 @@ protected function execute(InputInterface $input, OutputInterface $output)
$llum = $this->findLlum();
$package = $this->getPackageName();
$output->writeln('<info>'.$llum.' package '.$this->getDevOption()." $package".'</info>');
passthru($llum.' package '.$this->getDevOption(). ' ' . $package);
passthru($llum.' package '.$this->getDevOption().' '.$package);
}
}

/**
* Get llum package name
* Get llum package name.
*/
private function getPackageName() {
if (! $this->askBeforeOverwrite) {
private function getPackageName()
{
if (!$this->askBeforeOverwrite) {
return $this->useVendorPublish ? $package = 'AdminLTEVendorPublish' : $package = 'AdminLTE';
}

return $this->useVendorPublish ? $package = 'AdminLTEVendorPublishDontForce' : $package = 'AdminLTEDontForce';
}

Expand Down Expand Up @@ -205,6 +207,7 @@ public function getUserHomePath()
*
* @return string
*/

/**
* @return string
*/
Expand All @@ -218,6 +221,7 @@ private function getDevOption()
*
* @return string
*/

/**
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/InstallCommandTest.php
Expand Up @@ -22,7 +22,7 @@ public function testExecute()
$command = $application->find('install');
$commandTester = new CommandTester($command);
$commandTester->execute([
'command' => $command->getName()
'command' => $command->getName(),
]);

$this->assertTrue(
Expand Down

0 comments on commit e0759a5

Please sign in to comment.