File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 17
17
global :
18
18
- TEST_COMMAND="composer test"
19
19
matrix :
20
- - SYMFONY_VERSION=3.2 .*
20
+ - SYMFONY_VERSION=3.3 .*
21
21
- SYMFONY_VERSION=2.3.*
22
22
23
23
matrix :
24
24
fast_finish : true
25
25
include :
26
26
- php : 5.5
27
27
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.3.*
28
+ - php : 7.1
29
+ env : SYMFONY_VERSION=4.0.*
28
30
29
31
install :
30
32
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
Original file line number Diff line number Diff line change 13
13
"php" : " ^5.5 || ^7.0"
14
14
},
15
15
"require-dev" : {
16
- "phpunit/phpunit" : " ^4.5 || ^5.4 " ,
17
- "symfony/symfony" : " ^2.3 || ^3.0"
16
+ "phpunit/phpunit" : " ^4.8.36 || ^5.5 || ^6.2 " ,
17
+ "symfony/symfony" : " ^2.3 || ^3.0 || ^4.0 "
18
18
},
19
19
"autoload" : {
20
20
"psr-4" : { "Nyholm\\ BundleTest\\ " : " src/" }
25
25
"scripts" : {
26
26
"test" : " vendor/bin/phpunit" ,
27
27
"test-ci" : " vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
28
- }
28
+ },
29
+ "minimum-stability" : " dev" ,
30
+ "prefer-stable" : true
29
31
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Nyholm \BundleTest ;
4
4
5
+ use PHPUnit \Framework \TestCase ;
5
6
use Symfony \Component \DependencyInjection \ResettableContainerInterface ;
6
7
use Symfony \Component \HttpKernel \Kernel ;
7
8
8
9
/**
9
10
* @author Tobias Nyholm <[email protected] >
10
11
*/
11
- abstract class BaseBundleTestCase extends \PHPUnit_Framework_TestCase
12
+ abstract class BaseBundleTestCase extends TestCase
12
13
{
13
14
/**
14
15
* @var AppKernel
You can’t perform that action at this time.
0 commit comments