Skip to content

Commit 13447b6

Browse files
committed
style: run cs-fix
1 parent 76efe75 commit 13447b6

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?php
22

3-
use CodeIgniter\Session\Session;
43
use CodeIgniter\Session\Handlers\ArrayHandler;
4+
use CodeIgniter\Session\Session;
55
use Config\Session;
66

77
// Load session config
8-
$config = new config(Session::class);
8+
$config = new \config(Session::class);
99

1010
// Initialize ArrayHandler with config and optional IP
1111
$arrayHandler = new ArrayHandler($config, '127.0.0.1');
1212

1313
// Create session instance for testing
1414
$testSession = new Session($arrayHandler, $config);
15-

user_guide_src/source/testing/session_testing/003.php

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

3-
use CodeIgniter\Test\CIUnitTestCase;
4-
use CodeIgniter\Session\Session;
53
use CodeIgniter\Session\Handlers\ArrayHandler;
4+
use CodeIgniter\Session\Session;
5+
use CodeIgniter\Test\CIUnitTestCase;
66
use Config\Session as SessionConfig;
77

88
class SessionTest extends CIUnitTestCase

user_guide_src/source/testing/session_testing/004.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
$testSession->remove('framework');
1414

1515
// Should be null
16-
$this->assertNull($testSession->get('framework'));
16+
$this->assertNull($testSession->get('framework'));

0 commit comments

Comments
 (0)