Skip to content

Commit 2e97f3d

Browse files
authored
Merge branch 'codeigniter4:develop' into csp
2 parents e54d9b6 + 28cf32b commit 2e97f3d

File tree

22 files changed

+472
-283
lines changed

22 files changed

+472
-283
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
33
Each pull request should address a single issue and have a meaningful title.
44
5+
- PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion.
56
- Pull requests must be in English.
67
- If a pull request fixes an issue, reference the issue with a suitable keyword (e.g., Fixes <issue number>).
78
- All bug fixes should be sent to the __"develop"__ branch, this is where the next bug fix version will be developed.
8-
- PRs with any enhancement should be sent to the next minor version branch, e.g. __"4.3"__
9+
- PRs with any enhancement should be sent to the next minor version branch, e.g. __"4.5"__
910
1011
-->
1112
**Description**

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.43",
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: 2 additions & 2 deletions
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.43",
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",
@@ -34,7 +34,7 @@
3434
"phpunit/phpcov": "^8.2",
3535
"phpunit/phpunit": "^9.1",
3636
"predis/predis": "^1.1 || ^2.0",
37-
"rector/rector": "0.19.0",
37+
"rector/rector": "0.19.2",
3838
"vimeo/psalm": "^5.0"
3939
},
4040
"replace": {

phpstan-baseline.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,11 +1451,6 @@
14511451
'count' => 1,
14521452
'path' => __DIR__ . '/system/Database/Postgre/Forge.php',
14531453
];
1454-
$ignoreErrors[] = [
1455-
'message' => '#^Return type \\(array\\|bool\\|string\\) of method CodeIgniter\\\\Database\\\\Postgre\\\\Forge\\:\\:_alterTable\\(\\) should be covariant with return type \\(array\\<string\\>\\|string\\|false\\) of method CodeIgniter\\\\Database\\\\Forge\\:\\:_alterTable\\(\\)$#',
1456-
'count' => 1,
1457-
'path' => __DIR__ . '/system/Database/Postgre/Forge.php',
1458-
];
14591454
$ignoreErrors[] = [
14601455
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
14611456
'count' => 1,
@@ -1656,21 +1651,11 @@
16561651
'count' => 1,
16571652
'path' => __DIR__ . '/system/Database/SQLite3/Forge.php',
16581653
];
1659-
$ignoreErrors[] = [
1660-
'message' => '#^Return type \\(array\\|string\\|null\\) of method CodeIgniter\\\\Database\\\\SQLite3\\\\Forge\\:\\:_alterTable\\(\\) should be covariant with return type \\(array\\<string\\>\\|string\\|false\\) of method CodeIgniter\\\\Database\\\\Forge\\:\\:_alterTable\\(\\)$#',
1661-
'count' => 1,
1662-
'path' => __DIR__ . '/system/Database/SQLite3/Forge.php',
1663-
];
16641654
$ignoreErrors[] = [
16651655
'message' => '#^Return type \\(SQLite3Result\\|false\\) of method CodeIgniter\\\\Database\\\\SQLite3\\\\PreparedQuery\\:\\:_getResult\\(\\) should be covariant with return type \\(object\\|resource\\|null\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<SQLite3,SQLite3Stmt,SQLite3Result\\>\\:\\:_getResult\\(\\)$#',
16661656
'count' => 1,
16671657
'path' => __DIR__ . '/system/Database/SQLite3/PreparedQuery.php',
16681658
];
1669-
$ignoreErrors[] = [
1670-
'message' => '#^Class stdClass referenced with incorrect case\\: stdclass\\.$#',
1671-
'count' => 2,
1672-
'path' => __DIR__ . '/system/Database/SQLite3/Table.php',
1673-
];
16741659
$ignoreErrors[] = [
16751660
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
16761661
'count' => 2,
@@ -1846,11 +1831,6 @@
18461831
'count' => 1,
18471832
'path' => __DIR__ . '/system/Exceptions/PageNotFoundException.php',
18481833
];
1849-
$ignoreErrors[] = [
1850-
'message' => '#^Call to method SplFileInfo\\:\\:getBasename\\(\\) with incorrect case\\: getBaseName$#',
1851-
'count' => 1,
1852-
'path' => __DIR__ . '/system/Files/File.php',
1853-
];
18541834
$ignoreErrors[] = [
18551835
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
18561836
'count' => 1,

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
PHPUnitSetList::PHPUNIT_100,
6060
]);
6161

62-
$rectorConfig->parallel(120);
62+
$rectorConfig->parallel(120, 8, 15);
6363

6464
// paths to refactor; solid alternative to CLI arguments
6565
$rectorConfig->paths([__DIR__ . '/app', __DIR__ . '/system', __DIR__ . '/tests', __DIR__ . '/utils']);

0 commit comments

Comments
 (0)