From 4121f05e43f1ee0c00f5fea3a518f2c2b7d88e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20P=C3=A9lisset?= Date: Thu, 17 Aug 2023 17:06:51 +0200 Subject: [PATCH] Fix !php/const syntax in yaml Quoted scalar is not evaluated --- reference/configuration/framework.rst | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 52f9e78a823..3de27707e94 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -2915,21 +2915,21 @@ This option also accepts a map of PHP errors to log levels: framework: php_errors: log: - '!php/const \E_DEPRECATED': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_USER_DEPRECATED': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_NOTICE': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_USER_NOTICE': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_STRICT': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_WARNING': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_USER_WARNING': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_COMPILE_WARNING': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_CORE_WARNING': !php/const Psr\Log\LogLevel::ERROR - '!php/const \E_USER_ERROR': !php/const Psr\Log\LogLevel::CRITICAL - '!php/const \E_RECOVERABLE_ERROR': !php/const Psr\Log\LogLevel::CRITICAL - '!php/const \E_COMPILE_ERROR': !php/const Psr\Log\LogLevel::CRITICAL - '!php/const \E_PARSE': !php/const Psr\Log\LogLevel::CRITICAL - '!php/const \E_ERROR': !php/const Psr\Log\LogLevel::CRITICAL - '!php/const \E_CORE_ERROR': !php/const Psr\Log\LogLevel::CRITICAL + !php/const \E_DEPRECATED: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_USER_DEPRECATED: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_NOTICE: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_USER_NOTICE: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_STRICT: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_WARNING: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_USER_WARNING: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_COMPILE_WARNING: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_CORE_WARNING: !php/const Psr\Log\LogLevel::ERROR + !php/const \E_USER_ERROR: !php/const Psr\Log\LogLevel::CRITICAL + !php/const \E_RECOVERABLE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL + !php/const \E_COMPILE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL + !php/const \E_PARSE: !php/const Psr\Log\LogLevel::CRITICAL + !php/const \E_ERROR: !php/const Psr\Log\LogLevel::CRITICAL + !php/const \E_CORE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL .. code-block:: xml