v1.12.0
New
- New configuration option to resolve partial array shapes instead of collapsing them to a key-value type pair
- New TypeScript export option
fromthat allows exporting PHPStan type aliases - New TypeScript export options
save_types_in_single_fileandasthat allow exporting all types in a specified TS file, leaving only one line of type import after the@autodoctag comment. - TypeScript export modes that allow using different sets of configuration for different
@autodoctags
For examples and detailed descriptions take a look at the TypeScript export documentation.
Fixes
- Improved type description reading, fixed some cases where description was ignored
- Fixed PHP method name matching to be case-insensitive
- Fixed variable assignment tracking, preventing infinite loop in some cases, and supporting variable declaration on the same line the variable is used
Full Changelog: v1.11.0...v1.12.0