We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From @weirdan in 99eb903#comments
It's a result of a method call chain, never mentioned directly in the file.
use AnotherPackage\StorageInterface; class C { /** @var StorageInterface */ private $storage; public function zugzug() { $result = $this->storage->getRecord()->getResult(); // fails with UndefinedClass AnotherPackage\ResultInterface } }
StorageInterface is defined in another composer package, so it's in (ignored) vendor folder.
namespace AnotherPackage; interface StorageInterface { public function getRecord(): OperationInterface; } interface OperationInterface { public function getResult(): ResultInterface; } interface ResultInterface {}
Note: I get no issues with --no-cache.
--no-cache
The text was updated successfully, but these errors were encountered:
Add test for #1017
edc219f
@weirdan I'm unable to reproduce - I tried in this test: edc219f#diff-76b547058d2f044a408e18cae81ea310R49
I've confirmed it's using the fake caches I've created.
Sorry, something went wrong.
There might be some other factors in play here. I'll try to get a reproducer (but that probably would be no sooner than next week).
I'm able to replicate this locally.
a38d2f8
Yep, fixed. Thanks.
No branches or pull requests
From @weirdan in 99eb903#comments
It's a result of a method call chain, never mentioned directly in the file.
StorageInterface is defined in another composer package, so it's in (ignored) vendor folder.
Note: I get no issues with
--no-cache
.The text was updated successfully, but these errors were encountered: