Code Duplication    Length = 3-3 lines in 2 locations

Sniffs/PHP/DeprecatedIniDirectivesSniff.php 1 location

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

Sniffs/PHP/NewIniDirectivesSniff.php 1 location

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