Skip to content

Releases: phpstan/phpdoc-parser

2.0.0

07 Nov 09:59
2.0.0
c00d78f
Compare
Choose a tag to compare

phpstan/phpdoc-parser 2.0 is here! 🎉

This release brings API cleanup and enables new features for everyone that were previously hidden behind opt-in feature toggles, like:

  • Parsing Doctrine annotations
  • Type aliases with invalid types being preserved
  • Text between tags always belongs to description
  • ...and more...

See the UPGRADING guide for details.

phpstan/phpdoc-parser 2.0 will also be included in PHPStan 2.0 that's going to be released on Monday November 11th 2024.

1.33.0

13 Oct 11:28
82a311f
Compare
Choose a tag to compare
  • 82a311f - Support for non-empty-array and non-empty-list array shape kind

1.32.0

26 Sep 07:24
Compare
Choose a tag to compare
  • 6ca22b1 - Support for @pure-unless-callable-is-impure

1.31.0

22 Sep 11:33
Compare
Choose a tag to compare
  • 249f15f - PhpDocParser: support template type lower bounds
  • a5e938b - Test for special multiline PHPDoc
  • 5d48fa4 - Do not deploy API reference on 1.23.x anymore
  • 1c7fcc4 - Add test cases for quote aware array/object keys
  • 7e92a25 - Fix link

1.30.1

07 Sep 20:18
51b95ec
Compare
Choose a tag to compare
  • 51b95ec - Deploy API Reference into a subdirectory with the current branch name
  • 0e689c5 - Fix bug of repeating last line in AST for textBetweenTagsBelongsToDescription=true
  • 9d053a8 - Test newer PHP versions
  • 0454892 - Pin build-cs

1.30.0

29 Aug 09:57
5ceb0e3
Compare
Choose a tag to compare
  • 5ceb0e3 - Support typing extra items in unsealed array shapes
  • cc2b26c - Send update PR to phpstan-src 1.12.x branch
  • 8752839 - Fix $matches error
  • 2afec65 - Update roave/backward-compatibility-check

1.29.1

31 May 08:53
Compare
Choose a tag to compare
  • fcaefac - TemplateTagValueNode name cannot be empty string

1.29.0

06 May 12:05
536889f
Compare
Choose a tag to compare
  • 536889f - Support array and offset access on const types
  • 9bb3855 - Update lock-closed-issues.yml
  • 54b191f - Test pure-callable and pure-Closure
  • 793d146 - Update phpdoc-parser in phpstan-src:1.11.x

1.28.0

03 Apr 18:52
Compare
Choose a tag to compare
  • cd06d6b - Add @phan- prefixes for recognized doc tags

1.27.0

21 Mar 13:19
86e4d5a
Compare
Choose a tag to compare
  • 86e4d5a - Support for @param-closure-this
  • 8ce0d65 - Support for @param-immediately-invoked-callable and @param-later-invoked-callable