@@ -120,10 +120,17 @@
Loading
120 120
        }
121 121
122 122
        $originalDir = getcwd();
123 -
        chdir(BASE_PATH);
123 +
124 +
        if ($originalDir !== BASE_PATH) {
125 +
            chdir(BASE_PATH);
126 +
        }
127 +
124 128
        /** @var Composer $composer */
125 129
        $composer = Factory::create(new NullIO());
126 130
        $this->setComposer($composer);
127 -
        chdir($originalDir);
131 +
132 +
        if ($originalDir !== BASE_PATH) {
133 +
            chdir($originalDir);
134 +
        }
128 135
    }
129 136
}
Files Complexity Coverage
src 36 42.16%
Project Totals (4 files) 36 42.16%
Notifications are pending CI completion. Periodically Codecov will check the CI state, when complete notifications will be submitted. Push notifications now.
184.2
7.1=.1
TRAVIS_OS_NAME=linux
1
comment: false
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