wiki.techinc.nl/tests/phpunit/structure
Tim Starling f81462048a Add PSR-4 mappings for existing namespaces and the top level
This reduces the size of the class map ($wgAutoloadLocalClasses),
and allows new classes and namespaces to be added without modifying
the class or namespace map as long as they conform to PSR-4.

Adding a PSR-4 mapping for the top-level MediaWiki namespace means that
conforming subnamespaces do not need to be listed.

I did not add some odd or broken cases, since I figure it's better to
fix them by moving the files, which can be done in a separate commit.

I removed testPSR4Completeness, since PSR-4 completeness is no longer
required, that's the point.

Bug: T166010
Change-Id: Ie5e50ecb519b99a1197688c046c7be245ce6da1b
2020-03-10 21:08:30 +11:00
..
ApiPrefixUniquenessTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiStructureTest.php Merge "ApiDisabled: Correctly fall back to api-help-no-extended-description" 2020-02-12 00:11:14 +00:00
AutoLoaderStructureTest.php Add PSR-4 mappings for existing namespaces and the top level 2020-03-10 21:08:30 +11:00
AvailableRightsTest.php Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
ContentHandlerSanityTest.php Introduce ContentHandlerFactory 2020-02-07 00:53:51 +03:00
DatabaseIntegrationTest.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ExtensionJsonValidationTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
PasswordPolicyStructureTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ResourcesTest.php Merge "resourceloader: Separate style processing from style file loading" 2020-02-12 21:09:32 +00:00
RestStructureTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
SpecialPageFatalTest.php Run SpecialPageFatalTest with lang=qqx 2019-07-08 14:52:06 +02:00
StructureTest.php Upgrade PHPUnit to version 7 2019-11-20 21:02:33 -08:00