-
Notifications
You must be signed in to change notification settings - Fork 4
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
"Zend\Expressive\Router\RouterInterface" could not be found in the located source #2
Comments
@oqq did you check if this interface really exists in your vendor-dir? |
Of course, yes. |
@oqq Not sure what exactly goes wrong here. You could try to figure it out. One idea would be to use a php test script like this one: <?php
require 'vendor/autoload.php';
use Roave\BetterReflection\Reflection\ReflectionClass;
$reflectedInterface = ReflectionClass::createFromName('Zend\Expressive\Router\RouterInterface'); like it is tried here: https://github.com/prooph/message-flow-analyzer/blob/master/src/Visitor/MessageHandlerCollector.php#L47 |
A workaround would be to use an exclude filter like I did for proophessor-do: https://github.com/prooph/message-flow-analyzer#run-it-against-proophessor-do (see point 5) But in that case the interface is really not installed so the blacklist filter is the right option to use. In your case the interface seems to be available so the question is why it cannot be autoloaded by BetterReflection to inspect it. |
I got same error.. |
ok, let me know the result |
Seems to be fixed now. 👍 |
oh nice, need to try it |
After execution of:
I got the following output:
The tested class file has a content like:
The text was updated successfully, but these errors were encountered: