Code Duplication    Length = 3-3 lines in 2 locations

PHPCompatibility/Sniffs/PHP/DeprecatedIniDirectivesSniff.php 1 location

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

PHPCompatibility/Sniffs/PHP/NewIniDirectivesSniff.php 1 location

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