Skip to content

v2026.1.22

Choose a tag to compare

@lumielis lumielis released this 21 Sep 09:39
· 1 commit to main since this release

Marketplace version: 2026.1.92200

Features and Improvements

  • Added the InvalidStringOffset diagnostic for string offsets PHP 8 rejects at runtime.

Bug Fixes

  • Fixed reading an element of a PHPDoc collection or of a class-based ArrayAccess/collection receiver inferring mixed.
  • Fixed reading a character from a string inferring mixed, and an offset write widening a non-array receiver — a string, an int, or an ArrayAccess object — into an array.
  • Fixed @implements/@extends/@use losing every type argument when the argument list was written with a space after the comma.
  • Fixed a value-of<...> docblock being discarded on a property with a native array declaration.
  • Fixed false PropertyTypeMismatch diagnostics for an associative array literal whose field value the engine cannot type, and for an assigned type that is a supertype of the property's declared type.
  • Fixed false UndefinedClass diagnostics for a use-site variance projection on a generic type argument.
  • Fixed the formatter collapsing the alternative conditions of a multi-line match arm onto the => line.
  • Fixed double-clicking a PHP variable selecting only the name, without the leading $.