242 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
dede747236
refactor: enable SimplifyBoolIdenticalTrueRector 2024-10-30 16:37:37 +07:00
Abdul Malik Ikhsan
70816be6c8
refactor: Apply code quality level 15 for Rector 2024-10-28 22:16:15 +07:00
Abdul Malik Ikhsan
ff2f756baa
refactor: enable rector code quality level 14 2024-10-21 02:47:51 +07:00
Abdul Malik Ikhsan
7c8216ffbc
Refactor: enable Rector Code Quality level, apply level 9 for SimplifyConditionsRector 2024-10-16 02:28:17 +07:00
Abdul Malik Ikhsan
3f29f2883a
refactor: enable ClosureReturnTypeRector 2024-09-10 16:18:25 +07:00
Abdul Malik Ikhsan
45a002fbc1
refactor: enable TypedPropertyFromAssignsRector 2024-09-10 05:56:06 +07:00
Abdul Malik Ikhsan
87eb71ce29
refactor: enable AddMethodCallBasedStrictParamTypeRector 2024-08-28 08:54:48 +07:00
John Paul E. Balandan, CPA
90ea5c7cc1
Move phpstan and rector to root composer.json 2024-07-23 20:58:52 +08:00
John Paul E. Balandan, CPA
e7b7686405
Fix rector errors 2024-07-23 20:58:51 +08:00
Abdul Malik Ikhsan
1a180645de
chore: skip tests View fixtures from rector 2024-07-02 14:13:16 +07:00
Abdul Malik Ikhsan
fb7e4f1fed
refactor: Enable phpunit 10 attribute Rector rules 2024-06-30 18:17:12 +07:00
Abdul Malik Ikhsan
e792d438cf
refactor: enable AddFunctionVoidReturnTypeWhereNoReturnRector to add void to functions 2024-06-30 14:39:29 +07:00
Abdul Malik Ikhsan
9e4777a0c8
refactor: enable AddClosureVoidReturnTypeWhereNoReturnRector to add void return on closure 2024-06-27 22:19:28 +07:00
Abdul Malik Ikhsan
86480f498a
chore: fallback null on cache directory to use default rector cache directory 2024-06-26 07:36:11 +07:00
Abdul Malik Ikhsan
2d5d8a577c
chore: update to new RectorConfig::configure() syntax for config 2024-06-26 00:36:20 +07:00
Abdul Malik Ikhsan
48f36ef37a
remove SimplifyRegexPatternRector from rule() 2024-06-10 09:17:56 +07:00
Abdul Malik Ikhsan
260c379681
chore: Clean up Rector skip config on SimplifyRegexPatternRector and RemoveUnusedPromotedPropertyRector 2024-06-10 06:20:59 +07:00
Abdul Malik Ikhsan
3e90a29e6f
chore: remove JsonThrowOnErrorRector and FinalizePublicClassConstantRector from skip() config as no longer part of sets 2024-05-29 17:39:03 +07:00
kenjis
aaa37ad416
chore: skip FatalLocator in ReturnNeverTypeRector
The parent method return type is not never.
2024-04-06 09:24:49 +09:00
kenjis
b5a05a07f1
chore: change for upgrade to PHP 8.1 2024-04-06 09:24:45 +09:00
kenjis
e78c92994f
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-04-05 16:59:18 +09:00
Abdul Malik Ikhsan
0987c9ac0b
chore: [Rector] Apply ExplicitBoolCompareRector 2024-04-03 22:25:35 +07:00
kenjis
98a671e3f5
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	.github/workflows/test-rector.yml
2024-03-24 12:46:13 +09:00
Abdul Malik Ikhsan
ec54a6b207
combine paths 2024-03-24 02:24:02 +07:00
Abdul Malik Ikhsan
5b2bf1399b
set cache directory 2024-03-24 02:06:38 +07:00
Abdul Malik Ikhsan
f304d95048
set cache directory 2024-03-24 02:06:21 +07:00
kenjis
8737b4b8ce
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	system/Autoloader/Autoloader.php
2024-03-15 09:26:59 +09:00
justbyitself
f3e53914b7
refactor: apply cs-fix and rector 2024-03-12 00:03:30 +01:00
justbyitself
6bcd1011e7
chore: add version-compare-func-call-to-constant rule
Add Rector rule in order to replace PHP_VERSION by PHP_VERSION_ID.
@samsonasik suggestion: https://github.com/codeigniter4/CodeIgniter4/pull/8619
2024-03-11 13:16:34 +01:00
kenjis
94c7f087b7
chore: skip rector bug 2024-02-13 08:53:12 +09:00
kenjis
059b085a3d
chore: add skip to use $created_at 2024-02-13 08:49:28 +09:00
kenjis
a253e475c3
chore: skip PHPUnit 10 rules 2024-02-06 09:14:58 +09: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
Abdul Malik Ikhsan
400d171ebd
Reduce jobsize on rector config 2024-02-04 08:12:25 +07:00
kenjis
b4dd2ab23b
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-01-16 16:10:25 +09:00
Abdul Malik Ikhsan
6f045bf4e0
Update Rector parallel config 2024-01-16 13:59:33 +07:00
kenjis
088d01522f
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-01-16 13:55:30 +09:00
Abdul Malik Ikhsan
9fef925532
Fix parallel timeout 2024-01-09 22:15:52 +07:00
kenjis
6d34289d12
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-12-26 06:53:58 +09:00
kenjis
3cfbdf2b2e
chore: add StringClassNameToClassConstantRector option 2023-12-22 10:34:47 +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
9c93833f99
chore: add DisallowedEmptyRuleFixerRector 2023-12-21 09:46:49 +09:00
kenjis
145415e81a
chore: add EmptyOnNullableObjectToInstanceOfRector 2023-12-21 09:46:48 +09:00
kenjis
f2b7ff02d3
chore: add TernaryEmptyArrayArrayDimFetchToCoalesceRector 2023-12-21 09:46:48 +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
e9d1fcf986
chore: add SimplifyEmptyCheckOnEmptyArrayRector 2023-12-17 17:30:15 +09:00
kenjis
797c5d650e
chore: apply rector to files in tests/_support/ 2023-12-08 15:54:55 +09:00
kenjis
71de6c6fdc
chore: add DeclareStrictTypesRector 2023-11-30 16:14:50 +09:00
kenjis
4b923d5dbf
refactor: add declare(strict_types=1) to rector.php 2023-11-30 16:14:49 +09:00
kenjis
9dab5f12a7
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-11-22 09:05:15 +09:00