intelephense 1.11.4 → 1.11.6
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 +30 -0
- package/lib/intelephense.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [1.11.6 - 2024-07-12]
|
|
4
|
+
|
|
5
|
+
#### Added
|
|
6
|
+
- Handle phpstan call site variance syntax.
|
|
7
|
+
|
|
8
|
+
#### Changed
|
|
9
|
+
- Template types and metadata return types will no longer resolve to an argument type of `never` in order to prevent code being unintentionally marked unreachable following function/method calls.
|
|
10
|
+
- Undefined property diagnostic now suppressed in `isset`, `empty`, `unset`, LHS of null coalesce to match PHP behaviour.
|
|
11
|
+
- Type check of LHS of property access expression suppressed in `isset`, `empty`, `unset`, LHS of null coalesce to match PHP behaviour.
|
|
12
|
+
|
|
13
|
+
#### Fixed
|
|
14
|
+
- `float` parameter should permit `int` as argument.
|
|
15
|
+
- Type inference with `null` equality comparison.
|
|
16
|
+
- Undefined variables not diagnosed inside closure.
|
|
17
|
+
- False undefined method diagnostics with templated parameters.
|
|
18
|
+
- Auto import function adding unnecessary `function` keyword when in group use list.
|
|
19
|
+
- Variable type becoming mixed when passed by ref in closure use clause.
|
|
20
|
+
- Circular reference problem when trait has `@mixin` of the same class that exhibits it.
|
|
21
|
+
- False argument count error when trait provides implementation for an interface and gives params default args.
|
|
22
|
+
- Unable to override variable type with `@var` if RHS of assignment contains closure.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [1.11.5 - 2024-07-07]
|
|
26
|
+
|
|
27
|
+
#### Fixed
|
|
28
|
+
- Various control flow analysis issues.
|
|
29
|
+
- Performance and type inference issues with array read/writes.
|
|
30
|
+
- Type inference following `yield` expression.
|
|
31
|
+
- False type error when unpacking templated type.
|
|
32
|
+
|
|
3
33
|
## [1.11.4 - 2024-07-04]
|
|
4
34
|
|
|
5
35
|
#### Fixed
|