]> khamidou — GitHub mirrors - arcanist.git/commitdiff
List all DOM extension classes as extension classes for static analysis purposes
authorepriestley <git@epriestley.com>
Fri, 6 Sep 2013 00:28:19 +0000 (17:28 -0700)
committerepriestley <git@epriestley.com>
Fri, 6 Sep 2013 00:28:19 +0000 (17:28 -0700)
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

index 5cdc95cef30140f00e129242acb348d707fe25b5..3cfe3f6d2ccc74f91d3f81ffadf35db6c24a3add 100644 (file)
@@ -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