Skip to content

Commit 66c023c

Browse files
pulkitjalanactions-user
authored andcommitted
Fix styling
1 parent 405b05c commit 66c023c

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

src/Console/UpdateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace PulkitJalan\GeoIP\Console;
44

55
use Illuminate\Console\Command;
6-
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
7-
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
86
use PulkitJalan\GeoIP\GeoIPUpdater;
7+
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
8+
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
99

1010
class UpdateCommand extends Command
1111
{

src/Drivers/IpStackDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace PulkitJalan\GeoIP\Drivers;
44

5-
use GuzzleHttp\Exception\RequestException;
65
use Illuminate\Support\Arr;
6+
use GuzzleHttp\Exception\RequestException;
77
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
88

99
class IpStackDriver extends AbstractGeoIPDriver

src/Drivers/MaxmindApiDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace PulkitJalan\GeoIP\Drivers;
44

5-
use GeoIp2\WebService\Client;
65
use Illuminate\Support\Arr;
6+
use GeoIp2\WebService\Client;
77
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
88

99
class MaxmindApiDriver extends MaxmindDriver

src/Drivers/MaxmindDatabaseDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
use GeoIp2\Database\Reader;
66
use Illuminate\Support\Arr;
7-
use MaxMind\Db\Reader\InvalidDatabaseException as MaxMindInvalidDatabaseException;
8-
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
97
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
8+
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
9+
use MaxMind\Db\Reader\InvalidDatabaseException as MaxMindInvalidDatabaseException;
1010

1111
class MaxmindDatabaseDriver extends MaxmindDriver
1212
{

src/Drivers/TelizeDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace PulkitJalan\GeoIP\Drivers;
44

5-
use GuzzleHttp\Exception\RequestException;
65
use Illuminate\Support\Arr;
6+
use GuzzleHttp\Exception\RequestException;
77
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
88

99
class TelizeDriver extends AbstractGeoIPDriver

src/GeoIPManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
use Illuminate\Support\Arr;
66
use Illuminate\Support\Str;
7-
use PulkitJalan\GeoIP\Drivers\AbstractGeoIPDriver;
87
use PulkitJalan\GeoIP\Drivers\IPApiDriver;
8+
use PulkitJalan\GeoIP\Drivers\TelizeDriver;
99
use PulkitJalan\GeoIP\Drivers\IpStackDriver;
1010
use PulkitJalan\GeoIP\Drivers\MaxmindApiDriver;
11+
use PulkitJalan\GeoIP\Drivers\AbstractGeoIPDriver;
1112
use PulkitJalan\GeoIP\Drivers\MaxmindDatabaseDriver;
12-
use PulkitJalan\GeoIP\Drivers\TelizeDriver;
1313
use PulkitJalan\GeoIP\Exceptions\InvalidDriverException;
1414

1515
class GeoIPManager

src/GeoIPUpdater.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace PulkitJalan\GeoIP;
44

5+
use PharData;
56
use Exception;
6-
use GuzzleHttp\Client as GuzzleClient;
77
use Illuminate\Support\Arr;
8-
use PharData;
9-
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
8+
use GuzzleHttp\Client as GuzzleClient;
109
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
10+
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
1111

1212
class GeoIPUpdater
1313
{

tests/GeoIPTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
use BadMethodCallException;
66
use Illuminate\Support\Arr;
7+
use PulkitJalan\GeoIP\GeoIP;
78
use PHPUnit\Framework\TestCase;
89
use PulkitJalan\GeoIP\Exceptions\GeoIPException;
9-
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
10-
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
1110
use PulkitJalan\GeoIP\Exceptions\InvalidDriverException;
12-
use PulkitJalan\GeoIP\GeoIP;
11+
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
12+
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
1313

1414
class GeoIPTest extends TestCase
1515
{

tests/GeoIPUpdaterTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
namespace PulkitJalan\GeoIP\Tests;
44

5-
use Exception;
6-
use GuzzleHttp\Client as GuzzleClient;
7-
use GuzzleHttp\Psr7\Response;
8-
use Mockery;
95
use Phar;
6+
use Mockery;
107
use PharData;
8+
use Exception;
9+
use GuzzleHttp\Psr7\Response;
1110
use PHPUnit\Framework\TestCase;
12-
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
13-
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
1411
use PulkitJalan\GeoIP\GeoIPUpdater;
12+
use GuzzleHttp\Client as GuzzleClient;
13+
use PulkitJalan\GeoIP\Exceptions\InvalidDatabaseException;
14+
use PulkitJalan\GeoIP\Exceptions\InvalidCredentialsException;
1515

1616
class GeoIPUpdaterTest extends TestCase
1717
{

0 commit comments

Comments
 (0)