File tree Expand file tree Collapse file tree 7 files changed +8
-13
lines changed Expand file tree Collapse file tree 7 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 20
20
"require-dev" : {
21
21
"codeigniter/coding-standard" : " ^1.7" ,
22
22
"fakerphp/faker" : " ^1.9" ,
23
- "friendsofphp/php-cs-fixer" : " ~3.46.0 " ,
23
+ "friendsofphp/php-cs-fixer" : " ^3.47.1 " ,
24
24
"kint-php/kint" : " ^5.0.4" ,
25
25
"mikey179/vfsstream" : " ^1.6" ,
26
26
"nexusphp/cs-config" : " ^3.6" ,
Original file line number Diff line number Diff line change 22
22
"codeigniter/phpstan-codeigniter" : " ^1.4" ,
23
23
"ergebnis/composer-normalize" : " ^2.28" ,
24
24
"fakerphp/faker" : " ^1.9" ,
25
- "friendsofphp/php-cs-fixer" : " ~3.46.0 " ,
25
+ "friendsofphp/php-cs-fixer" : " ^3.47.1 " ,
26
26
"kint-php/kint" : " ^5.0.4" ,
27
27
"mikey179/vfsstream" : " ^1.6" ,
28
28
"nexusphp/cs-config" : " ^3.6" ,
Original file line number Diff line number Diff line change 1666
1666
'count ' => 1 ,
1667
1667
'path ' => __DIR__ . '/system/Database/SQLite3/PreparedQuery.php ' ,
1668
1668
];
1669
- $ ignoreErrors [] = [
1670
- 'message ' => '#^Class stdClass referenced with incorrect case \\: stdclass \\.$# ' ,
1671
- 'count ' => 2 ,
1672
- 'path ' => __DIR__ . '/system/Database/SQLite3/Table.php ' ,
1673
- ];
1674
1669
$ ignoreErrors [] = [
1675
1670
'message ' => '#^Construct empty \\( \\) is not allowed \\. Use more strict comparison \\.$# ' ,
1676
1671
'count ' => 2 ,
Original file line number Diff line number Diff line change 12
12
namespace CodeIgniter \Database \SQLite3 ;
13
13
14
14
use CodeIgniter \Database \Exceptions \DataException ;
15
- use stdclass ;
15
+ use stdClass ;
16
16
17
17
/**
18
18
* Class Table
Original file line number Diff line number Diff line change @@ -75,19 +75,19 @@ public function testGetIndexData(): void
75
75
76
76
$ expectedIndexes = [];
77
77
78
- $ row = new stdclass ();
78
+ $ row = new stdClass ();
79
79
$ row ->name = 'PRIMARY ' ;
80
80
$ row ->fields = ['id ' ];
81
81
$ row ->type = 'PRIMARY ' ;
82
82
$ expectedIndexes ['PRIMARY ' ] = $ row ;
83
83
84
- $ row = new stdclass ();
84
+ $ row = new stdClass ();
85
85
$ row ->name = 'testuser_email ' ;
86
86
$ row ->fields = ['email ' ];
87
87
$ row ->type = 'UNIQUE ' ;
88
88
$ expectedIndexes ['testuser_email ' ] = $ row ;
89
89
90
- $ row = new stdclass ();
90
+ $ row = new stdClass ();
91
91
$ row ->name = 'testuser_country ' ;
92
92
$ row ->fields = ['country ' ];
93
93
$ row ->type = 'INDEX ' ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ final class ExceptionsTest extends CIUnitTestCase
31
31
{
32
32
use ReflectionHelper;
33
33
34
- private \ CodeIgniter \ Debug \ Exceptions $ exception ;
34
+ private Exceptions $ exception ;
35
35
36
36
public static function setUpBeforeClass (): void
37
37
{
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ final class ViewTest extends CIUnitTestCase
27
27
{
28
28
private FileLocator $ loader ;
29
29
private string $ viewsDir ;
30
- private \ Config \View $ config ;
30
+ private Config \View $ config ;
31
31
32
32
protected function setUp (): void
33
33
{
You can’t perform that action at this time.
0 commit comments