Skip to content

Commit 8a789ef

Browse files
committed
Updating 'satooshi/php-coveralls' to use version 1.0.*
This involves changing reference from 'Contrib\\' to new namespace, 'Satooshi\\' and changing 'setSrcDir' to 'setRootDir' method on 'Configuration' class since 'setSrcDir' has been removed.
1 parent 02790d7 commit 8a789ef

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"require": {
1616
"php": ">=5.3",
1717
"ext-curl": "*",
18-
"satooshi/php-coveralls": "0.6.*",
18+
"satooshi/php-coveralls": "1.0.*",
1919
"symfony/console": ">=2.0"
2020
},
2121
"require-dev": {

Diff for: src/CodeClimate/Bundle/TestReporterBundle/CoverageCollector.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
use CodeClimate\Component\System\Git\GitCommand;
55
use CodeClimate\Bundle\TestReporterBundle\Entity\JsonFile;
6-
use Contrib\Bundle\CoverallsV1Bundle\Api\Jobs;
7-
use Contrib\Bundle\CoverallsV1Bundle\Config\Configuration;
6+
use Satooshi\Bundle\CoverallsV1Bundle\Api\Jobs;
7+
use Satooshi\Bundle\CoverallsV1Bundle\Config\Configuration;
88

99
class CoverageCollector
1010
{
@@ -20,7 +20,7 @@ public function __construct($paths)
2020
{
2121
$rootDir = getcwd();
2222
$config = new Configuration();
23-
$config->setSrcDir($rootDir);
23+
$config->setRootDir($rootDir);
2424
$this->setCloverPaths($paths);
2525
foreach ($this->getCloverPaths() as $path) {
2626
if (file_exists($path)) {

Diff for: src/CodeClimate/Bundle/TestReporterBundle/Entity/JsonFile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use CodeClimate\Component\System\Git\GitCommand;
55
use CodeClimate\Bundle\TestReporterBundle\Entity\CiInfo;
66
use CodeClimate\Bundle\TestReporterBundle\Version;
7-
use Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile as SatooshiJsonFile;
7+
use Satooshi\Bundle\CoverallsV1Bundle\Entity\JsonFile as SatooshiJsonFile;
88

99
class JsonFile extends SatooshiJsonFile
1010
{

0 commit comments

Comments
 (0)