Skip to content

Commit

Permalink
Merge pull request laravel#240 from laravel-zero/analysis-zdGW6j
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
nunomaduro authored May 13, 2018
2 parents a295b1b + ac6358f commit c03cd9c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Commands/App/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@
namespace LaravelZero\Framework\Commands\App;

use Phar;
use FilesystemIterator;
use UnexpectedValueException;
use Illuminate\Support\Facades\File;
use Symfony\Component\Process\Process;
use LaravelZero\Framework\Commands\Command;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Output\OutputInterface;
use LaravelZero\Framework\Contracts\Providers\Composer;

/**
* This is the Laravel Zero Framework Builder Command implementation.
Expand Down Expand Up @@ -50,7 +47,6 @@ public function handle(): void
{
$this->info('Building the application...');
$this->build($this->input->getArgument('name') ?: static::BUILD_NAME);

}

/**
Expand Down Expand Up @@ -87,12 +83,12 @@ protected function compile(string $name): Builder
{
$this->makeBuildsFolder();

$binDir = dirname(dirname(dirname(__DIR__))) . '/bin';
$binDir = dirname(dirname(dirname(__DIR__))).'/bin';

$process = new Process(
'./box compile'
.' --working-dir=' . base_path()
.' --config=' . base_path('box.json'),
.' --working-dir='.base_path()
.' --config='.base_path('box.json'),
$binDir
);
$process->start();
Expand Down

0 comments on commit c03cd9c

Please sign in to comment.