mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
php-cs-fixer
This commit is contained in:
parent
5c89fdab02
commit
a92d38ae06
1
.php_cs
1
.php_cs
@ -4,6 +4,7 @@ $finder = Symfony\Component\Finder\Finder::create()
|
|||||||
->notPath('vendor')
|
->notPath('vendor')
|
||||||
->notPath('bootstrap')
|
->notPath('bootstrap')
|
||||||
->notPath('storage')
|
->notPath('storage')
|
||||||
|
->notPath('node_modules')
|
||||||
->in(__DIR__)
|
->in(__DIR__)
|
||||||
->name('*.php')
|
->name('*.php')
|
||||||
->notName('*.blade.php');
|
->notName('*.blade.php');
|
||||||
|
@ -35,9 +35,9 @@ class PaymentWebhookRequest extends Request
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve company gateway.
|
* Resolve company gateway.
|
||||||
*
|
*
|
||||||
* @param mixed $id
|
* @param mixed $id
|
||||||
* @return null|\App\Models\CompanyGateway
|
* @return null|\App\Models\CompanyGateway
|
||||||
*/
|
*/
|
||||||
public function getCompanyGateway(): ?CompanyGateway
|
public function getCompanyGateway(): ?CompanyGateway
|
||||||
{
|
{
|
||||||
@ -46,9 +46,9 @@ class PaymentWebhookRequest extends Request
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve payment hash.
|
* Resolve payment hash.
|
||||||
*
|
*
|
||||||
* @param string $hash
|
* @param string $hash
|
||||||
* @return null|\App\Http\Requests\Payments\PaymentHash
|
* @return null|\App\Http\Requests\Payments\PaymentHash
|
||||||
*/
|
*/
|
||||||
public function getPaymentHash(): ?PaymentHash
|
public function getPaymentHash(): ?PaymentHash
|
||||||
{
|
{
|
||||||
@ -59,8 +59,8 @@ class PaymentWebhookRequest extends Request
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve possible payment in the request.
|
* Resolve possible payment in the request.
|
||||||
*
|
*
|
||||||
* @return null|\App\Models\Payment
|
* @return null|\App\Models\Payment
|
||||||
*/
|
*/
|
||||||
public function getPayment(): ?Payment
|
public function getPayment(): ?Payment
|
||||||
{
|
{
|
||||||
@ -71,8 +71,8 @@ class PaymentWebhookRequest extends Request
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve client from payment hash.
|
* Resolve client from payment hash.
|
||||||
*
|
*
|
||||||
* @return null|\App\Models\Client
|
* @return null|\App\Models\Client
|
||||||
*/
|
*/
|
||||||
public function getClient(): ?Client
|
public function getClient(): ?Client
|
||||||
{
|
{
|
||||||
@ -83,8 +83,8 @@ class PaymentWebhookRequest extends Request
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve company from company_key parameter.
|
* Resolve company from company_key parameter.
|
||||||
*
|
*
|
||||||
* @return null|\App\Models\Company
|
* @return null|\App\Models\Company
|
||||||
*/
|
*/
|
||||||
public function getCompany(): ?Company
|
public function getCompany(): ?Company
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
namespace App\PaymentDrivers\CheckoutCom;
|
namespace App\PaymentDrivers\CheckoutCom;
|
||||||
|
|
||||||
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
||||||
use App\Models\GatewayType;
|
|
||||||
use App\PaymentDrivers\CheckoutComPaymentDriver;
|
use App\PaymentDrivers\CheckoutComPaymentDriver;
|
||||||
use Checkout\Library\Exceptions\CheckoutHttpException;
|
use Checkout\Library\Exceptions\CheckoutHttpException;
|
||||||
use Checkout\Models\Payments\IdSource;
|
use Checkout\Models\Payments\IdSource;
|
||||||
|
@ -13,14 +13,11 @@
|
|||||||
namespace App\PaymentDrivers;
|
namespace App\PaymentDrivers;
|
||||||
|
|
||||||
use App\Http\Requests\Payments\PaymentWebhookRequest;
|
use App\Http\Requests\Payments\PaymentWebhookRequest;
|
||||||
use App\Jobs\Util\SystemLogger;
|
|
||||||
use App\Models\ClientGatewayToken;
|
use App\Models\ClientGatewayToken;
|
||||||
use App\Models\Company;
|
use App\Models\Company;
|
||||||
use App\Models\CompanyGateway;
|
|
||||||
use App\Models\GatewayType;
|
use App\Models\GatewayType;
|
||||||
use App\Models\Payment;
|
use App\Models\Payment;
|
||||||
use App\Models\PaymentHash;
|
use App\Models\PaymentHash;
|
||||||
use App\Models\PaymentType;
|
|
||||||
use App\Models\SystemLog;
|
use App\Models\SystemLog;
|
||||||
use App\PaymentDrivers\CheckoutCom\CreditCard;
|
use App\PaymentDrivers\CheckoutCom\CreditCard;
|
||||||
use App\PaymentDrivers\CheckoutCom\Utilities;
|
use App\PaymentDrivers\CheckoutCom\Utilities;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user