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 2020 "require-dev" : {
2121 "codeigniter/coding-standard" : " ^1.7" ,
2222 "fakerphp/faker" : " ^1.9" ,
23- "friendsofphp/php-cs-fixer" : " ~3.46.0 " ,
23+ "friendsofphp/php-cs-fixer" : " ^3.47.1 " ,
2424 "kint-php/kint" : " ^5.0.4" ,
2525 "mikey179/vfsstream" : " ^1.6" ,
2626 "nexusphp/cs-config" : " ^3.6" ,
Original file line number Diff line number Diff line change 2222 "codeigniter/phpstan-codeigniter" : " ^1.4" ,
2323 "ergebnis/composer-normalize" : " ^2.28" ,
2424 "fakerphp/faker" : " ^1.9" ,
25- "friendsofphp/php-cs-fixer" : " ~3.46.0 " ,
25+ "friendsofphp/php-cs-fixer" : " ^3.47.1 " ,
2626 "kint-php/kint" : " ^5.0.4" ,
2727 "mikey179/vfsstream" : " ^1.6" ,
2828 "nexusphp/cs-config" : " ^3.6" ,
Original file line number Diff line number Diff line change 16661666 'count ' => 1 ,
16671667 'path ' => __DIR__ . '/system/Database/SQLite3/PreparedQuery.php ' ,
16681668];
1669- $ ignoreErrors [] = [
1670- 'message ' => '#^Class stdClass referenced with incorrect case \\: stdclass \\.$# ' ,
1671- 'count ' => 2 ,
1672- 'path ' => __DIR__ . '/system/Database/SQLite3/Table.php ' ,
1673- ];
16741669$ ignoreErrors [] = [
16751670 'message ' => '#^Construct empty \\( \\) is not allowed \\. Use more strict comparison \\.$# ' ,
16761671 'count ' => 2 ,
Original file line number Diff line number Diff line change 1212namespace CodeIgniter \Database \SQLite3 ;
1313
1414use CodeIgniter \Database \Exceptions \DataException ;
15- use stdclass ;
15+ use stdClass ;
1616
1717/**
1818 * Class Table
Original file line number Diff line number Diff line change @@ -75,19 +75,19 @@ public function testGetIndexData(): void
7575
7676 $ expectedIndexes = [];
7777
78- $ row = new stdclass ();
78+ $ row = new stdClass ();
7979 $ row ->name = 'PRIMARY ' ;
8080 $ row ->fields = ['id ' ];
8181 $ row ->type = 'PRIMARY ' ;
8282 $ expectedIndexes ['PRIMARY ' ] = $ row ;
8383
84- $ row = new stdclass ();
84+ $ row = new stdClass ();
8585 $ row ->name = 'testuser_email ' ;
8686 $ row ->fields = ['email ' ];
8787 $ row ->type = 'UNIQUE ' ;
8888 $ expectedIndexes ['testuser_email ' ] = $ row ;
8989
90- $ row = new stdclass ();
90+ $ row = new stdClass ();
9191 $ row ->name = 'testuser_country ' ;
9292 $ row ->fields = ['country ' ];
9393 $ row ->type = 'INDEX ' ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ final class ExceptionsTest extends CIUnitTestCase
3131{
3232 use ReflectionHelper;
3333
34- private \ CodeIgniter \ Debug \ Exceptions $ exception ;
34+ private Exceptions $ exception ;
3535
3636 public static function setUpBeforeClass (): void
3737 {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ final class ViewTest extends CIUnitTestCase
2727{
2828 private FileLocator $ loader ;
2929 private string $ viewsDir ;
30- private \ Config \View $ config ;
30+ private Config \View $ config ;
3131
3232 protected function setUp (): void
3333 {
You can’t perform that action at this time.
0 commit comments