-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Psalm (vimeo/psalm) is a static code analyzer with extensive support for type checking. Psalm can determine types from PHP type hints, PHPDoc comments and inference from code, but it also supports extended doc annotations that provide more fine-grained type specifications, including templates (generics). These annotations are completely backwards-compatible.
value objects has various classes that deal with types (in the SolidPhp\ValueObjects\Type namespace). Adding psalm template annotations to these classes and their methods would enable improved type checking for any project using the value object SDK and psalm, without any drawbacks for projects that don't.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request