wiki.techinc.nl/tests/phpunit/includes/filerepo
Máté Szabó 94d8579d2c FileRepo: Use Late Static Binding in File static constructors
The FileRepo extension API allows to specify factory methods that
FileRepo implementations will use to instantiate File instances.
Currently, the default static constructors in LocalFile and OldLocalFile
do not use Late Static Binding, so every subclass is forced to re-implement them,
even if they would not need any custom logic. Switching to Late Static Binding
(available since PHP 5.3) allows File implementors to reduce boilerplate
if they do not need to overwrite the existing logic.

Change-Id: Id8f6f5362b68269c2a3232796a1703be14116dd5
2019-06-15 13:41:39 +02:00
..
file FileRepo: Use Late Static Binding in File static constructors 2019-06-15 13:41:39 +02:00
FileBackendDBRepoWrapperTest.php Mock IDatabase::class instead of DatabaseMysqli::class 2019-05-01 17:38:11 +02:00
FileRepoTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MigrateFileRepoLayoutTest.php Mock IDatabase::class instead of DatabaseMysqli::class 2019-05-01 17:38:11 +02:00
RepoGroupTest.php Make RepoGroup a service instead of singleton 2019-05-06 13:57:40 +03:00
StoreBatchTest.php Remove left-over references from comments to removed FSRepo class 2017-01-07 16:00:07 +00:00