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

37 Commits

Author SHA1 Message Date
Markus Staab
7ca003e6ae Rename TestCase to MonologTestCase (#1953) 2025-03-16 13:30:20 +01:00
Jordi Boggiano
f43e3d5637 Upgrade phpstan, phpunit (#1923)
* Upgrade phpstan, phpunit

* Fix phpunit deprecation

* Fix hg tests

* Fix php-console tests

* Fix phpunit on 8.1

* Bump phpconsole
2024-11-11 15:21:55 +01:00
Christoph Dreis
3ba77d1d39 Use fully-qualified name for native functions (#1887) 2024-06-28 10:45:25 +02:00
Jordi Boggiano
b127292ee0 Fix phpunit deprecations 2024-04-12 17:26:33 +02:00
chris
8561130215 Upgrade to phpunit 10 (#1806)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
2023-06-20 15:56:11 +02:00
Jordi Boggiano
1181473f4b Merge branch '2.x' into main 2022-05-08 23:03:49 +02:00
Jordi Boggiano
bd24765917 ElasticSearch v8 support (#1662)
* ElasticSearch v8 support
* CI updates

Co-authored-by: Thomas Müller <mimmi20@live.de>
2022-05-08 22:23:46 +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
2d006a8472 Convert level/levelName to enums (#1656) 2022-04-19 21:49:03 +02:00
Jordi Boggiano
22c8b19358 Add LogRecord class, drop PHP <8.1 2022-03-21 14:18:53 +01:00
Victor Pryazhnikov
cdba0c5693 Deprecated setMethods() usages moving to onlyMethods() 2021-02-27 14:47:59 +03:00
Mario Blažek
37900f9268 Upgrade PHPUnit to v8 2019-08-12 15:20:00 +02:00
Jordi Boggiano
f6e6f22e77 Merge branch '1.x' 2016-11-26 01:23:57 +01:00
Anton Nizhegorodov
5fa5e37305 Fix SlackHandler
Slack API requires to json_encode the attachment field.
2016-11-19 18:53:02 +02:00
Anton Nizhegorodov
08b577c657 Update SlackHandler tests && allow SlackRecord formatter change after construction 2016-11-19 18:53:02 +02:00
Haralan Dobrev
115f6710b1 Use constants for Slack colors 2016-11-19 18:53:00 +02:00
Jordi Boggiano
96f4fd718f CS fixes 2016-09-25 17:46:38 +02:00
Jordi Boggiano
28742b656f Undo this LocalSocket fiasco, fix tests for latest phpunit 2016-09-25 16:07:01 +02:00
Jordi Boggiano
3dc7a79a3e Fixing the socket mess, maybe. 2016-09-19 23:14:24 +02:00
Jordi Boggiano
c6a9f28e24 Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server 2016-09-19 18:20:42 +02:00
Jordi Boggiano
6b0d0c4a19 Merge branch '1.x' 2016-07-29 04:53:49 +02:00
Jordi Boggiano
9b5bf2cca7 Allow formatting of message by setting a line formatter on SlackHandler, fixes #829 2016-07-29 04:20:18 +02:00
Jordi Boggiano
21dde4dedb Move to strict mode and fix tests 2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879 CS fixes 2016-05-26 20:54:06 +01:00
Jordi Boggiano
d7b415c2c8 Make TestCase class available to dependents to help with testing 2016-05-20 20:09:02 +01:00
Jordi Boggiano
3e1b8a7afe Remove code duplication, refs #435 2014-12-28 16:28:20 +00:00
Jordi Boggiano
b738a6c04c CS fixes 2014-10-17 19:12:45 +01:00
Jordi Boggiano
d2ec7648d0 Move iconEmoji param upfront since Slack was never in a stable release 2014-09-30 14:28:08 +01:00
Derek Clapham
89480cdaed Restored the $ regex string terminator for the WriteContext test 2014-08-26 09:49:46 +10:00
Derek Clapham
e4e60821b3 Added a new test for Emoji, reverted old tests 2014-08-23 10:56:40 +10:00
Derek Clapham
ff6c458260 Updated position of iconEmoji variable to prevent BC breaks 2014-08-22 16:49:42 +10:00
Derek Clapham
c63d082444 Added emoji support as per slack api doc: https://api.slack.com/methods/chat.postMessage 2014-08-22 15:19:14 +10:00
gkedzierski
be52105379 Move constructor argument before 2014-06-16 17:56:20 +02:00
gkedzierski
efd9a2065c Add plain text message support 2014-06-15 16:35:40 +02:00
gkedzierski
83ebdc1f32 Add colors to attachments based on level 2014-06-15 16:17:43 +02:00
gkedzierski
20844b94ff Add basic Slack logging functionality 2014-06-14 14:57:38 +02:00