Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Product
GitHub Copilot
Write better code with AI
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sirbrillig
/
phpcs-variable-analysis
Public
Notifications
You must be signed in to change notification settings
Fork
17
Star
144
Code
Issues
20
Pull requests
2
Actions
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security
Insights
Issues
Search Issues
is
:
issue
state
:
open
is:issue state:open
Search
Labels
Milestones
New issue
Search results
Open
Closed
Compact does not always detect variable use correctly
Status: Open.
#352
In sirbrillig/phpcs-variable-analysis;
·
sirbrillig
opened
on May 9, 2025
Assignment to array element reference does not count as a write
Status: Open.
#319
In sirbrillig/phpcs-variable-analysis;
·
sirbrillig
opened
on Mar 27, 2024
Assignment of an array element counts as a read
bug
Status: Open.
#307
In sirbrillig/phpcs-variable-analysis;
·
sirbrillig
opened
on Aug 5, 2023
Feature Request: don't report on unused parameters for deprecated functions
enhancement
Status: Open.
#302
In sirbrillig/phpcs-variable-analysis;
·
jrfnl
opened
on May 9, 2023
Add validUndefinedVariableNamesInFileScope
enhancement
Status: Open.
#243
In sirbrillig/phpcs-variable-analysis;
·
andrewnicols
opened
on Feb 28, 2022
Reduce use of array_... functions
enhancement
Status: Open.
#237
In sirbrillig/phpcs-variable-analysis;
·
sirbrillig
opened
on Jun 18, 2021
ETA v3?
question
Status: Open.
#214
In sirbrillig/phpcs-variable-analysis;
·
Levivb
opened
on Nov 5, 2020
Sniff for detecting single-use variables?
enhancement
help wanted
Status: Open.
#212
In sirbrillig/phpcs-variable-analysis;
·
lkraav
opened
on Oct 16, 2020
Assignment by reference is not declaration for arrays and objects
bug
Status: Open.
#184
In sirbrillig/phpcs-variable-analysis;
·
sirbrillig
opened
on Jun 22, 2020
Allow for functions which set variables in the current scope
bug
Status: Open.
#172
In sirbrillig/phpcs-variable-analysis;
·
jrfnl
opened
on May 12, 2020
Constants::getPassByReferenceFunctions(): contains methods
bug
Status: Open.
#156
In sirbrillig/phpcs-variable-analysis;
·
jrfnl
opened
on Feb 18, 2020
Use <code>File::getMethodParameters()</code>
enhancement
help wanted
Status: Open.
#149
In sirbrillig/phpcs-variable-analysis;
·
jrfnl
opened
on Feb 14, 2020
You can’t perform that action at this time.