Skip to content

Commit 9190051

Browse files
Merge branch '4.2'
* 4.2: fix merge [FrameworkBundle] fix xsd [FrameworkBundle] update xsd to match the 4.2 configuration [FrameworkBundle] Update the xsd to match the actual session configuration [Form] CsrfValidationListener marks the token as invalid if it is not a string [Routing] fix perf issue when dumping large number of routes Fix wrong value in file id attribute for Xliff 2.0 [VarDumper] Fixed phpDoc [PhpUnitBridge] fix PHP 5.3 compat [Messenger] Fix DataCollector template [Filesystem] Fixed some docblocks and typos bumped Symfony version to 4.2.4 updated VERSION for 4.2.3 updated CHANGELOG for 4.2.3 bumped Symfony version to 3.4.23 updated VERSION for 3.4.22 update CONTRIBUTORS for 3.4.22 updated CHANGELOG for 3.4.22 fix some minor typos do not overwrite the constraint being evaluated
2 parents 3c06f4c + b551823 commit 9190051

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

Resources/config/schema/symfony-1.0.xsd

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
</xsd:choice>
3636

3737
<xsd:attribute name="http-method-override" type="xsd:boolean" />
38-
<xsd:attribute name="trusted-proxies" type="xsd:string" />
3938
<xsd:attribute name="ide" type="xsd:string" />
4039
<xsd:attribute name="secret" type="xsd:string" />
4140
<xsd:attribute name="default-locale" type="xsd:string" />
@@ -76,10 +75,6 @@
7675
</xsd:complexType>
7776

7877
<xsd:complexType name="profiler">
79-
<xsd:all>
80-
<xsd:element name="matcher" type="profiler_matcher" minOccurs="0" maxOccurs="1" />
81-
</xsd:all>
82-
8378
<xsd:attribute name="collect" type="xsd:string" />
8479
<xsd:attribute name="only-exceptions" type="xsd:string" />
8580
<xsd:attribute name="only-master-requests" type="xsd:string" />
@@ -90,18 +85,13 @@
9085
<xsd:attribute name="lifetime" type="xsd:string" />
9186
</xsd:complexType>
9287

93-
<xsd:complexType name="profiler_matcher">
94-
<xsd:attribute name="ip" type="xsd:string" />
95-
<xsd:attribute name="path" type="xsd:string" />
96-
<xsd:attribute name="service" type="xsd:string" />
97-
</xsd:complexType>
98-
9988
<xsd:complexType name="router">
10089
<xsd:attribute name="resource" type="xsd:string" />
10190
<xsd:attribute name="type" type="xsd:string" />
10291
<xsd:attribute name="http-port" type="xsd:string" />
10392
<xsd:attribute name="https-port" type="xsd:string" />
10493
<xsd:attribute name="strict-requirements" type="xsd:string" />
94+
<xsd:attribute name="utf8" type="xsd:boolean" />
10595
</xsd:complexType>
10696

10797
<xsd:complexType name="session">
@@ -114,13 +104,14 @@
114104
<xsd:attribute name="cookie-domain" type="xsd:string" />
115105
<xsd:attribute name="cookie-secure" type="cookie_secure" />
116106
<xsd:attribute name="cookie-httponly" type="xsd:boolean" />
107+
<xsd:attribute name="cookie-samesite" type="cookie_samesite" />
117108
<xsd:attribute name="use-cookies" type="xsd:boolean" />
118109
<xsd:attribute name="cache-limiter" type="xsd:string" />
119110
<xsd:attribute name="gc-maxlifetime" type="xsd:string" />
120111
<xsd:attribute name="gc-divisor" type="xsd:string" />
121112
<xsd:attribute name="gc-probability" type="xsd:string" />
122-
<xsd:attribute name="use-strict-mode" type="xsd:boolean" />
123113
<xsd:attribute name="save-path" type="xsd:string" />
114+
<xsd:attribute name="metadata-update-threshold" type="xsd:nonNegativeInteger" />
124115
</xsd:complexType>
125116

126117
<xsd:complexType name="request">
@@ -238,7 +229,6 @@
238229
<xsd:element name="mapping" type="file_mapping" />
239230
</xsd:choice>
240231
<xsd:attribute name="enabled" type="xsd:boolean" />
241-
<xsd:attribute name="cache" type="xsd:string" />
242232
<xsd:attribute name="enable-annotations" type="xsd:boolean" />
243233
<xsd:attribute name="name-converter" type="xsd:string" />
244234
<xsd:attribute name="circular-reference-handler" type="xsd:string" />
@@ -258,6 +248,7 @@
258248
<xsd:element name="default-psr6-provider" type="xsd:string" minOccurs="0" maxOccurs="1" />
259249
<xsd:element name="default-redis-provider" type="xsd:string" minOccurs="0" maxOccurs="1" />
260250
<xsd:element name="default-memcached-provider" type="xsd:string" minOccurs="0" maxOccurs="1" />
251+
<xsd:element name="default-pdo-provider" type="xsd:string" minOccurs="0" maxOccurs="1" />
261252
<xsd:element name="pool" type="cache_pool" minOccurs="0" maxOccurs="unbounded" />
262253
</xsd:sequence>
263254

@@ -352,6 +343,14 @@
352343
</xsd:restriction>
353344
</xsd:simpleType>
354345

346+
<xsd:simpleType name="cookie_samesite">
347+
<xsd:restriction base="xsd:string">
348+
<xsd:enumeration value="" />
349+
<xsd:enumeration value="lax" />
350+
<xsd:enumeration value="strict" />
351+
</xsd:restriction>
352+
</xsd:simpleType>
353+
355354
<xsd:simpleType name="workflow_type">
356355
<xsd:restriction base="xsd:string">
357356
<xsd:enumeration value="state_machine" />

0 commit comments

Comments
 (0)