191 Commits

Author SHA1 Message Date
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
7d9b9da541
Merge pull request #4928 from paulbalandan/add-nullable-types
Add `?` to nullable typehints
2021-07-11 22:11:51 +08:00
Abdul Malik Ikhsan
ac19c85ed0
[Rector] Re-run InlineIfToExplicitIfRector on Latest Rector 0.11.36 2021-07-11 07:31:21 +07:00
John Paul E. Balandan, CPA
a4fe347638
Add ? to nullable typehints 2021-07-09 23:13:08 +08:00
John Paul E. Balandan, CPA
f39a3b8f00
Merge pull request #4921 from paulbalandan/o-rules
Define "o" rules
2021-07-09 00:46:24 +08:00
John Paul E. Balandan, CPA
cc20a0b21d
Enable operator_linebreak rule 2021-07-09 00:12:42 +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
57f5cd8bef
Enable method_chaining_indentation fixer 2021-06-17 21:35:32 +08:00
John Paul E. Balandan, CPA
a0dca3d5ba
Enable method_argument_space fixer 2021-06-17 21:24:27 +08:00
John Paul E. Balandan, CPA
fb24304d23
Define rules on unary operators 2021-06-16 23:51:33 +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
de234899aa
Sort phpdoc types alphabetically 2021-06-11 23:46:56 +08:00
John Paul E. Balandan, CPA
cc4d0cb780
Use correct casing for phpdoc types 2021-06-11 23:40:05 +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
7b37453fcc
Enable blank_line_before_statement fixer 2021-06-08 01:26:32 +08:00
Jérôme Gamez
f4b8dc64d9
Use/Fix preg_quote() delimiters 2021-06-07 13:06:16 +02:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
Jérôme Gamez
53ef356b1c
Ensure variable declarations 2021-05-25 00:21:39 +02:00
Jérôme Gamez
3ee7705610
Replace isset() with the ?? null coalesce operator 2021-05-24 12:44:56 +02:00
John Paul E. Balandan, CPA
8a1f8be9f1
Add fallback for Config\Cookie (#4625) 2021-05-01 19:48:43 +08:00
mostafakhudair
096f972055 Simplify Cookie Class 2021-04-25 20:45:10 +02:00
Mostafa Khudair
4841326693
Create Config\Cookie for Cookie class (#4508) 2021-04-10 23:25:16 +08:00
mostafakhudair
b52e2781f3 Relocate Cookie 2021-03-29 20:33:09 +02:00
MGatner
ad8aa07864
Merge pull request #2256 from pstef/ci_sessions-types 2021-02-24 07:48:35 -05:00
Abdul Malik Ikhsan
4029a4d50c
[Rector] Re-run rector with improved InlineIfToExplicitIfRector 2021-02-21 07:39:32 +07:00
Abdul Malik Ikhsan
cf2704daeb
[Rector] Apply Rector: InlineIfToExplicitIfRector 2021-02-16 10:57:16 +07:00
kenjis
33bc2c6e00
fix: skip session_destroy() in testing
To avoid ErrorException : session_destroy(): Trying to destroy uninitialized session
2021-02-14 16:51:42 +09:00
John Paul E. Balandan, CPA
6367766ea5
Implement code review 2021-02-13 00:20:36 +08:00
John Paul E. Balandan, CPA
9718222f0b
Add Cookie to Session component 2021-02-12 23:43:49 +08:00
Abdul Malik Ikhsan
6d5e4c7d17
Fix phpstan notice 2021-01-22 13:40:29 +07:00
Abdul Malik Ikhsan
2da3a861a4
Merge pull request #4136 from MGatner/stanfix
PHPStan Fixes
2021-01-22 13:16:45 +07:00
Abdul Malik Ikhsan
3e2ff1d830
remove @var string as already use * @var string 'Lax'|'None'|'Strict' 2021-01-22 12:49:56 +07:00
Abdul Malik Ikhsan
464ed29d9e
use * @var string 'Lax'|'None'|'Strict' 2021-01-22 12:49:42 +07:00
kenjis
a6b542a613
Fix Session phpdoc (#4123)
* docs: fix phpdoc

* docs: delete unneeded space
2021-01-22 03:18:01 +08:00
MGatner
97d1e3b6df
Update system/Session/Session.php
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-01-19 18:11:38 -05:00
MGatner
a4a1452835
Specify cookie options for SA 2021-01-19 15:58:40 +00:00
michalsn
23c2cb7fce
Fix session flash data delete for php8 2021-01-02 09:27:12 +01: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
f83231ee2f
Standardize types casting 2020-11-01 23:47:40 +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