Skip to content

PHPStan#

Annotations#

The editor recognizes and respects wide range of PHPDoc annotations introduced by PHPStan, including generics and various structured types.

Local Aliases#

Type aliases introduced using @type or @phpstan-type PHPDoc annotation are respected.

phpstan.neon Global Aliases#

Since version 1.56

phpstan neon support

NEON is a simplified YAML file format. phpstan.neon (or .dist .dist.neon) files are indexed and typeAliases definitions are respected.