From 9f6035b2c677cd510d524188c1bfe2249fdde29f Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 5 Sep 2013 17:28:19 -0700 Subject: [PATCH] List all DOM extension classes as extension classes for static analysis purposes Summary: See D6895. We currenty whitelist one of the DOM classes, but should whitelist them all. Classes not in this whitelist raise warnings when users who don't have the corresponding extensions installed lint code. We don't want to require you to install every extension just to send diffs, so we whitelist stuff that we know would exist if you did install everything. Test Plan: bwahaha Reviewers: btrahan, Firehed Reviewed By: Firehed CC: aran Differential Revision: https://secure.phabricator.com/D6896 --- scripts/php_extension_classes.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/scripts/php_extension_classes.txt b/scripts/php_extension_classes.txt index 5cdc95ce..3cfe3f6d 100644 --- a/scripts/php_extension_classes.txt +++ b/scripts/php_extension_classes.txt @@ -1 +1,31 @@ +DOMException +DOMStringList +DOMNameList +DOMImplementationList +DOMImplementationSource +DOMImplementation +DOMNode +DOMNameSpaceNode +DOMDocumentFragment DOMDocument +DOMNodeList +DOMNamedNodeMap +DOMCharacterData +DOMAttr +DOMElement +DOMText +DOMComment +DOMTypeinfo +DOMUserDataHandler +DOMDomError +DOMErrorHandler +DOMLocator +DOMConfiguration +DOMCdataSection +DOMDocumentType +DOMNotation +DOMEntity +DOMEntityReference +DOMProcessingInstruction +DOMStringExtend +DOMXPath -- 2.43.0