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
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')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -87,7 +89,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('address_log_entry')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -102,7 +106,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('country')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -119,7 +125,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('province')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -136,7 +144,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('zone')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -153,7 +163,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('zone_member')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('attribute')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -72,7 +74,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -92,7 +96,9 @@ final class Configuration implements ConfigurationInterface
->isRequired()
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -53,7 +53,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -156,7 +156,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_image')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -172,7 +174,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('avatar_image')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -188,7 +192,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('taxon_image')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -204,7 +210,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_taxon')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -220,7 +228,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel_pricing')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -237,7 +247,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel_pricing_log_entry')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -254,7 +266,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shop_billing_data')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -271,7 +285,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('channel_price_history_config')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -55,7 +55,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('currency')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -72,7 +74,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('exchange_rate')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -56,7 +56,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('customer')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -73,7 +75,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('customer_group')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('inventory_unit')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -53,7 +53,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('locale')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -66,7 +66,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -83,7 +85,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order_item')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -100,7 +104,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order_item_unit')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -116,7 +122,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('adjustment')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -132,7 +140,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('order_sequence')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -64,7 +64,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('payment_method')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -79,7 +81,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -98,7 +102,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('payment')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -71,7 +71,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('payment_security_token')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -86,7 +88,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('gateway_config')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -84,7 +84,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -99,7 +101,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -118,7 +122,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_variant')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -133,7 +139,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -152,7 +160,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_option')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -167,7 +177,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -186,7 +198,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_option_value')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -201,8 +215,12 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->children()
->variableNode('options')->end()
->variableNode('option_value')->end()
->variableNode('options')
->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')
->isRequired()
->addDefaultsIfNotSet()
@ -222,7 +240,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_association')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -239,7 +259,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('product_association_type')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -254,7 +276,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -114,7 +114,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_subject')
->isRequired()
->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')
->isRequired()
->children()
@ -126,7 +128,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -141,7 +145,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -160,7 +166,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('catalog_promotion')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -175,7 +183,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -194,7 +204,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('catalog_promotion_scope')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -211,7 +223,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('catalog_promotion_action')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -228,7 +242,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_rule')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -245,7 +261,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_action')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -262,7 +280,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('promotion_coupon')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -56,7 +56,9 @@ final class Configuration implements ConfigurationInterface
->isRequired()
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -73,7 +75,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('reviewer')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -86,7 +86,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipment')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -103,7 +105,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipment_unit')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -119,7 +123,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipping_method')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -134,7 +140,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -153,7 +161,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipping_method_rule')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -170,7 +180,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('shipping_category')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -56,7 +56,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('tax_category')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -73,7 +75,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('tax_rate')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('taxon')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()
@ -72,7 +74,9 @@ final class Configuration implements ConfigurationInterface
->arrayNode('translation')
->addDefaultsIfNotSet()
->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')
->addDefaultsIfNotSet()
->children()

View file

@ -57,7 +57,9 @@ final class Configuration implements ConfigurationInterface
->scalarNode('templates')->defaultValue('SyliusUserBundle:User')->end()
->scalarNode('encoder')->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')
->addDefaultsIfNotSet()
->children()