Skip to content

Releases: phpDocumentor/TypeResolver

1.10.0

09 Nov 15:14
679e3ce
Compare
Choose a tag to compare

What's Changed

  • add support for phpstan/phpdoc-parser 2 by @xabbuh in #212

Full Changelog: 1.9.0...1.10.0

1.9.0

03 Nov 20:13
1fb5ba8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.8.2...1.9.0

1.8.2

23 Feb 11:16
153ae66
Compare
Choose a tag to compare

What's Changed

This new patch version reintroduces php 7.3 support to allow users to use php-parser v5 together with this package. There are no breaking changes or other changes people should be aware of.

New Contributors

Full Changelog: 1.8.1...1.8.2

1.8.1

19 Feb 21:10
bc3dc91
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.8.0...1.8.1

1.8.0

11 Jan 11:53
fad4527
Compare
Choose a tag to compare

What's Changed

This version allows users to get the Item definition of ArrayShape types, and gives you access to the type definition of these item. Using the new ArrayShape::getItems() method.

New Contributors

Full Changelog: 1.7.4...1.8.0

1.7.4

11 Jan 11:46
8430ca5
Compare
Choose a tag to compare

What's Changed

This patch ensures this library works with php-parser v5. Due a conflict in the way both libraries were handling the forward compatibility on php 7.4 for language constructs in php 8+. This patch version should not have any impact on the way you are using the library unless you did use the value of the T_NAME_QUALIFIED and T_NAME_FULLY_QUALIFIED constants, and you are running php 7.4

  • Update parser token constant values to ints instead of strings by @mukuru-shaun in #197

New Contributors

Full Changelog: 1.7.3...1.7.4

1.7.3

12 Aug 11:07
3219c6e
Compare
Choose a tag to compare

Fixed

  • Fix ContextFactory::createForNamespace detects wrong use statement by @maMykola in #192

New Contributors

Full Changelog: 1.7.2...1.7.3

1.7.2

30 May 18:34
b2fe4d2
Compare
Choose a tag to compare

Fixes

  • Change underlying type for StringValue pseudo type by @astronom in #189

New Contributors

Full Changelog: 1.7.1...1.7.2

1.7.1

27 Mar 19:03
dfc078e
Compare
Choose a tag to compare

Fixes

Full Changelog: 1.7.0...1.7.1

1.7.0

17 Mar 20:04
1534aea
Compare
Choose a tag to compare

What's Changed

This version of the type resolver contains an internal rewrite of the type parser using phpstan/php-doc-parser. This enables a number of features regarding more advanced type resolving. The interface of the library has not been changed. This version should be fully backward compatible.

Please report any regressions when you encounter issues.

Added

  • Add non-empty-list pseudo-type by @schodemeiss in #183
  • Add callable parameters and return type support by @jaapio
  • Add array shape support by @jaapio

Deprecated

  • Support for nullable type definitions in compound types see: #184

Fixed

Removed

  • Nothing

Security

  • Nothing

New Contributors

Full Changelog: 1.6.2...1.7.0