File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Symfony/Bundle/FrameworkBundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2121use Symfony \Component \Form \Form ;
2222use Symfony \Component \Lock \Lock ;
2323use Symfony \Component \Lock \Store \SemaphoreStore ;
24+ use Symfony \Component \PropertyInfo \PropertyInfoExtractor ;
2425use Symfony \Component \Security \Csrf \CsrfTokenManagerInterface ;
2526use Symfony \Component \Serializer \Serializer ;
2627use Symfony \Component \Translation \Translator ;
@@ -823,7 +824,7 @@ private function addPropertyInfoSection(ArrayNodeDefinition $rootNode)
823824 ->children ()
824825 ->arrayNode ('property_info ' )
825826 ->info ('Property info configuration ' )
826- ->canBeEnabled ()
827+ ->{! class_exists (FullStack::class) && class_exists (PropertyInfoExtractor::class) ? ' canBeDisabled ' : ' canBeEnabled ' } ()
827828 ->end ()
828829 ->end ()
829830 ;
You can’t perform that action at this time.
0 commit comments