Skip to content

Commit f5ad3bb

Browse files
jrfnlgithub-actions[bot]
authored andcommitted
Update XSD files
1 parent 9c9cc5f commit f5ad3bb

File tree

14 files changed

+1796
-0
lines changed

14 files changed

+1796
-0
lines changed

_site/3.10/phpcs.xsd

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
3+
4+
<xs:element name="ruleset">
5+
<xs:complexType>
6+
<xs:choice minOccurs="0" maxOccurs="unbounded">
7+
<xs:element name="description" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
8+
<xs:element name="config" maxOccurs="unbounded" minOccurs="0">
9+
<xs:complexType>
10+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
11+
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
12+
<xs:attributeGroup ref="applySelectively"/>
13+
</xs:complexType>
14+
</xs:element>
15+
<xs:element name="file" maxOccurs="unbounded" minOccurs="0">
16+
<xs:complexType>
17+
<xs:simpleContent>
18+
<xs:extension base="xs:string">
19+
<xs:attributeGroup ref="applySelectively"/>
20+
</xs:extension>
21+
</xs:simpleContent>
22+
</xs:complexType>
23+
</xs:element>
24+
<xs:element name="exclude-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
25+
<xs:element name="arg" maxOccurs="unbounded" minOccurs="0">
26+
<xs:complexType>
27+
<xs:attribute name="name" type="xs:string"></xs:attribute>
28+
<xs:attribute name="value" type="xs:string"></xs:attribute>
29+
<xs:attributeGroup ref="applySelectively"/>
30+
</xs:complexType>
31+
</xs:element>
32+
<xs:element name="ini" maxOccurs="unbounded" minOccurs="0">
33+
<xs:complexType>
34+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
35+
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
36+
<xs:attributeGroup ref="applySelectively"/>
37+
</xs:complexType>
38+
</xs:element>
39+
<xs:element name="autoload" type="xs:string" maxOccurs="unbounded" minOccurs="0"></xs:element>
40+
<xs:element name="rule" type="ruleType" maxOccurs="unbounded" minOccurs="0"></xs:element>
41+
</xs:choice>
42+
<xs:attribute name="name" type="xs:string"></xs:attribute>
43+
<xs:attribute name="namespace" type="xs:string"></xs:attribute>
44+
</xs:complexType>
45+
</xs:element>
46+
47+
<xs:complexType name="ruleType">
48+
<xs:choice minOccurs="0" maxOccurs="unbounded">
49+
<xs:element name="exclude" maxOccurs="unbounded" minOccurs="0">
50+
<xs:complexType>
51+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
52+
<xs:attributeGroup ref="applySelectively"/>
53+
</xs:complexType>
54+
</xs:element>
55+
<xs:element name="message" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
56+
<xs:element name="severity" maxOccurs="1" minOccurs="0">
57+
<xs:complexType>
58+
<xs:simpleContent>
59+
<xs:extension base="xs:integer">
60+
<xs:attributeGroup ref="applySelectively"/>
61+
</xs:extension>
62+
</xs:simpleContent>
63+
</xs:complexType>
64+
</xs:element>
65+
<xs:element name="type" maxOccurs="1" minOccurs="0">
66+
<xs:complexType>
67+
<xs:simpleContent>
68+
<xs:extension base="messageType">
69+
<xs:attributeGroup ref="applySelectively"/>
70+
</xs:extension>
71+
</xs:simpleContent>
72+
</xs:complexType>
73+
</xs:element>
74+
<xs:element name="exclude-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
75+
<xs:element name="include-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
76+
<xs:element name="properties" type="propertiesType" maxOccurs="1" minOccurs="0"></xs:element>
77+
</xs:choice>
78+
<xs:attribute name="ref" type="xs:string" use="required"></xs:attribute>
79+
<xs:attributeGroup ref="applySelectively"/>
80+
</xs:complexType>
81+
82+
<xs:complexType name="patternType">
83+
<xs:simpleContent>
84+
<xs:extension base="xs:string">
85+
<xs:attribute name="type">
86+
<xs:simpleType>
87+
<xs:restriction base="xs:string">
88+
<xs:enumeration value="relative"></xs:enumeration>
89+
</xs:restriction>
90+
</xs:simpleType>
91+
</xs:attribute>
92+
<xs:attributeGroup ref="applySelectively"/>
93+
</xs:extension>
94+
</xs:simpleContent>
95+
</xs:complexType>
96+
97+
<xs:complexType name="propertiesType">
98+
<xs:sequence>
99+
<xs:element name="property" maxOccurs="unbounded" minOccurs="1">
100+
<xs:complexType>
101+
<xs:sequence>
102+
<xs:element name="element" maxOccurs="unbounded" minOccurs="0">
103+
<xs:complexType>
104+
<xs:attribute name="key" type="xs:string"></xs:attribute>
105+
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
106+
</xs:complexType>
107+
</xs:element>
108+
</xs:sequence>
109+
<xs:attribute name="type">
110+
<xs:simpleType>
111+
<xs:restriction base="xs:string">
112+
<xs:enumeration value="array"></xs:enumeration>
113+
</xs:restriction>
114+
</xs:simpleType>
115+
</xs:attribute>
116+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
117+
<xs:attribute name="value" type="xs:string"></xs:attribute>
118+
<xs:attribute name="extend" type="xs:boolean" default="false"/>
119+
<xs:attributeGroup ref="applySelectively"/>
120+
</xs:complexType>
121+
</xs:element>
122+
</xs:sequence>
123+
</xs:complexType>
124+
125+
<xs:simpleType name="messageType">
126+
<xs:restriction base="xs:string">
127+
<xs:enumeration value="error"></xs:enumeration>
128+
<xs:enumeration value="warning"></xs:enumeration>
129+
</xs:restriction>
130+
</xs:simpleType>
131+
132+
<xs:attributeGroup name="applySelectively">
133+
<xs:attribute name="phpcs-only" type="xs:boolean" default="false"/>
134+
<xs:attribute name="phpcbf-only" type="xs:boolean" default="false"/>
135+
</xs:attributeGroup>
136+
</xs:schema>

