Skip to content

Commit 89d5ec0

Browse files
committed
bug symfony#20936 [DependencyInjection] Fix on-invalid attribute type in xsd (ogizanagi)
This PR was merged into the 2.7 branch. Discussion ---------- [DependencyInjection] Fix on-invalid attribute type in xsd | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Commits ------- e66d3da [DependencyInjection] Fix on-invalid attribute type in xsd
2 parents 4299dae + e66d3da commit 89d5ec0

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Component/DependencyInjection/Loader/schema/dic/services

1 file changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
<xsd:attribute name="id" type="xsd:string" />
149149
<xsd:attribute name="key" type="xsd:string" />
150150
<xsd:attribute name="name" type="xsd:string" />
151-
<xsd:attribute name="on-invalid" type="xsd:string" />
151+
<xsd:attribute name="on-invalid" type="invalid_sequence" />
152152
<xsd:attribute name="strict" type="boolean" />
153153
</xsd:complexType>
154154

@@ -161,7 +161,7 @@
161161
<xsd:attribute name="id" type="xsd:string" />
162162
<xsd:attribute name="key" type="xsd:string" />
163163
<xsd:attribute name="index" type="xsd:integer" />
164-
<xsd:attribute name="on-invalid" type="xsd:string" />
164+
<xsd:attribute name="on-invalid" type="invalid_sequence" />
165165
<xsd:attribute name="strict" type="boolean" />
166166
</xsd:complexType>
167167

0 commit comments

Comments
 (0)