@@ -22,8 +22,8 @@ |
||
22 | 22 | |
23 | 23 | require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
24 | 24 | |
25 | -use nntmux\utility\Git; |
|
26 | 25 | use App\Extensions\util\Versions; |
26 | +use nntmux\utility\Git; |
|
27 | 27 | |
28 | 28 | echo "Running pre-commit hooks\n"; |
29 | 29 |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | -use nntmux\db\DB; |
|
6 | 5 | use nntmux\ReleaseSearch; |
6 | +use nntmux\db\DB; |
|
7 | 7 | |
8 | 8 | if (! isset($argv[1]) || ! in_array($argv[1], ['sphinx', 'standard'])) { |
9 | 9 | exit('Argument1 (required) is the method of search you would like to optimize for. Choices are sphinx or standard.'.PHP_EOL. |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | +use nntmux\Binaries; |
|
5 | 6 | use nntmux\NNTP; |
6 | 7 | use nntmux\db\DB; |
7 | -use nntmux\Binaries; |
|
8 | 8 | |
9 | 9 | /* This script will update the groups table to get the new article numbers for each group you have activated. |
10 | 10 | It will also truncate the parts, binaries, collections, and partrepair tables. |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | -use nntmux\db\DB; |
|
6 | 5 | use nntmux\ColorCLI; |
6 | +use nntmux\db\DB; |
|
7 | 7 | |
8 | 8 | $cli = new ColorCLI(); |
9 | 9 |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | -use nntmux\NZB; |
|
6 | -use nntmux\db\DB; |
|
7 | -use nntmux\Releases; |
|
8 | 5 | use App\Models\Settings; |
6 | +use nntmux\NZB; |
|
9 | 7 | use nntmux\ReleaseImage; |
8 | +use nntmux\Releases; |
|
9 | +use nntmux\db\DB; |
|
10 | 10 | use nntmux\utility\Utility; |
11 | 11 | |
12 | 12 | $pdo = new DB(); |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | -use nntmux\db\DB; |
|
6 | -use nntmux\SphinxSearch; |
|
7 | 5 | use nntmux\ReleaseCleaning; |
6 | +use nntmux\SphinxSearch; |
|
7 | +use nntmux\db\DB; |
|
8 | 8 | |
9 | 9 | $message = |
10 | 10 | 'Shows old searchname vs new searchname for releases in a group using the releaseCleaning class. (Good for testing new regex)'. |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
6 | 6 | |
7 | -use nntmux\db\DB; |
|
8 | -use nntmux\Games; |
|
9 | 7 | use nntmux\ColorCLI; |
8 | +use nntmux\Games; |
|
9 | +use nntmux\db\DB; |
|
10 | 10 | |
11 | 11 | $pdo = new DB(); |
12 | 12 | $game = new Games(['Echo' => true, 'Settings' => $pdo]); |
@@ -9,11 +9,11 @@ |
||
9 | 9 | |
10 | 10 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
11 | 11 | |
12 | -use nntmux\NNTP; |
|
13 | -use nntmux\db\DB; |
|
12 | +use App\Models\Settings; |
|
14 | 13 | use nntmux\ColorCLI; |
14 | +use nntmux\NNTP; |
|
15 | 15 | use nntmux\NameFixer; |
16 | -use App\Models\Settings; |
|
16 | +use nntmux\db\DB; |
|
17 | 17 | |
18 | 18 | $pdo = new DB(); |
19 | 19 | $namefixer = new NameFixer(['Settings' => $pdo]); |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | -use nntmux\processing\tv\TVDB; |
|
6 | -use Adrenth\Thetvdb\Exception\UnauthorizedException; |
|
7 | -use Adrenth\Thetvdb\Exception\RequestFailedException; |
|
8 | 5 | use Adrenth\Thetvdb\Exception\InvalidArgumentException; |
9 | 6 | use Adrenth\Thetvdb\Exception\InvalidJsonInResponseException; |
7 | +use Adrenth\Thetvdb\Exception\RequestFailedException; |
|
8 | +use Adrenth\Thetvdb\Exception\UnauthorizedException; |
|
9 | +use nntmux\processing\tv\TVDB; |
|
10 | 10 | |
11 | 11 | $c = new nntmux\ColorCLI(); |
12 | 12 | $tvdb = new TVDB(); |