-
-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Description
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
- invoker(), invoke(), partial_method(): no way to annotate method names properly: Feature request: public-method-string<O> vimeo/psalm#2500
- Recursive types are not implemented (problem for
compose,curry, etc.): Mixing templates and types seems to confuse psalm vimeo/psalm#2499
Metadata
Metadata
Assignees
Labels
No labels