From 6326a5ef21de30236120f8eb18fe34a23b9eb995 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 12 May 2023 10:56:08 -0400 Subject: [PATCH] [AssetMapper] Improving XSD to use attributes whenever possible --- .../Resources/config/schema/symfony-1.0.xsd | 15 +++++++------- .../Fixtures/xml/asset_mapper.xml | 20 ++++++++++--------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd b/src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd index 37275385ed487..e65871046ee07 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd @@ -191,16 +191,17 @@ - - - - - - - + + + + + + + + diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/asset_mapper.xml b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/asset_mapper.xml index fcc8a4c8844eb..3be798b70088b 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/asset_mapper.xml +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/asset_mapper.xml @@ -7,19 +7,21 @@ http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd"> - + assets/ assets2/ - */*.scss - true - /assets_path/ - true + */assets/build/* application/zip - %kernel.project_dir%/importmap.php - https://cdn.example.com/polyfill.js reload - %kernel.project_dir%/assets/vendor - jspm