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
Jonathan Campbell
4e03d25f6d
Fix IntrospectionProcessor tests that were not validating the code under test ( #1896 )
...
Three tests in IntrospectionProcessorTest (testLevelTooLow, testLevelEqual, testLevelHigher) aren't actually testing anything. Because `$expected = $input` is a reference, the changes made to `$expected['extra']` are made to $input and carried forward to $actual. You can demonstrate this by adding a `return $record` at the immediate start of `InstrospectionProcessor::__invoke` -- the tests still pass despite bypassing all the code.
2024-06-28 10:41:10 +02:00
Jordi Boggiano
b127292ee0
Fix phpunit deprecations
2024-04-12 17:26:33 +02:00
Johan Vlaar
dc4bc7e660
Add LoadAverageProcessor ( #1803 )
...
Co-authored-by: johan Vlaar <johan@adivare.nl >
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2023-06-20 16:13:13 +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
c424dbc6a5
Merge branch '2.x'
2023-02-04 16:24:57 +01:00
Sergey Rabochiy
e18aa33d2f
Add ClosureContextProcessor ( #1745 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2023-02-04 15:24:39 +01:00
Grégoire Pineau
5df3238664
Fix bug with level in GitProcessor ( #1749 )
2022-08-17 23:30:28 +02:00
Jordi Boggiano
0dac87975c
Add property types to all properties where possible
2022-04-21 21:58:32 +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
5eb9b8ed93
Code cleanups
2022-03-21 14:18:54 +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
Jordi Boggiano
f2f66cd480
Fix tests
2022-03-18 10:48:03 +01: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
Mario Blažek
37900f9268
Upgrade PHPUnit to v8
2019-08-12 15:20:00 +02:00
George Mponos
ee350961da
Remove assertInternalType that it is deprecated
2018-12-16 23:46:26 +02:00
George Mponos
bff59f7642
Fix failing tests
2018-11-21 22:58:31 +02:00
Lars Strojny
85d49f8568
Better PSR-3 message formatting
2018-06-18 12:24:31 +02:00
Jordi Boggiano
d353a88337
Merge pull request #1046 from grongor/psr-processor-add-option
...
PsrLogMessageProcessor: add option to remove used context fields
2018-06-09 17:24:13 +02:00
Jakub Chábek
009d4151b4
PsrLogMessageProcessor: add option to remove used context fields
2017-08-21 09:55:09 +02:00
mahone3297
889b25a72b
[feature] add host processor
2017-08-17 17:38:25 +08:00
Jordi Boggiano
ca4ffa68f6
Use namespaced phpunit classes, fixes #983
2017-06-19 00:48:54 +02:00
Jordi Boggiano
7405bb5d67
CS fixes
2017-03-20 10:56:47 +01:00
Piers Warmers
a0406bf8dd
Handle DateTime objects in formatted messages ( #940 )
...
* Handle DateTime objects in formatted meessages
* Use interface to catch both DateTime and DateTimeImmutable
* Maintain formatting standards.
* Visibility to private.
2017-03-14 08:07:57 +01:00
Jordi Boggiano
96f4fd718f
CS fixes
2016-09-25 17:46:38 +02:00
Jordi Boggiano
d8dee1cc15
Merge branch '1.x'
2016-09-25 16:48:01 +02:00
Jordi Boggiano
ffc421a4fd
Make hg test optional
2016-09-25 16:47:31 +02:00
Jonathan A. Schweder
240b7458dd
add MercurialProcessor
2016-09-25 16:39:55 +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
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
Jordi Boggiano
80c4bfb9fd
Restore filtering behavior, refs #663
2015-10-14 14:12:50 +01:00
Jared Markell
3a3d28f91a
Add getUid() to UidProcessor
2015-08-24 14:50:30 -07:00
Jordi Boggiano
328d66f13f
Fix support for associative tag arrays, refs #588
2015-07-13 11:06:01 +01:00
Jordi Boggiano
66532794b0
Add TagProcessor::addTags and TagProcessor::setTags, fixes #588
2015-07-12 11:55:38 +01:00
Jordi Boggiano
b738a6c04c
CS fixes
2014-10-17 19:12:45 +01:00
Jordi Boggiano
b3f039339d
Support objects/arrays/resources a bit better, refs #410
2014-09-10 16:41:01 +01:00
Dawid Nowak
6a4b73468e
WebProcessor: option to add only requested extra fields, instead of always adding all available
2014-07-01 20:41:03 +02:00
Jordi Boggiano
0b654cec86
CS fixes
2014-04-23 09:20:48 +02:00
Jordi Boggiano
2dd41709c6
Merge pull request #347 from ipsq/master
...
Added tags for Raven
2014-04-04 17:17:39 +02:00
ipsq
7f4eb35fd6
Update TagProcessorTest.php
2014-04-01 17:10:41 +02:00
ipsq
5c10c2c395
Create TagProcessorTest.php
2014-03-31 20:31:17 +02:00
Hennadiy Verkh
36f3d0e52f
Added configuration option to MemoryProcessors with a possibility to disable formatting.
2014-03-24 10:51:45 +01:00
Jordi Boggiano
aff8d92e29
Add caching, group exec calls in one, refs #274
2013-11-20 13:28:13 +01:00