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