File tree 5 files changed +10
-6
lines changed
5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 28
28
},
29
29
"require-dev" : {
30
30
"friendsofphp/php-cs-fixer" : " ^2.0.0" ,
31
- "phpunit/phpunit" : " ^4.8.31 "
31
+ "phpunit/phpunit" : " ^4.8.35 || ^5.7.0 || ^6.0.0 "
32
32
},
33
33
"autoload" : {
34
34
"psr-4" : {
Original file line number Diff line number Diff line change 2
2
3
3
<phpunit
4
4
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : noNamespaceSchemaLocation =" http://schema. phpunit.de/4.8 /phpunit.xsd"
5
+ xsi : noNamespaceSchemaLocation =" vendor/ phpunit/phpunit /phpunit.xsd"
6
6
backupGlobals =" false"
7
7
backupStaticAttributes =" false"
8
+ beStrictAboutOutputDuringTests =" true"
9
+ beStrictAboutTestsThatDoNotTestAnything =" true"
10
+ beStrictAboutTodoAnnotatedTests =" true"
8
11
colors =" true"
9
12
convertErrorsToExceptions =" true"
10
13
convertNoticesToExceptions =" true"
11
14
convertWarningsToExceptions =" true"
12
15
processIsolation =" false"
13
16
stopOnFailure =" false"
17
+ failOnWarning =" true"
14
18
bootstrap =" vendor/autoload.php" >
15
19
<testsuites >
16
20
<testsuite name =" PHP test reporter test suite" >
19
23
</testsuites >
20
24
21
25
<filter >
22
- <whitelist >
26
+ <whitelist addUncoveredFilesFromWhitelist = " true " processUncoveredFilesFromWhitelist = " true " >
23
27
<directory >./src</directory >
24
28
<exclude >
25
29
<directory >./composer</directory >
Original file line number Diff line number Diff line change 4
4
use CodeClimate \PhpTestReporter \Application ;
5
5
use Symfony \Component \Console \Tester \ApplicationTester ;
6
6
7
- class ApplicationTest extends \PHPUnit_Framework_TestCase
7
+ class ApplicationTest extends \PHPUnit \ Framework \TestCase
8
8
{
9
9
const PROJECT_DIR = "/tmp/php-test-reporter-example-project " ;
10
10
Original file line number Diff line number Diff line change 4
4
5
5
use CodeClimate \PhpTestReporter \System \Git \GitInfo ;
6
6
7
- class GitInfoTest extends \PHPUnit_Framework_TestCase
7
+ class GitInfoTest extends \PHPUnit \ Framework \TestCase
8
8
{
9
9
public function testIsFinal ()
10
10
{
Original file line number Diff line number Diff line change 4
4
5
5
use CodeClimate \PhpTestReporter \TestReporter \Entity \CiInfo ;
6
6
7
- final class CiInfoTest extends \PHPUnit_Framework_TestCase
7
+ final class CiInfoTest extends \PHPUnit \ Framework \TestCase
8
8
{
9
9
public function testToArrayReturnsEmptyArrayIfUnableToDetermineEnvironment ()
10
10
{
You can’t perform that action at this time.
0 commit comments