annotate vendor/squizlabs/php_codesniffer/phpcs.xsd @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
rev   line source
Chris@4 1 <?xml version="1.0" encoding="utf-8"?>
Chris@4 2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
Chris@4 3
Chris@4 4 <xs:element name="ruleset">
Chris@4 5 <xs:complexType>
Chris@4 6 <xs:choice minOccurs="0" maxOccurs="unbounded">
Chris@4 7 <xs:element name="description" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
Chris@4 8 <xs:element name="config" maxOccurs="unbounded" minOccurs="0">
Chris@4 9 <xs:complexType>
Chris@4 10 <xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
Chris@4 11 <xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
Chris@4 12 </xs:complexType>
Chris@4 13 </xs:element>
Chris@4 14 <xs:element name="file" type="xs:string" maxOccurs="unbounded" minOccurs="0"></xs:element>
Chris@4 15 <xs:element name="exclude-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
Chris@4 16 <xs:element name="arg" maxOccurs="unbounded" minOccurs="0">
Chris@4 17 <xs:complexType>
Chris@4 18 <xs:attribute name="name" type="xs:string"></xs:attribute>
Chris@4 19 <xs:attribute name="value" type="xs:string"></xs:attribute>
Chris@4 20 </xs:complexType>
Chris@4 21 </xs:element>
Chris@4 22 <xs:element name="ini" maxOccurs="unbounded" minOccurs="0">
Chris@4 23 <xs:complexType>
Chris@4 24 <xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
Chris@4 25 <xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
Chris@4 26 </xs:complexType>
Chris@4 27 </xs:element>
Chris@4 28 <xs:element name="autoload" type="xs:string" maxOccurs="unbounded" minOccurs="0"></xs:element>
Chris@4 29 <xs:element name="rule" type="ruleType" maxOccurs="unbounded" minOccurs="0"></xs:element>
Chris@4 30 </xs:choice>
Chris@4 31 <xs:attribute name="name" type="xs:string"></xs:attribute>
Chris@4 32 <xs:attribute name="namespace" type="xs:string"></xs:attribute>
Chris@4 33 </xs:complexType>
Chris@4 34 </xs:element>
Chris@4 35
Chris@4 36 <xs:complexType name="ruleType">
Chris@4 37 <xs:choice minOccurs="0" maxOccurs="unbounded">
Chris@4 38 <xs:element name="exclude" maxOccurs="unbounded" minOccurs="0">
Chris@4 39 <xs:complexType>
Chris@4 40 <xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
Chris@4 41 </xs:complexType>
Chris@4 42 </xs:element>
Chris@4 43 <xs:element name="message" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
Chris@4 44 <xs:element name="severity" type="xs:integer" maxOccurs="1" minOccurs="0"></xs:element>
Chris@4 45 <xs:element name="type" maxOccurs="1" minOccurs="0">
Chris@4 46 <xs:simpleType>
Chris@4 47 <xs:restriction base="xs:string">
Chris@4 48 <xs:enumeration value="error"></xs:enumeration>
Chris@4 49 <xs:enumeration value="warning"></xs:enumeration>
Chris@4 50 </xs:restriction>
Chris@4 51 </xs:simpleType>
Chris@4 52 </xs:element>
Chris@4 53 <xs:element name="exclude-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
Chris@4 54 <xs:element name="include-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
Chris@4 55 <xs:element name="properties" type="propertiesType" maxOccurs="1" minOccurs="0"></xs:element>
Chris@4 56 </xs:choice>
Chris@4 57 <xs:attribute name="ref" type="xs:string" use="required"></xs:attribute>
Chris@4 58 </xs:complexType>
Chris@4 59
Chris@4 60 <xs:complexType name="patternType">
Chris@4 61 <xs:simpleContent>
Chris@4 62 <xs:extension base="xs:string">
Chris@4 63 <xs:attribute name="type">
Chris@4 64 <xs:simpleType>
Chris@4 65 <xs:restriction base="xs:string">
Chris@4 66 <xs:enumeration value="relative"></xs:enumeration>
Chris@4 67 </xs:restriction>
Chris@4 68 </xs:simpleType>
Chris@4 69 </xs:attribute>
Chris@4 70 </xs:extension>
Chris@4 71 </xs:simpleContent>
Chris@4 72 </xs:complexType>
Chris@4 73
Chris@4 74 <xs:complexType name="propertiesType">
Chris@4 75 <xs:sequence>
Chris@4 76 <xs:element name="property" maxOccurs="unbounded" minOccurs="1">
Chris@4 77 <xs:complexType>
Chris@4 78 <xs:sequence>
Chris@4 79 <xs:element name="element" maxOccurs="unbounded" minOccurs="0">
Chris@4 80 <xs:complexType>
Chris@4 81 <xs:attribute name="key" type="xs:string"></xs:attribute>
Chris@4 82 <xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
Chris@4 83 </xs:complexType>
Chris@4 84 </xs:element>
Chris@4 85 </xs:sequence>
Chris@4 86 <xs:attribute name="type">
Chris@4 87 <xs:simpleType>
Chris@4 88 <xs:restriction base="xs:string">
Chris@4 89 <xs:enumeration value="array"></xs:enumeration>
Chris@4 90 </xs:restriction>
Chris@4 91 </xs:simpleType>
Chris@4 92 </xs:attribute>
Chris@4 93 <xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
Chris@4 94 <xs:attribute name="value" type="xs:string"></xs:attribute>
Chris@4 95 <xs:attribute name="extend">
Chris@4 96 <xs:simpleType>
Chris@4 97 <xs:restriction base="xs:string">
Chris@4 98 <xs:enumeration value="true"/>
Chris@4 99 <xs:enumeration value="false"/>
Chris@4 100 </xs:restriction>
Chris@4 101 </xs:simpleType>
Chris@4 102 </xs:attribute>
Chris@4 103 </xs:complexType>
Chris@4 104 </xs:element>
Chris@4 105 </xs:sequence>
Chris@4 106 </xs:complexType>
Chris@4 107
Chris@4 108 </xs:schema>