Pārlūkot izejas kodu

Removed the path validation as the default value is set by the extension

Christophe Coevoet 14 gadi atpakaļ
vecāks
revīzija
54b0984ced

+ 0 - 4
src/Symfony/Bundle/MonologBundle/DependencyInjection/Configuration.php

@@ -69,10 +69,6 @@ class Configuration
             ->scalarNode('level')->defaultValue('DEBUG')->end()
             ->booleanNode('bubble')->defaultFalse()->end()
             ->scalarNode('path')->end() // stream specific
-            ->validate()
-                ->ifTrue(function($v) { return 'stream' === $v['type'] && !isset($v['path']); })
-                ->thenInvalid('The path has to be specified to use a StreamHandler')
-            ->end()
         ;
     }