8000 remove default null value for asset version · symfony/symfony@25f735f · GitHub
[go: up one dir, main page]

Skip to content

Commit 25f735f

Browse files
committed
remove default null value for asset version
Setting `null` as the version of a package means that it uses the empty version strategy. However, omitting the `version` option entirely was meant to fall back to the default version strategy. This is not possible when the default version value is `null` as there is no way to remove it.
1 parent 193d5c8 commit 25f735f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ private function addAssetsSection(ArrayNodeDefinition $rootNode)
558558
->fixXmlConfig('base_url')
559559
->children()
560560
->scalarNode('version')
561-
->defaultNull()
562561
->beforeNormalization()
563562
->ifTrue(function ($v) { return '' === $v; })
564563
->then(function ($v) { return; })

0 commit comments

Comments
 (0)
0