Skip to content

Fix command group help method signature - #7

Merged
dermatthes merged 6 commits into
mainfrom
fix/command-group-help-signature
Oct 1, 2026
Merged

dermatthes merged 6 commits into
mainfrom
fix/command-group-help-signature

Conversation

@dermatthes

Copy link
Copy Markdown
Contributor

Fixes the PHP fatal error introduced by #6. T_CommandGroup::getHelp() now accepts the optional $nameWidth argument required by its parent method, restoring PHP method-signature compatibility.

The existing CLI application specs already instantiate T_CommandGroup; with a working PHPSpec run this incompatibility is detected during class loading.

@dermatthes
dermatthes merged commit 8b6c4a1 into main Oct 1, 2026
2 checks passed
@dermatthes
dermatthes deleted the fix/command-group-help-signature branch October 1, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant