wiki.techinc.nl/tests
Tim Starling 29cd484c86 LocalFile: don't use dynamic property assignment when loading from the DB
Merge LocalFile::decodeRow() with its only caller loadFromRow(), and
replace dynamic assignment $this->$field with plain assignment. This
makes the data flow more obvious.

The point of dynamic assignment was defeated by the fact that almost
every field required some kind of normalization after loading it from
the database. There's no point looping over all fields when you need to
do something different for each field.

Dynamic assignment is retained in loadFromCache() and setProps(), where
there is less normalization.

Change-Id: Ie103884c4436ab63c29652edf3bab331a34081c9
2021-06-02 11:32:42 +10:00
..
api-testing REST edit: handle null edits correctly 2021-03-19 14:10:25 +01:00
common Create SessionProviderTestTrait to facilitate testing of an SessionProvider 2021-05-26 20:45:05 +03:00
integration/includes/http Fix order of parameters in assertions 2021-05-03 15:50:53 +00:00
parser ParserTestRunner: use HookContainer instead of Hooks class 2021-05-02 05:12:08 +00:00
phpunit LocalFile: don't use dynamic property assignment when loading from the DB 2021-06-02 11:32:42 +10:00
qunit docs: Emphasize “Modern”/“Basic support” terminology over “Grade A”/“C” 2021-05-14 05:27:46 -07:00
selenium wdio-mediawiki: Release 1.1.1 2021-05-26 11:38:35 +02:00
.eslintrc.json
.htaccess