1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 10:06:08 +02:00
Commit Graph

114 Commits

Author SHA1 Message Date
Jordi Boggiano
07cd08e0e4 Fix CS 2024-06-28 10:48:40 +02:00
Christoph Dreis
3ba77d1d39 Use fully-qualified name for native functions (#1887) 2024-06-28 10:45:25 +02:00
Jordi Boggiano
47e301d3e2 Also add setBasePath to NormalizerFormatter/JsonFormatter 2024-06-28 10:39:13 +02:00
Vincent Langlet
c4ba76aeae Avoid throwing an exception when the toString fails (#1868) 2024-04-12 10:47:57 +02:00
Jordi Boggiano
70f6ca05b9 Merge branch '2.x' 2023-10-27 15:26:39 +02:00
Jordi Boggiano
531ed6d873 enforce string value for safety 2023-10-27 14:14:00 +02:00
Egor Korobov
ed80d53ab2 Fix fatal error in NormalizeFormatter: method_exists(): The script tried to execute a method or access a property of an incomplete object.
Closes #1833
Fixes #1834
2023-10-27 14:05:53 +02:00
Nicolas Grekas
9546d94bdc Use @return $this where applicable (#1828) 2023-08-03 14:04:37 +02:00
Thomas Müller
616c675160 add some @throws in constructors (#1779) 2023-02-04 16:26:41 +01:00
Jordi Boggiano
7684fae8fa Merge branch '2.x' 2022-07-22 15:51:15 +02:00
Jordi Boggiano
83db4b3f81 Handle depth to avoid cases where an exception has many too many previous exceptions, fixes #1726 2022-07-22 14:18:01 +02:00
Jordi Boggiano
6627c092d8 Add phpstan strict rules and deprecation rules, fix all related issues 2022-04-24 11:08:10 +02:00
Jordi Boggiano
7952a83e0c Move phpdoc to native types 2022-04-20 09:21:58 +02:00
Jordi Boggiano
2695fa86cd CI fixes 2022-04-19 22:16:53 +02:00
Jordi Boggiano
6b5bd6af5b More cleanups 2022-03-21 14:18:55 +01:00
Jordi Boggiano
400effdd45 Fix some issues, bump phpunit version 2022-03-21 14:18:54 +01:00
Jordi Boggiano
22c8b19358 Add LogRecord class, drop PHP <8.1 2022-03-21 14:18:53 +01:00
smiley
168bb6e53d return self on several setter/builder methods for more consistent behaviour (#1609) 2022-03-07 14:24:20 +01:00
Jordi Boggiano
19542ed8ef Normalize @inheritDoc tags, refs #1557 2021-07-08 15:23:09 +02:00
Jordi Boggiano
a6eef7298c Last phpstan fixes 2021-07-05 13:34:03 +02:00
Jordi Boggiano
8b5278d8e1 Bump phpstan to level 8 2021-07-04 14:08:43 +02:00
Jordi Boggiano
4ef5da80ad Fix CS 2021-07-04 14:04:52 +02:00
Jordi Boggiano
01d104aa78 Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 6 2021-07-04 14:04:52 +02:00
Jordi Boggiano
9fc7a8a810 Allow changing the date format after normalizer creation, fixes #1459 2020-12-11 13:31:25 +01:00
Jordi Boggiano
c5853b9b0f Improve build 2020-12-09 16:39:34 +01:00
Jordi Boggiano
0ae6fd8a09 Fix removing of json options, fixes #1469 2020-07-08 21:09:28 +02:00
Jordi Boggiano
de87dad98f Fix CS 2020-05-21 17:02:48 +02:00
Jordi Boggiano
eb4dc3aa6b Merge branch '1.x' 2020-05-21 16:59:46 +02:00
Jordi Boggiano
acd3173c4a Fix SoapFault when detail is nested object, fixes #1431, refs #1462 2020-05-21 16:39:23 +02:00
Jordi Boggiano
eb84930e70 Make NormalizerFormatter::addJsonEncodeOption/removeJsonEncodeOption public, fixes #1446 2020-05-11 21:50:47 +02:00
Jordi Boggiano
0b9ee7e636 Merge branch '1.x' 2019-11-12 21:50:28 +01:00
Jordi Boggiano
12a76ad61e Fix usages of json_encode which did not handle invalid UTF8 gracefully, fixes #1392 2019-11-12 21:24:23 +01:00
Jordi Boggiano
e1af546a55 Handle detail key of SoapFault being an object, fixes #1391 2019-11-12 20:49:34 +01:00
Jordi Boggiano
cf77550dca Make sure all exception codes are integers, fixes #1393 2019-11-12 20:38:27 +01:00
Jordi Boggiano
acf8e9e9a3 Merge branch '1.x' 2019-08-30 10:39:21 +02:00
Jordi Boggiano
2efcbcd181 Remove closure stack frames entirely from log 2019-08-30 10:24:17 +02:00
Jordi Boggiano
6688b45ebe Normalize the way backtraces are normalized and remove args for special cases, fixes #1346 2019-08-16 13:09:47 +02:00
Jordi Boggiano
75caf92980 Merge pull request #1307 from tikoflano/patch-1
Enable adding/removing options to json_encode()
2019-07-01 17:02:27 +02:00
Alex Calinescu
b40fec3b7e Check for JsonSerializable in normalizeException 2019-04-09 11:55:45 +03:00
Alvaro Flaño
93eca5639d Enable adding/removing options to json_encode()
Sometimes you want to add some options. In my case I wanted to encode the data using JSON_FORCE_OBJECT, but there was no way to do it
2019-03-27 13:02:40 -03:00
George Mponos
790ff7fd1d Docblock fixes 2018-12-09 22:31:46 +02:00
Mponos George
daed05c3e5 Enable JSON encode pretty print (#1236) 2018-12-04 10:30:41 +01:00
Jordi Boggiano
a7984a640f Merge remote-tracking branch 'gmponos/add_visibility_to_constants' 2018-11-29 19:41:58 +01:00
Jordi Boggiano
4a33226f25 Wrap up type-hint adding to all handlers 2018-11-19 23:28:33 +01:00
George Mponos
c68b71edeb Add visibility to constants 2018-11-17 20:38:51 +02:00
Jordi Boggiano
073c5d763a Merge branch '1.x' 2018-11-04 18:40:32 +01:00
Jordi Boggiano
42d84e6a8d Move getClass method to a Utils class, refs #1190 2018-11-04 18:23:20 +01:00
Nicolas Grekas
9117a6c747 Fix displaying anonymous classes 2018-09-24 20:18:56 +02:00
Jordi Boggiano
06143b03e5 Add a bunch of return types and fix type inconsistencies reports from phan 2018-07-04 14:14:08 +02:00
Jordi Boggiano
873ac681a6 Merge branch '1.x' 2018-06-18 17:27:30 +02:00