Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19bd831

Browse files
committed
bug #46594 [FrameworkBundle] Fix XML cache config (HeahDude)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] Fix XML cache config | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix symfony-tools/symfony-application#3 (comment) <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | ~ <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against the latest branch. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> The docs currently bypass XML checks because of this, so I propose to consider it a bug fix to remain consistent (ref symfony-tools/symfony-application#3 (comment)), as the other way would imply updating all the docs. Commits ------- d976b24 [FrameworkBundle] Fix XML cache config
2 parents d8212cb + d976b24 commit 19bd831

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,14 @@
267267
<xsd:element name="default-pdo-provider" type="xsd:string" minOccurs="0" maxOccurs="1" />
268268
<xsd:element name="pool" type="cache_pool" minOccurs="0" maxOccurs="unbounded" />
269269
</xsd:sequence>
270-
270+
<xsd:attribute name="app" type="xsd:string" />
271+
<xsd:attribute name="system" type="xsd:string" />
272+
<xsd:attribute name="directory" type="xsd:string" />
273+
<xsd:attribute name="default-doctrine-provider" type="xsd:string" />
274+
<xsd:attribute name="default-psr6-provider" type="xsd:string" />
275+
<xsd:attribute name="default-redis-provider" type="xsd:string" />
276+
<xsd:attribute name="default-memcached-provider" type="xsd:string" />
277+
<xsd:attribute name="default-pdo-provider" type="xsd:string" />
271278
<xsd:attribute name="prefix-seed" type="xsd:string" />
272279
</xsd:complexType>
273280

0 commit comments

Comments
 (0)