66 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
80719d473b
Merge branch 'develop' into 4.6 2025-01-18 01:42:58 +08:00
John Paul E. Balandan, CPA
119330c56f
refactor: Use strtolower with str_contains/str_**_with as replacement for stripos (#9414)
* Use `modernize_stripos` option

* Fix impossible conditional in test
2025-01-17 22:51:06 +08:00
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
kenjis
60fddfe7c3
refactor: use CodeIgniter\Exceptions\InvalidArgumentException 2024-05-06 19:19:30 +09:00
kenjis
3540f97e9e
refactor: use CodeIgniter\Exceptions\RuntimeException 2024-05-06 19:19:21 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +09:00
John Paul E. Balandan, CPA
0dd758cc42
Add support for Faker modifiers 2024-03-30 17:17:32 +08: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
8254eb753d
refactor: replace empty() 2023-12-26 07:24:05 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
6329255a8b
docs: add "see test" annotations 2023-09-08 17:35:23 +09:00
kenjis
3bdb53f374
refactor: use ::class to config() param 2023-06-24 09:20:24 +09:00
ping-yee
1944d097e1
refactor time with time class into Test class. 2022-11-18 15:11:12 +08:00
John Paul E. Balandan, CPA
f681d7b850
Fix faker access deprecations 2022-10-30 16:53:54 +08:00
John Paul E. Balandan, CPA
0d08a92d83
Add order option to phpdoc_order 2022-09-08 14:40:53 +08:00
John Paul E. Balandan, CPA
f941858bcf
Use PHPStan's baseline instead of global ignore of errors 2021-12-13 15:05:13 +08:00
Abdul Malik Ikhsan
0c38916535
[Rector] Apply Rector dead code set list 2021-08-17 18:25:19 +07:00
John Paul E. Balandan, CPA
b7ec33cd56
Remove superfluous phpdoc tags (#4941) 2021-07-24 19:30:51 +08:00
John Paul E. Balandan, CPA
0ee2b2f922
Add file-level headers 2021-07-19 23:04:56 +08:00
John Paul E. Balandan, CPA
a6cfb8c1e6
Remove useless code separator comments (#4946) 2021-07-19 21:08:51 +08:00
John Paul E. Balandan, CPA
a4fe347638
Add ? to nullable typehints 2021-07-09 23:13:08 +08:00
John Paul E. Balandan, CPA
1dc72c1d65
Convert is_null to null === and fix phpstan errors 2021-07-09 00:08:00 +08:00
John Paul E. Balandan, CPA
308d0bed2d
Enable explicit_indirect_variable (#4881) 2021-06-28 22:10:44 +08:00
John Paul E. Balandan, CPA
6af5370fcf
Enforce ordering and trimming of phpdoc elements 2021-06-15 22:53:20 +08:00
John Paul E. Balandan, CPA
de234899aa
Sort phpdoc types alphabetically 2021-06-11 23:46:56 +08:00
John Paul E. Balandan, CPA
2b78883c06
Align phpdocs 2021-06-08 12:11:23 +08:00
John Paul E. Balandan, CPA
4129b40cb6
Use short forms of param and return types 2021-06-08 11:46:56 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces 2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
7b37453fcc
Enable blank_line_before_statement fixer 2021-06-08 01:26:32 +08:00
Jérôme Gamez
ebf8dac403
Remove unused local variables 2021-06-07 10:58:53 +02:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
Jérôme Gamez
ee176f896d
Add missing imports 2021-05-24 20:39:50 +02:00
Jérôme Gamez
7b80ba62a2
Remove unused imports 2021-05-24 03:35:11 +02:00
Abdul Malik Ikhsan
46cabd4efd
[Rector] Apply Rector: SimplifyIfElseToTernaryRector 2021-03-12 13:45:06 +07:00
John Paul E. Balandan, CPA
ebb2b2937f
Fix PHP8 behavior of method_exists 2021-02-16 01:45:07 +08:00
Abdul Malik Ikhsan
29f98a6a9e
[Rector] Apply Rector: RemoveDuplicatedCaseInSwitchRector 2021-02-10 16:45:38 +07:00
MGatner
57631ac7ba
Handle errors() null return 2020-11-09 11:51:37 -05:00
MGatner
13a57e2b66
Improve error handling 2020-11-08 16:22:57 +00:00
MGatner
decaf2138a
Override sniffer issue 2020-11-08 01:03:36 +00:00
MGatner
79062c55c7
Implement exception for fabricator failure 2020-11-08 01:01:10 +00:00
John Paul E. Balandan, CPA
c3dcd05e35
Use short notices for header docblock 2020-10-25 21:38:43 +08:00
John Paul E. Balandan, CPA
7dd927fbe3 Enforce consistent file-level docblock across all system files 2020-10-25 21:29:13 +08:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN 2020-10-11 13:22:34 +07:00
Abdul Malik Ikhsan
514e3bcda8
apply strict in_array with pass true to 3rd parameter 2020-08-30 03:13:54 +07:00
Abdul Malik Ikhsan
4ee4cfc9d4
Apply phpstan level 4 2020-08-25 20:03:59 +07:00
Abdul Malik Ikhsan
c480aedd3c
Apply phpstan level 3 2020-08-21 01:15:30 +07:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
MGatner
159945f705
Ensure model returned object 2020-07-08 19:58:13 +00:00
MGatner
82f4174d1f
Add Fabricator counts 2020-07-03 18:54:17 +00:00