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 #235 - Fix the conversion of lists to strings by @mspirkov in #237
- Replace
CollectionwithGenericTypeby @mspirkov in #238 - Refactor pseudo-types by @mspirkov in #241
- Analyze tests using PHPStan by @mspirkov in #240
- Remove/phpstan v1 parser by @jaapio in #239
- Remove
GenericTemplateclass by @mspirkov in #247 - Fix
IntMaskOfTest::testToString()by @mspirkov in #246 - Remove aliases for
True_andFalse_by @mspirkov in #248 - Update dev dependencies by @mspirkov in #245
- Add support for compound FQSEN to
class-stringandinterface-stringby @mspirkov in #249 - Add support for any array keys by @mspirkov in #236
- Add docs for v1 to v2 migration by @jaapio in #250
- Add support for trait string types by @jaapio in #251
- Add support for
enum-stringby @mspirkov in #252 - Fix PHPUnit coverage report generation by @mspirkov in #253
- Refactor pseudo-types by @mspirkov in #254
- Add 100% test coverage for
PseudoTypesby @mspirkov in #255 - Add identifier to the
Callableby @mspirkov in #258 - Improve the conversion of
Callableto a string by @mspirkov in #259 - Increase test coverage to 96% by @mspirkov in #260
- Refactor types by @mspirkov in #261
- Add support for
properties-ofand its variations by @mspirkov in #267 - Add support for more pseudo-types by @mspirkov in #271
- Improve the conversion of lists to strings by @mspirkov in #273
- Add support for
never-return,never-returnsandno-returnby @mspirkov in #272 - Add support for
open-resourceandclosed-resourceby @mspirkov in #275 - Add support for
callable-arrayby @mspirkov in #276 - Improve the conversion of arrays to strings by @mspirkov in #274
Full Changelog: 1.12.0...2.0.0