Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vimeo/psalm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.13.1
Choose a base ref
...
head repository: vimeo/psalm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.13.2
Choose a head ref
  • 13 commits
  • 13 files changed
  • 1 contributor

Commits on Nov 20, 2026

  1. Configuration menu
    Copy the full SHA
    97421b6 View commit details
    Browse the repository at this point in the history
  2. Don't prefix PHP's Io namespace in the phar

    PHP 8.6 adds Io\IoException and Io\Poll\*, which revolt/event-loop's IoPollDriver uses. The phar is
    built on PHP 8.2, where php-scoper doesn't know them, so it prefixed them: on PHP 8.6, starting the
    worker pool (any run with more than one thread) creates the IoPollDriver and crashed with
    Class "PsalmPhar\Io\Poll\FailedPollOperationException" not found.
    
    The namespace is excluded with an anchored regex: php-scoper matches a plain excluded name with
    str_contains(), so 'Io' would also leave Amp\Serialization (and every namespace containing "io")
    unprefixed.
    danog committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    2fefb5a View commit details
    Browse the repository at this point in the history
  3. Test the phar on PHP 8.2 and 8.6 with several threads, on pull reques…

    …ts and before releasing it
    
    bin/ci/test-phar.sh analyzes a small project with a phar and four threads, so that the worker pool
    and its event loop run. The phar was only tested with -v, on the PHP it's built on.
    danog committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    e854498 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4bda8f3 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #14414 from danog/scoper-io-poll

    Don't prefix PHP's Io namespace in the phar (crash on PHP 8.6 with threads)
    danog authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    1bb1312 View commit details
    Browse the repository at this point in the history
  6. Make the crash reproduction a valid test case

    The covariant template was taken by __set(), and __set() doesn't bind the type
    variables of an object built empty, so the snippet reported issues before the
    union it reproduces. Assign the property after the branches instead of
    incrementing it, so the case runs to that union.
    danog committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    2e61d95 View commit details
    Browse the repository at this point in the history
  7. Combine the value types of a union in their own method

    combine() went over the complexity limit.
    danog committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    4134898 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #14379 from danog/combine-never-bound-variables

    Don't crash combining type variables that all stand for never until bound
    danog authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    1552477 View commit details
    Browse the repository at this point in the history
  9. Report only the ternary's own negated condition as redundant

    The negated types of a ternary include the clauses that held before it, which
    the context already applied: an elseif after count($a) > 2 reported
    $a[0] ?? null as never has-at-least-3.
    danog committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    5ed5784 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e299c77 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2026

  1. Merge pull request #14417 from danog/ternary-negated-active

    Report only the ternary's own negated condition as redundant
    danog authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    908f6e1 View commit details
    Browse the repository at this point in the history
  2. Keep the template arguments of the object in callable($this) and call…

    …able(static) params
    
    At a call, `static` in a param took the class of the method without the template arguments of the object it is
    called on, unlike the params of a closure passed there; in the method itself, it stayed `static` in a final
    class, where `$this` is the class.
    danog committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    80bc820 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #14423 from danog/callable-this-receiver-params

    Keep the template arguments of the object in callable($this) and callable(static) params
    danog authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    4a0667b View commit details
    Browse the repository at this point in the history
Loading