Code Duplication    Length = 15-15 lines in 2 locations

src/Files/File.php 2 locations

@@ 648-662 (lines=15) @@
645
     *
646
     * @return boolean
647
     */
648
    public function addFixableError(
649
        $error,
650
        $stackPtr,
651
        $code,
652
        $data=array(),
653
        $severity=0
654
    ) {
655
        $recorded = $this->addError($error, $stackPtr, $code, $data, $severity, true);
656
        if ($recorded === true && $this->fixer->enabled === true) {
657
            return true;
658
        }
659
660
        return false;
661
662
    }//end addFixableError()
663
664
665
    /**
@@ 679-693 (lines=15) @@
676
     *
677
     * @return boolean
678
     */
679
    public function addFixableWarning(
680
        $warning,
681
        $stackPtr,
682
        $code,
683
        $data=array(),
684
        $severity=0
685
    ) {
686
        $recorded = $this->addWarning($warning, $stackPtr, $code, $data, $severity, true);
687
        if ($recorded === true && $this->fixer->enabled === true) {
688
            return true;
689
        }
690
691
        return false;
692
693
    }//end addFixableWarning()
694
695
696
    /**