registration: Improve dependency checking
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 15 Dec 2016 23:09:26 +0000 (15:09 -0800)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 15 Dec 2016 23:09:26 +0000 (15:09 -0800)
commit90cfe33631568af839d79438f3f48c2397853970
tree3674f1dbd6e2fe1906b95cb0041f99713e34b058
parent90698a878b5b0dfdaffd06a0cb5ac6b1465bcbdb
registration: Improve dependency checking

* Pass $coreVersion to VersionChecker's constructor, don't require a
setter.
* Bump ExtensionRegistry::CACHE_VERSION
* Return single strings from handle* functions, avoid array_merge calls
* Improve invalid version error message
* Fix naming of VersionCheckerTest class

Change-Id: Id4f66b815aa41dbbc4b966095d6b99e542e548b4
includes/registration/ExtensionRegistry.php
includes/registration/VersionChecker.php
tests/phpunit/includes/registration/VersionCheckerTest.php