Skip to content

Commit a880574

Browse files
committed
Apply fixes from StyleCI
1 parent 0b19bb8 commit a880574

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Foundation/Bootstrap/HandleExceptionsTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Illuminate\Foundation\Application;
88
use Illuminate\Foundation\Bootstrap\HandleExceptions;
99
use Illuminate\Log\LogManager;
10-
use Illuminate\Support\Str;
1110
use Mockery as m;
1211
use Monolog\Handler\NullHandler;
1312
use PHPUnit\Framework\TestCase;
@@ -52,7 +51,7 @@ public function testPhpDeprecations()
5251

5352
$logger->shouldReceive('channel')->with('deprecations')->andReturnSelf();
5453
$logger->shouldReceive('warning')->with(
55-
m::on(fn(string $message) => (bool) preg_match(
54+
m::on(fn (string $message) => (bool) preg_match(
5655
<<<REGEXP
5756
#ErrorException: str_contains\(\): Passing null to parameter \#2 \(\\\$needle\) of type string is deprecated in /home/user/laravel/routes/web\.php:17
5857
Stack trace:
@@ -81,7 +80,7 @@ public function testUserDeprecations()
8180

8281
$logger->shouldReceive('channel')->with('deprecations')->andReturnSelf();
8382
$logger->shouldReceive('warning')->with(
84-
m::on(fn(string $message) => (bool) preg_match(
83+
m::on(fn (string $message) => (bool) preg_match(
8584
<<<REGEXP
8685
#ErrorException: str_contains\(\): Passing null to parameter \#2 \(\\\$needle\) of type string is deprecated in /home/user/laravel/routes/web\.php:17
8786
Stack trace:

0 commit comments

Comments
 (0)