_site/3.11/phpcs.xsd

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
3+
4+
<xs:element name="ruleset">
5+
<xs:complexType>
6+
<xs:choice minOccurs="0" maxOccurs="unbounded">
7+
<xs:element name="description" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
8+
<xs:element name="config" maxOccurs="unbounded" minOccurs="0">
9+
<xs:complexType>
10+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
11+
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
12+
<xs:attributeGroup ref="applySelectively"/>
13+
</xs:complexType>
14+
</xs:element>
15+
<xs:element name="file" maxOccurs="unbounded" minOccurs="0">
16+
<xs:complexType>
17+
<xs:simpleContent>
18+
<xs:extension base="xs:string">
19+
<xs:attributeGroup ref="applySelectively"/>
20+
</xs:extension>
21+
</xs:simpleContent>
22+
</xs:complexType>
23+
</xs:element>
24+
<xs:element name="exclude-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
25+
<xs:element name="arg" maxOccurs="unbounded" minOccurs="0">
26+
<xs:complexType>
27+
<xs:attribute name="name" type="xs:string"></xs:attribute>
28+
<xs:attribute name="value" type="xs:string"></xs:attribute>
29+
<xs:attributeGroup ref="applySelectively"/>
30+
</xs:complexType>
31+
</xs:element>
32+
<xs:element name="ini" maxOccurs="unbounded" minOccurs="0">
33+
<xs:complexType>
34+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
35+
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
36+
<xs:attributeGroup ref="applySelectively"/>
37+
</xs:complexType>
38+
</xs:element>
39+
<xs:element name="autoload" type="xs:string" maxOccurs="unbounded" minOccurs="0"></xs:element>
40+
<xs:element name="rule" type="ruleType" maxOccurs="unbounded" minOccurs="0"></xs:element>
41+
</xs:choice>
42+
<xs:attribute name="name" type="xs:string"></xs:attribute>
43+
<xs:attribute name="namespace" type="xs:string"></xs:attribute>
44+
</xs:complexType>
45+
</xs:element>
46+
47+
<xs:complexType name="ruleType">
48+
<xs:choice minOccurs="0" maxOccurs="unbounded">
49+
<xs:element name="exclude" maxOccurs="unbounded" minOccurs="0">
50+
<xs:complexType>
51+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
52+
<xs:attributeGroup ref="applySelectively"/>
53+
</xs:complexType>
54+
</xs:element>
55+
<xs:element name="message" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
56+
<xs:element name="severity" maxOccurs="1" minOccurs="0">
57+
<xs:complexType>
58+
<xs:simpleContent>
59+
<xs:extension base="xs:integer">
60+
<xs:attributeGroup ref="applySelectively"/>
61+
</xs:extension>
62+
</xs:simpleContent>
63+
</xs:complexType>
64+
</xs:element>
65+
<xs:element name="type" maxOccurs="1" minOccurs="0">
66+
<xs:complexType>
67+
<xs:simpleContent>
68+
<xs:extension base="messageType">
69+
<xs:attributeGroup ref="applySelectively"/>
70+
</xs:extension>
71+
</xs:simpleContent>
72+
</xs:complexType>
73+
</xs:element>
74+
<xs:element name="exclude-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
75+
<xs:element name="include-pattern" type="patternType" maxOccurs="unbounded" minOccurs="0"></xs:element>
76+
<xs:element name="properties" type="propertiesType" maxOccurs="1" minOccurs="0"></xs:element>
77+
</xs:choice>
78+
<xs:attribute name="ref" type="xs:string" use="required"></xs:attribute>
79+
<xs:attributeGroup ref="applySelectively"/>
80+
</xs:complexType>
81+
82+
<xs:complexType name="patternType">
83+
<xs:simpleContent>
84+
<xs:extension base="xs:string">
85+
<xs:attribute name="type">
86+
<xs:simpleType>
87+
<xs:restriction base="xs:string">
88+
<xs:enumeration value="relative"></xs:enumeration>
89+
</xs:restriction>
90+
</xs:simpleType>
91+
</xs:attribute>
92+
<xs:attributeGroup ref="applySelectively"/>
93+
</xs:extension>
94+
</xs:simpleContent>
95+
</xs:complexType>
96+
97+
<xs:complexType name="propertiesType">
98+
<xs:sequence>
99+
<xs:element name="property" maxOccurs="unbounded" minOccurs="1">
100+
<xs:complexType>
101+
<xs:sequence>
102+
<xs:element name="element" maxOccurs="unbounded" minOccurs="0">
103+
<xs:complexType>
104+
<xs:attribute name="key" type="xs:string"></xs:attribute>
105+
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
106+
</xs:complexType>
107+
</xs:element>
108+
</xs:sequence>
109+
<xs:attribute name="type">
110+
<xs:simpleType>
111+
<xs:restriction base="xs:string">
112+
<xs:enumeration value="array"></xs:enumeration>
113+
</xs:restriction>
114+
</xs:simpleType>
115+
</xs:attribute>
116+
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
117+
<xs:attribute name="value" type="xs:string"></xs:attribute>
118+
<xs:attribute name="extend" type="xs:boolean" default="false"/>
119+
<xs:attributeGroup ref="applySelectively"/>
120+
</xs:complexType>
121+
</xs:element>
122+
</xs:sequence>
123+
</xs:complexType>
124+
125+
<xs:simpleType name="messageType">
126+
<xs:restriction base="xs:string">
127+
<xs:enumeration value="error"></xs:enumeration>
128+
<xs:enumeration value="warning"></xs:enumeration>
129+
</xs:restriction>
130+
</xs:simpleType>
131+
132+
<xs:attributeGroup name="applySelectively">
133+
<xs:attribute name="phpcs-only" type="xs:boolean" default="false"/>
134+
<xs:attribute name="phpcbf-only" type="xs:boolean" default="false"/>
135+
</xs:attributeGroup>
136+
</xs:schema>

0 commit comments

Comments
 (0)