Skip to content

Commit e9ff5b6

Browse files
committed
-
1 parent 86f38bb commit e9ff5b6

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

reference/configuration/framework.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2855,21 +2855,21 @@ This option also accepts a map of PHP errors to log levels:
28552855
framework:
28562856
php_errors:
28572857
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
28732873
28742874
.. code-block:: xml
28752875
@@ -2883,11 +2883,11 @@ This option also accepts a map of PHP errors to log levels:
28832883
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
28842884
28852885
<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.
28882888
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"/>
28912891
<!-- ... -->
28922892
</framework:config>
28932893
</container>

0 commit comments

Comments
 (0)