intelephense 1.18.0 → 1.18.1

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,24 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.18.1 - 2026-05-01]
4
+
5
+ #### Changed
6
+ - Suppress undefined member diagnostics in traits when scope is `$this` and every type that uses the trait implements the member.
7
+ - The `intelephense.diagnostics.undefinedVariables` setting has changed from a boolean to an enum of `'on'|'local'|'off'`. Defaults to `'on'`. When set to `'local'` only local scope undefined variables diagnostics will be emitted. **BREAKING**
8
+ - The `intelephense.diagnostics.argumentCount` setting has changed from a boolean to an enum of `'on'|'declared'|'off'`. Defaults to `'on'`. When set to `'declared'` only declared functions/method argument count diagnostics will be emitted. That is, annotated `@method` methods will be ignored. **BREAKING**
9
+ - `P1132 No type information available` diagnostics will no longer show for properties with an initialiser or for parameters with a default argument.
10
+ - `P1119 Too many argument` errors will no longer show for functions that call `func_get_args`.
11
+
12
+ #### Fixed
13
+
14
+ - Document symbols broken when using a namespace definition with a body.
15
+ - `#[Override]` inserted in wrong spot for method override completion if method modifiers and or `function` keyword already present.
16
+ - False key type errors when using array access notation on `ArrayAccess` implementations.
17
+ - PHPDoc parse error on `list{a, b}`.
18
+ - Variable type narrowed to never if RHS of `instanceof` is a variable of type `class-string`.
19
+ - False dead code diagnostic when switch case expression is `false` constant.
20
+ - Template types not resolving inside methods that inherit template documentation from ancestors in type hierarchy.
21
+
3
22
  ## [1.18.0 - 2026-04-28]
4
23
 
5
24
  #### Added