Location
src/Command/WorkermanCommand.php:46
Problem
The property $allowedActions is named as if it holds a list of allowed actions, but its value is an error-message string. The name lies about the content, hurting readability.
What to change
- Rename
$allowedActions to $invalidActionMessage (or another name that matches the value).
- Update any references accordingly.
Acceptance criteria
Location
src/Command/WorkermanCommand.php:46Problem
The property
$allowedActionsis named as if it holds a list of allowed actions, but its value is an error-message string. The name lies about the content, hurting readability.What to change
$allowedActionsto$invalidActionMessage(or another name that matches the value).Acceptance criteria
vendor/bin/phpunit).