Skip to content

Commit 7a69fae

Browse files
authored
Merge pull request #1557 from samsonasik/clean-up-backslash-prefix-use-statements
remove \ prefix on use statements
2 parents 0585649 + 681493c commit 7a69fae

14 files changed

Lines changed: 18 additions & 14 deletions

File tree

system/Database/BaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @filesource
3737
*/
3838

39-
use \CodeIgniter\Database\Exceptions\DatabaseException;
39+
use CodeIgniter\Database\Exceptions\DatabaseException;
4040

4141
/**
4242
* Class BaseBuilder

system/Database/BaseUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @filesource
3737
*/
3838

39-
use \CodeIgniter\Database\Exceptions\DatabaseException;
39+
use CodeIgniter\Database\Exceptions\DatabaseException;
4040

4141
/**
4242
* Class BaseUtils

system/Database/Forge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @filesource
3737
*/
3838

39-
use \CodeIgniter\Database\Exceptions\DatabaseException;
39+
use CodeIgniter\Database\Exceptions\DatabaseException;
4040

4141
/**
4242
* Class Forge

system/Database/MySQLi/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
use CodeIgniter\Database\BaseConnection;
4040
use CodeIgniter\Database\ConnectionInterface;
41-
use \CodeIgniter\Database\Exceptions\DatabaseException;
41+
use CodeIgniter\Database\Exceptions\DatabaseException;
4242

4343
/**
4444
* Connection for MySQLi

system/Database/MySQLi/PreparedQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838

3939
use CodeIgniter\Database\PreparedQueryInterface;
40-
use \CodeIgniter\Database\BasePreparedQuery;
40+
use CodeIgniter\Database\BasePreparedQuery;
4141

4242
class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
4343
{

system/Database/Postgre/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838

3939
use CodeIgniter\Database\BaseBuilder;
40-
use \CodeIgniter\Database\Exceptions\DatabaseException;
40+
use CodeIgniter\Database\Exceptions\DatabaseException;
4141

4242
/**
4343
* Builder for Postgre

system/Database/Postgre/PreparedQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838

3939
use CodeIgniter\Database\PreparedQueryInterface;
40-
use \CodeIgniter\Database\BasePreparedQuery;
40+
use CodeIgniter\Database\BasePreparedQuery;
4141

4242
class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
4343
{

system/Database/SQLite3/PreparedQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838

3939
use CodeIgniter\Database\PreparedQueryInterface;
40-
use \CodeIgniter\Database\BasePreparedQuery;
40+
use CodeIgniter\Database\BasePreparedQuery;
4141

4242
class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
4343
{

system/Debug/Exceptions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@
3636
* @filesource
3737
*/
3838

39+
use CodeIgniter\API\ResponseTrait;
40+
3941
/**
4042
* Exceptions manager
4143
*/
4244
class Exceptions
4345
{
44-
use \CodeIgniter\API\ResponseTrait;
46+
use ResponseTrait;
4547

4648
/**
4749
* Nesting level of the output buffering mechanism

tests/system/Database/Live/DeleteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace CodeIgniter\Database\Live;
22

3-
use \CodeIgniter\Database\Exceptions\DatabaseException;
3+
use CodeIgniter\Database\Exceptions\DatabaseException;
44
use CodeIgniter\Test\CIDatabaseTestCase;
55

66
/**

0 commit comments

Comments
 (0)