File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tests/Foundation/Bootstrap Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 7
7
use Illuminate \Foundation \Application ;
8
8
use Illuminate \Foundation \Bootstrap \HandleExceptions ;
9
9
use Illuminate \Log \LogManager ;
10
- use Illuminate \Support \Str ;
11
10
use Mockery as m ;
12
11
use Monolog \Handler \NullHandler ;
13
12
use PHPUnit \Framework \TestCase ;
@@ -52,7 +51,7 @@ public function testPhpDeprecations()
52
51
53
52
$ logger ->shouldReceive ('channel ' )->with ('deprecations ' )->andReturnSelf ();
54
53
$ logger ->shouldReceive ('warning ' )->with (
55
- m::on (fn (string $ message ) => (bool ) preg_match (
54
+ m::on (fn (string $ message ) => (bool ) preg_match (
56
55
<<<REGEXP
57
56
#ErrorException: str_contains\(\): Passing null to parameter \#2 \(\\ \$needle\) of type string is deprecated in /home/user/laravel/routes/web\.php:17
58
57
Stack trace:
@@ -81,7 +80,7 @@ public function testUserDeprecations()
81
80
82
81
$ logger ->shouldReceive ('channel ' )->with ('deprecations ' )->andReturnSelf ();
83
82
$ logger ->shouldReceive ('warning ' )->with (
84
- m::on (fn (string $ message ) => (bool ) preg_match (
83
+ m::on (fn (string $ message ) => (bool ) preg_match (
85
84
<<<REGEXP
86
85
#ErrorException: str_contains\(\): Passing null to parameter \#2 \(\\ \$needle\) of type string is deprecated in /home/user/laravel/routes/web\.php:17
87
86
Stack trace:
You can’t perform that action at this time.
0 commit comments