Skip to content

Unioned array shapes are no longer disjunctive #14301

Closed

Description

@mvorisek

Bug report

as requested phpstan/phpstan-src#5227 (comment)

Code snippet that reproduces the problem

https://phpstan.org/r/63091c63-db6c-4612-8347-a733fb79fc00

Expected output

no error on line 25 - at least before phpstan/phpstan-src#5227 (comment) the l25 was right

Activity

  1. added this to the Easy fixes milestone on Mar 16, 2026
  2. added a commit that references this issue on Mar 16, 2026
    a5cd85b
  3. added 4 commits that reference this issue on Mar 16, 2026
    6c5f267
    c858ed2
    7e6348d
    69d0151
  4. phpstan-bot commented on Mar 16, 2026

    @phpstan-bot
    Contributor

    Closed via merging phpstan/phpstan-src#5229

  5. added a commit that references this issue on Apr 7, 2026
    64bec59
  6. github-actions commented on Apr 17, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions