1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-21 20:35:17 +02:00

2832 Commits

Author SHA1 Message Date
Dino Korah
a05c1a9732 Fix broken unit tests 2020-08-04 12:25:34 +01:00
Dino Korah
fa78dd4400 Backport PsrLogMessageProcessor from master (2.x) 2020-08-04 12:09:20 +01:00
Valentin Udaltsov
c282728812 Update TelegramBotHandler.php
Parameters `$level` and `$bubble` are already passed to parent constructor, no need to set them again.

Also setting `$level` without `setLevel()` makes it incomparable as it is not converted to int via `Logger::toMonologLevel()`.
2020-07-27 12:50:54 +03:00
Jordi Boggiano
f9eee5cec9 Update changelog 2.1.1 2020-07-23 10:41:23 +02:00
Jordi Boggiano
6541075a8e Merge branch '1.x' 2020-07-23 10:38:28 +02:00
Jordi Boggiano
1817faadd1 Update changelog 1.25.5 2020-07-23 10:35:51 +02:00
axell-brendow
bcca19cee0 Improve exception message
This exception is commonly thrown in Laravel applications when using Docker.
But it is not clear why the system could not open a file that has read permission
for all users. So, when I came to the code of Monolog I saw that you try to open it
in append mode, so I think that just adding this information could help a lot other
users.
2020-07-23 10:34:11 +02:00
Jordi Boggiano
69b585feff Merge pull request #1480 from gmponos/remove-call-user-func
Replace call_user_func
2020-07-09 10:32:21 +02:00
Mponos George
a54cd1f178 Replace call_user_func 2020-07-08 23:02:57 +03:00
Mponos George
53e2c97b0b Static analysis improvements (#1475)
* Static analysis improvements

* Fix review issues
2020-07-08 21:40:29 +02:00
Jordi Boggiano
84342aa0a3 Merge branch '1.x' 2020-07-08 21:27:58 +02:00
Jordi Boggiano
0ae6fd8a09 Fix removing of json options, fixes #1469 2020-07-08 21:09:28 +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
6eee2fa4d4 Merge pull request #1472 from jdecool/avoid-array-accesson-on-null
Fix array offset access on null in RavenHandler
2020-07-08 21:00:48 +02:00
Jordi Boggiano
71c124b11a Merge pull request #1473 from alexleeelkins/master
Fix grammatical error
2020-07-08 20:59:43 +02:00
Jordi Boggiano
35a1e4de9b Fix php8 build 2020-07-08 20:53:16 +02:00
Jordi Boggiano
1eafcbf040 Allow null subjects in SwiftMailerHandler, fixes #1479 2020-07-08 11:59:01 +02:00
Jordi Boggiano
62700a29cc Merge pull request #1478 from gmponos/patch-2
Allow int or string on handlers as level
2020-07-08 11:40:54 +02:00
Mponos George
c6a56f0e33 Allow string also for level 2020-06-22 21:39:58 +03:00
Mponos George
4ef697d912 [Sendgrid] Allow int or string on sendgrid handler 2020-06-22 21:31:17 +03:00
Alex Elkins
27ce3a47d4 Fix grammatical error 2020-06-09 21:43:19 -04:00
Jérémy DECOOL
ec3b35f72c Fix array offset access on null in RavenHandler 2020-06-04 23:13:45 +02:00
Jordi Boggiano
ed2a226ebe Merge pull request #1467 from abdounikarim/patch-1
Update 01-usage.md
2020-06-02 10:06:32 +02:00
Mponos George
b132524d9d Various minor changes to docs (#1468)
* Various minor changes to docs

* Revert failOnRisk and failOnWarning
2020-06-02 10:06:18 +02:00
Abdouni Abdelkarim
148a26ae5a Update 01-usage.md
Hello,

I just update a code to use the array short syntax.
And i also correct highlight syntax.

😉
2020-06-01 10:39:40 +02:00
Jordi Boggiano
38914429aa Remove allow_failures flag from php 8 2.1.0 2020-05-22 10:12:19 +02:00
Jordi Boggiano
977e91b783 Skip linting on php8 2020-05-22 10:09:24 +02:00
Jordi Boggiano
ed3d51a965 Bump php requirement to allow greater releases 2020-05-22 09:52:07 +02:00
Jordi Boggiano
ec855db757 Remove Composer platform check to allow php8 testing 2020-05-22 09:49:50 +02:00
Jordi Boggiano
dc1e854c63 Update changelog 2020-05-22 09:48:22 +02:00
Jordi Boggiano
a5327ca844 Merge branch '1.x' 2020-05-22 09:34:33 +02:00
Jordi Boggiano
3022efff20 Update changelog 1.25.4 2020-05-22 09:31:27 +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
Jordi Boggiano
6f9b0a5ff2 Remove deprecation warnings on 7.4 2020-05-22 09:27:32 +02:00
Jordi Boggiano
a73b4036c5 Build updates 2020-05-22 09:10:51 +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
2066ce89d0 Fix SoapFault detail with nested object
Fixes #1431
2020-05-15 12:59:17 -05:00
James Gilliland
56a8b31e4b Assert SoapFail can handle a structured detail 2020-05-15 12:59:17 -05:00
Jordi Boggiano
438b8983b7 Merge pull request #1442 from carusogabriel/feature/skip-empty-objects
JsonFormatter: add option to ignore empty `context` and `extra` fields
2020-05-15 14:00:09 +02: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
13ee5dabda Bump phpunit requirement 2020-05-11 22:22:28 +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
Jordi Boggiano
eb84930e70 Make NormalizerFormatter::addJsonEncodeOption/removeJsonEncodeOption public, fixes #1446 2020-05-11 21:50:47 +02:00
Jordi Boggiano
ab01f390c7 Add JSON_INVALID_UTF8_SUBSTITUTE flag to default json_encode flags, refs #1446, fixes #1203 2020-05-11 21:50:15 +02:00