Skip to content

Commit

Permalink
Fixed bug #2151 : XML schema not updated with the new array property …
Browse files Browse the repository at this point in the history
…syntax
gsherwood committed Sep 4, 2018
1 parent 32351dd commit cc5c930
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -56,6 +56,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
- Fixed bug #2143 : PSR2.Namespaces.UseDeclaration does not properly fix "use function" and "use const" statements
-- Thanks to Chris Wilkinson for the patch
- Fixed bug #2144 : Squiz.Arrays.ArrayDeclaration does incorrect align calculation in array with cyrillic keys
- Fixed bug #2151 : XML schema not updated with the new array property syntax
</notes>
<contents>
<dir name="/">
10 changes: 9 additions & 1 deletion phpcs.xsd
Original file line number Diff line number Diff line change
@@ -75,6 +75,14 @@
<xs:sequence>
<xs:element name="property" maxOccurs="unbounded" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="element" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:attribute name="key" type="xs:string"></xs:attribute>
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -83,7 +91,7 @@
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
<xs:attribute name="value" type="xs:string"></xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>

0 comments on commit cc5c930

Please sign in to comment.