Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explizit arguments get #62

Open
wants to merge 1 commit into
base: 2.0.x
Choose a base branch
from
Open

explizit arguments get #62

wants to merge 1 commit into from

Conversation

gennadigennadigennadi
Copy link
Member

@gennadigennadigennadi gennadigennadigennadi commented Jul 16, 2024

fixes: qossmic/deptrac#1425

If a not defined argument|option appears during application bootstrap, getOption() returns nothing, because the previous bind couldn't parse the defined arguments|options.

@gennadigennadigennadi gennadigennadigennadi force-pushed the issue-1425 branch 2 times, most recently from 9055be9 to 2788afe Compare July 24, 2024 09:36
@xabbuh
Copy link
Member

xabbuh commented Jul 24, 2024

What was the reason to merge 703b212 in the past? I cannot find the related pull request.

@gennadigennadigennadi
Copy link
Member Author

gennadigennadigennadi commented Jul 24, 2024

@xabbuh qossmic/deptrac#1089 that's the pr and @dbrumann had his doubts :-)

@xabbuh
Copy link
Member

xabbuh commented Jul 24, 2024

Can we somehow add a test to prevent regressions?

@dbrumann
Copy link
Contributor

Hey there. Long time, no see.

I just saw the ping a few days ago and had a quick look again. It definitely makes sense to revisit this. It would make the bootstrapping a lot easier and I am not sure in what cases I stumbled into the bug I was describing in the other PR. Maybe it was specific to an older version of Symfony, the way phar handled things or just me messing up during debugging. Tests would be nice to have though.

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.

Option --report-uncovered placed before --config-file makes deptrac ignore the provided configuration file
3 participants