baraja-core / baraja-core/session

Fix 'Variable assignment found within a condition. Did you mean to do a comparison ?' issue in src\SessionStorage.php

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
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:154](https://www.codefactor.io/repository/github/baraja-core/session/source/master/src/SessionStorage.php#L154)

Contributor guide

Open the contributing guide

Research direction

The reported location is src/SessionStorage.php:154; inspect the condition and surrounding logic first to determine whether the assignment is intentional or should be a comparison. Confirm the CodeFactor warning is gone and existing session-storage behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.