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

2648 Commits

Author SHA1 Message Date
Alessandro Lai
57e3fe3173 Allow psr/log 2.0 2021-09-13 11:50:15 +02:00
Jordi Boggiano
f2156cdd55 Tweak some type annotations 2021-08-17 14:13:55 +02:00
Pier-Luc Lafleur
173a59ffe0 Update 01-usage.md
Removing mention of monolog-cascade

monolog-cascade doesn't support monolog ^2.0 or php8
2021-08-06 09:40:16 -04:00
Thomas Müller
1ad394f62f mention some more extensions in composer.json 2021-07-27 19:55:11 +02:00
Thomas Müller
d76d691acf add checks for required curl extension 2021-07-27 19:50:08 +02:00
Thomas Müller
71cf94a361 add check for required extension 2021-07-27 19:22:53 +02:00
Jordi Boggiano
7131256475 Update changelog 2.3.2 2021-07-23 09:42:52 +02:00
Juan Morales
82ab6a5f4f Fixes php8 non-backward compatible changes (#1568)
* Utils method added to resolve PCRE error messages properly
2021-07-23 09:16:39 +02:00
Jordi Boggiano
d08c09d955 Fix phpstan error 2021-07-23 09:11:20 +02:00
Jordi Boggiano
9738e495f2 Update changelog for 2.3.1 2.3.1 2021-07-14 13:56:39 +02:00
Fabien Villepinte
63e195046c Fix Utils::getClass() with PHP8 (#1563) 2021-07-14 12:57:59 +02:00
Jordi Boggiano
42384f29ba Ignore config file 2021-07-12 14:48:59 +02:00
Jordi Boggiano
19542ed8ef Normalize @inheritDoc tags, refs #1557 2021-07-08 15:23:09 +02:00
Jordi Boggiano
df991fd886 Update changelog 2.3.0 2021-07-05 13:34:13 +02:00
Jordi Boggiano
a6eef7298c Last phpstan fixes 2021-07-05 13:34:03 +02:00
Jordi Boggiano
172287ba93 Merge pull request #1561 from thomasphansen/th_jsonformatter_use_formatdate
JsonFormatter::normalize() : respect date format from Formatter
2021-07-05 13:10:56 +02:00
Jordi Boggiano
4b9fdf77ca Fix json formatter to call parent constructor 2021-07-05 13:09:01 +02:00
Thomas Hansen
b2ad71de59 JsonFormatter::normalize() : respect date format from Formatter 2021-07-05 13:09:00 +02:00
Jordi Boggiano
0f7b11d383 Merge pull request #1560 from ThomasLandauer/patch-1
Adding anchor to link
2021-07-04 14:16:21 +02:00
Jordi Boggiano
50729e0081 Merge pull request #1557 from Seldaek/phpstan
Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 8
2021-07-04 14:14:34 +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
13d40f953f More type fixes towards level 7 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
Thomas Landauer
37ab9fc188 Adding anchor to link 2021-06-25 01:05:59 +02:00
Jordi Boggiano
5c9d9bf43e Merge branch '1.x' into main 2021-05-28 10:33:21 +02:00
Jordi Boggiano
c6b00f0515 Update changelog 1.26.1 2021-05-28 10:32:12 +02:00
Jordi Boggiano
5bf534f052 Merge pull request #1553 from dsch/threadsave-stream-handler
Set StreamHandler stream chunk size, fixes #1552
2021-05-28 10:03:18 +02:00
Jordi Boggiano
377272dd43 Merge pull request #1554 from derrabus/bugfix/datetime-on-8.1
Fix deprecation warning on PHP 8.1
2021-05-28 09:28:55 +02:00
Alexander M. Turek
2e37d0bbd1 Fix deprecation warning on PHP 8.1 2021-05-15 01:18:18 +02:00
David Schneider
df3b93b701 Set StreamHandler stream chunk size, fixes #1552
This ensures atomic log record writing to the output stream.
2021-05-07 11:35:18 +02:00
Jordi Boggiano
bac1ddd019 Merge pull request #1536 from pryazhnikov/tests_fix_usage_of_deprecated_methods
Stop using deprecated MockBuilder::setMethods in unit tests
2021-04-18 22:27:02 +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
Jordi Boggiano
0dc10f86b8 Merge pull request #1545 from glensc/patch-1
MailHandler: Use array access to compare first character
2021-04-04 18:13:39 +02:00
Jordi Boggiano
9c26199756 Merge pull request #1540 from yi-yang-github/main
#1539 fix timezone when it's DateTimeImmutable
2021-04-04 16:10:32 +02:00
Elan Ruusamäe
53d53af502 Update to handle empty string 2021-03-27 13:43:44 +02:00
Elan Ruusamäe
0e46f8872c MailHandler: Use array access to compare first character 2021-03-27 12:40:00 +02:00
Yi Yang
f6802992d2 #1539 fix timezone when it's DateTimeImmutable 2021-03-11 15:05:33 -08: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
Jordi Boggiano
c1971982c3 Fix links in docs 2021-02-09 14:27:42 +01:00
Jordi Boggiano
c497cc646a Add docs about reset() 2021-01-27 17:04:26 +01:00
Jordi Boggiano
6e1e1300d6 Merge pull request #1531 from marcvdm/reset-filter-handler
Reset wrapped handler of the FilterHandler
2021-01-27 16:35:09 +01:00
Jordi Boggiano
c6de2d33e9 Merge pull request #1527 from reedy/patch-1
Add phpstan.neon.dist to .gitattributes export-ignore
2021-01-27 16:29:09 +01: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
Sam Reed
0dba253d2d Add phpstan.neon.dist to .gitattributes export-ignore 2021-01-12 09:29:53 +00:00