File tree Expand file tree Collapse file tree 7 files changed +14
-6
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 7 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ matrix:
2828 env : DEPENDENCIES=dev
2929 - php : 7.0
3030 - php : 7.1
31+ - php : 7.2
3132 - php : hhvm
3233 allow_failures :
3334 - env : DEPENDENCIES=dev
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
1313
14+ use PHPUnit \Framework \TestCase ;
1415use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \AddProcessorsPass ;
1516use Symfony \Component \DependencyInjection \Reference ;
1617use Symfony \Component \DependencyInjection \Definition ;
1718use Symfony \Component \DependencyInjection \ContainerBuilder ;
1819use Symfony \Component \Config \FileLocator ;
1920use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
2021
21- class AddProcessorsPassTest extends \PHPUnit_Framework_TestCase
22+ class AddProcessorsPassTest extends TestCase
2223{
2324 public function testHandlerProcessors ()
2425 {
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
1313
14+ use PHPUnit \Framework \TestCase ;
1415use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \AddSwiftMailerTransportPass ;
1516use Symfony \Component \DependencyInjection \Reference ;
1617
1718/**
1819 * @author Christian Flothmann <christian.flothmann@xabbuh.de>
1920 */
20- class AddSwiftMailerTransportPassTest extends \PHPUnit_Framework_TestCase
21+ class AddSwiftMailerTransportPassTest extends TestCase
2122{
2223 private $ compilerPass ;
2324
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
1313
14+ use PHPUnit \Framework \TestCase ;
1415use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \FixEmptyLoggerPass ;
1516use Symfony \Component \DependencyInjection \ContainerBuilder ;
1617
17- class FixEmptyLoggerPassTest extends \PHPUnit_Framework_TestCase
18+ class FixEmptyLoggerPassTest extends TestCase
1819{
1920 public function testProcess ()
2021 {
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
1313
14+ use PHPUnit \Framework \TestCase ;
1415use Symfony \Component \DependencyInjection \Reference ;
1516use Symfony \Component \DependencyInjection \Definition ;
1617use Symfony \Component \DependencyInjection \ContainerBuilder ;
1718use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \LoggerChannelPass ;
1819use Symfony \Component \Config \FileLocator ;
1920use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
2021
21- class LoggerChannelPassTest extends \PHPUnit_Framework_TestCase
22+ class LoggerChannelPassTest extends TestCase
2223{
2324 public function testProcess ()
2425 {
Original file line number Diff line number Diff line change 1212namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection ;
1313
1414use Monolog \Logger ;
15+ use PHPUnit \Framework \TestCase ;
1516use Symfony \Bundle \MonologBundle \DependencyInjection \Configuration ;
1617use Symfony \Component \Config \Definition \Processor ;
1718use Symfony \Component \Console \Output \OutputInterface ;
1819
19- class ConfigurationTest extends \PHPUnit_Framework_TestCase
20+ class ConfigurationTest extends TestCase
2021{
2122 /**
2223 * Some basic tests to make sure the configuration is correctly processed in
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection ;
1313
14- abstract class DependencyInjectionTest extends \PHPUnit_Framework_TestCase
14+ use PHPUnit \Framework \TestCase ;
15+
16+ abstract class DependencyInjectionTest extends TestCase
1517{
1618 /**
1719 * Assertion on the Class of a DIC Service Definition.
You can’t perform that action at this time.
0 commit comments