Code Duplication    Length = 8-8 lines in 2 locations

Sniffs/PHP/ForbiddenNamesSniff.php 2 locations

@@ 210-217 (lines=8) @@
207
            return;
208
        }
209
210
        if ($this->supportsAbove($this->invalidNames[$nextContentLc])) {
211
            $error = "Function name, class name, namespace name or constant name can not be reserved keyword '%s' (since version %s)";
212
            $data  = array(
213
                $tokens[$nextNonEmpty]['content'],
214
                $this->invalidNames[$nextContentLc],
215
            );
216
            $phpcsFile->addError($error, $stackPtr, 'Found', $data);
217
        }
218
219
    }//end process()
220
@@ 256-263 (lines=8) @@
253
        $defineName = strtolower($firstParam['raw']);
254
        $defineName = trim($defineName, '\'"');
255
256
        if (isset($this->invalidNames[$defineName]) && $this->supportsAbove($this->invalidNames[$defineName])) {
257
            $error = "Function name, class name, namespace name or constant name can not be reserved keyword '%s' (since PHP version %s)";
258
            $data  = array(
259
                $defineName,
260
                $this->invalidNames[$defineName],
261
            );
262
            $phpcsFile->addError($error, $stackPtr, 'Found', $data);
263
        }
264
265
    }//end process()
266