582 Commits

Author SHA1 Message Date
kenjis
e843fec493
refactor: run rector (2nd time) 2024-04-06 09:24:48 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +09:00
kenjis
e78c92994f
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-04-05 16:59:18 +09:00
Abdul Malik Ikhsan
1455e8dac6
remove !== "0" check 2024-04-04 15:38:56 +07:00
Abdul Malik Ikhsan
0987c9ac0b
chore: [Rector] Apply ExplicitBoolCompareRector 2024-04-03 22:25:35 +07:00
kenjis
96ce795691
Merge remote-tracking branch 'origin/develop' into 4.5
Conflicts:
	system/CodeIgniter.php
	system/Filters/Filters.php
	system/Language/Language.php
	system/Router/Router.php
2024-03-29 13:56:45 +09:00
kenjis
03ec3ff566
refactor: use \A and \z
It is better to use always \A and \z if you try to check a string.
Because `$` matches the end of a line, and matches a newline charactor.
2024-03-29 11:16:41 +09:00
kenjis
4d6b45b769
fix: add missing URI Security and Conig\App::$permittedURIChars 2024-03-29 11:16:40 +09:00
kenjis
3880337c93
refactor: use service() in framework code 2024-03-04 17:45:22 +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
437ce02bf2
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	system/Router/RouteCollection.php
2024-02-04 17:46:36 +09:00
kenjis
f5c3df5670
docs: add signature for Closure in Router 2024-02-03 09:51:38 +09:00
kenjis
a5d0475190
feat: add option to pass multiple URI segements to one parameter 2024-01-20 10:04:30 +09:00
kenjis
ed5759c6db
refactor: replace empty() 2024-01-20 10:04:29 +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
6be2c2af1e
feat: add $translateUriToCamelCase option 2023-12-11 09:55:52 +09:00
kenjis
e64ae667bd
refactor: add property $uri 2023-12-11 09:55:51 +09:00
kenjis
7bce45d0d9
refactor: add property $moduleRoutes 2023-12-11 09:55:51 +09:00
kenjis
c1678b72d3
refactor: remove unused $httpVerb 2023-12-10 10:06:07 +09:00
kenjis
ca2f5d877b
refactor: use param $httpVerb 2023-12-10 09:55:01 +09:00
kenjis
4e97542a0e
docs: add @param 2023-12-10 09:54:07 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
81cfb9fd50
refactor: by rector 2023-11-22 09:27:38 +09:00
kenjis
feb6c0fb08
fix: add missing Method::PATCH 2023-11-22 09:27:38 +09:00
kenjis
5251ad95f9
refactor: use Router::HTTP_METHODS 2023-11-22 09:27:38 +09:00
kenjis
0aad927ed3
feat: add Router::HTTP_METHODS for allowed HTTP methods 2023-11-22 09:27:37 +09:00
kenjis
143d9e0ed6
docs: fix @param 2023-11-22 09:27:37 +09:00
kenjis
4df364bd5d
fix: replace cli with CLI 2023-11-22 09:27:37 +09:00
kenjis
3085cf59e1
docs: add @internal 2023-11-22 09:27:36 +09:00
kenjis
9511215143
refactor: change array keys to uppercase HTTP verbs 2023-11-22 09:27:35 +09:00
kenjis
3c52bc3672
feat: add code for BC and trigger E_USER_DEPRECATED 2023-11-22 09:27:35 +09:00
kenjis
375c340685
feat: add trigger_error E_USER_DEPRECATED 2023-11-19 21:05:37 +09:00
kenjis
399367e695
docs: add deprecated features that accept lowercase HTTP methods 2023-11-19 20:03:44 +09:00
kenjis
b4a70bbdc3
docs: fix $routes->match() HTTP verbs 2023-11-19 20:03:43 +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
40b31bc273
Merge pull request #8091 from kenjis/refactor-fix-types
refactor: fix types
2023-10-29 09:02:50 +09:00
kenjis
597101b98b
refactor: fix parameter types 2023-10-28 06:39:58 +09:00
ping-yee
b9dc457ae1
style: change the coding style. 2023-10-24 14:13:13 +08:00
ping-yee
a2dfa69992
refactor: change the way to handle pagenotfound exception. 2023-10-24 14:12:44 +08:00
ping-yee
818e0b6dad
fix: Move the condition into AutoRouter.php from CodeIgniter.php. 2023-10-24 14:12:41 +08:00
kenjis
7b1500cee8
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-10-17 09:49:28 +09:00
kenjis
21132d482f
Merge pull request #8040 from kenjis/fix-spark-routes-bug
fix: `spark routes` may show incorrect route names
2023-10-16 15:36:12 +09:00