Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 26, 2022
1 parent 48c619c commit 2b44edc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Commands/PluginComposerUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

namespace Fresns\PluginManager\Commands;

use Illuminate\Console\Command;
use Fresns\PluginManager\Support\Process;
use Illuminate\Console\Command;

class PluginComposerUpdateCommand extends Command
{
Expand All @@ -20,7 +20,7 @@ class PluginComposerUpdateCommand extends Command
public function handle()
{
$process = Process::run('composer update', $this->output);
if (!$process->isSuccessful()) {
if (! $process->isSuccessful()) {
$this->error('Failed to install packages, calc composer.json hash value fail');

return Command::FAILURE;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/PluginInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function handle()
if (count($require) || count($requireDev)) {
$exitCode = $this->call('plugin:composer-update');
if ($exitCode) {
$this->error("Failed to update plugin dependency");
$this->error('Failed to update plugin dependency');

return Command::FAILURE;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/PluginUninstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function handle()
if (count($require) || count($requireDev)) {
$exitCode = $this->call('plugin:composer-update');
if ($exitCode) {
$this->error("Failed to update plugin dependency");
$this->error('Failed to update plugin dependency');

return Command::FAILURE;
}
Expand Down

0 comments on commit 2b44edc

Please sign in to comment.