-
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
Update dependency guzzlehttp/guzzle to v7.12.1 [SECURITY]
#5920
opened Jun 22, 2026 by
renovate
Bot
Loading…
1 task
Re-apply global state in
ContainerFactory::postInitializeContainer() even for an already-initialized container
#5918
opened Jun 22, 2026 by
phpstan-bot
Collaborator
Loading…
Re-register the runtime container in
setUp() of type tests with PHP-version-dependent reflection assertions
#5917
opened Jun 22, 2026 by
phpstan-bot
Collaborator
Loading…
Update dependency phpstan/php-8-stubs to v0.4.36
#5914
opened Jun 22, 2026 by
renovate
Bot
Loading…
1 task
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…
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…
Previous Next
ProTip!
Filter pull requests by the default branch with base:2.2.x.