79 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
797d37751a
Merge branch 'develop' into 4.6 2025-01-13 11:15:24 +08:00
John Paul E. Balandan, CPA
c3ac0f9483
chore: add more trailing commas in more places (#9395)
* Apply to parameters

* Apply to array destructuring

* Apply to match

* Apply for arguments
2025-01-13 11:03:02 +08:00
John Paul E. Balandan, CPA
eec3739823
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-12-31 20:22:12 +08:00
Abdul Malik Ikhsan
a2ec5054d7
refactor: enable AddArrowFunctionReturnTypeRector 2024-12-28 23:00:15 +07:00
kenjis
57b5112813
fix: keep the behavior of Entity casts datetime with timestamp
It returns Time with the default timezone as before.
2024-08-12 07:48:57 +09:00
kenjis
f81c295558
docs: update @var type 2024-08-07 11:36:24 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +09:00
kenjis
45f10a3011
feat: use $db->dateFormat in DataCaster and DataConverter 2024-02-13 08:49:33 +09:00
kenjis
05889602a0
docs: add @TODO 2024-02-13 08:49:31 +09:00
kenjis
5c32e46149
docs: update doc comments 2024-02-13 08:49:30 +09:00
kenjis
029d1186b7
docs: fix doc comments in Entity/Cast/CastInterface 2024-01-29 11:35:05 +09:00
kenjis
31d8d79926
refactor: use DataCaster in Entity 2024-01-29 11:22:42 +09:00
kenjis
38a88c9ca0
docs: update comments in Entity/Cast/CastInterface 2024-01-29 11:22:38 +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
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
3da89acf09
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	app/Config/Autoload.php
2023-10-30 10:56:27 +09:00
John Paul E. Balandan, CPA
339d5276ab
Use native PHPDocs instead of @phpstan- 2023-10-29 23:55:08 +08:00
kenjis
597101b98b
refactor: fix parameter types 2023-10-28 06:39:58 +09:00
kenjis
6329255a8b
docs: add "see test" annotations 2023-09-08 17:35:23 +09:00
kenjis
f34580d02b
docs: fix or remove @param
php-cs-fixer has been modified to remove these tags.
2023-08-30 09:48:17 +09:00
kenjis
d9bb12448f
Merge remote-tracking branch 'upstream/develop' into 4.4
Conflicts:
	system/Helpers/cookie_helper.php
	system/Session/Handlers/RedisHandler.php
2023-08-10 10:03:41 +09:00
Hsuan
f9726776ae
dev: change the return type. 2023-08-06 11:35:26 +08:00
Hsuan
33d28cccb2
Dev: Remove the ignore errors of Encryption and Entity in phpstan. 2023-08-05 22:52:15 +08:00
kenjis
9d32e46015
refactor: fix incorrect return value
See https://www.php.net/manual/en/language.oop5.overloading.php#language.oop5.overloading.members
2023-06-06 14:55:35 +09:00
kenjis
11b585b643
Merge remote-tracking branch 'upstream/develop' into 4.4 2023-06-06 14:52:26 +09:00
kenjis
923e2b33c2
refactor: fix incorrect return value
See https://www.php.net/manual/en/language.oop5.overloading.php#language.oop5.overloading.members
2023-06-06 12:16:16 +09:00
kenjis
9d62115826
Merge remote-tracking branch 'upstream/develop' into 4.4 2023-05-19 19:30:26 +09:00
kenjis
9b7409986a
docs: improve comment 2023-05-14 10:56:33 +09:00
kenjis
af0c2f174c
refactor: rename variable name 2023-05-14 10:54:00 +09:00
kenjis
302f2f177d
refactor: do not reassign $key 2023-05-14 10:34:21 +09:00
kenjis
2c815c64ed
feat: add new setter/getter method for Entity 2023-02-20 10:20:37 +09:00
kenjis
c4efd78fa9
feat: add Entity::injectRawData() to avoid name collision 2023-02-11 10:49:45 +09:00
kenjis
bf55cde458
Merge remote-tracking branch 'upstream/develop' into 4.3
Conflicts:
	system/CLI/CommandRunner.php
	system/CLI/Console.php
	system/Database/Forge.php
	system/I18n/Time.php
	system/Validation/Validation.php
2022-09-09 11:26:23 +09:00
John Paul E. Balandan, CPA
0d08a92d83
Add order option to phpdoc_order 2022-09-08 14:40:53 +08:00
MGatner
c9eb3d511c
Merge branch 'develop' into 4.3 2022-09-04 23:49:32 +00:00
John Paul E. Balandan, CPA
eb440742eb
Apply formatting fixes 2022-09-03 19:44:54 +08:00
kenjis
7bdecb51fc
Merge remote-tracking branch 'upstream/develop' into 4.3 2022-09-02 07:59:13 +09:00
kenjis
69c407b38c
docs: update PHPDoc in Entity 2022-08-31 13:42:13 +09:00
kenjis
076a5427b6
refactor: change cast handler name to int-bool
Array/Json Casting is `json-array`.
2022-08-09 09:27:09 +09:00
kenjis
899187a793
feat: add IntBoolCast for Entity 2022-08-09 09:14:04 +09:00
kenjis
eff6b9956b
feat: rename ExitExceptionInterface and add getExitCode() 2022-08-04 09:16:02 +09:00
kenjis
85b4e6728f
fix: incorrect HTTP status code or Exit code may return 2022-08-04 09:16:02 +09:00
kenjis
f781dc2878
Merge pull request #6285 from kenjis/fix-Entity-hasChanged-mapped-property
fix: Entity::hasChanged() returns wrong result to mapped property
2022-07-24 09:28:35 +09:00
kenjis
7900de26bc
docs: add @TODO 2022-07-23 08:02:57 +09:00
kenjis
010a5cffcf
docs: fix PHPDoc types 2022-07-22 10:43:04 +09:00
kenjis
77347707c6
docs: fix comment 2022-07-21 15:30:12 +09:00
kenjis
9c8d05ee8b
fix: hasChanged() returns wrong result to mapped property 2022-07-21 15:24:23 +09:00
kenjis
f422f3b3a8
docs: update PHPDocs 2022-07-21 15:24:22 +09:00
kenjis
a2e66a07bb
docs: fix PHPDocs 2022-07-18 08:02:44 +09:00