50 Commits

Author SHA1 Message Date
Denny Septian Panggabean
265a0477ba
docs: fix boolean type to follow PSR-5 2023-01-05 08:23:00 +07:00
John Paul E. Balandan, CPA
0d08a92d83
Add order option to phpdoc_order 2022-09-08 14:40:53 +08:00
Abdul Malik Ikhsan
af7fb3f9a5
[Rector] Apply PHP 7.4 Requirement and syntax 2022-01-10 02:02:27 +00: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
a4fe347638
Add ? to nullable typehints 2021-07-09 23:13:08 +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
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
Abdul Malik Ikhsan
d682e48c0f
[Rector] Apply RemoveDefaultArgumentValueRector (#4543) 2021-04-10 19:17:09 +07:00
Abdul Malik Ikhsan
46cabd4efd
[Rector] Apply Rector: SimplifyIfElseToTernaryRector 2021-03-12 13:45:06 +07:00
John Paul E. Balandan, CPA
958a564f17
Use trait to tweak file and line of exceptions (#4118) 2021-01-22 15:09:48 +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
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
John Paul E. Balandan, CPA
a43a1233bc
Apply changes from code review 2020-09-27 18:44:38 +08:00
John Paul E. Balandan, CPA
f7011b0106 Do not use shared encryption config 2020-09-25 16:51:27 +08:00
John Paul E. Balandan, CPA
0f11b66b01 Add SodiumHandler encrypter 2020-09-25 16:51:27 +08:00
John Paul E. Balandan, CPA
6b80979f35 CS and Docblock fixes 2020-09-25 16:51:26 +08: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
c480aedd3c
Apply phpstan level 3 2020-08-21 01:15:30 +07:00
Abdul Malik Ikhsan
7f09840cf4
cs fix 2020-08-19 10:41:08 +07:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
Abdul Malik Ikhsan
b898978879
apply phpstan level 1 2020-08-17 12:33:17 +07:00
Abdul Malik Ikhsan
c5402f3269
use $this->driver as handler 2020-08-16 15:46:32 +07:00
Abdul Malik Ikhsan
bbea2f316e
Fixes EncryptionException::forNoHandlerAvailable() handler parameter call 2020-08-16 15:30:15 +07:00
John Paul E. Balandan, CPA
a23ebfa68e
phpcbf fix for system 2020-07-29 01:47:24 +08:00
John Paul E. Balandan, CPA
a829089e48
Add default value for initialize digest
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2020-07-28 15:10:41 +08:00
John Paul E. Balandan, CPA
1e92e5f408
Add default value
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2020-07-28 15:10:02 +08:00
John Paul E. Balandan, CPA
eb5128d781
Encryption library optimization 2020-07-28 00:05:26 +08:00
Abdul Malik Ikhsan
ab5c587693
clean up use statements: remove unused and sort 2020-04-23 01:27:54 +07:00
Abdul Malik Ikhsan
5db4c2ba54
clean up dead code detected by rectorphp/rector 2020-03-28 01:43:11 +07:00
Usman Ikram
9bcb83e99a
Fixed all excpetions for OpenSSLHandler 2020-03-10 22:26:14 +01:00
Usman Ikram
7f2b225113
Calling correct function when no key provided 2020-03-10 22:09:16 +01:00
Usman Ikram
81179a0ff2
Fixed exception path 2020-03-10 22:06:37 +01:00
Lonnie Ezell
fed757bee0
It is now 2020 2020-02-06 22:58:39 -06:00
dafriend
0967ea75d5
Fix: Use of CodeIgniter\Config\Services prevents Service overriding
See #2376

The following statement is used by multiple "core" classes

`use CodeIgniter\Config\Services;`

This results in `App\Config\Services` being bypassed.

All namespace use statements for `Services` in the core classes changed to ` use Config\Services;` so the overrides can be accomplished.
2019-11-02 08:48:38 -05:00
Jim Parry
e5d46c9b05
CodeIgniter Foundation gets copyright [ci skip] 2019-10-19 01:58:38 -07:00
MGatner
d815ab7055
Add magic __isset to classes with __get 2019-09-17 12:39:46 -04:00
Jim Parry
2037958cec
Cleanup encryption & improve its testing 2019-08-17 15:15:36 -07:00
Jim Parry
dfd232f255
Simplify & standardize encryption 2019-08-14 00:09:25 -07:00
Jim Parry
71162b0c95
Barebones encryption module 2019-08-12 19:01:36 -07:00
Jim Parry
211e17e531
Chip away at tests 2019-07-11 10:09:19 -07:00
Jim Parry
4abd02f12d
Throw exceptions; drop logger 2019-07-11 07:41:36 -07:00
Jim Parry
fcb2ab21ae
Original implementation 2019-05-05 01:32:02 -07:00