baraja-core / baraja-core/session
Fix 'Variable assignment found within a condition. Did you mean to do a comparison ?' issue in src\SessionStorage.php
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
[CodeFactor](https://www.codefactor.io/repository/github/baraja-core/session) found an issue: Variable assignment found within a condition. Did you mean to do a comparison ?
It's currently on:
[src\SessionStorage.php:138](https://www.codefactor.io/repository/github/baraja-core/session/source/master/src/SessionStorage.php#L138)
Contributor guide
Research direction
Open src\SessionStorage.php around line 138 and inspect the conditional that CodeFactor flagged, along with nearby session-storage logic. Confirm the intended condition, make the smallest correction, and verify that the CodeFactor warning is gone without changing session persistence behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100