Code Duplication    Length = 15-15 lines in 2 locations

src/Files/File.php 2 locations

@@ 688-702 (lines=15) @@
685
     *
686
     * @return boolean
687
     */
688
    public function addFixableError(
689
        $error,
690
        $stackPtr,
691
        $code,
692
        $data=array(),
693
        $severity=0
694
    ) {
695
        $recorded = $this->addError($error, $stackPtr, $code, $data, $severity, true);
696
        if ($recorded === true && $this->fixer->enabled === true) {
697
            return true;
698
        }
699
700
        return false;
701
702
    }//end addFixableError()
703
704
705
    /**
@@ 719-733 (lines=15) @@
716
     *
717
     * @return boolean
718
     */
719
    public function addFixableWarning(
720
        $warning,
721
        $stackPtr,
722
        $code,
723
        $data=array(),
724
        $severity=0
725
    ) {
726
        $recorded = $this->addWarning($warning, $stackPtr, $code, $data, $severity, true);
727
        if ($recorded === true && $this->fixer->enabled === true) {
728
            return true;
729
        }
730
731
        return false;
732
733
    }//end addFixableWarning()
734
735
736
    /**