Enclose compact() call in error suppression
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 28 Jul 2018 03:13:57 +0000 (20:13 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Sat, 28 Jul 2018 15:09:19 +0000 (08:09 -0700)
commitae314346d5dddf07f7dcac956db6160ceae46e8c
tree44bc4ff5956ddd342ada8aa405eea36a74a4e196
parentb27540ce1fbc746afa1f6e1f87e59aded58e7991
Enclose compact() call in error suppression

In PHP 7.3, compact() now emits warnings when a variable doesn't exist.
Because our language files aren't required to contain all the possible
variables, this results in massive spam trying to run tests.

Change-Id: Idab0340ec1cdebfca67cb448e350a408438bcbbc
includes/cache/localisation/LocalisationCache.php