kylekatarnls / multi-tester

Compare cef36a4 ... +0 ... dcc91aa

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -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']

@@ -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)

Learn more Showing 12 files with coverage changes found.

Changes in src/MultiTester/Config.php
+57
Loading file...
Changes in src/MultiTester/Traits/WorkingDirectory.php
+4
Loading file...
Changes in src/MultiTester/File.php
+12
Loading file...
Changes in src/MultiTester/Traits/Verbose.php
+4
Loading file...
Changes in src/MultiTester/MultiTester.php
+116
Loading file...
Changes in src/MultiTester/Summary.php
+27
Loading file...
Changes in src/MultiTester/Traits/TravisFile.php
+4
Loading file...
Changes in src/MultiTester/Traits/ProcStreams.php
+4
Loading file...
Changes in src/MultiTester/Project.php
+150
Loading file...
Changes in src/MultiTester/Traits/StorageDirectory.php
+4
Loading file...
Changes in src/MultiTester/Traits/MultiTesterFile.php
+4
Loading file...
Changes in src/MultiTester/Directory.php
+50
Loading file...
Files Complexity Coverage
src/MultiTester ø 100.00%
Project Totals (12 files) 191 100.00%
Loading