1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 6

This commit is contained in:
Jordi Boggiano
2021-05-28 10:29:33 +02:00
parent 5c9d9bf43e
commit 01d104aa78
88 changed files with 791 additions and 180 deletions

View File

@@ -54,8 +54,8 @@ class ErrorHandlerTest extends \PHPUnit\Framework\TestCase
public function fatalHandlerProvider()
{
return [
[null, 10, str_repeat(' ', 1024 * 10), null],
[E_ALL, 15, str_repeat(' ', 1024 * 15), E_ALL],
[null, 10, str_repeat(' ', 1024 * 10), LogLevel::ALERT],
[LogLevel::DEBUG, 15, str_repeat(' ', 1024 * 15), LogLevel::DEBUG],
];
}