Code Duplication    Length = 7-7 lines in 2 locations

Sniffs/PHP/NewInterfacesSniff.php 2 locations

@@ 187-193 (lines=7) @@
184
        foreach ($interfaces as $interface) {
185
            $interfaceLc = strtolower($interface);
186
187
            if (isset($this->newInterfaces[$interfaceLc]) === true) {
188
                $itemInfo = array(
189
                    'name'   => $interface,
190
                    'nameLc' => $interfaceLc,
191
                );
192
                $this->handleFeature($phpcsFile, $stackPtr, $itemInfo);
193
            }
194
195
            if ($checkMethods === true && isset($this->unsupportedMethods[$interfaceLc]) === true) {
196
                $nextFunc = $stackPtr;
@@ 243-249 (lines=7) @@
240
241
            $typeHintLc = strtolower($hint);
242
243
            if (isset($this->newInterfaces[$typeHintLc]) === true) {
244
                $itemInfo = array(
245
                    'name'   => $hint,
246
                    'nameLc' => $typeHintLc,
247
                );
248
                $this->handleFeature($phpcsFile, $stackPtr, $itemInfo);
249
            }
250
        }
251
    }
252