1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-30 16:30:00 +02:00

786 Commits

Author SHA1 Message Date
Fabien Villepinte
63e195046c Fix Utils::getClass() with PHP8 (#1563) 2021-07-14 12:57:59 +02:00
Jordi Boggiano
19542ed8ef Normalize @inheritDoc tags, refs #1557 2021-07-08 15:23:09 +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
Victor Pryazhnikov
812d63b171 Fix of incorrect DynamoDB mock creation
addMethods([]) breaks the methods configured at onlyMethods() call
2021-04-18 21:33:01 +03:00
Victor Pryazhnikov
c7a5ecca6c Fix of DynamoDbClient::formatAttributes
Looks like formatAttributes() was removed before v3,
so switching to method existence check instead of version check
2021-04-04 21:34:05 +03:00
Victor Pryazhnikov
2bc1351c1e Fix of SyslogUdpHandler mock creation
'datetime' value inside of getRecordWithMessage() result is enough,
getDateTime() method is missing & not being used
2021-02-27 15:55:32 +03:00
Victor Pryazhnikov
240a159d44 Fix of PhpAmqpLib\Channel\AMQPChannel mock creation
__destruct was removed in v2.5.0, but version check is impossible
(\PhpAmqpLib\Package::VERSION was introduced in v2.11.1)
2021-02-27 15:36:32 +03:00
Victor Pryazhnikov
67294a3a5f Fix of Predis\Client mock creation
Predis\Client uses __call method to process commands (rPush, lTrim),
getPartialMock() doesn't work with addMethods()
2021-02-27 15:18:06 +03:00
Victor Pryazhnikov
227343f20b Fix of absent formatAttributes method issue 2021-02-27 15:02:13 +03:00
Victor Pryazhnikov
cdba0c5693 Deprecated setMethods() usages moving to onlyMethods() 2021-02-27 14:47:59 +03:00
Marc van der Meulen
7066e39078 When we reset the FilterHandler we should call the handler we are wrapping 2021-01-15 17:25:19 +01:00
patrickkusebauch
79d12135dd Fixed new Url 2020-12-12 22:21:42 +01:00
patrickkusebauch
76639ef02b Elastica up to 7 support 2020-12-11 10:55:38 +01:00
Jordi Boggiano
9ce0431191 Add JSON_PARTIAL_OUTPUT_ON_ERROR, closes #1515 2020-12-10 16:22:24 +01:00
Jordi Boggiano
9ab131c225 Merge pull request #1503 from gfaugere/redispubsub
Adding Redis Pub/Sub handler (closes #574)
2020-12-10 14:32:30 +01:00
Jordi Boggiano
ec146b38bd Build tweaks 2020-12-09 23:22:08 +01:00
Jordi Boggiano
bd9570d835 Merge branch '1.x' into main 2020-12-09 14:19:00 +01:00
Faugère Gaëtan
7640be31a1 Adding Redis Pub/Sub handler (closes #574) 2020-10-01 17:30:47 +02:00
Jordi Boggiano
84342aa0a3 Merge branch '1.x' 2020-07-08 21:27:58 +02:00
Jordi Boggiano
c3a05db90c Fix unique_id in WebProcessor not being disableable, fixes #1470 2020-07-08 21:01:20 +02:00
Jordi Boggiano
35a1e4de9b Fix php8 build 2020-07-08 20:53:16 +02:00
Jordi Boggiano
b5260af0d1 Also remove deprecation warnings when running outside of travis on php 7.4 2020-05-22 09:30:27 +02:00
Pascal Sommer
7a801dd041 Telegram Handler: support additional API parameters (#1451) 2020-05-22 08:44:02 +02:00
Jordi Boggiano
de87dad98f Fix CS 2020-05-21 17:02:48 +02:00
Jordi Boggiano
5f2ee3292e Merge remote-tracking branch 'neclimdul/SoapFaultObjectFailure' 2020-05-21 17:01:29 +02:00
Jordi Boggiano
eb4dc3aa6b Merge branch '1.x' 2020-05-21 16:59:46 +02:00
Jordi Boggiano
fa4a173f69 Fix 5.3 syntax 2020-05-21 16:56:55 +02:00
Jordi Boggiano
c50950d79e Canonicalize paths when constructing RotatingFileHandler/StreamHandler, fixes #1326 2020-05-21 16:54:57 +02:00
Jordi Boggiano
acd3173c4a Fix SoapFault when detail is nested object, fixes #1431, refs #1462 2020-05-21 16:39:23 +02:00
James Gilliland
56a8b31e4b Assert SoapFail can handle a structured detail 2020-05-15 12:59:17 -05:00
Gabriel Caruso
6038dcb21c JsonFormatter: add option to ignore empty context and extra fields
Similar to efe572cb10.
2020-05-15 13:45:36 +02:00
Jordi Boggiano
f279285232 Fix tests, invalid UTF-8 is now returning �s instead of being converted to possibly valid ISO-8559-15 2020-05-11 22:18:36 +02:00
Pierre Grimaud
ff3128b487 Fix typos 2020-04-28 18:57:34 +02:00
Jordi Boggiano
a8a0dbb778 Merge branch '1.x' 2019-12-20 14:53:43 +01:00
theravel
9621075c0f Fix JSON formatting of resource type, closes #1410 2019-12-20 14:49:27 +01:00
Jordi Boggiano
596348e5c3 Merge pull request #1400 from tpraxl/fix/docblock
Fix misleading @throws tag in StreamHandler doc
2019-12-07 16:40:45 +01:00
Thomas Praxl
764601c606 Expect and document a more concrete exception type
As was proposed during review.
2019-11-25 12:01:34 +01:00
Jordi Boggiano
11fb4f9270 Merge branch '1.x' 2019-11-15 15:56:08 +01:00
David Maicher
525d29847a FilterHandler: fix handle empty batch of filtered records 2019-11-15 13:07:02 +01:00
Thomas Praxl
3dcb1919a3 Fix misleading @throws tag in StreamHandler doc
The `\Exception` for non-existing and not creatable paths is thrown earliest on first write.
Not during StreamHandler instantiation, as claimed by the constructor's `@throws` tag.
2019-11-15 09:07:02 +01:00
Jordi Boggiano
4e19f3c585 Merge branch '1.x' 2019-11-13 10:58:42 +01:00
Jordi Boggiano
f97cc755af Fix 5.3/5.4 builds 2019-11-12 22:28:59 +01:00
Jordi Boggiano
05f6ed7205 Fix php 5.3 syntax 2019-11-12 22:10:50 +01: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
Trevor North
0ff3a9bd03 Fix BrowserConsoleHandler formatting
This resolves an issue whereby all styles would be applied in reverse
order to the formatting markers.
2019-11-12 20:36:02 +01:00
Alexander Dmitryuk
b7cee792db fix test 2019-11-05 14:48:20 +07:00
Jordi Boggiano
0f39561898 Avoid leaving an error handler dangling 2019-09-05 14:47:40 +02:00