Skip to content

Instantly share code, notes, and snippets.

@vudaltsov
Created February 14, 2022 18:47
Show Gist options
  • Save vudaltsov/a4c972d5c07e263f550d585bcc525237 to your computer and use it in GitHub Desktop.
Save vudaltsov/a4c972d5c07e263f550d585bcc525237 to your computer and use it in GitHub Desktop.
Symfony php_errors config
framework:
php_errors:
log:
!php/const E_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_WARNING: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_PARSE: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_NOTICE: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_CORE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_CORE_WARNING: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_COMPILE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_COMPILE_WARNING: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_USER_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_USER_WARNING: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_USER_NOTICE: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_STRICT: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_RECOVERABLE_ERROR: !php/const Psr\Log\LogLevel::CRITICAL
!php/const E_DEPRECATED: !php/const Psr\Log\LogLevel::NOTICE
!php/const E_USER_DEPRECATED: !php/const Psr\Log\LogLevel::NOTICE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment