You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55
55
56
56
### Fixed
57
57
58
-
-**Blade diagnostics in `analyze` command.** Blade template files now receive full diagnostics (unknown members, unknown classes, unused variables, etc.) when running `phpantom_lsp analyze`.
59
-
-**Blade unknown-member diagnostic positions.** Unknown-member diagnostics in Blade files now point to the correct line in the original template instead of the virtual PHP line number.
60
-
-**False-positive unused `$loop` in Blade templates.** The `$loop` variable injected by `@foreach`/`@forelse` is no longer flagged as unused when the template body doesn't reference it.
58
+
-**Rename propagates into closures and arrow functions.** Renaming a variable now follows explicit `use ($var)` captures into closure bodies and implicit captures into arrow function bodies, instead of leaving those occurrences unchanged.
61
59
-**Spurious function auto-imports.** Import statements like `use function is_array;` were misidentified as function declarations, polluting the completion list with phantom entries that inserted incorrect imports.
62
60
-**Duplicate `use function` insertion.** Accepting a function completion no longer inserts a `use function` statement when the exact import already exists in the file.
63
61
-**Function import conflict handling.** When a different function with the same short name is already imported, completing a namespaced function now inserts the fully-qualified name instead of the ambiguous short name.
@@ -71,10 +69,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
71
69
-**Foreach narrowing with break in else.** The variable state from break paths is now included in the post-loop type.
72
70
-**Foreach target type after non-empty literal array.** The pre-loop sentinel value no longer survives as a possible post-loop type.
73
71
-**Foreach over `::class` literal arrays resolves static access.**`$className::CONST` and `$className::method()` no longer produce unresolved-member diagnostics.
74
-
-**Foreach loop variable resolution in Blade.** Loop variables now resolve their element type correctly when the iterable is typed via a standalone `@var` docblock.
75
72
-**Hover on reassigned variable shows post-assignment type.** Hovering on the left-hand side of a reassignment now shows the type produced by the assignment.
76
-
-**Blade hover positions.** Hover ranges in `.blade.php` files now highlight the correct symbol under the cursor.
77
-
-**Blade echo delimiter hover.** Hovering on `{{` or `}}` now shows hover for the `e()` function.
78
73
-**Multi-namespace class resolution.** Short class names now resolve against the correct namespace for the current scope.
79
74
-**Multi-namespace variable isolation.** Variable resolution now only considers the namespace block containing the cursor.
80
75
-**Multi-namespace function return type resolution.** Function return types are now resolved against the function's own namespace.
0 commit comments