1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-19 03:11:19 +02:00

Add phpstan strict rules and deprecation rules, fix all related issues

This commit is contained in:
Jordi Boggiano
2022-04-24 11:08:10 +02:00
parent ad732b37a7
commit 6627c092d8
62 changed files with 335 additions and 186 deletions

View File

@@ -25,7 +25,7 @@ class LogmaticFormatterTest extends TestCase
{
$formatter = new LogmaticFormatter();
$formatter->setHostname('testHostname');
$formatter->setAppname('testAppname');
$formatter->setAppName('testAppname');
$record = $this->getRecord();
$formatted_decoded = json_decode($formatter->format($record), true);
$this->assertArrayHasKey('hostname', $formatted_decoded);