Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed May 29, 2021
1 parent 332f4e8 commit 985350e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ return PhpCsFixer\Config::create()
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['align_double_arrow' => false, 'align_equals' => false],
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced', 'strict' => true],
'no_extra_blank_lines' => false,
'no_empty_comment' => false,
'no_extra_consecutive_blank_lines' => false,
Expand All @@ -19,6 +20,7 @@ return PhpCsFixer\Config::create()
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_order' => true,
'php_unit_method_casing' => false,
'pre_increment' => false,
'self_accessor' => false,
'single_trait_insert_per_statement' => false,
Expand Down
2 changes: 0 additions & 2 deletions src/Laravel/StreamServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Laravie\Stream\Laravel;

use Illuminate\Container\Container;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
use React\EventLoop\Factory;
use React\EventLoop\LoopInterface;
Expand Down
1 change: 0 additions & 1 deletion src/Log/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Laravie\Stream\Log;

use JakubOnderka\PhpConsoleColor\ConsoleColor;
use Laravie\Stream\Logger;
use League\CLImate\CLImate;
use League\CLImate\Util\Writer\WriterInterface;
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Log/ConsoleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Laravie\Stream\Tests\Unit\Log;

use League\CLImate\CLImate;
use Laravie\Stream\Log\Console;
use Laravie\Stream\Logger;
use League\CLImate\CLImate;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use React\Stream\WritableStreamInterface;
Expand Down Expand Up @@ -77,7 +77,7 @@ public function it_can_write_error()

public function expectContains(string $needle, string $haystack): void
{
if (\method_exists($this, 'assertStringContainsString')) {
if (method_exists($this, 'assertStringContainsString')) {
$this->assertStringContainsString($needle, $haystack);
} else {
$this->assertContains($needle, $haystack);
Expand Down

0 comments on commit 985350e

Please sign in to comment.