Streamline code involving .= string concatenations
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Thu, 7 Mar 2019 09:55:31 +0000 (10:55 +0100)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Mon, 11 Mar 2019 11:43:45 +0000 (12:43 +0100)
commitcfda5e7efa0c1de64fe4036eb56f8b90c081c87f
tree80a594871fc5b2a7cb494edefc4f71f0d6d65179
parentf17c29762468ec194476d1399339c3ff59f2e786
Streamline code involving .= string concatenations

This was inspired by Idbbdb31. Originally, I did a regex search for
code that did string concatenations like `$str = $str . …` and replaced
them all with the .= operator. A duplicate patch was uploaded by another
author. I rebeased this patch on top of the other, which leaves all
the manual optimizations I did.

Change-Id: Iaeb73d9c63302c9409bd1051b91e0d2bd77788a7
includes/EditPage.php
includes/db/DatabaseOracle.php
includes/filerepo/file/ForeignAPIFile.php
includes/libs/objectcache/BagOStuff.php
includes/media/DjVuImage.php
languages/Language.php