202 Commits

Author SHA1 Message Date
uraku
f3424a5062
Fix GC issue when session lifetime is set to 0
* fix #4169 GC processing issues when session lifetime is 0

* Added description about the structure of the session library of the document.

* Apply suggestions from code review

Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-10-17 01:05:17 +08:00
dependabot[bot]
d31e4396da
chore(deps-dev): update rector/rector requirement from 0.11.53 to 0.11.54 (#5144) 2021-09-27 17:56:32 +00:00
John Paul E. Balandan, CPA
3ea4bac65b
Merge pull request #5060 from paulbalandan/4.2
Merge branch '4.2'
2021-09-08 23:04:17 +08:00
Terrorboy
692709227b
Fix variable variable $$id in RedisHandler 2021-09-08 21:42:47 +08:00
John Paul E. Balandan, CPA
107df929b0
Fix coding style violations in 4.2 2021-09-08 00:23:10 +08:00
michalsn
788a3325fe Fix database session bug with timestamp in MySQLi 2021-09-07 22:25:14 +08:00
John Paul E. Balandan, CPA
4ab9d66b53
Switch to official coding standard (#5038)
* Switch to official coding standard

* Update .no-header.php-cs-fixer.dist.php

Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2021-09-02 12:32:07 +08:00
John Paul E. Balandan, CPA
a4ff0e9525
Make the session handlers all compatible with SessionHandlerInterface (#5012) 2021-08-19 22:59:20 +08:00
Abdul Malik Ikhsan
377eddb29b
use single line @var 2021-08-17 19:08:35 +07: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
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
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