57 Commits

Author SHA1 Message Date
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
neznaika0
155f1c14de
refactor: Fix phpstan codeigniter.configArgumentInstanceof (#9390) 2025-01-13 10:52:54 +08:00
Abdul Malik Ikhsan
8ecbf0da09
Fix cs 2024-09-10 16:31:47 +07:00
Abdul Malik Ikhsan
3f29f2883a
refactor: enable ClosureReturnTypeRector 2024-09-10 16:18:25 +07: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
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
ping-yee
35b1aa9fe1
Dev: remove the evnet ignore errors in phpstan-baseline.php 2023-08-02 19:02:27 +08:00
kenjis
3bdb53f374
refactor: use ::class to config() param 2023-06-24 09:20:24 +09:00
ping-yee
5764d0c755
refactor: change getFile() function to static. 2023-01-03 19:22:27 +08:00
kenjis
be2423d6a1
fix: replace EVENT_PRIORITY_NORMAL with Events::PRIORITY_NORMAL 2022-05-18 15:19:05 +09:00
kenjis
35e178db1b
refactor: deprecate EVENT_PRIORITY_* and add class constants 2022-05-17 15:16:00 +09: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
ea6469b852
Manual cleanup of comments and docblocks 2021-07-28 23:26:26 +08: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
2bdb38d03d
Enable regular_callable_call fixer 2021-07-09 02:13:53 +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
f59bf047a1
Enable combine_consecutive_unsets fixer 2021-06-11 01:18:20 +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
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08: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
03e4e4ebbb
Prevent events duplication on initialisation 2020-10-22 18:59:10 +08:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN 2020-10-11 13:22:34 +07:00
Abdul Malik Ikhsan
5e5e2fcfa9
update both parameter and @param docblock 2020-09-28 19:00:51 +07:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
Lonnie Ezell
fed757bee0
It is now 2020 2020-02-06 22:58:39 -06:00
Jim Parry
e5d46c9b05
CodeIgniter Foundation gets copyright [ci skip] 2019-10-19 01:58:38 -07:00
Jim Parry
e8ae780d83
CodeIgniter Foundation gets copyright [ci skip] 2019-10-19 00:43:47 -07:00
Jim Parry
fd1486fd1c
Update docblock version to 4.0.0 2019-05-04 00:58:04 -07:00
Jim Parry
d535cbeb46
Docs: fix phpdocs for Debug & Events 2019-03-27 08:55:08 -07:00
Lonnie Ezell
2924b22ac6
Events should actually work with any callable now. Fixes #1835 2019-03-24 22:21:21 -05:00
Jim Parry
c2a5cde499
Tweak Events testing 2018-12-30 00:27:23 -08:00
Jim Parry
7643dbfc95
Update copyright to 2019 2018-12-26 21:49:51 -08:00
ytetsuro
c8df1ba586
fix: file_exists to is_file.
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2018-11-28 01:38:52 +09:00
Abdul Malik Ikhsan
e87e6db4e5
use static:: instead of self:: for call protected/public functions as well 2018-11-12 22:33:54 +07:00
Abdul Malik Ikhsan
5501cd5874
use static:: instead of self:: for protected and public properties 2018-11-12 10:36:54 +07:00
Natan Felles
b597db5cee
phpcbf: fix all at once 2018-11-10 02:58:52 -02:00
Lonnie Ezell
d6b5723207
Fixing event test that only occurred when all tests were ran in sequence. 2018-09-12 22:10:46 -05:00
Lonnie Ezell
78a09a1e65
Fix up tests 2018-09-12 21:46:33 -05:00
Lonnie Ezell
2ae947cdc0
Auto-discover events 2018-09-08 00:34:24 -05:00
Lonnie Ezell
49bcbaa950
Getting all of the new testing working. 2018-05-24 23:56:55 -05:00
Master Yoda
f1a84aaaaa
Improve Events testing & code coverage 2018-05-08 14:44:00 -07:00
Master Yoda
b733001e59
Annual copyright update 2018-01-09 01:01:00 -08:00