Code Duplication    Length = 3-3 lines in 2 locations

Sniffs/PHP/DeprecatedIniDirectivesSniff.php 1 location

@@ 292-294 (lines=3) @@
289
        $errorInfo = parent::getErrorInfo($itemArray, $itemInfo);
290
291
        // Lower error level to warning if the function used was ini_get.
292
        if ($errorInfo['error'] === true && $itemInfo['functionLc'] === 'ini_get') {
293
            $errorInfo['error'] = false;
294
        }
295
296
        return $errorInfo;
297
    }

Sniffs/PHP/NewIniDirectivesSniff.php 1 location

@@ 569-571 (lines=3) @@
566
        }
567
568
        // Lower error level to warning if the function used was ini_get.
569
        if ($errorInfo['error'] === true && $itemInfo['functionLc'] === 'ini_get') {
570
            $errorInfo['error'] = false;
571
        }
572
573
        return $errorInfo;
574
    }