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
#3 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

Open src\SessionStorage.php and inspect line 154, where CodeFactor reports an assignment within a condition. Confirm the intended conditional behavior and resolve the warning without changing session storage behavior; done when the CodeFactor finding is gone.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.