2016-12-29 22:11:10 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
|
|
|
<xs:element name="psalm" type="PsalmType" />
|
|
|
|
|
|
|
|
<xs:complexType name="PsalmType">
|
2016-12-29 23:37:09 -05:00
|
|
|
<xs:choice maxOccurs="unbounded">
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="projectFiles" type="ProjectFilesType" minOccurs="1" maxOccurs="1" />
|
|
|
|
<xs:element name="fileExtensions" type="FileExtensionsType" minOccurs="0" maxOccurs="1" />
|
|
|
|
<xs:element name="mockClasses" type="MockClassesType" minOccurs="0" maxOccurs="1" />
|
2017-01-31 19:21:33 -05:00
|
|
|
<xs:element name="stubs" type="StubsType" minOccurs="0" maxOccurs="1" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="plugins" type="PluginsType" minOccurs="0" maxOccurs="1" />
|
|
|
|
<xs:element name="issueHandlers" type="IssueHandlersType" minOccurs="0" maxOccurs="1" />
|
2016-12-29 23:37:09 -05:00
|
|
|
</xs:choice>
|
2016-12-29 22:11:10 -05:00
|
|
|
|
|
|
|
<xs:attribute name="name" type="xs:string" />
|
|
|
|
<xs:attribute name="stopOnFirstError" type="xs:string" />
|
|
|
|
<xs:attribute name="useDocblockTypes" type="xs:string" />
|
2018-01-13 00:32:20 -05:00
|
|
|
<xs:attribute name="useDocblockPropertyTypes" type="xs:string" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:attribute name="throwExceptionOnError" type="xs:string" />
|
|
|
|
<xs:attribute name="hideExternalErrors" type="xs:string" />
|
|
|
|
<xs:attribute name="autoloader" type="xs:string" />
|
|
|
|
<xs:attribute name="cacheDirectory" type="xs:string" />
|
|
|
|
<xs:attribute name="allowFileIncludes" type="xs:string" />
|
|
|
|
<xs:attribute name="totallyTyped" type="xs:string" />
|
|
|
|
<xs:attribute name="strictBinaryOperands" type="xs:string" />
|
2017-02-01 10:13:37 -05:00
|
|
|
<xs:attribute name="requireVoidReturnType" type="xs:string" />
|
2017-01-28 15:17:14 -05:00
|
|
|
<xs:attribute name="useAssertForType" type="xs:string" />
|
2017-02-02 12:39:39 -05:00
|
|
|
<xs:attribute name="cacheFileContentHashes" type="xs:string" />
|
2017-04-14 21:32:14 -04:00
|
|
|
<xs:attribute name="rememberPropertyAssignmentsAfterCall" type="xs:string" />
|
2017-10-15 12:38:47 -04:00
|
|
|
<xs:attribute name="serializer" type="xs:string" />
|
2018-02-01 01:10:27 -05:00
|
|
|
<xs:attribute name="allowPhpStormGenerics" type="xs:string" />
|
2018-03-06 11:20:54 -05:00
|
|
|
<xs:attribute name="allowCoercionFromStringToClassConst" type="xs:string" />
|
|
|
|
<xs:attribute name="allowStringToStandInForClass" type="xs:string" />
|
2016-12-29 22:11:10 -05:00
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="ProjectFilesType">
|
2016-12-29 22:16:46 -05:00
|
|
|
<xs:choice maxOccurs="unbounded">
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="directory" minOccurs="0" maxOccurs="unbounded" type="NameAttributeType" />
|
|
|
|
<xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="NameAttributeType" />
|
|
|
|
<xs:element name="ignoreFiles" minOccurs="0" maxOccurs="1">
|
|
|
|
<xs:complexType>
|
2016-12-29 22:16:46 -05:00
|
|
|
<xs:choice maxOccurs="unbounded">
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="directory" minOccurs="0" maxOccurs="unbounded" type="NameAttributeType" />
|
|
|
|
<xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="NameAttributeType" />
|
2016-12-29 22:16:46 -05:00
|
|
|
</xs:choice>
|
2016-12-29 22:11:10 -05:00
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
2016-12-29 22:16:46 -05:00
|
|
|
</xs:choice>
|
2016-12-29 22:11:10 -05:00
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="NameAttributeType">
|
|
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="FileExtensionsType">
|
|
|
|
<xs:sequence>
|
2016-12-29 23:37:09 -05:00
|
|
|
<xs:element name="extension" maxOccurs="unbounded">
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:complexType>
|
|
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
2018-01-21 12:44:46 -05:00
|
|
|
<xs:attribute name="scanner" type="xs:string" />
|
|
|
|
<xs:attribute name="checker" type="xs:string" />
|
2016-12-29 22:11:10 -05:00
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="MockClassesType">
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name="class" maxOccurs="unbounded" type="NameAttributeType" />
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
|
2017-01-31 19:21:33 -05:00
|
|
|
<xs:complexType name="StubsType">
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name="file" maxOccurs="unbounded" type="NameAttributeType" />
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:complexType name="PluginsType">
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name="plugin" maxOccurs="unbounded">
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:attribute name="filename" type="xs:string" use="required" />
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="IssueHandlersType">
|
|
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
2017-01-20 00:10:10 -05:00
|
|
|
<xs:element name="AbstractInstantiation" type="IssueHandlerType" minOccurs="0" />
|
2017-11-28 00:46:41 -05:00
|
|
|
<xs:element name="AssignmentToVoid" type="IssueHandlerType" minOccurs="0" />
|
2017-12-22 18:56:59 +01:00
|
|
|
<xs:element name="CircularReference" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="ContinueOutsideLoop" type="IssueHandlerType" minOccurs="0" />
|
2017-02-23 00:25:28 -05:00
|
|
|
<xs:element name="ConflictingReferenceConstraint" type="IssueHandlerType" minOccurs="0" />
|
2017-05-25 00:34:39 -04:00
|
|
|
<xs:element name="DeprecatedClass" type="IssueHandlerType" minOccurs="0" />
|
2018-01-23 09:09:43 -05:00
|
|
|
<xs:element name="DeprecatedInterface" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="DeprecatedMethod" type="IssueHandlerType" minOccurs="0" />
|
2017-05-25 01:32:34 -04:00
|
|
|
<xs:element name="DeprecatedProperty" type="IssueHandlerType" minOccurs="0" />
|
2018-02-06 18:44:53 -05:00
|
|
|
<xs:element name="DocblockTypeContradiction" type="IssueHandlerType" minOccurs="0" />
|
2018-01-18 17:16:50 -05:00
|
|
|
<xs:element name="DuplicateArrayKey" type="IssueHandlerType" minOccurs="0" />
|
2017-01-02 01:20:47 -05:00
|
|
|
<xs:element name="DuplicateParam" type="IssueHandlerType" minOccurs="0" />
|
2017-01-19 23:45:21 -05:00
|
|
|
<xs:element name="DuplicateClass" type="IssueHandlerType" minOccurs="0" />
|
2017-06-28 23:37:02 -04:00
|
|
|
<xs:element name="EmptyArrayAccess" type="IssueHandlerType" minOccurs="0" />
|
2018-03-18 16:39:34 -04:00
|
|
|
<xs:element name="FalseOperand" type="IssueHandlerType" minOccurs="0" />
|
2018-01-04 21:46:51 -05:00
|
|
|
<xs:element name="FalsableReturnStatement" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="ForbiddenCode" type="IssueHandlerType" minOccurs="0" />
|
2017-11-30 00:01:41 -05:00
|
|
|
<xs:element name="ImplementedReturnTypeMismatch" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="ImplicitToStringCast" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InaccessibleClassConstant" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InaccessibleMethod" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InaccessibleProperty" type="IssueHandlerType" minOccurs="0" />
|
2018-02-17 18:53:02 -05:00
|
|
|
<xs:element name="InterfaceInstantiation" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidArgument" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidArrayAccess" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidArrayAssignment" type="IssueHandlerType" minOccurs="0" />
|
2017-11-15 21:10:07 -05:00
|
|
|
<xs:element name="InvalidArrayOffset" type="IssueHandlerType" minOccurs="0" />
|
2017-10-07 11:27:54 -04:00
|
|
|
<xs:element name="InvalidCast" type="IssueHandlerType" minOccurs="0" />
|
2017-12-28 20:40:28 +01:00
|
|
|
<xs:element name="InvalidCatch" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidClass" type="IssueHandlerType" minOccurs="0" />
|
2017-01-16 12:59:09 -05:00
|
|
|
<xs:element name="InvalidClone" type="IssueHandlerType" minOccurs="0" />
|
2016-12-30 23:40:32 -05:00
|
|
|
<xs:element name="InvalidParamDefault" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidDocblock" type="IssueHandlerType" minOccurs="0" />
|
2018-01-07 17:17:18 -05:00
|
|
|
<xs:element name="InvalidFalsableReturnType" type="IssueHandlerType" minOccurs="0" />
|
2016-12-31 10:51:42 -05:00
|
|
|
<xs:element name="InvalidFunctionCall" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidGlobal" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidIterator" type="IssueHandlerType" minOccurs="0" />
|
2017-04-08 09:20:32 -04:00
|
|
|
<xs:element name="InvalidMethodCall" type="IssueHandlerType" minOccurs="0" />
|
2018-01-07 17:17:18 -05:00
|
|
|
<xs:element name="InvalidNullableReturnType" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidOperand" type="IssueHandlerType" minOccurs="0" />
|
2017-09-16 13:16:21 -04:00
|
|
|
<xs:element name="InvalidPassByReference" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
2018-01-10 10:56:43 -05:00
|
|
|
<xs:element name="InvalidPropertyAssignmentValue" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
2017-12-07 15:50:25 -05:00
|
|
|
<xs:element name="InvalidReturnStatement" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidReturnType" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidScalarArgument" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidScope" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidStaticInvocation" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="InvalidStaticVariable" type="IssueHandlerType" minOccurs="0" />
|
2018-03-06 12:19:50 -05:00
|
|
|
<xs:element name="InvalidStringClass" type="IssueHandlerType" minOccurs="0" />
|
2017-12-28 20:40:28 +01:00
|
|
|
<xs:element name="InvalidThrow" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="InvalidToString" type="IssueHandlerType" minOccurs="0" />
|
2017-12-07 15:50:25 -05:00
|
|
|
<xs:element name="LessSpecificReturnStatement" type="IssueHandlerType" minOccurs="0" />
|
2017-03-18 12:18:17 -04:00
|
|
|
<xs:element name="LessSpecificReturnType" type="IssueHandlerType" minOccurs="0" />
|
2017-12-17 11:09:31 -05:00
|
|
|
<xs:element name="LoopInvalidation" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="MethodSignatureMismatch" type="IssueHandlerType" minOccurs="0" />
|
2017-01-13 13:40:20 -05:00
|
|
|
<xs:element name="MisplacedRequiredParam" type="IssueHandlerType" minOccurs="0" />
|
2018-01-05 12:11:12 -05:00
|
|
|
<xs:element name="MismatchingDocblockParamType" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MismatchingDocblockReturnType" type="IssueHandlerType" minOccurs="0" />
|
2018-01-28 20:03:47 -05:00
|
|
|
<xs:element name="MissingClosureParamType" type="IssueHandlerType" minOccurs="0" />
|
2017-01-16 01:22:36 -05:00
|
|
|
<xs:element name="MissingClosureReturnType" type="IssueHandlerType" minOccurs="0" />
|
2017-01-26 23:23:12 -07:00
|
|
|
<xs:element name="MissingConstructor" type="IssueHandlerType" minOccurs="0" />
|
2018-02-17 11:36:20 -05:00
|
|
|
<xs:element name="MissingDependency" type="IssueHandlerType" minOccurs="0" />
|
2017-10-29 17:36:02 -04:00
|
|
|
<xs:element name="MissingFile" type="IssueHandlerType" minOccurs="0" />
|
2018-01-28 20:03:47 -05:00
|
|
|
<xs:element name="MissingParamType" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="MissingPropertyType" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MissingReturnType" type="IssueHandlerType" minOccurs="0" />
|
2017-11-14 21:43:31 -05:00
|
|
|
<xs:element name="MissingDocblockType" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="MixedArgument" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedArrayAccess" type="IssueHandlerType" minOccurs="0" />
|
2017-11-19 12:33:43 -05:00
|
|
|
<xs:element name="MixedArrayAssignment" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="MixedArrayOffset" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedAssignment" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedInferredReturnType" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedMethodCall" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedOperand" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="MixedPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
2018-01-04 21:46:51 -05:00
|
|
|
<xs:element name="MixedReturnStatement" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="MixedStringOffsetAssignment" type="IssueHandlerType" minOccurs="0" />
|
2017-11-19 13:42:48 -05:00
|
|
|
<xs:element name="MixedTypeCoercion" type="IssueHandlerType" minOccurs="0" />
|
2017-01-17 11:17:49 -05:00
|
|
|
<xs:element name="MoreSpecificReturnType" type="IssueHandlerType" minOccurs="0" />
|
2018-01-05 00:19:35 -05:00
|
|
|
<xs:element name="MoreSpecificImplementedParamType" type="IssueHandlerType" minOccurs="0" />
|
2017-11-30 00:01:41 -05:00
|
|
|
<xs:element name="MoreSpecificImplementedReturnType" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="NoInterfaceProperties" type="IssueHandlerType" minOccurs="0" />
|
2016-12-31 09:20:10 -05:00
|
|
|
<xs:element name="NonStaticSelfCall" type="IssueHandlerType" minOccurs="0" />
|
2018-01-04 21:46:51 -05:00
|
|
|
<xs:element name="NullableReturnStatement" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="NullArgument" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="NullArrayAccess" type="IssueHandlerType" minOccurs="0" />
|
2017-12-04 11:20:31 -05:00
|
|
|
<xs:element name="NullArrayOffset" type="IssueHandlerType" minOccurs="0" />
|
2017-04-08 11:38:06 -04:00
|
|
|
<xs:element name="NullFunctionCall" type="IssueHandlerType" minOccurs="0" />
|
2017-05-22 11:59:58 -04:00
|
|
|
<xs:element name="NullIterator" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="NullOperand" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="NullPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="NullPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="NullReference" type="IssueHandlerType" minOccurs="0" />
|
2017-01-13 12:03:22 -05:00
|
|
|
<xs:element name="OverriddenMethodAccess" type="IssueHandlerType" minOccurs="0" />
|
2018-03-04 12:24:50 -05:00
|
|
|
<xs:element name="OverriddenPropertyAccess" type="IssueHandlerType" minOccurs="0" />
|
2017-04-02 15:26:10 -04:00
|
|
|
<xs:element name="ParadoxicalCondition" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="ParentNotFound" type="IssueHandlerType" minOccurs="0" />
|
2017-10-23 12:01:36 -04:00
|
|
|
<xs:element name="PossiblyFalseArgument" type="IssueHandlerType" minOccurs="0" />
|
2018-03-18 16:39:34 -04:00
|
|
|
<xs:element name="PossiblyFalseOperand" type="IssueHandlerType" minOccurs="0" />
|
2018-01-10 10:56:43 -05:00
|
|
|
<xs:element name="PossiblyFalsePropertyAssignmentValue" type="IssueHandlerType" minOccurs="0" />
|
2017-10-23 12:01:36 -04:00
|
|
|
<xs:element name="PossiblyFalseReference" type="IssueHandlerType" minOccurs="0" />
|
2017-04-08 09:28:02 -04:00
|
|
|
<xs:element name="PossiblyInvalidArgument" type="IssueHandlerType" minOccurs="0" />
|
2017-11-11 21:22:11 -05:00
|
|
|
<xs:element name="PossiblyInvalidArrayAccess" type="IssueHandlerType" minOccurs="0" />
|
2017-11-19 12:33:43 -05:00
|
|
|
<xs:element name="PossiblyInvalidArrayAssignment" type="IssueHandlerType" minOccurs="0" />
|
2017-11-16 00:27:11 -05:00
|
|
|
<xs:element name="PossiblyInvalidArrayOffset" type="IssueHandlerType" minOccurs="0" />
|
2018-01-01 12:00:02 -05:00
|
|
|
<xs:element name="PossiblyInvalidFunctionCall" type="IssueHandlerType" minOccurs="0" />
|
2017-11-15 11:34:40 -05:00
|
|
|
<xs:element name="PossiblyInvalidMethodCall" type="IssueHandlerType" minOccurs="0" />
|
2018-03-18 16:39:34 -04:00
|
|
|
<xs:element name="PossiblyInvalidOperand" type="IssueHandlerType" minOccurs="0" />
|
2017-11-15 11:34:40 -05:00
|
|
|
<xs:element name="PossiblyInvalidPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
2018-01-10 10:56:43 -05:00
|
|
|
<xs:element name="PossiblyInvalidPropertyAssignmentValue" type="IssueHandlerType" minOccurs="0" />
|
2017-11-15 11:44:13 -05:00
|
|
|
<xs:element name="PossiblyInvalidPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
2017-02-11 17:58:41 -05:00
|
|
|
<xs:element name="PossiblyNullArgument" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="PossiblyNullArrayAccess" type="IssueHandlerType" minOccurs="0" />
|
2017-11-20 16:19:40 -05:00
|
|
|
<xs:element name="PossiblyNullArrayAssignment" type="IssueHandlerType" minOccurs="0" />
|
2017-12-04 11:20:31 -05:00
|
|
|
<xs:element name="PossiblyNullArrayOffset" type="IssueHandlerType" minOccurs="0" />
|
2017-04-08 11:38:06 -04:00
|
|
|
<xs:element name="PossiblyNullFunctionCall" type="IssueHandlerType" minOccurs="0" />
|
2017-05-22 11:59:58 -04:00
|
|
|
<xs:element name="PossiblyNullIterator" type="IssueHandlerType" minOccurs="0" />
|
2017-02-11 17:58:41 -05:00
|
|
|
<xs:element name="PossiblyNullOperand" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="PossiblyNullPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
2018-01-10 10:56:43 -05:00
|
|
|
<xs:element name="PossiblyNullPropertyAssignmentValue" type="IssueHandlerType" minOccurs="0" />
|
2017-02-11 17:58:41 -05:00
|
|
|
<xs:element name="PossiblyNullPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="PossiblyNullReference" type="IssueHandlerType" minOccurs="0" />
|
2017-11-11 14:53:35 -05:00
|
|
|
<xs:element name="PossiblyUndefinedMethod" type="IssueHandlerType" minOccurs="0" />
|
2017-12-06 00:56:00 -05:00
|
|
|
<xs:element name="PossiblyUndefinedGlobalVariable" type="IssueHandlerType" minOccurs="0" />
|
2017-04-08 09:28:02 -04:00
|
|
|
<xs:element name="PossiblyUndefinedVariable" type="IssueHandlerType" minOccurs="0" />
|
2017-02-23 19:52:23 -05:00
|
|
|
<xs:element name="PossiblyUnusedMethod" type="IssueHandlerType" minOccurs="0" />
|
2017-12-29 17:27:16 -05:00
|
|
|
<xs:element name="PossiblyUnusedParam" type="IssueHandlerType" minOccurs="0" />
|
2018-01-10 23:29:18 -05:00
|
|
|
<xs:element name="PossiblyUnusedProperty" type="IssueHandlerType" minOccurs="0" />
|
2017-01-26 23:23:12 -07:00
|
|
|
<xs:element name="PropertyNotSetInConstructor" type="IssueHandlerType" minOccurs="0" />
|
2017-11-14 22:55:48 -05:00
|
|
|
<xs:element name="RawObjectIteration" type="IssueHandlerType" minOccurs="0" />
|
2017-11-28 00:46:41 -05:00
|
|
|
<xs:element name="RedundantCondition" type="IssueHandlerType" minOccurs="0" />
|
2018-02-07 15:20:47 -05:00
|
|
|
<xs:element name="RedundantConditionGivenDocblockType" type="IssueHandlerType" minOccurs="0" />
|
2017-02-23 00:25:28 -05:00
|
|
|
<xs:element name="ReferenceConstraintViolation" type="IssueHandlerType" minOccurs="0" />
|
2017-05-21 13:48:17 -04:00
|
|
|
<xs:element name="ReservedWord" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="TooFewArguments" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="TooManyArguments" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="TypeCoercion" type="IssueHandlerType" minOccurs="0" />
|
2017-04-06 15:36:22 -04:00
|
|
|
<xs:element name="TypeDoesNotContainNull" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="TypeDoesNotContainType" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedClass" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedConstant" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedFunction" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedMethod" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedThisPropertyAssignment" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedThisPropertyFetch" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UndefinedTrait" type="IssueHandlerType" minOccurs="0" />
|
2017-12-06 00:56:00 -05:00
|
|
|
<xs:element name="UndefinedGlobalVariable" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="UndefinedVariable" type="IssueHandlerType" minOccurs="0" />
|
2017-09-02 11:18:56 -04:00
|
|
|
<xs:element name="UntypedParam" type="IssueHandlerType" minOccurs="0" />
|
2017-06-30 10:24:47 -04:00
|
|
|
<xs:element name="UnimplementedAbstractMethod" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="UnimplementedInterfaceMethod" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UnrecognizedExpression" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UnrecognizedStatement" type="IssueHandlerType" minOccurs="0" />
|
2017-10-29 14:39:23 -04:00
|
|
|
<xs:element name="UnresolvableInclude" type="IssueHandlerType" minOccurs="0" />
|
2017-02-12 16:49:32 -05:00
|
|
|
<xs:element name="UnevaluatedCode" type="IssueHandlerType" minOccurs="0" />
|
2017-02-08 00:28:26 -05:00
|
|
|
<xs:element name="UnusedVariable" type="IssueHandlerType" minOccurs="0" />
|
2017-12-29 17:27:16 -05:00
|
|
|
<xs:element name="UnusedParam" type="IssueHandlerType" minOccurs="0" />
|
2018-01-10 23:29:18 -05:00
|
|
|
<xs:element name="UnusedProperty" type="IssueHandlerType" minOccurs="0" />
|
2017-02-08 00:28:26 -05:00
|
|
|
<xs:element name="UnusedClass" type="IssueHandlerType" minOccurs="0" />
|
|
|
|
<xs:element name="UnusedMethod" type="IssueHandlerType" minOccurs="0" />
|
2016-12-29 22:11:10 -05:00
|
|
|
</xs:choice>
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="IssueHandlerType">
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name="errorLevel" minOccurs="0" maxOccurs="unbounded">
|
|
|
|
<xs:complexType>
|
2016-12-29 22:16:46 -05:00
|
|
|
<xs:choice maxOccurs="unbounded">
|
2016-12-29 22:11:10 -05:00
|
|
|
<xs:element name="directory" minOccurs="0" maxOccurs="unbounded" type="NameAttributeType" />
|
|
|
|
<xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="NameAttributeType" />
|
2016-12-29 22:16:46 -05:00
|
|
|
</xs:choice>
|
2016-12-29 22:11:10 -05:00
|
|
|
|
|
|
|
<xs:attribute name="type" type="xs:string" use="required" />
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
</xs:sequence>
|
|
|
|
|
|
|
|
<xs:attribute name="errorLevel" type="xs:string" />
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:schema>
|