Skip to content

Psalm V4 breaking changes #1732

@muglug

Description

@muglug

Coming late this year, probably to coincide with 7.4 release

  • class constants should live in their own storage object
  • remove issues MisplacedRequiredParam, TypeCoercion, MixedTypeCoercion
  • remove support for @template-typeof
  • rename TFn to TClosure, ObjectLike to TKeyedArray, GetClassT to TDependentGetClass, GetTypeT to TDependentGetType
  • Remove return type manipulation from AfterFunctionCallAnalysisInterface
  • default to not disabling checks with UnresolvableInclude (don't disable checks when includes can't be resolved #2818)
  • Added return and param types to plugin hooks
  • Remove requireVoidReturnType, useAssertForType config flags
  • Change default on resolveFromConfigFile to "true"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions