hashar edited the task description. (Show Details)

EDIT DETAILS
...
=======

One has to explicitly register them with `Hamcrest\Util::registerGlobalFunctions();`:

```
<?php

#use Hamcrest\Matchers;
lang=php
<?php

Hamcrest\Util::registerGlobalFunctions();
class BlaTest extends MediaWikiTestCase {

function testHamcrest() {
assertThat();
#\Hamcrest\Matchers::both();
both();

}

}
...

TASK DETAIL
https://phabricator.wikimedia.org/T158674

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hashar
Cc: gerritbot, hashar, Addshore, Aleksey_WMDE, aude, Aklapper, Th3d3v1ls, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to