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

Skip to content

Commit 8762eba

Browse files
committed
fixup xsd
1 parent f9dbeb7 commit 8762eba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
targetNamespace="http://symfony.com/schema/routing"
66
elementFormDefault="qualified">
77

8+
<xsd:include schemaLocation="http://symfony.com/schema/routing/routing-1.0.xsd" />
9+
810
<xsd:redefine schemaLocation="http://symfony.com/schema/routing/routing-1.0.xsd">
911
<xsd:complexType name="routes">
1012
<xsd:complexContent>
1113
<xsd:extension base="routes">
1214
<xsd:choice minOccurs="0" maxOccurs="unbounded">
13-
<xsd:element name="import" type="import" />
14-
<xsd:element name="route" type="route" />
1515
<xsd:element name="template-route" type="template-route" />
1616
<xsd:element name="redirect-route" type="redirect-route" />
1717
<xsd:element name="url-redirect-route" type="url-redirect-route" />

src/Symfony/Component/Routing/Loader/YamlFileLoader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ protected function parseImport(RouteCollection $collection, array $config, strin
164164
$methods = isset($config['methods']) ? $config['methods'] : null;
165165
$trailingSlashOnRoot = $config['trailing_slash_on_root'] ?? true;
166166
$namePrefix = $config['name_prefix'] ?? '';
167+
$exclude = $config['exclude'] ?? null;
167168

168169
if (isset($config['controller'])) {
169170
$defaults['_controller'] = $config['controller'];

0 commit comments

Comments
 (0)