mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-25 14:10:55 +02:00
Tweak const visibility, refs #1228
This commit is contained in:
@@ -120,7 +120,7 @@ class WildfireFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
'level_name' => 'ERROR',
|
||||
'channel' => 'table-channel',
|
||||
'context' => [
|
||||
WildfireFormatter::TABLE => [
|
||||
'table' => [
|
||||
['col1', 'col2', 'col3'],
|
||||
['val1', 'val2', 'val3'],
|
||||
['foo1', 'foo2', 'foo3'],
|
||||
|
@@ -39,7 +39,7 @@ class ChromePHPHandlerTest extends TestCase
|
||||
|
||||
$expected = [
|
||||
'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode([
|
||||
'version' => ChromePHPHandler::VERSION,
|
||||
'version' => '4.0',
|
||||
'columns' => ['label', 'log', 'backtrace', 'type'],
|
||||
'rows' => [
|
||||
'test',
|
||||
@@ -73,7 +73,7 @@ class ChromePHPHandlerTest extends TestCase
|
||||
|
||||
$expected = [
|
||||
'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode([
|
||||
'version' => ChromePHPHandler::VERSION,
|
||||
'version' => '4.0',
|
||||
'columns' => ['label', 'log', 'backtrace', 'type'],
|
||||
'rows' => [
|
||||
[
|
||||
@@ -116,7 +116,7 @@ class ChromePHPHandlerTest extends TestCase
|
||||
|
||||
$expected = [
|
||||
'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode([
|
||||
'version' => ChromePHPHandler::VERSION,
|
||||
'version' => '4.0',
|
||||
'columns' => ['label', 'log', 'backtrace', 'type'],
|
||||
'rows' => [
|
||||
'test',
|
||||
|
@@ -80,6 +80,6 @@ class FleepHookHandlerTest extends TestCase
|
||||
*/
|
||||
public function testConnectionStringisConstructedCorrectly()
|
||||
{
|
||||
$this->assertEquals('ssl://' . FleepHookHandler::FLEEP_HOST . ':443', $this->handler->getConnectionString());
|
||||
$this->assertEquals('ssl://fleep.io:443', $this->handler->getConnectionString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user