Skip to content

Commit 9c33d30

Browse files
committed
test: use use statement
1 parent 76595ee commit 9c33d30

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/system/Debug/ExceptionsTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace CodeIgniter\Debug;
1313

14+
use App\Controllers\Home;
1415
use CodeIgniter\Database\Exceptions\DatabaseException;
1516
use CodeIgniter\Entity\Exceptions\CastException;
1617
use CodeIgniter\Exceptions\ConfigException;
@@ -157,7 +158,7 @@ public function testMaskSensitiveData(): void
157158
'file' => '/var/www/CodeIgniter4/app/Controllers/Home.php',
158159
'line' => 15,
159160
'function' => 'f',
160-
'class' => 'App\\Controllers\\Home',
161+
'class' => Home::class,
161162
'type' => '->',
162163
'args' => [
163164
0 => (object) [
@@ -180,7 +181,7 @@ public function testMaskSensitiveData(): void
180181
'file' => '/var/www/CodeIgniter4/system/CodeIgniter.php',
181182
'line' => 932,
182183
'function' => 'index',
183-
'class' => 'App\\Controllers\\Home',
184+
'class' => Home::class,
184185
'type' => '->',
185186
'args' => [
186187
],
@@ -206,7 +207,7 @@ public function testMaskSensitiveDataTraceDataKey(): void
206207
'file' => '/var/www/CodeIgniter4/app/Controllers/Home.php',
207208
'line' => 15,
208209
'function' => 'f',
209-
'class' => 'App\\Controllers\\Home',
210+
'class' => Home::class,
210211
'type' => '->',
211212
'args' => [
212213
],
@@ -215,7 +216,7 @@ public function testMaskSensitiveDataTraceDataKey(): void
215216
'file' => '/var/www/CodeIgniter4/system/CodeIgniter.php',
216217
'line' => 932,
217218
'function' => 'index',
218-
'class' => 'App\\Controllers\\Home',
219+
'class' => Home::class,
219220
'type' => '->',
220221
'args' => [
221222
],

0 commit comments

Comments
 (0)