mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 23:01:29 +00:00
Change App\extensions to App\Extensions
This commit is contained in:
@@ -6,7 +6,7 @@ if (!defined('NN_INSTALLER')) {
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'nntmux' . DIRECTORY_SEPARATOR . 'constants.php';
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\config\Configure;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\db\DbUpdate;
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
* Time: 15.17
|
||||
*/
|
||||
|
||||
namespace App\extensions\command;
|
||||
namespace App\Extensions\command;
|
||||
|
||||
use App\extensions\console\Command;
|
||||
use App\extensions\util\Git;
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\console\Command;
|
||||
use App\Extensions\util\Git;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\db\DbUpdate;
|
||||
use Symfony\Component\Process\Process;
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
* @author niel
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
namespace App\extensions\command;
|
||||
namespace App\Extensions\command;
|
||||
|
||||
use App\extensions\console\Command;
|
||||
use App\Extensions\console\Command;
|
||||
use App\Models\Settings;
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
|
||||
namespace App\extensions\command;
|
||||
namespace App\Extensions\command;
|
||||
|
||||
use App\extensions\console\Command;
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\console\Command;
|
||||
use App\Extensions\util\Versions;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* @edited by DariusIII
|
||||
* @copyright 2014 nZEDb, 2017 NNTmux
|
||||
*/
|
||||
namespace App\extensions\console;
|
||||
namespace App\Extensions\console;
|
||||
|
||||
use Symfony\Component\Console\Output\ConsoleOutput;
|
||||
use Illuminate\Console\Command as LaravelCommand;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* @author niel
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
namespace App\extensions\util;
|
||||
namespace App\Extensions\util;
|
||||
|
||||
use \GitRepo;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* @author niel
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
namespace App\extensions\util;
|
||||
namespace App\Extensions\util;
|
||||
|
||||
use App\Models\Settings;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
|
||||
namespace App\extensions\util;
|
||||
namespace App\Extensions\util;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use App\extensions\util\yenc\adapter\NzedbYenc;
|
||||
use App\Extensions\util\yenc\adapter\NzedbYenc;
|
||||
|
||||
class Yenc extends ServiceProvider
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
|
||||
namespace App\extensions\util\yenc\adapter;
|
||||
namespace App\Extensions\util\yenc\adapter;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use yenc\yenc;
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use nntmux\utility\Utility;
|
||||
use App\extensions\console\Command;
|
||||
use App\Extensions\console\Command;
|
||||
|
||||
/**
|
||||
* Settings - model for settings table.
|
||||
|
||||
@@ -23,7 +23,7 @@ define('GIT_PRE_COMMIT', true);
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\utility\Git;
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
|
||||
echo "Running pre-commit hooks\n";
|
||||
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\extensions\util\Yenc;
|
||||
use App\Extensions\util\Yenc;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
@@ -914,7 +914,7 @@ class NNTP extends \Net_NNTP_Client
|
||||
/**
|
||||
* yEncodes a string and returns it.
|
||||
*
|
||||
* @deprecated use App\extensions\util\Yenc::encode instead.
|
||||
* @deprecated use App\Extensions\util\Yenc::encode instead.
|
||||
* @param string $string String to encode.
|
||||
* @param string $filename Name to use as the filename in the yEnc header (this does not have to be an actual file).
|
||||
* @param int $lineLength Line length to use (can be up to 254 characters).
|
||||
@@ -978,7 +978,7 @@ class NNTP extends \Net_NNTP_Client
|
||||
/**
|
||||
* yDecodes an encoded string and either writes the result to a file or returns it as a string.
|
||||
*
|
||||
* @deprecated use App\extensions\util\Yenc::decode instead.
|
||||
* @deprecated use App\Extensions\util\Yenc::decode instead.
|
||||
*
|
||||
* @param string $string yEncoded string to decode.
|
||||
*
|
||||
@@ -1046,7 +1046,7 @@ class NNTP extends \Net_NNTP_Client
|
||||
/**
|
||||
* Decode a string of text encoded with yEnc. Ignores all errors.
|
||||
*
|
||||
* @deprecated use App\extensions\util\Yenc::decodeIgnore instead.
|
||||
* @deprecated use App\Extensions\util\Yenc::decodeIgnore instead.
|
||||
*
|
||||
* @param string|bool $data The encoded text to decode.
|
||||
*
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\extensions\util\Versions as li3Versions;
|
||||
use App\Extensions\util\Versions as li3Versions;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\libraries\Cache;
|
||||
use nntmux\db\DB;
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ namespace nntmux;
|
||||
|
||||
|
||||
use nntmux\db\DB;
|
||||
use App\extensions\util\Yenc;
|
||||
use App\Extensions\util\Yenc;
|
||||
|
||||
// Help out those who don't have SSL enabled
|
||||
if(!defined('OPENSSL_KEYTYPE_RSA')) {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\db\DB;
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
namespace nntmux\db;
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
class Settings extends DB
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
namespace nntmux\http;
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Category;
|
||||
use nntmux\db\DB;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
namespace nntmux\utility;
|
||||
|
||||
use App\Models\Settings;
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace tests;
|
||||
require_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
include_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'nntmux' . DIRECTORY_SEPARATOR . 'constants.php';
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\Extensions\util\Versions;
|
||||
use nntmux\config\Configure;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\db\DbUpdate;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/bootstrap/bootstrap.php';
|
||||
|
||||
use App\extensions\command\Update;
|
||||
use App\extensions\command\Verify;
|
||||
use App\extensions\command\Version;
|
||||
use App\Extensions\command\Update;
|
||||
use App\Extensions\command\Verify;
|
||||
use App\Extensions\command\Version;
|
||||
|
||||
$update = new Update();
|
||||
$verify = new Verify();
|
||||
|
||||
Reference in New Issue
Block a user