Skip to content

Commit d7c5d2e

Browse files
authored
Apply fixes from StyleCI (codedge#40)
1 parent 176c689 commit d7c5d2e

9 files changed

+19
-19
lines changed

config/self-update.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
],
111111
'post_update' => [
112112

113-
]
114-
]
113+
],
114+
],
115115

116116
];

src/AbstractRepositoryType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Codedge\Updater;
44

5-
use Codedge\Updater\Events\HasWrongPermissions;
65
use File;
76
use GuzzleHttp\Client;
87
use Symfony\Component\Finder\Finder;
8+
use Codedge\Updater\Events\HasWrongPermissions;
99

1010
/**
1111
* AbstractRepositoryType.php.

src/Commands/CheckForUpdate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Codedge\Updater\Commands;
44

5-
use Codedge\Updater\UpdaterManager;
65
use Illuminate\Console\Command;
6+
use Codedge\Updater\UpdaterManager;
77

88
class CheckForUpdate extends Command
99
{

src/Listeners/SendUpdateAvailableNotification.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Codedge\Updater\Listeners;
44

5-
use Codedge\Updater\Events\UpdateAvailable;
6-
use Illuminate\Mail\Mailer;
75
use Illuminate\Log\Writer;
6+
use Illuminate\Mail\Mailer;
7+
use Codedge\Updater\Events\UpdateAvailable;
88

99
/**
1010
* SendUpdateAvailableNotification.php.

src/Listeners/SendUpdateSucceededNotification.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Codedge\Updater\Listeners;
44

5-
use Codedge\Updater\Events\UpdateSucceeded;
6-
use Illuminate\Mail\Mailer;
75
use Illuminate\Log\Writer;
6+
use Illuminate\Mail\Mailer;
7+
use Codedge\Updater\Events\UpdateSucceeded;
88

99
/**
1010
* SendUpdateSucceededNotification.php.

src/SourceRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Codedge\Updater;
44

5-
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
65
use Illuminate\Support\Facades\Artisan;
6+
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
77

88
/**
99
* SourceRepository.

src/SourceRepositoryTypes/GithubRepositoryType.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
namespace Codedge\Updater\SourceRepositoryTypes;
44

5-
use Codedge\Updater\AbstractRepositoryType;
6-
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
7-
use Codedge\Updater\Events\UpdateAvailable;
8-
use Codedge\Updater\Events\UpdateFailed;
9-
use Codedge\Updater\Events\UpdateSucceeded;
105
use File;
6+
use Storage;
117
use GuzzleHttp\Client;
128
use Symfony\Component\Finder\Finder;
13-
use Storage;
9+
use Codedge\Updater\Events\UpdateFailed;
10+
use Codedge\Updater\AbstractRepositoryType;
11+
use Codedge\Updater\Events\UpdateAvailable;
12+
use Codedge\Updater\Events\UpdateSucceeded;
13+
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
1414

1515
/**
1616
* Github.php.

src/UpdaterManager.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Codedge\Updater;
44

55
use Closure;
6-
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
6+
use GuzzleHttp\Client;
7+
use Illuminate\Foundation\Application;
78
use Codedge\Updater\Contracts\UpdaterContract;
9+
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
810
use Codedge\Updater\SourceRepositoryTypes\GithubRepositoryType;
9-
use Illuminate\Foundation\Application;
10-
use GuzzleHttp\Client;
1111

1212
/**
1313
* Updater.php.

src/UpdaterServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Codedge\Updater;
44

5+
use Illuminate\Support\ServiceProvider;
56
use Codedge\Updater\Commands\CheckForUpdate;
67
use Illuminate\Contracts\Container\Container;
7-
use Illuminate\Support\ServiceProvider;
88

99
/**
1010
* UpdaterServiceProvider.php.

0 commit comments

Comments
 (0)