Skip to content

Commit be318ea

Browse files
authored
Fix !php/const syntax in yaml
Quoted scalar is not evaluated
1 parent aa28926 commit be318ea

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

reference/configuration/framework.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2915,21 +2915,21 @@ This option also accepts a map of PHP errors to log levels:
29152915
framework:
29162916
php_errors:
29172917
log:
2918-
'!php/const \E_DEPRECATED': !php/const Psr\Log\LogLevel::ERROR
2919-
'!php/const \E_USER_DEPRECATED': !php/const Psr\Log\LogLevel::ERROR
2920-
'!php/const \E_NOTICE': !php/const Psr\Log\LogLevel::ERROR
2921-
'!php/const \E_USER_NOTICE': !php/const Psr\Log\LogLevel::ERROR
2922-
'!php/const \E_STRICT': !php/const Psr\Log\LogLevel::ERROR
2923-
'!php/const \E_WARNING': !php/const Psr\Log\LogLevel::ERROR
2924-
'!php/const \E_USER_WARNING': !php/const Psr\Log\LogLevel::ERROR
2925-
'!php/const \E_COMPILE_WARNING': !php/const Psr\Log\LogLevel::ERROR
2926-
'!php/const \E_CORE_WARNING': !php/const Psr\Log\LogLevel::ERROR
2927-
'!php/const \E_USER_ERROR': !php/const Psr\Log\LogLevel::CRITICAL
2928-
'!php/const \E_RECOVERABLE_ERROR': !php/const Psr\Log\LogLevel::CRITICAL
2929-
'!php/const \E_COMPILE_ERROR': !php/const Psr\Log\LogLevel::CRITICAL
2930-
'!php/const \E_PARSE': !php/const Psr\Log\LogLevel::CRITICAL
2931-
'!php/const \E_ERROR': !php/const Psr\Log\LogLevel::CRITICAL
2932-
'!php/const \E_CORE_ERROR': !php/const Psr\Log\LogLevel::CRITICAL
2918+
!php/const \E_DEPRECATED: !php/const Psr\Log\LogLevel::ERROR
2919+
!php/const \E_USER_DEPRECATED: !php/const Psr\Log\LogLevel::ERROR
2920+
!php/const \E_NOTICE: !php/const Psr\Log\LogLevel::ERROR
2921+
!php/const \E_USER_NOTICE: !php/const Psr\Log\LogLevel::ERROR
2922+
!php/const \E_STRICT: !php/const Psr\Log\LogLevel::ERROR
2923+
!php/const \E_WARNING: !php/const Psr\Log\LogLevel::ERROR
2924+
!php/const \E_USER_WARNING: !php/const Psr\Log\LogLevel::ERROR
2925+
!php/const \E_COMPILE_WARNING: !php/const Psr\Log\LogLevel::ERROR
2926+
!php/const \E_CORE_WARNING: !php/const Psr\Log\LogLevel::ERROR
2927+
!php/const \E_USER_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2928+
!php/const \E_RECOVERABLE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2929+
!php/const \E_COMPILE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2930+
!php/const \E_PARSE: !php/const Psr\Log\LogLevel::CRITICAL
2931+
!php/const \E_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
2932+
!php/const \E_CORE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
29332933
29342934
.. code-block:: xml
29352935

0 commit comments

Comments
 (0)