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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
18
-**Invalid class-like kind diagnostics.** Flags class-like names used in positions where their kind is guaranteed to fail at runtime: `new` on abstract classes, interfaces, traits, or enums; `extends` on a final class, interface, or trait; `implements` with a non-interface; trait `use` with a non-trait; `instanceof` with a trait; `catch` with a non-Throwable type; and traits in type-hint positions.
19
19
-**Unused variable diagnostics.** Variables assigned but never read are flagged with hint severity and rendered as dimmed text. Variables named `$_` or prefixed with `$_` are exempt.
20
20
-**Mago diagnostic proxy.** Mago lint and analyze diagnostics are surfaced as LSP diagnostics with quick-fix code actions. Configurable under `[mago]` in `.phpantom.toml`.
21
+
-**Laravel Pint formatting.** Projects with `laravel/pint` in `require-dev` automatically use Pint for formatting via stdin. Configurable under `[formatting]` in `.phpantom.toml` with `pint = "path"` or `pint = ""` to disable.
21
22
-**PHPCS diagnostic proxy.** PHP_CodeSniffer violations are surfaced as LSP diagnostics with severity mapping. Configurable under `[phpcs]` in `.phpantom.toml`.
22
23
-**Return type inference from method bodies.** Methods without a declared return type or `@return` docblock now have their return type inferred from `return` statements, improving completion, hover, and diagnostics for untyped code.
23
24
-**Closure and arrow function parameter inference.** Untyped closure parameters are inferred from the enclosing call's callable signature, including through method chains that return `static`. Generic type substitution flows through to inferred parameters.
0 commit comments