mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
php-cs-fixer cleanup
This commit is contained in:
parent
1eb83a2642
commit
4da2a7125f
@ -1,6 +1,5 @@
|
||||
<?php namespace App\Exceptions;
|
||||
|
||||
use Braintree\Util;
|
||||
use Illuminate\Support\Facades\Response;
|
||||
use Redirect;
|
||||
use Utils;
|
||||
|
@ -10,7 +10,6 @@ use Redirect;
|
||||
use Cache;
|
||||
use App\Models\Client;
|
||||
use App\Models\Account;
|
||||
use App\Models\Contact;
|
||||
use App\Models\Invoice;
|
||||
use App\Models\Credit;
|
||||
use App\Models\Task;
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use Auth;
|
||||
use DB;
|
||||
use App\Ninja\Repositories\DashboardRepository;
|
||||
use App\Ninja\Transformers\ActivityTransformer;
|
||||
|
||||
|
@ -1,13 +1,9 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use stdClass;
|
||||
use Auth;
|
||||
use DB;
|
||||
use View;
|
||||
use Utils;
|
||||
use App\Models\Client;
|
||||
use App\Models\Invoice;
|
||||
use App\Models\Payment;
|
||||
use App\Ninja\Repositories\DashboardRepository;
|
||||
|
||||
/**
|
||||
|
@ -1,9 +1,6 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use View;
|
||||
use Utils;
|
||||
use Input;
|
||||
use Session;
|
||||
use App\Services\ExpenseCategoryService;
|
||||
use App\Http\Requests\CreateExpenseCategoryRequest;
|
||||
use App\Http\Requests\UpdateExpenseCategoryRequest;
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use View;
|
||||
use Utils;
|
||||
use Input;
|
||||
use Session;
|
||||
use App\Services\ExpenseCategoryService;
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
use Auth;
|
||||
use View;
|
||||
use Utils;
|
||||
use Input;
|
||||
use Session;
|
||||
use App\Models\Client;
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use Utils;
|
||||
use App\Ninja\Repositories\InvoiceRepository;
|
||||
use App\Ninja\Datatables\RecurringInvoiceDatatable;
|
||||
|
||||
|
@ -1,11 +1,8 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use Auth;
|
||||
use Config;
|
||||
use Input;
|
||||
use Utils;
|
||||
use DB;
|
||||
use Session;
|
||||
use Str;
|
||||
use View;
|
||||
use App\Models\Account;
|
||||
|
@ -3,7 +3,6 @@
|
||||
namespace App\Http\ViewComposers;
|
||||
|
||||
use DB;
|
||||
use Cache;
|
||||
use Illuminate\View\View;
|
||||
use App\Models\Contact;
|
||||
|
||||
|
@ -8,7 +8,6 @@ use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Monolog\Logger;
|
||||
use Carbon;
|
||||
|
||||
/**
|
||||
* Class SendInvoiceEmail
|
||||
|
@ -7,8 +7,6 @@ use App\Ninja\Mailers\UserMailer;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Monolog\Logger;
|
||||
use Carbon;
|
||||
|
||||
/**
|
||||
* Class SendInvoiceEmail
|
||||
|
@ -7,8 +7,6 @@ use App\Ninja\Mailers\ContactMailer;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Monolog\Logger;
|
||||
use Carbon;
|
||||
|
||||
/**
|
||||
* Class SendInvoiceEmail
|
||||
|
@ -7,8 +7,6 @@ use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use App\Services\PushService;
|
||||
use Monolog\Logger;
|
||||
use Carbon;
|
||||
|
||||
/**
|
||||
* Class SendInvoiceEmail
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?php namespace App\Libraries;
|
||||
|
||||
use DateTime;
|
||||
|
||||
class DateUtils
|
||||
{
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php namespace App\Libraries;
|
||||
|
||||
use Request;
|
||||
use stdClass;
|
||||
use Session;
|
||||
use App\Models\EntityModel;
|
||||
|
@ -3,7 +3,6 @@
|
||||
use Carbon;
|
||||
use App\Models\Credit;
|
||||
use App\Events\PaymentWasDeleted;
|
||||
use App\Events\PaymentWasRefunded;
|
||||
use App\Ninja\Repositories\CreditRepository;
|
||||
|
||||
/**
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Auth;
|
||||
|
||||
/**
|
||||
* Class AccountGatewaySettings
|
||||
*/
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
use Auth;
|
||||
use Eloquent;
|
||||
use Illuminate\Database\QueryException;
|
||||
use Utils;
|
||||
use Validator;
|
||||
|
||||
|
@ -5,7 +5,6 @@ use Laracasts\Presenter\PresentableTrait;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use App\Events\ExpenseWasCreated;
|
||||
use App\Events\ExpenseWasUpdated;
|
||||
use App\Events\ExpenseWasDeleted;
|
||||
|
||||
/**
|
||||
* Class Expense
|
||||
|
@ -5,7 +5,6 @@ use App\Models\GatewayType;
|
||||
use URL;
|
||||
use Cache;
|
||||
use Utils;
|
||||
use Session;
|
||||
use App\Models\AccountGateway;
|
||||
|
||||
class AccountGatewayDatatable extends EntityDatatable
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php namespace App\Ninja\Datatables;
|
||||
|
||||
use Utils;
|
||||
use URL;
|
||||
use Auth;
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
use Carbon;
|
||||
use Utils;
|
||||
use DateTime;
|
||||
use League\Fractal\TransformerAbstract;
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php namespace App\Ninja\Import\CSV;
|
||||
|
||||
use Utils;
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
use stdClass;
|
||||
use Exception;
|
||||
use App\Libraries\CurlUtils;
|
||||
use App\Libraries\Skype\SkypeResponse;
|
||||
|
||||
class BaseIntent
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?php namespace App\Ninja\Intents;
|
||||
|
||||
use Auth;
|
||||
use App\Models\EntityModel;
|
||||
use App\Models\Invoice;
|
||||
use App\Libraries\Skype\SkypeResponse;
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
use Auth;
|
||||
use Exception;
|
||||
use App\Models\EntityModel;
|
||||
use App\Models\Invoice;
|
||||
use App\Libraries\Skype\SkypeResponse;
|
||||
|
||||
class EmailInvoiceIntent extends InvoiceIntent
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php namespace App\Ninja\Intents;
|
||||
|
||||
use Auth;
|
||||
use Exception;
|
||||
use App\Models\Product;
|
||||
|
||||
class ListProductsIntent extends ProductIntent
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?php namespace App\Ninja\Intents;
|
||||
|
||||
use Auth;
|
||||
use Exception;
|
||||
|
||||
class ProductIntent extends BaseIntent
|
||||
{
|
||||
public function __construct($state, $data)
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Ninja\Reports;
|
||||
|
||||
use Auth;
|
||||
use Utils;
|
||||
use App\Models\Task;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php namespace App\Ninja\Repositories;
|
||||
|
||||
use DB;
|
||||
use Utils;
|
||||
use Auth;
|
||||
use App\Models\ExpenseCategory;
|
||||
|
||||
|
@ -4,7 +4,6 @@ use App\Models\Account;
|
||||
use DB;
|
||||
use Utils;
|
||||
use Auth;
|
||||
use Carbon;
|
||||
use App\Models\Client;
|
||||
use App\Models\Invoice;
|
||||
use App\Models\InvoiceItem;
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php namespace App\Ninja\Repositories;
|
||||
|
||||
use DB;
|
||||
use Utils;
|
||||
use Auth;
|
||||
use App\Models\Project;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php namespace App\Ninja\Repositories;
|
||||
|
||||
use DB;
|
||||
use Session;
|
||||
use App\Models\Token;
|
||||
|
||||
class TokenRepository extends BaseRepository
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php namespace App\Ninja\Repositories;
|
||||
|
||||
use DB;
|
||||
use Session;
|
||||
use App\Models\User;
|
||||
|
||||
class UserRepository extends BaseRepository
|
||||
{
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
/**
|
||||
* Class ProductPolicy
|
||||
*/
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
class ProjectPolicy extends EntityPolicy
|
||||
{
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php namespace App\Providers;
|
||||
|
||||
use Auth;
|
||||
use Utils;
|
||||
use Form;
|
||||
use URL;
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?php namespace App\Services;
|
||||
|
||||
use Utils;
|
||||
use Auth;
|
||||
use App\Ninja\Repositories\ExpenseCategoryRepository;
|
||||
use App\Ninja\Datatables\ExpenseCategoryDatatable;
|
||||
|
||||
|
@ -5,7 +5,6 @@ use Utils;
|
||||
use App\Ninja\Repositories\ExpenseRepository;
|
||||
use App\Models\Client;
|
||||
use App\Models\Vendor;
|
||||
use App\Models\ExpenseCategory;
|
||||
use App\Ninja\Datatables\ExpenseDatatable;
|
||||
|
||||
/**
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?php namespace App\Services;
|
||||
|
||||
use Utils;
|
||||
use Auth;
|
||||
use App\Models\Client;
|
||||
use App\Ninja\Repositories\ProjectRepository;
|
||||
use App\Ninja\Datatables\ProjectDatatable;
|
||||
|
Loading…
Reference in New Issue
Block a user