Skip to content

Commit 9582c8f

Browse files
authored
Merge pull request #8422 from kenjis/update-cs-fixer-3.47.1
chore: update php-cs-fixer to v3.47.1
2 parents fa6fc02 + 4fc5e1c commit 9582c8f

File tree

7 files changed

+8
-13
lines changed

7 files changed

+8
-13
lines changed

admin/framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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",

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
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",

phpstan-baseline.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,11 +1666,6 @@
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,

system/Database/SQLite3/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace CodeIgniter\Database\SQLite3;
1313

1414
use CodeIgniter\Database\Exceptions\DataException;
15-
use stdclass;
15+
use stdClass;
1616

1717
/**
1818
* Class Table

tests/system/Database/Live/SQLite/GetIndexDataTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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';

tests/system/Debug/ExceptionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

tests/system/View/ViewTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)