Skip to content

Commit

Permalink
Apply fixes from StyleCI (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
eFrane authored Nov 23, 2017
1 parent 4d09a46 commit fe687c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/Http/Controllers/ValidatorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

class ValidatorController extends Controller
{
public function validationForm() {
public function validationForm()
{
return view('developers.validation.form');
}

Expand Down
1 change: 0 additions & 1 deletion app/Http/Requests/ValidationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Http\Requests;

use GuzzleHttp\Client;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Exception\RequestException;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Foundation\Http\FormRequest;
Expand Down
6 changes: 3 additions & 3 deletions lib/Spec/Jobs/ValidatorRunJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use App\Jobs\Job;
use EFrane\HubSync\Repository;
use Illuminate\Contracts\Logging\Log;
use Illuminate\Contracts\Filesystem\Filesystem;
use Illuminate\Contracts\Logging\Log;
use Symfony\Component\Process\Process;

class ValidatorRunJob extends Job
Expand Down Expand Up @@ -55,13 +55,13 @@ public function handle(Log $log, Filesystem $fs)

$validator = new Process($validatorCmd);
$validator->setEnv([
'PATH' => "{$validatorRepo->getAbsolutePath()}:/usr/local/bin:/usr/bin"
'PATH' => "{$validatorRepo->getAbsolutePath()}:/usr/local/bin:/usr/bin",
]);
$validator->setWorkingDirectory($validatorRepo->getAbsolutePath());

$log->debug("Validator working directory: {$validator->getWorkingDirectory()}");
$log->debug("Validator command line: {$validator->getCommandLine()}");
$log->debug("Validator Environment", $validator->getEnv());
$log->debug('Validator Environment', $validator->getEnv());

$validator->run([&$this, 'handleProgress']);
}
Expand Down

0 comments on commit fe687c9

Please sign in to comment.