Skip to content

Releases: fp4php/psalm-toolkit

v2.2.0

06 Jun 16:28

Choose a tag to compare

  • Add Psalm::$types->setType
  • Add Psalm::$types->asNullable
  • Add Psalm::$types->addIntersection
  • Add Psalm::$classlikes->isTraitUsed
  • Support ClassLikeStorage for Psalm::$classlikes->classExtends/classImplements
  • Support Atomic for Psalm::$types->toDocblockString

v2.1.0

01 Jun 09:02

Choose a tag to compare

  • AfterStatementAnalysisEvent support for $types->getType and $args->getType
  • $types->asPossiblyUndefined makes type as possibly undefined
  • $types->asAlwaysDefined makes type as always defined
  • $classlikes->toShortName makes short class name from ClasslikeStorage|TNamedObject|string
  • $types->toDocblockString trasform Union то dockblock compatible string

v2.0.0

31 May 17:28

Choose a tag to compare

  • Migrating to fp4php
  • PsalmApi (internal psalm api wrapper)

v1.2.3

12 Jan 16:03

Choose a tag to compare

Fix Psalm::getFunctionName
Add Psalm::getClosureId

v1.2.3

26 Dec 13:30

Choose a tag to compare

  • Psalm::getMethodName
  • Psalm::getClassFromStaticCall
  • Psalm::isMethodNameEq
  • Psalm::isFunctionNameEq
  • Psalm::getArgName

v1.2.2

25 Dec 23:14

Choose a tag to compare

Psalm::getFunctionName: get resolved function name from Node\Expr

v1.2.1

20 Dec 23:51

Choose a tag to compare

Fixed StaticTypes::shape inference when tuple has possibly undefined keys

v1.2.0

20 Dec 21:04

Choose a tag to compare

Add getCallArgs and getNonEmptyCallArgs for plugin api

Updated internal api

20 Dec 00:26

Choose a tag to compare

v1.1.0

Update internal api

Fix shape type inference

22 Nov 20:09

Choose a tag to compare

v1.0.1

Fix shape type inference