Skip to content

Commit b85fb84

Browse files
mpociotgithub-actions[bot]
authored andcommitted
Fix styling
1 parent e94a7ba commit b85fb84

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

src/Commands/BuildCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function handle()
3131
Process::path(__DIR__.'/../../resources/js/')
3232
->env($this->getEnvironmentVariables())
3333
->forever()
34-
->tty(PHP_OS_FAMILY != 'Windows' && !$this->option('no-interaction'))
34+
->tty(PHP_OS_FAMILY != 'Windows' && ! $this->option('no-interaction'))
3535
->run($buildCommand, function (string $type, string $output) {
3636
echo $output;
3737
});

src/Commands/DevelopCommand.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
namespace Native\Electron\Commands;
44

55
use Illuminate\Console\Command;
6-
use function Laravel\Prompts\intro;
7-
use function Laravel\Prompts\note;
86
use Native\Electron\Traits\Developer;
97
use Native\Electron\Traits\Installer;
108

9+
use function Laravel\Prompts\intro;
10+
use function Laravel\Prompts\note;
11+
1112
class DevelopCommand extends Command
1213
{
13-
use Installer, Developer;
14+
use Developer, Installer;
1415

1516
protected $signature = 'native:serve {--no-queue} {--D|no-dependencies} {--installer=npm}';
1617

src/Commands/InstallCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
namespace Native\Electron\Commands;
44

55
use Illuminate\Console\Command;
6+
use Native\Electron\Traits\Installer;
7+
68
use function Laravel\Prompts\confirm;
79
use function Laravel\Prompts\intro;
810
use function Laravel\Prompts\outro;
9-
use Native\Electron\Traits\Installer;
1011

1112
class InstallCommand extends Command
1213
{

src/Commands/PublishCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function handle()
3333
Process::path(__DIR__.'/../../resources/js/')
3434
->env($this->getEnvironmentVariables())
3535
->forever()
36-
->tty(PHP_OS_FAMILY != 'Windows' && !$this->option('no-interaction'))
36+
->tty(PHP_OS_FAMILY != 'Windows' && ! $this->option('no-interaction'))
3737
->run('npm run publish:mac-arm', function (string $type, string $output) {
3838
echo $output;
3939
});

src/Commands/QueueWorkerCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Illuminate\Console\Command;
66
use Illuminate\Support\Facades\Process;
77
use Illuminate\Support\Str;
8+
89
use function Laravel\Prompts\intro;
910

1011
class QueueWorkerCommand extends Command

src/Traits/ExecuteCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
namespace Native\Electron\Traits;
44

55
use Illuminate\Support\Facades\Process;
6-
use function Laravel\Prompts\note;
76
use Native\Electron\Concerns\LocatesPhpBinary;
87

8+
use function Laravel\Prompts\note;
9+
910
trait ExecuteCommand
1011
{
1112
use LocatesPhpBinary;
@@ -29,7 +30,7 @@ protected function executeCommand(string $command, bool $skip_queue = false, str
2930
Process::path(__DIR__.'/../../resources/js/')
3031
->env($envs[$type])
3132
->forever()
32-
->tty(!$withoutInteraction && PHP_OS_FAMILY != 'Windows')
33+
->tty(! $withoutInteraction && PHP_OS_FAMILY != 'Windows')
3334
->run($command, function (string $type, string $output) {
3435
if ($this->getOutput()->isVerbose()) {
3536
echo $output;

0 commit comments

Comments
 (0)