@@ -5,7 +5,7 @@ |
||
5 | 5 | use Blacklight\ColorCLI; |
6 | 6 | use Blacklight\NameFixer; |
7 | 7 | |
8 | -if (empty($argv[1]) && ($argv[1] !== 'full' || ! is_numeric($argv[1]))) { |
|
8 | +if (empty($argv[1]) && ($argv[1] !== 'full' || !is_numeric($argv[1]))) { |
|
9 | 9 | exit( |
10 | 10 | (new ColorCLI())->error( |
11 | 11 | PHP_EOL |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Blacklight\libraries\ForkingImportNZB; |
6 | 6 | |
7 | -if (! isset($argv[1]) || ! is_dir($argv[1])) { |
|
7 | +if (!isset($argv[1]) || !is_dir($argv[1])) { |
|
8 | 8 | exit( |
9 | 9 | 'First argument (mandatory):'.PHP_EOL. |
10 | 10 | 'Path to a folder, containing folders with .nzb or .nzb.gz files inside them.'.PHP_EOL. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! isset($argv[1]) || ! is_numeric($argv[1])) { |
|
3 | +if (!isset($argv[1]) || !is_numeric($argv[1])) { |
|
4 | 4 | exit( |
5 | 5 | 'Argument 1 => (Number) Set to 0 to ignore, else fetches up to x new headers for every active group.'.PHP_EOL |
6 | 6 | ); |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | -if (! isset($argv[1]) || ! in_array($argv[1], ['ama', 'add', 'mov', 'nfo', 'sha', 'tv'], false)) { |
|
5 | +if (!isset($argv[1]) || !in_array($argv[1], ['ama', 'add', 'mov', 'nfo', 'sha', 'tv'], false)) { |
|
6 | 6 | exit( |
7 | 7 | 'First argument (mandatory):'.PHP_EOL. |
8 | 8 | 'ama => Do amazon processing, this does not use multi-processing, because of amazon API restrictions.'.PHP_EOL. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! isset($argv[1]) || ! in_array($argv[1], ['backfill', 'binaries'])) { |
|
3 | +if (!isset($argv[1]) || !in_array($argv[1], ['backfill', 'binaries'])) { |
|
4 | 4 | exit( |
5 | 5 | 'First argument (mandatory):'.PHP_EOL. |
6 | 6 | 'binaries => Do Safe Binaries update.'.PHP_EOL. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! isset($argv[1]) || ! in_array($argv[1], ['standard', 'predbft'])) { |
|
3 | +if (!isset($argv[1]) || !in_array($argv[1], ['standard', 'predbft'])) { |
|
4 | 4 | exit( |
5 | 5 | 'First argument (mandatory):'.PHP_EOL. |
6 | 6 | 'standard => Attempt to fix release name using standard methods.'.PHP_EOL. |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Rector\Config\RectorConfig; |
7 | 7 | use RectorLaravel\Set\LaravelSetList; |
8 | 8 | |
9 | -return static function (RectorConfig $rectorConfig): void { |
|
9 | +return static function(RectorConfig $rectorConfig): void { |
|
10 | 10 | $rectorConfig->paths([ |
11 | 11 | __DIR__.'/Blacklight', |
12 | 12 | __DIR__.'/app', |
@@ -13,6 +13,6 @@ |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | -Artisan::command('inspire', function () { |
|
16 | +Artisan::command('inspire', function() { |
|
17 | 17 | $this->comment(Inspiring::quote()); |
18 | 18 | })->purpose('Display an inspiring quote'); |
@@ -11,6 +11,6 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Broadcast::channel('App.Models.User.{id}', function ($user, $id) { |
|
14 | +Broadcast::channel('App.Models.User.{id}', function($user, $id) { |
|
15 | 15 | return (int) $user->id === (int) $id; |
16 | 16 | }); |