Skip to content

Releases: phpstan/phpdoc-parser

1.20.3

25 Apr 09:08
6c04009
Compare
Choose a tag to compare
  • 6c04009 - Fix ArrayTypeNode indexes
  • d985f89 - Fix attributes for more tags
  • 69432fa - PhpDocParserTest - verify all nodes have attributes
  • ffaba4f - Fix attributes for more types
  • 142198e - TypeParserTest - verify all nodes have attributes
  • 6220c55 - ConstExprParser - attributes
  • b5fede3 - Missing attributes for object shapes
  • cff97e9 - Missing attributes for array shapes
  • 3416dc6 - Callable parameter and return type have attributes
  • ecb7789 - Do not include TOKEN_PHPDOC_EOL in node tokens
  • 39e4966 - Update dependency slevomat/coding-standard to v8.11.0

1.20.2

23 Apr 18:01
90490bd
Compare
Choose a tag to compare
  • 90490bd - TypeParserTest - verify indexes by concatenating token values
  • 08ccb8d - More precise type indexes

1.20.1

22 Apr 09:08
57f6787
Compare
Choose a tag to compare
  • 57f6787 - Update slevomat/coding-standard
  • 900bd69 - Do not include TOKEN_CLOSE_PHPDOC in end index with one-line tags

1.20.0

20 Apr 11:20
10553ab
Compare
Choose a tag to compare
  • 10553ab - CloningVisitor
  • 00d0fcd - NodeTraverser inspired by nikic/php-parser
  • 874bf25 - Increase PHPStan level
  • 1ae8d74 - Add missing typehints
  • 0138dd9 - Give even invalid nodes line and index attributes
  • 7ff42f5 - TypeParser - give all types the line and index attributes
  • 4255dd3 - Rename tests
  • ddc8c7a - Set start and end indexes to node attributes
  • f9ecd17 - Set start and end lines to node attributes
  • b508006 - Document token array format

1.19.1

18 Apr 11:45
f545fc3
Compare
Choose a tag to compare
  • f545fc3 - When callable returns callable the return type needs to be put in parentheses

1.19.0

17 Apr 13:19
178b33a
Compare
Choose a tag to compare
  • 178b33a - Backward compatibility - QuoteAwareConstExprStringNode should extend ConstExprStringNode
  • 5194589 - TypeParserTest - test parsing string type representation again
  • f373259 - Fix unparseable string representation of CallableTypeParameterNode
  • 829bd2e - TypeParserTest - use modern feature toggles
  • ae5be81 - Use StringUnescaper when quoteAwareConstExprString=true
  • 376023a - Extract StringUnescaper from ConstExprParser
  • 5e2f2e0 - QuoteAwareConstExprStringNode with correct quotes and escaping in __toString()
  • 80e5c87 - Update build-cs
  • 4e3ca1e - Update peter-evans/create-pull-request action to v5

1.18.1

07 Apr 11:53
22dcdfd
Compare
Choose a tag to compare
  • 22dcdfd - Do not crash on invalid UTF-8
  • bada68a - Object shapes - test without space after colon

1.18.0

06 Apr 07:30
882eabc
Compare
Choose a tag to compare
  • 882eabc - Support for object shapes

1.17.1

04 Apr 11:15
d3753fc
Compare
Choose a tag to compare
  • d3753fc - Fix parsing invalid types in type aliases

1.17.0

04 Apr 08:33
bfec872
Compare
Choose a tag to compare
  • bfec872 - PhpDocParser - option to preserve type alias with parse error
  • afb728a - Update dependency slevomat/coding-standard to v8.9.1
  • 36f3719 - Update PHPCS
  • bcba2e8 - Update metcalfc/changelog-generator action to v4.1.0
  • 888c7c1 - Send PRs against PHPStan 1.10.x