baraja-core / baraja-core/assets-loader

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

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

[CodeFactor](https://www.codefactor.io/repository/github/baraja-core/assets-loader) found an issue: Variable assignment found within a condition. Did you mean to do a comparison ?

It's currently on:
[src\Minifier\Minifier.php:32](https://www.codefactor.io/repository/github/baraja-core/assets-loader/source/master/src/Minifier/Minifier.php#L32)

Contributor guide

Open the contributing guide

Research direction

Start by reading src\Minifier\Minifier.php around line 32 and the surrounding condition. Confirm the intended assignment or comparison behavior from the nearby code, then verify that the CodeFactor warning is resolved without changing minification behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.