456 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
073306c0dc
refactor: use first class callable on function call 2024-06-26 11:59:01 +07:00
kenjis
cdec7d0b39
fix: revert rule alpha 2024-06-13 08:04:39 +09:00
kenjis
1ca24da3d4
fix: if_exist does not work with array data 2024-06-13 07:55:58 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +09:00
kenjis
6d595e01b1
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	user_guide_src/source/database/configuration.rst
2024-03-26 08:23:46 +09:00
kenjis
5ebe2b7eeb
refactor: improve Validation error message for placeholder 2024-03-20 09:22:31 +09:00
kenjis
452543e813
Merge pull request #8607 from kenjis/feat-Services-get
perf: add Services::get()
2024-03-07 16:35:49 +09:00
kenjis
15ad0a3983
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-03-05 16:09:50 +09:00
kenjis
3880337c93
refactor: use service() in framework code 2024-03-04 17:45:22 +09:00
kenjis
e60466dabc
fix: ErrorException is thrown if getimagesize() returns false
ErrorException
Trying to access array offset on value of type bool
2024-02-28 06:27:38 +09:00
kenjis
99a9148b0a
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	psalm-baseline.xml
	system/Router/AutoRouterImproved.php
	system/Router/Router.php
2024-02-26 09:42:51 +09:00
kenjis
e1df9f5bcd
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	system/Router/AutoRouterImproved.php
	system/Router/Router.php
2024-02-26 06:59:33 +09:00
John Paul E. Balandan, CPA
06353a4037
style: Enable phpdoc_list_type fixer 2024-02-26 00:19:02 +08:00
John Paul E. Balandan, CPA
609be527ce
style: enable phpdoc_array_type (#8580) 2024-02-25 22:58:47 +08:00
kenjis
0534ac6d96
feat: Validation::run() accepts DB connection 2024-02-01 18:49:54 +09:00
kenjis
787382c845
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-01-18 09:39:55 +09:00
grimpirate
75d54000ae
DotArrayFilter replace rather than merge
The use of array_merge_recursive rewrites numerically indexed values when attempting to retrieve validated data. Use of the array_replace_recursive function preserves their ordering. Unit test demonstrates the failure of array_merge_recursive's use rather than array_replace_recursive
2024-01-16 18:50:02 -05:00
kenjis
b2534a16d8
Merge remote-tracking branch 'origin/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	system/BaseModel.php
	system/CodeIgniter.php
	system/Model.php
	system/Test/FeatureTestCase.php
	system/Test/TestResponse.php
2023-12-28 19:57:49 +09:00
kenjis
0ece99be51
refactor: replace empty() 2023-12-26 07:24:04 +09:00
kenjis
31c5c141b9
refactor: replace empty() 2023-12-26 07:24:04 +09:00
kenjis
ed4fce13ab
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	rector.php
	system/Database/BaseBuilder.php
	system/Honeypot/Honeypot.php
	system/Router/RouteCollection.php
	system/Test/FeatureTestCase.php
	system/Test/FeatureTestTrait.php
	system/Validation/FormatRules.php
2023-12-22 07:07:52 +09:00
kenjis
2718024906
fix: remove unneeded conditions 2023-12-21 09:46:51 +09:00
kenjis
d258659947
refactor: apply DisallowedEmptyRuleFixerRector 2023-12-21 09:46:49 +09:00
kenjis
bb9e60e916
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	system/BaseModel.php
	system/Controller.php
	system/Helpers/array_helper.php
2023-12-19 11:35:20 +09:00
kenjis
cec682b049
refactor: apply SimplifyEmptyCheckOnEmptyArrayRector 2023-12-17 17:32:04 +09:00
kenjis
dce194b848
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-12-07 12:49:32 +09:00
woodong
cb4fe38d41
fix: Handle non-array JSON in validation 2023-12-06 20:47:45 +08:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
5f1d0a5a75
refactor: change $param value 2023-11-22 10:39:22 +09:00
kenjis
f0b92fc3cd
refactor: fix type error
$param is ?string.
2023-11-22 10:31:22 +09:00
kenjis
4a5cb90b55
Merge pull request #8186 from kenjis/fix-HTTP-verb-cases
fix: remove deprecated upper functionality in `Request::getMethod()`
2023-11-20 06:04:40 +09:00
kenjis
7149fa5d8c
refactor: use HTTP\Method constants 2023-11-19 20:03:45 +09:00
kenjis
5bd6cbbceb
refactor: remove strtoupper()/strtolower() for $request->getMethod() 2023-11-19 20:03:41 +09:00
kenjis
cfa4fa1181
feat: improve error key 2023-11-12 11:45:40 +09:00
kenjis
345b6af81c
feat: add dot array syntax support 2023-11-12 11:45:40 +09:00
kenjis
6b72d1b75b
refactor: by rector 2023-11-12 11:45:39 +09:00
kenjis
b98fde4506
feat: add field_exists rule 2023-11-12 11:45:38 +09:00
kenjis
7aad65d180
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-11-08 06:57:18 +09:00
kenjis
32aaf0c545
refactor: fix parameter types 2023-11-06 10:12:11 +09:00
kenjis
fdd9ec88d8
refactor: by rector 2023-11-03 09:41:52 +09:00
kenjis
c83e2ea981
fix: traditional validation rule matches and differs
Match CI3 behaviros.
2023-11-03 09:41:52 +09:00
kenjis
c06e0b3a3c
fix: strict validation rule matches and differs 2023-11-03 09:41:51 +09:00
kenjis
47675842c4
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-11-03 09:38:11 +09:00
kenjis
4913acc1d6
refactor: extract getRegex() 2023-10-31 11:32:53 +09:00
kenjis
50da2138d5
fix!: Validation rule with * gets incorrect values as dot array syntax 2023-10-31 09:03:40 +09:00
kenjis
8a3a9a093b
refactor!: remove param types for traditional validation rules
There is no guarantee that a string will be passed, so declaring strict types may result in a TypeError.
2023-10-30 12:05:56 +09:00
kenjis
61508ccca6
refactor: cast param to string 2023-10-27 12:58:57 +09:00
kenjis
eafe91b300
refactor!: remove param types for traditional validation rules
There is no guarantee that a string will be passed, so declaring strict types may result in a TypeError.
2023-10-27 12:58:56 +09:00
kenjis
86a84ce08f
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	user_guide_src/source/concepts/autoloader.rst
2023-10-26 06:01:09 +09:00
kenjis
391723b1c8
fix: exact_length does not validate int values 2023-10-24 19:10:18 +09:00