Skip to content

Commit

Permalink
Provide arguments to setDeprecated()
Browse files Browse the repository at this point in the history
This is a bit meta, but not providing those is deprecated.
  • Loading branch information
greg0ire committed Apr 29, 2020
1 parent 9a43c14 commit 354527f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DependencyInjection/Configuration.php
Expand Up @@ -91,7 +91,11 @@ private function addDbalSection(ArrayNodeDefinition $node) : void
->end()
->children()
->scalarNode('class')->isRequired()->end()
->booleanNode('commented')->setDeprecated()->end()
->booleanNode('commented')->setDeprecated(
'doctrine/doctrine-bundle',
'2.0.0',
'The "commented" configuration node no longer has an effect and should be removed'
)->end()
->end()
->end()
->end()
Expand Down

0 comments on commit 354527f

Please sign in to comment.