2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)PHP668 forks (668 forks)batch import
Help wantedeasy problemsenhancement
Repository metrics
- Stars
- 5,369 stars (5,369 stars)
- PR merge metrics
- Avg merge 3d 12h (Avg merge 3d 12h)5 merged PRs in 30d (5 merged PRs in 30d)
Description
For example: https://psalm.dev/r/c1dc7af1fb
When the session is cleared by setting it to an empty array Psalm is aware that the key doesn't exist, but if the same is done using session_unset() Psalm doesn't notice this fact.
Contributor guide
- Research direction
- Investigate how Psalm tracks side effects of PHP functions and add a stub or handling for session unset to mark $ SESSION as cleared.
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Prerequisites
- GitPHP