wiki.techinc.nl/tests/phpunit/includes/resourceloader
Timo Tijhof 91c73f6bac resourceloader: Add some typehints and misc clean up
* Add a void return hint to methods that are not meant to return
  anything. This helps catch accidental return statements in the
  future, lets Phan better understand how methods are meant to be
  used, and might also allow PHP to better optimise the compiled
  code form (speculation).

  I did not, however, add it to publicly extended methods as that
  might mess with strict mode.

* Remove the internal getResourceLoader() method from MessageBlobStore.
  This has been redundant since 3edaa0b37c.
  The method was protected, and not considered stable to subclass
  for extensions. Hence not a breaking change.

* Add Throwable typehint to formatException() and friends.
  This is the narrowest one I could add given that the methods
  called from here already enforce the same typehint.
  Update the doc to match for now. There isn't a reason right now
  to limit this only to Exception, and given this is the method
  and not the catch statement itself, does not change behaviour.

* Remove unused ResourceLoader->getHookContainer().
  Added within 1.35 cycle, safe to remove.

* Remove unexpected `@since` for `@internal` getHookRunner().

* Remove redundant `@internal` from ResourceLoaderMwUrlModule
  methods, which itself is already `@internal`.

Change-Id: I68d33ff6feca7ef95282a7ff03eb9332adfde31c
2020-07-02 03:05:59 +01:00
..
templates
DerivativeResourceLoaderContextTest.php resourceloader: Let derivative context inherit getUserObj() object 2020-04-14 03:59:52 +01:00
MessageBlobStoreTest.php Fix tests/ PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 04:30:21 +01:00
ResourceLoaderClientHtmlTest.php resourceloader: Remove internal 'sync' option from ClientHtml 2020-04-23 20:48:04 +00:00
ResourceLoaderContextTest.php resourceloader: Export ResourceModuleSkinStyles as extension attribute 2020-03-30 16:08:00 -07:00
ResourceLoaderFileModuleTest.php VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00
ResourceLoaderImageModuleTest.php resourceloader: Add some typehints and misc clean up 2020-07-02 03:05:59 +01:00
ResourceLoaderLessVarFileModuleTest.php
ResourceLoaderModuleTest.php resourceloader: Mention ECMAScript version in JS parse error 2020-06-01 23:37:57 +00:00
ResourceLoaderOOUIImageModuleTest.php Support the creation of Skins with services injected 2020-03-16 23:25:42 +00:00
ResourceLoaderSkinModuleTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ResourceLoaderStartUpModuleTest.php Fix a plethora of class and function call case mismatches 2020-05-26 14:14:46 +01:00
ResourceLoaderTest.php Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
ResourceLoaderWikiModuleTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
VueComponentParserTest.php VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00