Skip to content

fix: Fix endless recursion when --working-dir option precedes the subcommand#181

Merged
theofidry merged 2 commits into
bamarni:masterfrom
theofidry:DaRealFreak/master
Jan 29, 2026
Merged

fix: Fix endless recursion when --working-dir option precedes the subcommand#181
theofidry merged 2 commits into
bamarni:masterfrom
theofidry:DaRealFreak/master

Conversation

@theofidry

Copy link
Copy Markdown
Collaborator

Closes #172.
Closes #173.

…mand (bamarni#172)

`--working-dir` is a global option and may appear before the subcommand (e.g. install/update). Reorder the forwarded input so the namespace `--working-dir=.` always comes first.

# Conflicts:
#	src/Input/BinInputFactory.php
@theofidry
theofidry force-pushed the DaRealFreak/master branch 2 times, most recently from 13c6ce3 to 6b97fb7 Compare January 29, 2026 23:05
@theofidry
theofidry merged commit f6af6be into bamarni:master Jan 29, 2026
14 of 17 checks passed
@theofidry
theofidry deleted the DaRealFreak/master branch January 29, 2026 23:07
@theofidry

Copy link
Copy Markdown
Collaborator Author

Thank you @DaRealFreak

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.

Endless recursion on global --working-dir argument

2 participants