mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-26 18:16:24 +01:00
CS fixes
This commit is contained in:
@@ -22,7 +22,7 @@ class JsonFormatter implements FormatterInterface
|
||||
{
|
||||
const BATCH_MODE_JSON = 1;
|
||||
const BATCH_MODE_NEWLINES = 2;
|
||||
|
||||
|
||||
protected $batchMode;
|
||||
protected $appendNewline;
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ use Monolog\Logger;
|
||||
*/
|
||||
class LogEntriesHandler extends SocketHandler
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@@ -53,5 +52,4 @@ class LogEntriesHandler extends SocketHandler
|
||||
{
|
||||
return $this->logToken . ' ' . $record['formatted'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,5 +18,4 @@ namespace Monolog\Handler;
|
||||
*/
|
||||
class MissingExtensionException extends \Exception
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -281,5 +281,4 @@ class SocketHandler extends AbstractProcessingHandler
|
||||
throw new \RuntimeException("End-of-file reached, probably we got disconnected (sent $sent of $length)");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace Monolog\Handler;
|
||||
|
||||
/**
|
||||
* Forwards records to multiple handlers suppressing failures of each handler
|
||||
* Forwards records to multiple handlers suppressing failures of each handler
|
||||
* and continuing through to give every handler a chance to succeed.
|
||||
*
|
||||
* @author Craig D'Amelio <craig@damelio.ca>
|
||||
|
||||
@@ -60,5 +60,4 @@ abstract class MemoryProcessor
|
||||
|
||||
return $bytes . ' B';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class WebProcessor
|
||||
public function __construct($serverData = null, array $extraFields = null)
|
||||
{
|
||||
if (null === $serverData) {
|
||||
$this->serverData =& $_SERVER;
|
||||
$this->serverData = &$_SERVER;
|
||||
} elseif (is_array($serverData) || $serverData instanceof \ArrayAccess) {
|
||||
$this->serverData = $serverData;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user