223 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
882c1a8126
Enable heredoc_indentation fixer 2021-06-11 01:41:37 +08:00
John Paul E. Balandan, CPA
38a8cb2b21
Enable constant_case 2021-06-11 01:32:25 +08:00
John Paul E. Balandan, CPA
8ea319b746
Ensure one space in concatenations 2021-06-11 01:30:35 +08:00
John Paul E. Balandan, CPA
9927db3d75
Enable compact_nullable_typehint fixer 2021-06-11 01:28:22 +08:00
John Paul E. Balandan, CPA
6e0b89409f
Enable comment_to_phpdoc fixer 2021-06-11 01:26:29 +08:00
John Paul E. Balandan, CPA
b215a7d730
Enable combine_nested_dirname fixer 2021-06-11 01:20:02 +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
1dac15fe2b
Enable combine_consecutive_issets fixer 2021-06-11 01:13:01 +08:00
John Paul E. Balandan, CPA
029c9b0cc5
Enable clean_namespace fixer 2021-06-11 01:09:53 +08:00
John Paul E. Balandan, CPA
a45a5f0fca
Define class_keyword_remove rule as off 2021-06-11 01:07:59 +08:00
John Paul E. Balandan, CPA
4f42d4bb19
Enable class_definition fixer 2021-06-11 00:57:30 +08:00
Toto
d71c67ffe4
Enable ordered_imports 2021-06-11 00:42:49 +08:00
John Paul E. Balandan, CPA
1ced6230f4
Class, trait and interface elements must be separated with one line 2021-06-10 23:58:59 +08:00
John Paul E. Balandan, CPA
e91b3ee147
Add visibility identifiers 2021-06-10 23:56:12 +08:00
John Paul E. Balandan, CPA
27366b2f1b
Remove extra spaces inside arrays 2021-06-10 01:41:20 +08:00
John Paul E. Balandan, CPA
777eec1121
Ensure trailing commas in multiline array 2021-06-10 01:38:34 +08:00
John Paul E. Balandan, CPA
cfa91a6ee8
Ensure arrays use square braces 2021-06-10 01:10:46 +08:00
John Paul E. Balandan, CPA
f89da5169f
Remove whitespaces before commas in arrays 2021-06-10 01:09:06 +08:00
John Paul E. Balandan, CPA
391ae15431
Ensure no trailing comma in single-line array 2021-06-10 01:06:18 +08:00
John Paul E. Balandan, CPA
0fc1b93584
Use short list syntax 2021-06-10 01:04:35 +08:00
John Paul E. Balandan, CPA
4e6997b1a5
Ensure whitespace after commas in array 2021-06-10 01:02:04 +08:00
John Paul E. Balandan, CPA
5333844a19
Shift binary alignment to align_single_space_minimal 2021-06-10 00:35:54 +08:00
John Paul E. Balandan, CPA
cbfe80d854
Separate and group similar phpdocs 2021-06-08 12:19:15 +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
6121819d4e
Ensure single space between cast and variable 2021-06-08 10:47:57 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces 2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
9b51c1a878
Merge pull request #4790 from paulbalandan/blank-line-before-statement
Enable `blank_line_before_statement`
2021-06-08 09:23:11 +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
ace9df0da6
Use null coalescing operator 2021-06-07 19:00:25 +02:00
John Paul E. Balandan, CPA
c3b33f5ba3
Merge pull request #4794 from jeromegamez/alias-functions
Replace alias functions with origins
2021-06-08 00:43:26 +08:00
John Paul E. Balandan, CPA
6edfdeb131
Merge pull request #4793 from jeromegamez/constants-vs-methods
Use constants instead of functions
2021-06-08 00:42:29 +08:00
Jérôme Gamez
3e0e963cfb
Define yoda_style rule and initially apply no_yoda style 2021-06-07 17:00:10 +02:00
Jérôme Gamez
5bdf3b57af
Replace alias functions with origins 2021-06-07 14:09:09 +02:00
Jérôme Gamez
68bb8a7b28
Use constants instead of functions 2021-06-07 13:44:53 +02:00
John Paul E. Balandan, CPA
b4f7e4fb61
Enable blank_line_after_opening_tag 2021-06-07 18:20:50 +08:00
John Paul E. Balandan, CPA
211f94762c
Enable blank_lines_after_namespace 2021-06-07 18:20:36 +08:00
Jérôme Gamez
6e33e32675
Use static lambda if a binding to $this is not required. 2021-06-07 11:31:32 +02:00
John Paul E. Balandan, CPA
9ad6adc2f6
Enable binary_operator_spaces 2021-06-06 23:37:32 +08:00
John Paul E. Balandan, CPA
fb5c0a9c17
Enable rules not affecting current code 2021-06-04 23:34:26 +08:00
John Paul E. Balandan, CPA
18e742b380
Enable array_indentation 2021-06-04 23:22:33 +08:00
John Paul E. Balandan, CPA
328ae4746b
Enable align_multiline_comment 2021-06-04 23:17:08 +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
ee8b8c0699
Use php-cs-fixer as coding style tool (#4770) 2021-06-04 22:10:54 +08:00
Abdul Malik Ikhsan
3e4e414326
[Rector] Remove @var from class constant by add custom Rector rule RemoveVarTagFromClassConstantRector 2021-06-02 10:47:44 +07:00
Abdul Malik Ikhsan
77d7d1bd3e
[Rector] Apply Rector: VarConstantCommentRector 2021-06-01 17:13:21 +07:00
Abdul Malik Ikhsan
7212c53243
better indentation 2021-05-22 21:22:28 +07:00
Abdul Malik Ikhsan
67d8ec3cad
another move comment 2021-05-22 21:18:47 +07:00
Abdul Malik Ikhsan
4c860dc740
apply code review 2021-05-22 21:17:01 +07:00
Abdul Malik Ikhsan
be8b803417
[Rector] Add custom Rector Rule: RemoveErrorSuppressInTryCatchStmtsRector rector rule 2021-05-22 20:53:57 +07:00