registration: Throw an Exception if a JSON file is invalid
authorKunal Mehta <legoktm@gmail.com>
Wed, 11 Feb 2015 00:39:24 +0000 (16:39 -0800)
committerKunal Mehta <legoktm@gmail.com>
Wed, 11 Feb 2015 01:29:11 +0000 (17:29 -0800)
commit62a6b90b2acfb248338a37ed15af047c0d424b4d
treecb55def55bbdde5d830d02f45d523b71b8dd54d6
parent3fdc7709914125e2dc5cc1b5acb0898e6e3dd080
registration: Throw an Exception if a JSON file is invalid

Currently you get confusing fatals like:
 Argument 2 passed to ExtensionRegistry::processAutoLoader() must
 be an array, null given

Change-Id: Icc7198db152e071c5a42e06547268fbaee916107
includes/registration/ExtensionRegistry.php