Skip to content

Commit

Permalink
Add intl.error_level into config.neon
Browse files Browse the repository at this point in the history
Added `intl.error_level` configuration directive into `config.neon` to
throw error when `IntlDateFormatter::formatObject()` in `UserDataHelper`
fails. Otherwise it quietly returns false and we have no indication there
is something wrong.

We are not forcing it in ApplicationModule. This is PHP setting and
should be decided by developer.

remp/crm#2191
  • Loading branch information
markoph committed Dec 31, 2021
1 parent 35fe9a1 commit f8c2187
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/config/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ translation:

php:
date.timezone: Europe/Bratislava
intl.error_level: 2 # E_WARNING

security:
debugger: true
Expand Down

0 comments on commit f8c2187

Please sign in to comment.