Code Duplication    Length = 8-8 lines in 2 locations

src/SyncerCommand.php 2 locations

@@ 158-165 (lines=8) @@
155
     * @param  array $results Environment Variable Results.
156
     * @return void
157
     */
158
    protected function checkForCiBuild(array $results)
159
    {
160
        foreach ($results as $row) {
161
            if ($row['insource'] == 'Yes' && $row['inenvexample'] == 'No') {
162
                $this->exitCode = 1;
163
            }
164
        }
165
    }
166
167
    /**
168
     * If a variable is defined in the source code but
@@ 174-181 (lines=8) @@
171
     * @param  array $results Environment Variable Results.
172
     * @return void
173
     */
174
    protected function checkForDeploy(array $results)
175
    {
176
        foreach ($results as $row) {
177
            if ($row['insource'] == 'Yes' && $row['inenv'] == 'No') {
178
                $this->exitCode = 1;
179
            }
180
        }
181
    }
182
183
    /**
184
     * Collects the command line arguments.