Skip to content

Commit 5097779

Browse files
committed
WIP
1 parent e9f6d64 commit 5097779

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"require": {
2828
"php": ">=5.6",
29-
"phpunit/php-code-coverage": "~4.0||~5.0",
29+
"phpunit/php-code-coverage": "~5.0||~6.0",
3030
"sebastian/comparator": "~2.0",
3131
"behat/behat": "~3.0",
3232
"guzzlehttp/guzzle": "~6.0",
@@ -37,7 +37,7 @@
3737
"symfony/http-foundation": "~2.3||~3.0||~4.0"
3838
},
3939
"require-dev": {
40-
"phpunit/phpunit": "~5.0",
40+
"phpunit/phpunit": "~6.0",
4141
"mikey179/vfsStream": "1.6.*"
4242
},
4343
"suggest": {

src/Common/Report/Xml.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(array $options)
4242
$options['target'] = null;
4343
}
4444

45-
$this->report = new Facade(array());
45+
$this->report = new Facade('');
4646
$this->options = $options;
4747
}
4848

tests/Common/Report/XmlTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public function testProcess()
4747
try {
4848
$result = $report->process($coverage);
4949
} catch (\Exception $e) {
50-
print_r($e->getMessage());
50+
echo 'aaaa';
51+
echo($e->getMessage());
5152
$this->fail();
5253
}
5354
}

tests/Service/ReportServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Report service test
1515
*
1616
* @group Unit
17-
*/
17+
*
1818
class ReportServiceTest extends TestCase
1919
{
2020
public function __construct()

tests/VIPSoft/TestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88

99
namespace VIPSoft;
1010

11+
use PHPUnit\Framework\TestCase as BaseTestCase;
12+
1113
/**
1214
* Test case
1315
*
1416
* @author Anthon Pang <apang@softwaredevelopment.ca>
1517
*/
16-
class TestCase extends \PHPUnit_Framework_TestCase
18+
class TestCase extends BaseTestCase
1719
{
1820
/**
1921
* @var array

0 commit comments

Comments
 (0)