Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
yondifon authored and actions-user committed Nov 8, 2021
1 parent dd44844 commit cd10ae2
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 30 deletions.
3 changes: 1 addition & 2 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

namespace Malico\MeSomb;

use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\{Cache, Http};

class Application
{
Expand Down
3 changes: 1 addition & 2 deletions src/Deposit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Http;
use Malico\MeSomb\Helper\HandleExceptions;
use Malico\MeSomb\Helper\RecordTransaction;
use Malico\MeSomb\Helper\{HandleExceptions, RecordTransaction};
use Malico\MeSomb\Model\Deposit as DepositModel;
use Malico\MobileCM\Network;

Expand Down
5 changes: 1 addition & 4 deletions src/Helper/HandleExceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
namespace Malico\MeSomb\Helper;

use Illuminate\Http\Client\Response;
use Malico\MeSomb\Exceptions\InsufficientBalanceException;
use Malico\MeSomb\Exceptions\InvalidAmountException;
use Malico\MeSomb\Exceptions\InvalidPinException;
use Malico\MeSomb\Exceptions\TimeoutException;
use Malico\MeSomb\Exceptions\{InsufficientBalanceException, InvalidAmountException, InvalidPinException, TimeoutException};
use Malico\MeSomb\Exeptions\InvalidPhoneNumberException;

trait HandleExceptions
Expand Down
3 changes: 1 addition & 2 deletions src/Helper/RecordTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

namespace Malico\MeSomb\Helper;

use Illuminate\Support\Arr;
use Illuminate\Support\Carbon;
use Illuminate\Support\{Arr, Carbon};

trait RecordTransaction
{
Expand Down
3 changes: 1 addition & 2 deletions src/Jobs/CheckFailedTransactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\{InteractsWithQueue, SerializesModels};
use Malico\MeSomb\Transaction;

class CheckFailedTransactions implements ShouldQueue
Expand Down
3 changes: 1 addition & 2 deletions src/Model/Deposit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
namespace Malico\MeSomb\Model;

use Illuminate\Database\Eloquent\Model;
use Malico\MeSomb\Helper\HasTransactions;
use Malico\MeSomb\Helper\ModelUUID;
use Malico\MeSomb\Helper\{HasTransactions, ModelUUID};

class Deposit extends Model
{
Expand Down
4 changes: 1 addition & 3 deletions src/Model/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace Malico\MeSomb\Model;

use Illuminate\Database\Eloquent\Model;
use Malico\MeSomb\Helper\HasDeposits;
use Malico\MeSomb\Helper\HasTransactions;
use Malico\MeSomb\Helper\ModelUUID;
use Malico\MeSomb\Helper\{HasDeposits, HasTransactions, ModelUUID};

class Payment extends Model
{
Expand Down
4 changes: 1 addition & 3 deletions src/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Http;
use Malico\MeSomb\Helper\HandleExceptions;
use Malico\MeSomb\Helper\PaymentData;
use Malico\MeSomb\Helper\RecordTransaction;
use Malico\MeSomb\Helper\{HandleExceptions, PaymentData, RecordTransaction};
use Malico\MeSomb\Model\Payment as PaymentModel;
use Malico\MobileCM\Network;

Expand Down
6 changes: 2 additions & 4 deletions tests/DepositTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?php

use Illuminate\Http\Client\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\{Config, Http};
use Illuminate\Support\{Arr, Str};
use Malico\MeSomb\Deposit;
use function Pest\Laravel\assertDatabaseHas;

Expand Down
9 changes: 3 additions & 6 deletions tests/PaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
namespace Tests\Unit;

use Illuminate\Http\Client\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Str;
use Malico\MeSomb\Exceptions\InsufficientBalanceException;
use Malico\MeSomb\Exceptions\InvalidPinException;
use Illuminate\Support\Facades\{Config, Http};
use Illuminate\Support\{Arr, Str};
use Malico\MeSomb\Exceptions\{InsufficientBalanceException, InvalidPinException};
use Malico\MeSomb\Exeptions\InvalidPhoneNumberException;
use Malico\MeSomb\Payment;
use function Pest\Laravel\assertDatabaseHas;
Expand Down

0 comments on commit cd10ae2

Please sign in to comment.