Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
DariusIII
2017-12-25 22:37:15 +00:00
committed by StyleCI Bot
parent 816b95d3b5
commit 4ccbf6a967
13 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -6,8 +6,8 @@ if (! defined('NN_INSTALLER')) {
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
include_once dirname(__DIR__).DIRECTORY_SEPARATOR.'nntmux'.DIRECTORY_SEPARATOR.'constants.php';
use App\Models\User;
use nntmux\db\DB;
use App\Models\User;
use nntmux\ColorCLI;
use nntmux\db\DbUpdate;
use nntmux\config\Configure;
+1 -1
View File
@@ -153,7 +153,7 @@ if (! function_exists('makeFieldLinks')) {
'role_asc',
'role_desc',
'rolechangedate_asc',
'rolechangedate_desc'
'rolechangedate_desc',
];
}
}
+1 -1
View File
@@ -2,8 +2,8 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
use Illuminate\Database\Eloquent\Model;
class Invitation extends Model
{
+1 -1
View File
@@ -2,8 +2,8 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
use Illuminate\Database\Eloquent\Model;
class RoleExcludedCategory extends Model
{
+6 -6
View File
@@ -2,17 +2,17 @@
namespace App\Models;
use App\Mail\AccountChange;
use nntmux\Users;
use App\Mail\SendInvite;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use App\Mail\AccountChange;
use Illuminate\Support\Str;
use nntmux\utility\Utility;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Mail;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\Password;
use Illuminate\Support\Str;
use nntmux\Users;
use nntmux\utility\Utility;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
+1 -1
View File
@@ -2,9 +2,9 @@
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
use App\Models\RoleExcludedCategory;
use nntmux\Category;
use App\Models\UserRole;
use App\Models\RoleExcludedCategory;
$category = new Category();
$page = new AdminPage();
+1 -1
View File
@@ -2,8 +2,8 @@
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
use App\Models\User;
use nntmux\Users;
use App\Models\User;
$page = new AdminPage();
+2 -2
View File
@@ -2,12 +2,12 @@
require_once NN_LIB.'utility'.DS.'SmartyUtils.php';
use App\Models\RoleExcludedCategory;
use App\Models\User;
use nntmux\db\DB;
use nntmux\Users;
use nntmux\SABnzbd;
use App\Models\User;
use App\Models\Settings;
use App\Models\RoleExcludedCategory;
class BasePage
{
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
use App\Models\User;
use nntmux\Captcha;
use App\Models\User;
use App\Mail\PasswordReset;
use App\Mail\ForgottenPassword;
use Illuminate\Support\Facades\Mail;
+1 -1
View File
@@ -1,8 +1,8 @@
<?php
use App\Models\User;
use nntmux\Captcha;
use nntmux\Logging;
use App\Models\User;
use App\Models\Settings;
use nntmux\utility\Utility;
+2 -2
View File
@@ -1,13 +1,13 @@
<?php
use App\Models\User;
use App\Models\UserExcludedCategory;
use nntmux\NZBGet;
use nntmux\SABnzbd;
use App\Models\User;
use App\Models\Settings;
use App\Models\UserRequest;
use nntmux\ReleaseComments;
use App\Models\UserDownload;
use App\Models\UserExcludedCategory;
if (! User::isLoggedIn()) {
$page->show403();
+2 -2
View File
@@ -1,13 +1,13 @@
<?php
use App\Models\User;
use App\Models\UserExcludedCategory;
use nntmux\Users;
use nntmux\NZBGet;
use nntmux\SABnzbd;
use App\Models\User;
use nntmux\Category;
use App\Models\Settings;
use nntmux\utility\Utility;
use App\Models\UserExcludedCategory;
$category = new Category;
$sab = new SABnzbd($page);
+2 -3
View File
@@ -1,11 +1,10 @@
<?php
use App\Models\Invitation;
use App\Models\User;
use nntmux\Users;
use nntmux\Captcha;
use App\Models\User;
use App\Models\Settings;
use App\Models\UserRole;
use App\Models\Invitation;
use nntmux\utility\Utility;
if (User::isLoggedIn()) {