@@ -2855,21 +2855,21 @@ This option also accepts a map of PHP errors to log levels:
2855
2855
framework :
2856
2856
php_errors :
2857
2857
log :
2858
- !php/const \E_DEPRECATED: !php/const Psr\Log\LogLevel::ERROR
2859
- !php/const \E_USER_DEPRECATED: !php/const Psr\Log\LogLevel::ERROR
2860
- !php/const \E_NOTICE: !php/const Psr\Log\LogLevel::ERROR
2861
- !php/const \E_USER_NOTICE: !php/const Psr\Log\LogLevel::ERROR
2862
- !php/const \E_STRICT: !php/const Psr\Log\LogLevel::ERROR
2863
- !php/const \E_WARNING: !php/const Psr\Log\LogLevel::ERROR
2864
- !php/const \E_USER_WARNING: !php/const Psr\Log\LogLevel::ERROR
2865
- !php/const \E_COMPILE_WARNING: !php/const Psr\Log\LogLevel::ERROR
2866
- !php/const \E_CORE_WARNING: !php/const Psr\Log\LogLevel::ERROR
2867
- !php/const \E_USER_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2868
- !php/const \E_RECOVERABLE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2869
- !php/const \E_COMPILE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2870
- !php/const \E_PARSE: !php/const Psr\Log\LogLevel::CRITICAL
2871
- !php/const \E_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2872
- !php/const \E_CORE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2858
+ ' !php/const \E_DEPRECATED ' : !php/const Psr\Log\LogLevel::ERROR
2859
+ ' !php/const \E_USER_DEPRECATED ' : !php/const Psr\Log\LogLevel::ERROR
2860
+ ' !php/const \E_NOTICE ' : !php/const Psr\Log\LogLevel::ERROR
2861
+ ' !php/const \E_USER_NOTICE ' : !php/const Psr\Log\LogLevel::ERROR
2862
+ ' !php/const \E_STRICT ' : !php/const Psr\Log\LogLevel::ERROR
2863
+ ' !php/const \E_WARNING ' : !php/const Psr\Log\LogLevel::ERROR
2864
+ ' !php/const \E_USER_WARNING ' : !php/const Psr\Log\LogLevel::ERROR
2865
+ ' !php/const \E_COMPILE_WARNING ' : !php/const Psr\Log\LogLevel::ERROR
2866
+ ' !php/const \E_CORE_WARNING ' : !php/const Psr\Log\LogLevel::ERROR
2867
+ ' !php/const \E_USER_ERROR ' : !php/const Psr\Log\LogLevel::CRITICAL
2868
+ ' !php/const \E_RECOVERABLE_ERROR ' : !php/const Psr\Log\LogLevel::CRITICAL
2869
+ ' !php/const \E_COMPILE_ERROR ' : !php/const Psr\Log\LogLevel::CRITICAL
2870
+ ' !php/const \E_PARSE ' : !php/const Psr\Log\LogLevel::CRITICAL
2871
+ ' !php/const \E_ERROR ' : !php/const Psr\Log\LogLevel::CRITICAL
2872
+ ' !php/const \E_CORE_ERROR ' : !php/const Psr\Log\LogLevel::CRITICAL
2873
2873
2874
2874
.. code-block :: xml
2875
2875
@@ -2883,11 +2883,11 @@ This option also accepts a map of PHP errors to log levels:
2883
2883
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
2884
2884
2885
2885
<framework : config >
2886
- <!-- in XML config you cannot use PHP constants as the value of
2887
- the 'type' attribute, which makes this config way less readable.
2886
+ <!-- in XML configuration you cannot use PHP constants as the value of
2887
+ the 'type' attribute, which makes this format way less readable.
2888
2888
Consider using YAML or PHP for this configuration -->
2889
- <framework : log type =" 8" logLevel =" error" />
2890
- <framework : log type =" 2" logLevel =" error" />
2889
+ <framework : log type =" 8" logLevel =" error" />
2890
+ <framework : log type =" 2" logLevel =" error" />
2891
2891
<!-- ... -->
2892
2892
</framework : config >
2893
2893
</container >
0 commit comments