Skip to content

Commit c60b94c

Browse files
committed
StyleCI rules changed.
1 parent 25bdaef commit c60b94c

File tree

14 files changed

+35
-35
lines changed

14 files changed

+35
-35
lines changed

integrations/guzzle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminated\Console\Exceptions\RuntimeException;
4-
use Psr\Http\Message\RequestInterface;
53
use Psr\Log\LoggerInterface;
4+
use Psr\Http\Message\RequestInterface;
5+
use Illuminated\Console\Exceptions\RuntimeException;
66

77
if (!function_exists('iclogger_guzzle_middleware')) {
88
function iclogger_guzzle_middleware(LoggerInterface $log, $type = 'raw', callable $shouldLogRequest = null, callable $shouldLogResponse = null)

src/Exceptions/ExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Illuminated\Console\Exceptions;
44

55
use Exception;
6-
use Illuminate\Foundation\Exceptions\Handler;
76
use Psr\Log\LoggerInterface;
7+
use Illuminate\Foundation\Exceptions\Handler;
88

99
class ExceptionHandler extends Handler
1010
{

src/Loggable.php

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

33
namespace Illuminated\Console;
44

5-
use Illuminate\Contracts\Debug\ExceptionHandler as ExceptionHandlerContract;
6-
use Illuminated\Console\Exceptions\ExceptionHandler;
7-
use Illuminated\Console\Loggable\FileChannel\FileChannel;
8-
use Illuminated\Console\Loggable\Notifications\DatabaseChannel\DatabaseChannel;
9-
use Illuminated\Console\Loggable\Notifications\EmailChannel\EmailChannel;
105
use Monolog\Logger;
116
use Symfony\Component\Console\Input\InputInterface;
7+
use Illuminated\Console\Exceptions\ExceptionHandler;
128
use Symfony\Component\Console\Output\OutputInterface;
9+
use Illuminated\Console\Loggable\FileChannel\FileChannel;
10+
use Illuminated\Console\Loggable\Notifications\EmailChannel\EmailChannel;
11+
use Illuminate\Contracts\Debug\ExceptionHandler as ExceptionHandlerContract;
12+
use Illuminated\Console\Loggable\Notifications\DatabaseChannel\DatabaseChannel;
1313

1414
trait Loggable
1515
{

src/Loggable/FileChannel/MonologFormatter.php

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

33
namespace Illuminated\Console\Loggable\FileChannel;
44

5-
use Monolog\Formatter\LineFormatter;
65
use Traversable;
6+
use Monolog\Formatter\LineFormatter;
77

88
class MonologFormatter extends LineFormatter
99
{

src/Loggable/Notifications/DatabaseChannel/MonologDatabaseHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Illuminated\Console\Loggable\Notifications\DatabaseChannel;
44

55
use Carbon\Carbon;
6-
use Illuminate\Database\Schema\Blueprint;
6+
use Monolog\Logger;
77
use Illuminate\Support\Facades\DB;
88
use Illuminate\Support\Facades\Schema;
9+
use Illuminate\Database\Schema\Blueprint;
910
use Monolog\Handler\AbstractProcessingHandler;
10-
use Monolog\Logger;
1111

1212
class MonologDatabaseHandler extends AbstractProcessingHandler
1313
{

src/Loggable/Notifications/EmailChannel/EmailChannel.php

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

33
namespace Illuminated\Console\Loggable\Notifications\EmailChannel;
44

5-
use Monolog\Handler\DeduplicationHandler;
5+
use Monolog\Logger;
66
use Monolog\Handler\MandrillHandler;
7-
use Monolog\Handler\NativeMailerHandler;
87
use Monolog\Handler\SwiftMailerHandler;
9-
use Monolog\Logger;
8+
use Monolog\Handler\NativeMailerHandler;
9+
use Monolog\Handler\DeduplicationHandler;
1010

1111
trait EmailChannel
1212
{

tests/ConsoleLogger/Exceptions/ExceptionHandlerTest.php

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

33
namespace Illuminated\Console\ConsoleLogger\Tests\Exceptions;
44

5+
use Mockery;
56
use Exception;
6-
use Illuminated\Console\ConsoleLogger\Tests\TestCase;
7+
use Psr\Log\LoggerInterface;
78
use Illuminated\Console\Exceptions\ExceptionHandler;
89
use Illuminated\Console\Exceptions\RuntimeException;
9-
use Mockery;
10-
use Psr\Log\LoggerInterface;
10+
use Illuminated\Console\ConsoleLogger\Tests\TestCase;
1111

1212
class ExceptionHandlerTest extends TestCase
1313
{

tests/ConsoleLogger/Loggable/Notifications/DatabaseChannel/DatabaseChannelTest.php

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

33
namespace Illuminated\Console\ConsoleLogger\Tests\Loggable\Notifications\DatabaseChannel;
44

5-
use Illuminate\Database\Schema\Blueprint;
5+
use Monolog\Logger;
66
use Illuminate\Support\Facades\Schema;
7+
use Illuminate\Database\Schema\Blueprint;
78
use Illuminated\Console\ConsoleLogger\Tests\TestCase;
8-
use Monolog\Logger;
99

1010
class DatabaseChannelTest extends TestCase
1111
{

tests/ConsoleLogger/Loggable/Notifications/EmailChannel/EmailChannelTest.php

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

33
namespace Illuminated\Console\ConsoleLogger\Tests\Loggable\Notifications\EmailChannel;
44

5+
use Monolog\Logger;
56
use EmailNotificationsCommand;
7+
use Monolog\Handler\MandrillHandler;
8+
use Monolog\Handler\SwiftMailerHandler;
9+
use Monolog\Handler\NativeMailerHandler;
10+
use Monolog\Handler\DeduplicationHandler;
611
use EmailNotificationsDeduplicationCommand;
712
use EmailNotificationsInvalidRecipientsCommand;
813
use Illuminated\Console\ConsoleLogger\Tests\TestCase;
914
use Illuminated\Console\Loggable\Notifications\EmailChannel\MonologHtmlFormatter;
10-
use Monolog\Handler\DeduplicationHandler;
11-
use Monolog\Handler\MandrillHandler;
12-
use Monolog\Handler\NativeMailerHandler;
13-
use Monolog\Handler\SwiftMailerHandler;
14-
use Monolog\Logger;
1515

1616
class EmailChannelTest extends TestCase
1717
{

tests/ConsoleLogger/Loggable/Notifications/EmailChannel/MonologHtmlFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Illuminated\Console\ConsoleLogger\Tests\Loggable\Notifications\EmailChannel;
44

55
use DateTime;
6+
use Monolog\Logger;
67
use Illuminated\Console\ConsoleLogger\Tests\TestCase;
78
use Illuminated\Console\Loggable\Notifications\EmailChannel\MonologHtmlFormatter;
8-
use Monolog\Logger;
99

1010
class MonologHtmlFormatterTest extends TestCase
1111
{

0 commit comments

Comments
 (0)