-
Notifications
You must be signed in to change notification settings - Fork 577
Pull requests: phpstan/phpstan-src
Author
Label
Projects
Milestones
Reviews
Assignee
Sort
Pull requests list
Mark
array_filter(), array_map(), array_reduce() and sibling non-mutating callback functions as having no side effects
#5912
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Do not hold the global
BleedingEdgeToggle across yield in ConstantArrayTypeTest data providers
#5911
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Detect generators by scanning the body for
yield, including unreachable code and excluding nested functions
#5910
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Mark
for/while loops as never exiting when every fall-through iteration keeps the condition satisfied
#5907
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Resolve array offset access on
never to never and treat never operands of ===/!== as undecided
#5906
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Preserve template bound for enum-case, integer-range, constant-float and constant-bool subtypes in
TemplateTypeFactory::create()
#5905
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Allow
yield with nullable/union return types by checking each union member for an iterable, non-array part
#5903
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Generalize by-reference closure
use variables that are reassigned in the enclosing scope after the closure is declared
#5902
opened Jun 21, 2026 by
phpstan-bot
Collaborator
Loading…
Do not remember readonly properties' constructor-narrowed types in other methods when
clone with is available (PHP 8.5)
#5893
opened Jun 17, 2026 by
phpstan-bot
Collaborator
Loading…
Report functions and methods that unconditionally call themselves on every code path
#5889
opened Jun 16, 2026 by
phpstan-bot
Collaborator
Loading…
Fix internal error when using first class callable with NullsafeMethodCall
#5888
opened Jun 16, 2026 by
phpstan-bot
Collaborator
Loading…
Report
array_column() reading a property absent from the array's object elements
#5887
opened Jun 16, 2026 by
phpstan-bot
Collaborator
Loading…
Resolve conditional
@throws types like ($x is 0 ? Exception : void) at call sites and throw points
#5874
opened Jun 14, 2026 by
phpstan-bot
Collaborator
Loading…
Report non-stringable names in variable variables, dynamic method calls and dynamic static property/method access
#5871
opened Jun 14, 2026 by
phpstan-bot
Collaborator
Loading…
Report
?? null / ??= null on an always-set left side as an unnecessary null coalesce
#5865
opened Jun 13, 2026 by
phpstan-bot
Collaborator
Loading…
Resolve template return type
T when a class-string<T> parameter is narrowed to a constant class-string
#5864
opened Jun 13, 2026 by
phpstan-bot
Collaborator
Loading…
Bind unmatched template types to
never when inferring an argument against a union of template types
#5863
opened Jun 13, 2026 by
phpstan-bot
Collaborator
Loading…
Single-pass expression analysis groundwork - answer type questions from ExpressionResults
#5857
opened Jun 12, 2026 by
ondrejmirtes
Member
Loading…
Emit SwitchConditionNode and report always-false switch case comparisons
#5854
opened Jun 12, 2026 by
phpstan-bot
Collaborator
Loading…
Pre-warm cold OptimizedDirectorySourceLocator caches before spawning workers
#5846
opened Jun 11, 2026 by
SanderMuller
Contributor
Loading…
Return
int|float from AccessoryDecimalIntegerStringType::toNumber() to account for overflow
#5815
opened Jun 6, 2026 by
phpstan-bot
Collaborator
Loading…
Narrow to
decimal-int-string/non-decimal-int-string from (string) (int) $x === $x comparisons
#5805
opened Jun 4, 2026 by
phpstan-bot
Collaborator
Loading…
Previous Next
ProTip!
Exclude everything labeled
bug with -label:bug.