From c20fc7e07da96b7669579b94e13a3014dd008723 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 18 Jul 2017 14:16:31 +0200 Subject: [PATCH] Change App\extensions to App\Extensions --- _install/install_nntmux.php | 2 +- app/Extensions/command/Update.php | 8 ++++---- app/Extensions/command/Verify.php | 4 ++-- app/Extensions/command/Version.php | 6 +++--- app/Extensions/console/Command.php | 2 +- app/Extensions/util/Git.php | 2 +- app/Extensions/util/Versions.php | 2 +- app/Extensions/util/Yenc.php | 4 ++-- app/Extensions/util/yenc/adapter/NzedbYenc.php | 2 +- app/Models/Settings.php | 2 +- build/git-hooks/runHooks.php | 2 +- nntmux/NNTP.php | 8 ++++---- nntmux/NZB.php | 2 +- nntmux/Sites.php | 2 +- nntmux/SpotNab.php | 2 +- nntmux/Tmux.php | 2 +- nntmux/db/Settings.php | 2 +- nntmux/http/Capabilities.php | 2 +- nntmux/utility/Utility.php | 2 +- tests/Install/InstallTest.php | 2 +- tmux | 6 +++--- 21 files changed, 33 insertions(+), 33 deletions(-) diff --git a/_install/install_nntmux.php b/_install/install_nntmux.php index d98781766..6f6c71130 100644 --- a/_install/install_nntmux.php +++ b/_install/install_nntmux.php @@ -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; diff --git a/app/Extensions/command/Update.php b/app/Extensions/command/Update.php index 7746590f3..ea5cf9690 100644 --- a/app/Extensions/command/Update.php +++ b/app/Extensions/command/Update.php @@ -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; diff --git a/app/Extensions/command/Verify.php b/app/Extensions/command/Verify.php index f4e979cf8..921db5ebf 100644 --- a/app/Extensions/command/Verify.php +++ b/app/Extensions/command/Verify.php @@ -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; diff --git a/app/Extensions/command/Version.php b/app/Extensions/command/Version.php index b1266d262..b0f5cf335 100644 --- a/app/Extensions/command/Version.php +++ b/app/Extensions/command/Version.php @@ -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; /** diff --git a/app/Extensions/console/Command.php b/app/Extensions/console/Command.php index 7fce36e5e..81daa7193 100755 --- a/app/Extensions/console/Command.php +++ b/app/Extensions/console/Command.php @@ -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; diff --git a/app/Extensions/util/Git.php b/app/Extensions/util/Git.php index 60bf3e4bb..4235d582a 100644 --- a/app/Extensions/util/Git.php +++ b/app/Extensions/util/Git.php @@ -16,7 +16,7 @@ * @author niel * @copyright 2016 nZEDb */ -namespace App\extensions\util; +namespace App\Extensions\util; use \GitRepo; use Illuminate\Database\Eloquent\Collection; diff --git a/app/Extensions/util/Versions.php b/app/Extensions/util/Versions.php index 81ce3b181..f6bf523a5 100644 --- a/app/Extensions/util/Versions.php +++ b/app/Extensions/util/Versions.php @@ -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; diff --git a/app/Extensions/util/Yenc.php b/app/Extensions/util/Yenc.php index a7500b1d8..41fdda85f 100644 --- a/app/Extensions/util/Yenc.php +++ b/app/Extensions/util/Yenc.php @@ -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 { diff --git a/app/Extensions/util/yenc/adapter/NzedbYenc.php b/app/Extensions/util/yenc/adapter/NzedbYenc.php index 6586e2a23..153b075d0 100644 --- a/app/Extensions/util/yenc/adapter/NzedbYenc.php +++ b/app/Extensions/util/yenc/adapter/NzedbYenc.php @@ -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; diff --git a/app/Models/Settings.php b/app/Models/Settings.php index 1a1d6b7be..b62560615 100644 --- a/app/Models/Settings.php +++ b/app/Models/Settings.php @@ -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. diff --git a/build/git-hooks/runHooks.php b/build/git-hooks/runHooks.php index f26e3e2c8..5c4d56108 100755 --- a/build/git-hooks/runHooks.php +++ b/build/git-hooks/runHooks.php @@ -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"; diff --git a/nntmux/NNTP.php b/nntmux/NNTP.php index 9e8b23b82..8fb390ccd 100755 --- a/nntmux/NNTP.php +++ b/nntmux/NNTP.php @@ -1,7 +1,7 @@