Page MenuHomePhabricator

Phan did not catch missing use statement in Wikibase patch
Closed, DeclinedPublic

Description

https://gerrit.wikimedia.org/r/#/c/394044/ was missing a use statement, causing a class not found error in a unit test. Why wasn't this caught by phan?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

:( OK this is something that needs to be fixed in Wikibase then.

I think running phan over tests/ is going to be a disaster due to mocking, TestingAccessWrapper, etc.