registration: Use a static whitelist of keys that are not attributes
authorKunal Mehta <legoktm@gmail.com>
Mon, 18 May 2015 06:22:46 +0000 (23:22 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 18 May 2015 06:32:33 +0000 (23:32 -0700)
commita3f47a59153aa2fea2ce36208acf442679fd8c99
treef2160e1b1c85c3c0baa0c2a7ba1174c2ee67d8c6
parent03ca1f69129e257ce556675241f340c029806f37
registration: Use a static whitelist of keys that are not attributes

Rather than continuously creating an array of keys that were used, just
hardcode a list of keys that aren't attributes. This also handles keys
like "AutoloadClasses" that is handled by the registry.

Bug: T98977
Change-Id: I35088a76ff4c58db71e8c9bc139fa0ccca738e3b
includes/registration/ExtensionProcessor.php
tests/phpunit/includes/registration/ExtensionProcessorTest.php