Skip to content

UnderstudyRestSuggestion ​

Rasuvaeff\Understudy\Psalm\Issue\UnderstudyRestSuggestion

Class — Package: rasuvaeff/understudy-psalm — Source — Version: v1.3.1

Extends: Psalm\Issue\PluginIssue

A trailing run of Arg::any() that Arg::rest() would say in one word.

A suggestion, not a mistake: the specification works as written. Its own type rather than UnderstudyMisuse, so that the two can be configured apart, and reported at info by default — the plugin sets that level unless the project's psalm.xml already names this issue, in which case the project's choice stands:

xml
<PluginIssue name="UnderstudyRestSuggestion" errorLevel="suppress"/>

No public members beyond what is documented above.