69 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
c7548a3771
Merge branch 'develop' into 4.6 2024-12-29 00:21:53 +08:00
neznaika0
8cff0995de
refactor: fix phpstan only boolean allowed (#9302)
* refactor: Fix `phpstan` boolean errors

* fix: Check predis response

* refactor: Improve comparison with an empty string

* dev: Update phpstan-baseline

* fix: Revert comparison with null
2024-12-28 20:21:06 +08:00
kenjis
f5b210015d
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-04 08:38:10 +09:00
Pooya Parsa Dadashi
57e8be9ab9
refactor: allow null for $key property to handle buffer cleanup in SodiumHandler 2024-10-03 20:35:43 +03:30
kenjis
832c77ff1a
refactor: remove unneeded implements ExceptionInterface 2024-05-06 19:19:24 +09:00
kenjis
3540f97e9e
refactor: use CodeIgniter\Exceptions\RuntimeException 2024-05-06 19:19:21 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
Abdul Malik Ikhsan
eb8d382cca
re-run Rector 2023-10-16 11:28:31 +07:00
Abdul Malik Ikhsan
83ebb79d20
[Rector] Apply BooleanInIfConditionRuleFixerRector 2023-10-16 11:28:28 +07:00
kenjis
6329255a8b
docs: add "see test" annotations 2023-09-08 17:35:23 +09:00
kenjis
f34580d02b
docs: fix or remove @param
php-cs-fixer has been modified to remove these tags.
2023-08-30 09:48:17 +09:00
Hsuan
33d28cccb2
Dev: Remove the ignore errors of Encryption and Entity in phpstan. 2023-08-05 22:52:15 +08:00
kenjis
3bdb53f374
refactor: use ::class to config() param 2023-06-24 09:20:24 +09:00
kenjis
9c3637a6af
refactor: remove unused property 2023-06-17 10:08:41 +09:00
ping-yee
ed327576fc
docs: modify the type. 2023-06-16 00:10:22 +08:00
ping-yee
d2ef51ff44
docs: replace mixed type at Encryption class. 2023-06-13 23:43:38 +08:00
kenjis
4c3ff53175
Merge remote-tracking branch 'upstream/develop' into 4.3 2023-01-09 09:00:01 +09:00
Denny Septian Panggabean
265a0477ba
docs: fix boolean type to follow PSR-5 2023-01-05 08:23:00 +07:00
kenjis
bf55cde458
Merge remote-tracking branch 'upstream/develop' into 4.3
Conflicts:
	system/CLI/CommandRunner.php
	system/CLI/Console.php
	system/Database/Forge.php
	system/I18n/Time.php
	system/Validation/Validation.php
2022-09-09 11:26:23 +09:00
John Paul E. Balandan, CPA
0d08a92d83
Add order option to phpdoc_order 2022-09-08 14:40:53 +08:00
kenjis
fa8c0f794d
feat: add compatibility with CI3 Encryption 2022-07-22 14:42:01 +09: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