194 Commits

Author SHA1 Message Date
kenjis
d12af0a4b4
chore: update php-cs-fixer to ^3.63.2 2024-08-29 09:34:24 +09:00
kenjis
6eaaa60a28
chore: workaround for php-cs-fixer 3.63 2024-08-27 09:37:40 +09: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
8609136924
Fix psalm errors 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
John Paul E. Balandan, CPA
368bffa94a
Fix phpstan errors 2024-07-23 20:58:51 +08:00
John Paul E. Balandan, CPA
ed01a7e7f3
Move tools' dependencies to separate utils directory 2024-07-23 20:58:51 +08:00
kenjis
e0d2cff888
chore: add file permission check workflow 2024-05-30 11:55:41 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +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
Abdul Malik Ikhsan
d5fb953dd7
update Rector\Core subnamespace to Rector 2024-01-09 22:17:42 +07:00
kenjis
6153d4dffc
chore: remove RemoveVarTagFromClassConstantRector class 2023-11-21 13:02:13 +09:00
Abdul Malik Ikhsan
aed2800f94
[Rector] Fix deprecated dynamic pull phpDocInfoFactory from AbstractRector on UnderscoreToCamelCaseVariableNameRector 2023-11-13 17:08:06 +07:00
Abdul Malik Ikhsan
8eaba9b0c4
Fix dependency set 2023-09-26 22:40:57 +07:00
John Paul E. Balandan, CPA
042eaaaffb
Use phpstan-codeigniter 2023-09-11 16:09:29 +08:00
Abdul Malik Ikhsan
3dc315f7cb
Fix php syntax on php 7.4 compat 2023-07-09 19:58:39 +07:00
Abdul Malik Ikhsan
416312e22d
[Rector] Remove findParentType() on UnderscoreToCamelCaseVariableNameRector 2023-07-09 19:56:13 +07:00
Abdul Malik Ikhsan
14171bf703
[Rector] Remove findParentType() on RemoveErrorSuppressInTryCatchStmtsRector 2023-07-09 19:01:26 +07:00
Abdul Malik Ikhsan
47990ba74b
[Rector] Refactor UnderscoreToCamelCaseVariableNameRector as removed findParentByType() 2023-07-07 16:21:03 +07:00
John Paul E. Balandan, CPA
eb440742eb
Apply formatting fixes 2022-09-03 19:44:54 +08:00
Abdul Malik Ikhsan
728499822f
[Rector] Apply Rector run on utils/ directory 2022-07-03 11:35:07 +07:00
Abdul Malik Ikhsan
4e3792d138
cs fix 2022-01-10 02:02:52 +00:00
Abdul Malik Ikhsan
af7fb3f9a5
[Rector] Apply PHP 7.4 Requirement and syntax 2022-01-10 02:02:27 +00:00
Abdul Malik Ikhsan
395b164866
cs fix 2021-11-09 19:46:59 +07:00
Abdul Malik Ikhsan
707e847ad5
re-run rector 2021-11-09 19:37:57 +07:00
Abdul Malik Ikhsan
efb3b4dd28
cast to int for strpos result
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-11-01 23:48:11 +07:00
Abdul Malik Ikhsan
0568464585
[Rector] Refactor UnderscoreToCamelCaseVariableNameRector so no longer require symplify/package-builder 2021-11-01 23:10:46 +07:00
John Paul E. Balandan, CPA
b2cd58bee2
Add tab detector to workflows 2021-10-05 22:19:09 +08:00
John Paul E. Balandan, CPA
3cb9986c30
Add detector for tabs in RST files 2021-10-05 22:08:56 +08:00
John Paul E. Balandan, CPA
4ab9d66b53
Switch to official coding standard (#5038)
* Switch to official coding standard

* Update .no-header.php-cs-fixer.dist.php

Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2021-09-02 12:32:07 +08:00
John Paul E. Balandan, CPA
cca4660e54
Bump to php-cs-fixer v3.1 (#5045) 2021-08-31 20:40:48 +08:00
John Paul E. Balandan, CPA
dcb54b3e1f
Add SpaceAfterCommentFixer 2021-08-13 16:48:41 +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
c18b692fe6
Split config files into which has headers or not 2021-07-19 21:21:30 +08:00
John Paul E. Balandan, CPA
36152b39b2
Change some phpdocs to simple comments (#4945) 2021-07-18 22:13:55 +08:00
John Paul E. Balandan, CPA
52c814525b
Fix tag casing and tag types (#4943) 2021-07-18 22:07:56 +08:00
John Paul E. Balandan, CPA
9aa9cd308f
Normalize var and return annotations (#4942) 2021-07-18 22:01:52 +08:00
John Paul E. Balandan, CPA
6c37823fc3
Define remaining rules (#4934) 2021-07-15 02:05:44 +08:00
John Paul E. Balandan, CPA
cdc475ea0d
Enable simplified_if_return fixer 2021-07-13 01:30:17 +08:00
John Paul E. Balandan, CPA
e9110afe88
Configure but disable semicolon_after_instruction 2021-07-13 01:30:11 +08:00
John Paul E. Balandan, CPA
d4afbec8c0
Enable self_accessor and self_static_accessor fixers 2021-07-13 01:30:01 +08:00
John Paul E. Balandan, CPA
7843c24c74
Define last "s" rules 2021-07-13 01:18:15 +08:00
John Paul E. Balandan, CPA
cb8fb02291
Merge pull request #4924 from paulbalandan/single---rules
Define `single_**` rules
2021-07-11 22:13:02 +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
d932e877fa
Use one trait per statement 2021-07-09 22:57:57 +08:00
John Paul E. Balandan, CPA
21afd7f055
Enable single_space_after_construct fixer 2021-07-09 22:57:51 +08:00
John Paul E. Balandan, CPA
bc29beb5ee
Use single quotes when possible 2021-07-09 22:57:39 +08:00
John Paul E. Balandan, CPA
c56a5b1963
Simplify single line comments 2021-07-09 22:57:27 +08:00