File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/Bundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ private function addResourcesSection(ArrayNodeDefinition $node): void
6363 ->arrayPrototype ()
6464 ->children ()
6565 ->scalarNode ('driver ' )->defaultValue (SyliusResourceBundle::DRIVER_DOCTRINE_ORM )->end ()
66- ->variableNode ('options ' )->end ()
66+ ->variableNode ('options ' )
67+ ->setDeprecated ('sylius/resource-bundle ' , '1.12 ' , 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0. ' )
68+ ->end ()
6769 ->scalarNode ('templates ' )->cannotBeEmpty ()->end ()
6870 ->scalarNode ('state_machine_component ' )->defaultNull ()->end ()
6971 ->arrayNode ('classes ' )
@@ -80,7 +82,9 @@ private function addResourcesSection(ArrayNodeDefinition $node): void
8082 ->end ()
8183 ->arrayNode ('translation ' )
8284 ->children ()
83- ->variableNode ('options ' )->end ()
85+ ->variableNode ('options ' )
86+ ->setDeprecated ('sylius/resource-bundle ' , '1.12 ' , 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0. ' )
87+ ->end ()
8488 ->arrayNode ('classes ' )
8589 ->isRequired ()
8690 ->addDefaultsIfNotSet ()
You can’t perform that action at this time.
0 commit comments