mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Fixed undeclared properties
This commit is contained in:
@@ -20,8 +20,8 @@ use Monolog\Logger;
|
||||
*/
|
||||
class MandrillHandler extends MailHandler
|
||||
{
|
||||
protected $client;
|
||||
protected $message;
|
||||
protected $apiKey;
|
||||
|
||||
/**
|
||||
* @param string $apiKey A valid Mandrill API key
|
||||
|
@@ -15,6 +15,10 @@ class UdpSocket
|
||||
{
|
||||
const DATAGRAM_MAX_LENGTH = 65023;
|
||||
|
||||
protected $ip;
|
||||
protected $port;
|
||||
protected $socket;
|
||||
|
||||
public function __construct($ip, $port = 514)
|
||||
{
|
||||
$this->ip = $ip;
|
||||
|
@@ -21,6 +21,8 @@ use Monolog\Handler\SyslogUdp\UdpSocket;
|
||||
*/
|
||||
class SyslogUdpHandler extends AbstractSyslogHandler
|
||||
{
|
||||
protected $socket;
|
||||
|
||||
/**
|
||||
* @param string $host
|
||||
* @param int $port
|
||||
|
@@ -3,6 +3,8 @@ namespace Monolog\Formatter;
|
||||
|
||||
class ScalarFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
private $formatter;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->formatter = new ScalarFormatter();
|
||||
|
@@ -15,6 +15,8 @@ use Monolog\TestCase;
|
||||
|
||||
class DynamoDbHandlerTest extends TestCase
|
||||
{
|
||||
private $client;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
if (!class_exists('Aws\DynamoDb\DynamoDbClient')) {
|
||||
|
Reference in New Issue
Block a user