Skip to content

Commit

Permalink
Merge pull request #1426 from garak/fix-bc
Browse files Browse the repository at this point in the history
make namer optional again
  • Loading branch information
garak committed Feb 12, 2024
2 parents 5eb80dd + af33125 commit f21f620
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"doctrine/mongodb-odm": "^2.4",
"doctrine/orm": "^2.13",
"knplabs/knp-gaufrette-bundle": "dev-master",
"league/flysystem-bundle": "^2.3 || ^3.0",
"league/flysystem-bundle": "^2.4 || ^3.0",
"league/flysystem-memory": "^2.0 || ^3.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.3 || ^5.0",
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"mikey179/vfsstream": "^1.6.11",
"phpunit/phpunit": "^9.6",
"symfony/asset": "^5.4 || ^6.0",
"symfony/asset": "^5.4 || ^6.0 || ^7.0",
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",
"symfony/css-selector": "^5.4 || ^6.0 || ^7.0",
"symfony/doctrine-bridge": "^5.4 || ^6.0 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function addMappingsSection(ArrayNodeDefinition $node): void
->scalarNode('uri_prefix')->defaultValue('/uploads')->end()
->scalarNode('upload_destination')->isRequired()->end()
->arrayNode('namer')
->isRequired()
->addDefaultsIfNotSet()
->beforeNormalization()
->ifString()
->then(static fn ($v) => ['service' => $v, 'options' => []])
Expand Down

0 comments on commit f21f620

Please sign in to comment.