intelephense 1.18.1 → 1.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.18.3 - 2026-05-17]
4
+
5
+ #### Fixed
6
+ - False only variable can be passed by ref error with `extract`.
7
+ - Undefined variable diagnostics not showing within closures in script scope when `intelephense.diagnostics.undefinedVariables` is set to `local`.
8
+ - Parse error when encountering DNF type after readonly promoted prop modifier.
9
+ - Parameter highlight not working in closures.
10
+ - If parameter rename text does not start with `$` it should be automatically prepended.
11
+ - `completion.withMethodBody` setting not working for implement all abstract functions code action.
12
+ - Incorrect resolution of conditional type when subject type is `mixed`.
13
+ - Go to definition not working for callable arrays when first element is a variable reference.
14
+ - Imports not counted as reference in reference code lens.
15
+ - Hovering over `@property` property name showing type as `unset`.
16
+
17
+ ## [1.18.2 - 2026-05-02]
18
+
19
+ #### Fixed
20
+ - False array key type error when array is initially empty.
21
+ - False duplicate trait in use list when multiple traits in same file use same trait.
22
+ - False trait method collision when trait method is identical but inherited by different pathways.
23
+ - False unused property error when trait declares property and composing class declares the property as a promoted property.
24
+ - Make `instanceof` work with `class-string<T>`.
25
+
3
26
  ## [1.18.1 - 2026-05-01]
4
27
 
5
28
  #### Changed
@@ -10,7 +33,6 @@
10
33
  - `P1119 Too many argument` errors will no longer show for functions that call `func_get_args`.
11
34
 
12
35
  #### Fixed
13
-
14
36
  - Document symbols broken when using a namespace definition with a body.
15
37
  - `#[Override]` inserted in wrong spot for method override completion if method modifiers and or `function` keyword already present.
16
38
  - False key type errors when using array access notation on `ArrayAccess` implementations.