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 @@ -30,6 +30,7 @@ matrix:
30
30
env : DEPENDENCIES=dev
31
31
- php : 7.0
32
32
- php : 7.1
33
+ - php : 7.2
33
34
- php : hhvm
34
35
allow_failures :
35
36
- env : DEPENDENCIES=dev
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
13
13
14
+ use PHPUnit \Framework \TestCase ;
14
15
use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \AddProcessorsPass ;
15
16
use Symfony \Component \DependencyInjection \Reference ;
16
17
use Symfony \Component \DependencyInjection \Definition ;
17
18
use Symfony \Component \DependencyInjection \ContainerBuilder ;
18
19
use Symfony \Component \Config \FileLocator ;
19
20
use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
20
21
21
- class AddProcessorsPassTest extends \PHPUnit_Framework_TestCase
22
+ class AddProcessorsPassTest extends TestCase
22
23
{
23
24
public function testHandlerProcessors ()
24
25
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
13
13
14
+ use PHPUnit \Framework \TestCase ;
14
15
use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \AddSwiftMailerTransportPass ;
15
16
use Symfony \Component \DependencyInjection \Reference ;
16
17
17
18
/**
18
19
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
19
20
*/
20
- class AddSwiftMailerTransportPassTest extends \PHPUnit_Framework_TestCase
21
+ class AddSwiftMailerTransportPassTest extends TestCase
21
22
{
22
23
private $ compilerPass ;
23
24
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
13
13
14
+ use PHPUnit \Framework \TestCase ;
14
15
use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \FixEmptyLoggerPass ;
15
16
use Symfony \Component \DependencyInjection \ContainerBuilder ;
16
17
17
- class FixEmptyLoggerPassTest extends \PHPUnit_Framework_TestCase
18
+ class FixEmptyLoggerPassTest extends TestCase
18
19
{
19
20
public function testProcess ()
20
21
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection \Compiler ;
13
13
14
+ use PHPUnit \Framework \TestCase ;
14
15
use Symfony \Component \DependencyInjection \Reference ;
15
16
use Symfony \Component \DependencyInjection \Definition ;
16
17
use Symfony \Component \DependencyInjection \ContainerBuilder ;
17
18
use Symfony \Bundle \MonologBundle \DependencyInjection \Compiler \LoggerChannelPass ;
18
19
use Symfony \Component \Config \FileLocator ;
19
20
use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
20
21
21
- class LoggerChannelPassTest extends \PHPUnit_Framework_TestCase
22
+ class LoggerChannelPassTest extends TestCase
22
23
{
23
24
public function testProcess ()
24
25
{
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection ;
13
13
14
14
use Monolog \Logger ;
15
+ use PHPUnit \Framework \TestCase ;
15
16
use Symfony \Bundle \MonologBundle \DependencyInjection \Configuration ;
16
17
use Symfony \Component \Config \Definition \Processor ;
17
18
use Symfony \Component \Console \Output \OutputInterface ;
18
19
19
- class ConfigurationTest extends \PHPUnit_Framework_TestCase
20
+ class ConfigurationTest extends TestCase
20
21
{
21
22
/**
22
23
* Some basic tests to make sure the configuration is correctly processed in
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \MonologBundle \Tests \DependencyInjection ;
13
13
14
- abstract class DependencyInjectionTest extends \PHPUnit_Framework_TestCase
14
+ use PHPUnit \Framework \TestCase ;
15
+
16
+ abstract class DependencyInjectionTest extends TestCase
15
17
{
16
18
/**
17
19
* Assertion on the Class of a DIC Service Definition.
You can’t perform that action at this time.
0 commit comments