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

14 Commits

Author SHA1 Message Date
Markus Staab
7ca003e6ae Rename TestCase to MonologTestCase (#1953) 2025-03-16 13:30:20 +01: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
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
f2f66cd480 Fix tests 2022-03-18 10:48:03 +01:00
George Mponos
bff59f7642 Fix failing tests 2018-11-21 22:58:31 +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
Kris Wallsmith
0f5cdb285a added level to introspection processor 2013-09-26 12:52:23 -07:00
Kris Wallsmith
8af986b161 moved stubs up so line numbers don't change 2013-09-26 12:43:13 -07:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +02:00
Jordi Boggiano
f93d6f0837 Added IntrospectionProcessor: Adds the line/file/class/method from which the log call originated 2011-07-04 21:32:49 +02:00