mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 13:33:48 +00:00
fix sf4 deprecated: cannotBeEmpty() is not allowed with arrayNode
This commit is contained in:
@@ -85,7 +85,7 @@ class Configuration implements ConfigurationInterface
|
||||
->scalarNode('key')
|
||||
->isRequired()->cannotBeEmpty()
|
||||
->end()
|
||||
->arrayNode('labels')->isRequired()->cannotBeEmpty()
|
||||
->arrayNode('labels')->requiresAtLeastOneElement()
|
||||
->children()
|
||||
->scalarNode('lang')->isRequired()->cannotBeEmpty()
|
||||
->example('fr')
|
||||
|
Reference in New Issue
Block a user