139 Commits

Author SHA1 Message Date
kenjis
872536ced1
docs: add @phpstan-var 2022-11-17 17:50:03 +09:00
Abdul Malik Ikhsan
0ece751305
Re-run Rector
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2022-11-08 22:27:02 +07:00
John Paul E. Balandan, CPA
2a8f8c7bff
Merge pull request #6638 from ddevsr/docs-types-logger
docs: replace types in `Logger`
2022-10-11 10:08:53 +08:00
Denny Septian Panggabean
280f969f3a
docs: replace types in Logger
tests: increase coverage tests in Logger

use dedicated clean_path

refactor: implement __toString() in Logger

docs: replace param string message to phpdocblock

docs: replace param string message to phpdocblock

docs: replace types in Logger
Co-authored-by: kenjis <kenji.uui@gmail.com>

docs: replace types in Logger

docs: replace types in Logger

revert refactoring in Logger
2022-10-10 13:31:08 +07:00
ddevsr
7aead5dea7
refactor: move print_r to interpolate and use clean_path 2022-10-10 09:28:54 +07:00
kenjis
be627d0e74
refactor: replace utf8_encode() with mb_convert_encoding()
See https://php.watch/versions/8.2/utf8_encode-utf8_decode-deprecated
2022-09-22 11:37:55 +09:00
John Paul E. Balandan, CPA
7cc7283caa
Remove unneeded abstract handle() method 2022-08-27 23:40:10 +08:00
John Paul E. Balandan, CPA
40446ff96b
Deprecate also Logger::cleanFilenames and TestLogger::cleanup 2022-02-13 00:35:05 +08:00
Abdul Malik Ikhsan
af7fb3f9a5
[Rector] Apply PHP 7.4 Requirement and syntax 2022-01-10 02:02:27 +00: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
6af5370fcf
Enforce ordering and trimming of phpdoc elements 2021-06-15 22:53: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
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
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
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
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +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
ed5aa8c814
[Rector] Apply Rector : ListToArrayDestructRector 2021-05-26 13:29:51 +07:00
MGatner
59e34a1757
Merge pull request #4716 from MGatner/uri-string
Replace URI string casts
2021-05-25 11:46:51 -04:00
Jérôme Gamez
53ef356b1c
Ensure variable declarations 2021-05-25 00:21:39 +02:00
MGatner
2d2340b59e
Replace URI string casts 2021-05-21 15:35:23 +00:00
Abdul Malik Ikhsan
1eb86d89ad
add require_once __DIR__ . /system/Test/bootstrap.php; outside rector config 2021-03-23 17:22:16 +07:00
John Paul E. Balandan, CPA
43b849e2b9
Enhancements to ErrorlogHandler 2021-02-25 00:30:24 +08:00
MGatner
ecbdbabc85
Apply suggestions from code review
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-02-24 00:55:32 +00:00
RobertWillert
0d3af60126
add simple error_log handler 2021-02-24 00:55:32 +00:00
MGatner
b4cd2dbe32
Backfill misplaced mandatory arguments 2020-12-21 18:35:04 +00:00
MGatner
b5ef7a0a6c
Restore backfilled parameters (moved to 4.1) 2020-11-28 13:55:12 +00:00
MGatner
ed5939c522
Prep for PHP 8 2020-11-27 14:59:14 +00:00
John Paul E. Balandan, CPA
32978d2598
Fix whitespaces for system/ 2020-11-19 01:25:50 +08:00
John Paul E. Balandan, CPA
f118374b04 Remove superfluous interface definition in classes 2020-11-16 00:35:59 +08:00
John Paul E. Balandan, CPA
81888e2545
Remove package tag 2020-10-28 19:28:07 +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
7dd927fbe3 Enforce consistent file-level docblock across all system files 2020-10-25 21:29:13 +08:00
John Paul E. Balandan, CPA
165d415179
Enable strict param on base64_decode and array_search 2020-10-24 13:58:15 +08:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN 2020-10-11 13:22:34 +07:00
Abdul Malik Ikhsan
b772c5ee79
apply rector: set local variable name to camel case 2020-09-28 19:00:49 +07:00
Abdul Malik Ikhsan
a915b2b423
phpstan update: no longer need ignore error on isset($_SESSION) 2020-09-20 13:50:06 +07:00
MGatner
5c50d25efc
Unify QA bootstrap files 2020-09-14 15:09:47 +00:00
Abdul Malik Ikhsan
514e3bcda8
apply strict in_array with pass true to 3rd parameter 2020-08-30 03:13:54 +07:00