2.0.0
2.0.0
After year of improvements in a backward compatible way this is the moment we break with this pattern. This release is mostly build thanks to @mspirkov. Who implemented many of the improvements to support generics and remove all legacy.
Please consult the upgrade guide in our docs https://docs.phpdoc.org/components/type-resolver/guides/upgrade-v1-to-v2.html
Full change list:
- Add support for
non-empty-arraywith generics by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/235 - Fix the conversion of lists to strings by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/237
- Replace
CollectionwithGenericTypeby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/238 - Refactor pseudo-types by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/241
- Analyze tests using PHPStan by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/240
- Remove/phpstan v1 parser by @jaapio in https://github.com/phpDocumentor/TypeResolver/pull/239
- Remove
GenericTemplateclass by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/247 - Fix
IntMaskOfTest::testToString()by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/246 - Remove aliases for
True_andFalse_by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/248 - Update dev dependencies by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/245
- Add support for compound FQSEN to
class-stringandinterface-stringby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/249 - Add support for any array keys by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/236
- Add docs for v1 to v2 migration by @jaapio in https://github.com/phpDocumentor/TypeResolver/pull/250
- Add support for trait string types by @jaapio in https://github.com/phpDocumentor/TypeResolver/pull/251
- Add support for
enum-stringby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/252 - Fix PHPUnit coverage report generation by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/253
- Refactor pseudo-types by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/254
- Add 100% test coverage for
PseudoTypesby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/255 - Add identifier to the
Callableby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/258 - Improve the conversion of
Callableto a string by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/259 - Increase test coverage to 96% by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/260
- Refactor types by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/261
- Add support for
properties-ofand its variations by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/267 - Add support for more pseudo-types by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/271
- Improve the conversion of lists to strings by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/273
- Add support for
never-return,never-returnsandno-returnby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/272 - Add support for
open-resourceandclosed-resourceby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/275 - Add support for
callable-arrayby @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/276 - Improve the conversion of arrays to strings by @mspirkov in https://github.com/phpDocumentor/TypeResolver/pull/274
Full Changelog: https://github.com/phpDocumentor/TypeResolver/compare/1.12.0...2.0.0