Skip to content

Releases: phpstan/phpdoc-parser

1.21.3

Choose a tag to compare

@phpstan-bot phpstan-bot released this 29 May 19:35
b0c366d
  • b0c366d - Fix token indexes in TypeAliasImportTagValueNode
  • 5f901f0 - More tests
  • 912d284 - Merge maintained branch workflow
  • 740f031 - Prepare for 1.22.x

1.21.2

Choose a tag to compare

@phpstan-bot phpstan-bot released this 29 May 15:25
a8094fa
  • a8094fa - Do not add extra parentheses when changing the return type of callable
  • b0ea9f4 - Update .gitattributes

1.21.1

Choose a tag to compare

@phpstan-bot phpstan-bot released this 29 May 12:04
e560a3e
  • e560a3e - WordPress docblock test
  • 4e3883b - Test changing type node for different type
  • 90cf56c - Format-preserving printer: fix bug when replacing already parenthesized type
  • a56b0df - Do not deploy API reference in pull requests
  • ff27205 - Configure PHPCS
  • 33195a6 - Next-gen coding standard workflow
  • 7f78fd1 - Update README.md

1.21.0

Choose a tag to compare

@phpstan-bot phpstan-bot released this 17 May 13:15
6df62b0
  • 6df62b0 - Update README.md
  • b2fba53 - Api Reference favicon
  • 39b4430 - Updated README
  • 7b254ab - ApiGen + deploy to GitHub Pages
  • f440c76 - Printer - preserve and add parentheses as needed
  • b9b6cf0 - Fix visibility
  • ced520a - Micro optimize parseParamTagValue()
  • cc94635 - Merge branch '1.20.x' into 1.21.x
  • 97d18ea - Fix build
  • 69bc46f - Update dependency slevomat/coding-standard to v8.11.1
  • e9514dc - Open 1.21.x
  • 16b30bb - Merge branch '1.20.x' into 1.21.x
  • f5a5145 - Test Printer::print()
  • 68d46b9 - Extract creating PhpDocParser to setUp
  • 2a022b2 - Un-extract variable
  • cf694fd - PrinterTest - parse the new printed node again and verify the AST is the same
  • 0b4de96 - ConstExprParser: support numeric literal separator
  • 308c57c - Format-preserving printer

1.20.4

Choose a tag to compare

@phpstan-bot phpstan-bot released this 02 May 09:23
7d568c8
  • 7d568c8 - Simplify implementation
  • a7e9698 - CallableTypeNode - support ConstTypeNode in return type
  • 421d3f3 - CallableTypeNode - support $this in return type
  • d60fa73 - CallableTypeNode - support object shape in return type
  • 2ebed2c - Open 1.20.x

1.20.3

Choose a tag to compare

@phpstan-bot phpstan-bot released this 25 Apr 09:08
6c04009
  • 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

Choose a tag to compare

@phpstan-bot phpstan-bot released this 23 Apr 18:01
90490bd
  • 90490bd - TypeParserTest - verify indexes by concatenating token values
  • 08ccb8d - More precise type indexes

1.20.1

Choose a tag to compare

@phpstan-bot phpstan-bot released this 22 Apr 09:08
57f6787
  • 57f6787 - Update slevomat/coding-standard
  • 900bd69 - Do not include TOKEN_CLOSE_PHPDOC in end index with one-line tags

1.20.0

Choose a tag to compare

@phpstan-bot phpstan-bot released this 20 Apr 11:20
10553ab
  • 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

Choose a tag to compare

@phpstan-bot phpstan-bot released this 18 Apr 11:45
f545fc3
  • f545fc3 - When callable returns callable the return type needs to be put in parentheses