mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
Use namespaced phpunit classes, fixes #983
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"psr/log": "^1.0.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.5",
|
||||
"phpunit/phpunit": "^5.7",
|
||||
"graylog2/gelf-php": "^1.4.2",
|
||||
"sentry/sentry": "^0.13",
|
||||
"ruflin/elastica": ">=0.90 <3.0",
|
||||
|
@@ -20,7 +20,7 @@ use Monolog\Formatter\FormatterInterface;
|
||||
* *
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
class TestCase extends \PHPUnit_Framework_TestCase
|
||||
class TestCase extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @return array Record
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog;
|
||||
|
||||
use Monolog\Handler\TestHandler;
|
||||
|
||||
class ErrorHandlerTest extends \PHPUnit_Framework_TestCase
|
||||
class ErrorHandlerTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testRegister()
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class ChromePHPFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class ChromePHPFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Formatter\ChromePHPFormatter::format
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class ElasticaFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class ElasticaFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class GelfMessageFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
|
@@ -14,7 +14,7 @@ namespace Monolog\Formatter;
|
||||
/**
|
||||
* @covers Monolog\Formatter\LineFormatter
|
||||
*/
|
||||
class LineFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class LineFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testDefFormatWithString()
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class LogstashFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class LogstashFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function tearDown()
|
||||
{
|
||||
|
@@ -16,7 +16,7 @@ use Monolog\Logger;
|
||||
/**
|
||||
* @author Florian Plattner <me@florianplattner.de>
|
||||
*/
|
||||
class MongoDBFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class MongoDBFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
|
@@ -14,7 +14,7 @@ namespace Monolog\Formatter;
|
||||
/**
|
||||
* @covers Monolog\Formatter\NormalizerFormatter
|
||||
*/
|
||||
class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class NormalizerFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function tearDown()
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\DateTimeImmutable;
|
||||
|
||||
class ScalarFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class ScalarFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
private $formatter;
|
||||
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class WildfireFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
class WildfireFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Formatter\WildfireFormatter::format
|
||||
|
@@ -13,7 +13,7 @@ namespace Monolog\Handler;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class SyslogHandlerTest extends \PHPUnit_Framework_TestCase
|
||||
class SyslogHandlerTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Handler\SyslogHandler::__construct
|
||||
|
@@ -14,7 +14,7 @@ namespace Monolog;
|
||||
use Monolog\Processor\WebProcessor;
|
||||
use Monolog\Handler\TestHandler;
|
||||
|
||||
class LoggerTest extends \PHPUnit_Framework_TestCase
|
||||
class LoggerTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Logger::getName
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
class PsrLogMessageProcessorTest extends \PHPUnit_Framework_TestCase
|
||||
class PsrLogMessageProcessorTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider getPairs
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Monolog;
|
||||
|
||||
class RegistryTest extends \PHPUnit_Framework_TestCase
|
||||
class RegistryTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
|
Reference in New Issue
Block a user