mediawiki-extensions-Cite/tests/phpunit/unit
Thiemo Kreuz e5cda65fbe Remove single use classes from the use section
The name of the base class in tests is guaranteed to only occur a
single time in a file. There is not much value in making it relative,
and requiring it to appear in the use section. Especially because it
is in the root namespace.

This reflects what I once encoded in the sniff
https://github.com/wmde/WikibaseCodeSniffer/blob/master/Wikibase/Sniffs/Namespaces/FullQualifiedClassNameSniff.php
I wish we could pick this rule and use it in our codebases. But it
seems it is to specific and can't be applied on all codebases, hence
it can't become part of the upstream MediaWiki rule set. At least not
at the moment.

Change-Id: I77c2490c565b7a468c5c944301fc684d20206ec4
2019-12-17 14:57:55 +01:00
..
AnchorFormatterTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
CiteDataModuleTest.php Minor improvements to the test coverage 2019-12-11 12:22:59 +01:00
CiteHooksUnitTest.php Remove ApiQueryReferences support 2019-11-28 11:08:46 +01:00
CiteParserHooksTest.php Lazy instantiation of Cite 2019-12-12 11:12:17 +01:00
CiteParserTagHooksTest.php Rename CiteParserTagHooks::initialize to register 2019-12-10 14:19:33 +00:00
CiteUnitTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
ErrorReporterTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
FootnoteMarkFormatterTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
ReferenceMessageLocalizerUnitTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
ReferencesFormatterTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
ReferenceStackTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00