Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
Back to milestones
Dependent types
New issue
Open
No due date
•
Last updated
Oct 6, 2026
79%
complete
Issues
Open
22
(22)
Closed
Type information lost in foreach
bug
phpstan/phpstan#6912
·
Filter by author
greg0ire
opened
on Mar 25, 2022
·
Dependent types
6
Type of child object is not infered if get_class is used outside of switch argument
feature-request
phpstan/phpstan#523
·
Filter by author
Jean85
opened
on Sep 28, 2017
·
Dependent types
6
Falsy "variable might not be defined"
feature-request
phpstan/phpstan#6608
·
Filter by author
ghost
opened
on Feb 8, 2022
·
Dependent types
2
Array value type is not narrowed when value itself is checked
feature-request
phpstan/phpstan#7508
·
Filter by author
BackEndTea
opened
on Jun 22, 2022
·
Dependent types
3
"Variable might not be defined" in second identical
if
block
feature-request
phpstan/phpstan#7718
·
Filter by author
dmjohnsson23
opened
on Jul 29, 2022
·
Dependent types
4
Invalid nullable type
feature-request
phpstan/phpstan#9113
·
Filter by author
jakubstach
opened
on Mar 31, 2023
·
Dependent types
2
Identify value range by max return
feature-request
phpstan/phpstan#9586
·
Filter by author
LucianoHanna
opened
on Jul 6, 2023
·
Dependent types
1
sprintf placeholders and values with if statement
feature-request
phpstan/phpstan#9854
·
Filter by author
mostafa-rz
opened
on Sep 6, 2023
·
Dependent types
Treat PHPDoc types as certain doesn't work in class method but works outside
bug
phpstan/phpstan#10012
·
Filter by author
cedomm
opened
on Oct 13, 2023
·
Dependent types
6
PHPStan miss runtime type correction from False to String
feature-request
phpstan/phpstan#10603
·
Filter by author
GErpeldinger
opened
on Feb 19, 2024
·
Dependent types
3
Bug with XOR Operator?
feature-request
phpstan/phpstan#10759
·
Filter by author
fenixpsicologia
opened
on Mar 20, 2024
·
Dependent types
2
Variable $var might not be defined v2
feature-request
phpstan/phpstan#11109
·
Filter by author
ghost
opened
on May 30, 2024
·
Dependent types
1
Condition that
$a::class === $b::class
is not propagated
bug
phpstan/phpstan#12206
·
Filter by author
Girgias
opened
on Dec 7, 2024
·
Dependent types
2
Comparison of two integers does not narrow down the scope of their derivative values
feature-request
phpstan/phpstan#12217
·
Filter by author
sivlev
opened
on Dec 9, 2024
·
Dependent types
2
Conditionally defined variable might not be defined
feature-request
phpstan/phpstan#12245
·
Filter by author
plufz
opened
on Dec 11, 2024
·
Dependent types
1
Offset might not exist based on the variable initialization order
feature-request
phpstan/phpstan#12620
·
Filter by author
funivan
opened
on Feb 20, 2025
·
Dependent types
Using result of random_int in another random_int results in an error
bug
phpstan/phpstan#13092
·
Filter by author
cyberemissary
opened
on May 31, 2025
·
Dependent types
2
False positives for
offsetAccess.notFound
feature-request
phpstan/phpstan#13422
·
Filter by author
stepo2
opened
on Aug 28, 2025
·
Dependent types
4
Possible false positive null check within a read-only class on nullable properties
feature-request
phpstan/phpstan#13446
·
Filter by author
trailsnail
opened
on Sep 3, 2025
·
Dependent types
5
gettype narrow call and match use
feature-request
phpstan/phpstan#13972
·
Filter by author
jaugustin
opened
on Jan 19, 2026
·
Dependent types
2
known offsets after preg_split
feature-request
phpstan/phpstan#14464
·
Filter by author
staabm
opened
on Apr 14, 2026
·
Dependent types
4
For non-negative integers, !(a>=b) narrows differently to !(a>b || a==b)
feature-request
phpstan/phpstan#15412
·
Filter by author
mind-bending-forks
opened
on Oct 6, 2026
·
Dependent types
You can’t perform that action at this time.