Open Issues Need Help
View All on GitHub Command Line Interface • CLI Application
Add `NoDiscard` attribute on mutation free methods about 1 month ago
AI Summary: The task is to add the `NoDiscard` attribute from the proposed PHP RFC (https://wiki.php.net/rfc/marking_return_value_as_important) to methods in the Innmind/CLI library that do not modify the object's state (mutation-free). This ensures that Psalm can correctly identify and flag any unintended discarding of the return values of these methods.
Complexity:
3/5
good first issue