Skip to content

Support psalm #208

@lstrojny

Description

@lstrojny

Add psalm annotations

  • Fix all issues found by psalm
  • Increase type specificity
  • Add @psalm-pure
  • Add @psalm-assert
  • Add proper support for more complex cases like compose

Type specificity

  • Average
  • ButLast
  • Capture
  • CompareObjectHashOn
  • CompareOn
  • Compose
  • Concat
  • ConstFunction
  • Contains
  • Converge
  • Curry
  • CurryN
  • Difference
  • DropFirst
  • DropLast
  • Each
  • Equal
  • ErrorToException
  • Every
  • Exceptions/InvalidArgumentException
  • Exceptions/MatchException
  • False
  • Falsy
  • Filter
  • First
  • FirstIndexOf
  • FlatMap
  • Flatten
  • Flip
  • Functional
  • GreaterThan
  • GreaterThanOrEqual
  • Group
  • Head
  • Id
  • Identical
  • IfElse
  • IndexesOf
  • Intersperse
  • Invoke
  • InvokeFirst
  • InvokeIf
  • InvokeLast
  • Invoker
  • Last
  • LastIndexOf
  • LessThan
  • LessThanOrEqual
  • LexicographicCompare
  • Map
  • Match
  • Maximum
  • Memoize
  • Minimum
  • None
  • Noop
  • Not
  • OmitKeys
  • PartialAny
  • PartialLeft
  • PartialMethod
  • PartialRight
  • Partition
  • Pick
  • Pluck
  • Poll
  • Product
  • Ratio
  • ReduceLeft
  • ReduceRight
  • Reindex
  • Reject
  • Repeat
  • Retry
  • Select
  • SelectKeys
  • SequenceConstant
  • SequenceExponential
  • SequenceLinear
  • Sequences/ExponentialSequence
  • Sequences/LinearSequence
  • Some
  • Sort
  • Sum
  • SuppressError
  • Tail
  • TailRecursion
  • TakeLeft
  • TakeRight
  • Tap
  • True
  • Truthy
  • Unique
  • With
  • Zip
  • ZipAll

Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions