kylekatarnls / multi-tester

@@ -11,8 +11,12 @@
Loading
11 11
12 12
class MultiTester
13 13
{
14 -
    use WorkingDirectory, MultiTesterFile, TravisFile, StorageDirectory, ProcStreams, Verbose;
15 -
14 +
    use WorkingDirectory;
15 +
    use MultiTesterFile;
16 +
    use TravisFile;
17 +
    use StorageDirectory;
18 +
    use ProcStreams;
19 +
    use Verbose;
16 20
    /**
17 21
     * @var array|File Composer package settings cache.
18 22
     */
@@ -25,7 +29,7 @@
Loading
25 29
26 30
    public function __construct($storageDirectory = null)
27 31
    {
28 -
        $this->storageDirectory = $storageDirectory ?: sys_get_temp_dir();
32 +
        $this->storageDirectory = $storageDirectory ?? sys_get_temp_dir();
29 33
    }
30 34
31 35
    public function exec($command, $quiet = false)

@@ -174,7 +174,7 @@
Loading
174 174
            $package = $this->getPackage();
175 175
            $tester = $this->getConfig()->getTester();
176 176
            $composerSettings = $tester->getComposerSettings($package);
177 -
            $version = $this->filterVersion($settings['version'], array_keys($composerSettings ?: []));
177 +
            $version = $this->filterVersion($settings['version'], array_keys($composerSettings ?? []));
178 178
179 179
            $settings['source'] = isset($composerSettings[$version]['source'])
180 180
                ? $composerSettings[$version]['source']
Files Complexity Coverage
src/MultiTester 191 100.00%
Project Totals (12 files) 191 100.00%
105.3
7.3=.3
TRAVIS_OS_NAME=linux
105.1
7.1=.1
TRAVIS_OS_NAME=linux
105.4
TRAVIS_OS_NAME=linux
7.4=.4
105.2
7.2=.2
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading