-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fatal because of conflicting interfaces #21
Comments
I guess it should be scoped and then shipped as a |
would be sufficient if all files are only analysed statically, I assume somewhere in the code they are still loaded in some way. |
@Idrinth indeed, Dependency Guard uses There are only 2 places where Reflection is used. The |
will hopefully have time this weekend @johmanx10 and will have a look then. |
@Idrinth I have provided a fix in the branch |
working on it @johmanx10 - give me 15mins |
The issue does not seem to be fixed yet, seems the newer interface is still in use. Did shorten the paths, dependency-guard is a freshly cloned one from issue/21, folder contains a composer package with symfony/console as dependency.
|
I had hoped this would not be required, but it seems we have to configure a different source locator for the reflector, in order to achieve what is desired. Either that or there is something we're overlooking. When next I work on this, I'll reproduce the environment you pointed out, instead of using what I already have, locally. Please allow a number of days to pass for this to be picked up again. |
this is not a service I'm paying for @johmanx10 - I'm positively surprised at how fast you did get startet. On top of that it currently breaks only a single library's ci for us, it's not too hard to manually check that one. |
Regression test for issue #21
@Idrinth I have strengthened the patch with your regression test and am now pretty confident that this should fix your issue. Could you verify once more? A pull request is open for review by my co-workers. Once the pull request is accepted, a new patch version, |
I can confirm it no longer produces a fatal with the current patch. Thank you for your quick work. |
Description
When symfony/console:2.8.45 is analysed, the dependency guard stops with a fatal error.
These methods do not exist in the given interfaces in this version of symfony console.
Steps to Reproduce
Expected behavior: continues, since there is no issue
Actual behavior: dies with a fatal error
Reproduces how often: 100%
Versions
mediact/dependency-guard: 1.0.3 (seperate)
symfony/console: 2.8.45 (included in a project)
The text was updated successfully, but these errors were encountered: