8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 155fab6 commit 0683f0aCopy full SHA for 0683f0a
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -21,6 +21,7 @@
21
use Symfony\Component\Form\Form;
22
use Symfony\Component\Lock\Lock;
23
use Symfony\Component\Lock\Store\SemaphoreStore;
24
+use Symfony\Component\PropertyInfo\PropertyInfoExtractor;
25
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
26
use Symfony\Component\Serializer\Serializer;
27
use Symfony\Component\Translation\Translator;
@@ -823,7 +824,7 @@ private function addPropertyInfoSection(ArrayNodeDefinition $rootNode)
823
824
->children()
825
->arrayNode('property_info')
826
->info('Property info configuration')
- ->canBeEnabled()
827
+ ->{!class_exists(FullStack::class) && class_exists(PropertyInfoExtractor::class) ? 'canBeDisabled' : 'canBeEnabled'}()
828
->end()
829
830
;
0 commit comments