Skip to content

Commit f5844cb

Browse files
committed
Release v4.4.5
1 parent 7c170c4 commit f5844cb

File tree

24 files changed

+510
-276
lines changed

24 files changed

+510
-276
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"psr/log": "^1.1"
1919
},
2020
"require-dev": {
21-
"codeigniter/coding-standard": "^1.5",
21+
"codeigniter/coding-standard": "^1.7",
2222
"fakerphp/faker": "^1.9",
23-
"friendsofphp/php-cs-fixer": "~3.41.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",

system/CodeIgniter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CodeIgniter
5454
/**
5555
* The current version of CodeIgniter Framework
5656
*/
57-
public const CI_VERSION = '4.4.4';
57+
public const CI_VERSION = '4.4.5';
5858

5959
/**
6060
* App startup time.

system/Commands/Generators/Views/model.tpl.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class {class} extends Model
1717
protected $protectFields = true;
1818
protected $allowedFields = [];
1919

20+
protected bool $allowEmptyInserts = false;
21+
2022
// Dates
2123
protected $useTimestamps = false;
2224
protected $dateFormat = 'datetime';

system/Database/BaseBuilder.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,11 @@ class BaseBuilder
169169
* constraints?: array,
170170
* setQueryAsData?: string,
171171
* sql?: string,
172-
* alias?: string
172+
* alias?: string,
173+
* fieldTypes?: array<string, array<string, string>>
173174
* }
175+
*
176+
* fieldTypes: [ProtectedTableName => [FieldName => Type]]
174177
*/
175178
protected $QBOptions;
176179

@@ -1758,6 +1761,8 @@ public function getWhere($where = null, ?int $limit = null, ?int $offset = 0, bo
17581761
/**
17591762
* Compiles batch insert/update/upsert strings and runs the queries
17601763
*
1764+
* @param '_deleteBatch'|'_insertBatch'|'_updateBatch'|'_upsertBatch' $renderMethod
1765+
*
17611766
* @return false|int|string[] Number of rows inserted or FALSE on failure, SQL array when testMode
17621767
*
17631768
* @throws DatabaseException

0 commit comments

Comments
 (0)