minor #16157 [Maintenance][Configuration] Deprecate unused options configuration nodes (NoResponseMate)

This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | yes |
| Related tickets | -                      |
| License         | MIT                                                          |


Commits
-------

1fb2d892eb [Maintenance][Configuration] Deprecate unused `options` configuration nodes
This commit is contained in:
Grzegorz Sadowski 2024-04-23 07:08:04 +02:00 committed by GitHub
commit 57deed9727
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 209 additions and 69 deletions

View file

@ -834,6 +834,8 @@ To ease the update process, we have grouped the changes into the following categ
... ...
``` ```
1. All instances of `options` node have been deprecated in all resource and translation configurations.
### State Machine ### State Machine
1. We have configured all existing Sylius graphs to be usable with the Symfony Workflow out of the box. 1. We have configured all existing Sylius graphs to be usable with the Symfony Workflow out of the box.

View file

@ -70,7 +70,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('address') ->arrayNode('address')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/addressing-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -87,7 +89,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('address_log_entry') ->arrayNode('address_log_entry')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/addressing-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -102,7 +106,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('country') ->arrayNode('country')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/addressing-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -119,7 +125,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('province') ->arrayNode('province')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/addressing-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -136,7 +144,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('zone') ->arrayNode('zone')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/addressing-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -153,7 +163,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('zone_member') ->arrayNode('zone_member')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/addressing-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('attribute') ->arrayNode('attribute')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/attribute-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -72,7 +74,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/attribute-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -92,7 +96,9 @@ final class Configuration implements ConfigurationInterface
->isRequired() ->isRequired()
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/attribute-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -53,7 +53,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel') ->arrayNode('channel')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/channel-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -156,7 +156,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_image') ->arrayNode('product_image')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -172,7 +174,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('avatar_image') ->arrayNode('avatar_image')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -188,7 +192,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('taxon_image') ->arrayNode('taxon_image')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -204,7 +210,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_taxon') ->arrayNode('product_taxon')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -220,7 +228,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel_pricing') ->arrayNode('channel_pricing')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -237,7 +247,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel_pricing_log_entry') ->arrayNode('channel_pricing_log_entry')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -254,7 +266,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shop_billing_data') ->arrayNode('shop_billing_data')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -271,7 +285,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel_price_history_config') ->arrayNode('channel_price_history_config')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/core-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -55,7 +55,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('currency') ->arrayNode('currency')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/currency-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -72,7 +74,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('exchange_rate') ->arrayNode('exchange_rate')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/currency-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -56,7 +56,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('customer') ->arrayNode('customer')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/customer-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -73,7 +75,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('customer_group') ->arrayNode('customer_group')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/customer-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('inventory_unit') ->arrayNode('inventory_unit')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/inventory-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -53,7 +53,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('locale') ->arrayNode('locale')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/locale-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -66,7 +66,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order') ->arrayNode('order')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/order-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -83,7 +85,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order_item') ->arrayNode('order_item')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/order-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -100,7 +104,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order_item_unit') ->arrayNode('order_item_unit')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/order-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -116,7 +122,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('adjustment') ->arrayNode('adjustment')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/order-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -132,7 +140,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order_sequence') ->arrayNode('order_sequence')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/order-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -64,7 +64,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('payment_method') ->arrayNode('payment_method')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/payment-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -79,7 +81,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/payment-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -98,7 +102,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('payment') ->arrayNode('payment')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/payment-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -71,7 +71,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('payment_security_token') ->arrayNode('payment_security_token')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/payum-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -86,7 +88,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('gateway_config') ->arrayNode('gateway_config')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/payum-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -84,7 +84,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product') ->arrayNode('product')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -99,7 +101,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -118,7 +122,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_variant') ->arrayNode('product_variant')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -133,7 +139,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -152,7 +160,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_option') ->arrayNode('product_option')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -167,7 +177,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -186,7 +198,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_option_value') ->arrayNode('product_option_value')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -201,8 +215,12 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->variableNode('option_value')->end() ->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->variableNode('option_value')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->isRequired() ->isRequired()
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
@ -222,7 +240,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_association') ->arrayNode('product_association')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -239,7 +259,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_association_type') ->arrayNode('product_association_type')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -254,7 +276,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/product-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -114,7 +114,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_subject') ->arrayNode('promotion_subject')
->isRequired() ->isRequired()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->isRequired() ->isRequired()
->children() ->children()
@ -126,7 +128,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion') ->arrayNode('promotion')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -141,7 +145,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -160,7 +166,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('catalog_promotion') ->arrayNode('catalog_promotion')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -175,7 +183,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -194,7 +204,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('catalog_promotion_scope') ->arrayNode('catalog_promotion_scope')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -211,7 +223,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('catalog_promotion_action') ->arrayNode('catalog_promotion_action')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -228,7 +242,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_rule') ->arrayNode('promotion_rule')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -245,7 +261,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_action') ->arrayNode('promotion_action')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -262,7 +280,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_coupon') ->arrayNode('promotion_coupon')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/promotion-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -56,7 +56,9 @@ final class Configuration implements ConfigurationInterface
->isRequired() ->isRequired()
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/review-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -73,7 +75,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('reviewer') ->arrayNode('reviewer')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/review-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -86,7 +86,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipment') ->arrayNode('shipment')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/shipping-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -103,7 +105,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipment_unit') ->arrayNode('shipment_unit')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/shipping-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -119,7 +123,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipping_method') ->arrayNode('shipping_method')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/shipping-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -134,7 +140,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/shipping-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -153,7 +161,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipping_method_rule') ->arrayNode('shipping_method_rule')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/shipping-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -170,7 +180,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipping_category') ->arrayNode('shipping_category')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/shipping-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -56,7 +56,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('tax_category') ->arrayNode('tax_category')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/taxation-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -73,7 +75,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('tax_rate') ->arrayNode('tax_rate')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/taxation-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('taxon') ->arrayNode('taxon')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/taxonomy-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
@ -72,7 +74,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation') ->arrayNode('translation')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/taxonomy-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('classes') ->arrayNode('classes')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->scalarNode('templates')->defaultValue('SyliusUserBundle:User')->end() ->scalarNode('templates')->defaultValue('SyliusUserBundle:User')->end()
->scalarNode('encoder')->defaultNull()->end() ->scalarNode('encoder')->defaultNull()->end()
->scalarNode('login_tracking_interval')->defaultNull()->end() ->scalarNode('login_tracking_interval')->defaultNull()->end()
->variableNode('options')->end() ->variableNode('options')
->setDeprecated('sylius/user-bundle', '1.13', 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0.')
->end()
->arrayNode('resetting') ->arrayNode('resetting')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()