Code Duplication    Length = 12-14 lines in 2 locations

vendor/phpunit/phpunit/src/Framework/Assert.php 2 locations

@@ 503-514 (lines=12) @@
500
     * @param bool   $canonicalize
501
     * @param bool   $ignoreCase
502
     */
503
    public static function assertEquals($expected, $actual, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false)
504
    {
505
        $constraint = new PHPUnit_Framework_Constraint_IsEqual(
506
            $expected,
507
            $delta,
508
            $maxDepth,
509
            $canonicalize,
510
            $ignoreCase
511
        );
512
513
        self::assertThat($actual, $constraint, $message);
514
    }
515
516
    /**
517
     * Asserts that a variable is equal to an attribute of an object.
@@ 554-567 (lines=14) @@
551
     *
552
     * @since  Method available since Release 2.3.0
553
     */
554
    public static function assertNotEquals($expected, $actual, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false)
555
    {
556
        $constraint = new PHPUnit_Framework_Constraint_Not(
557
            new PHPUnit_Framework_Constraint_IsEqual(
558
                $expected,
559
                $delta,
560
                $maxDepth,
561
                $canonicalize,
562
                $ignoreCase
563
            )
564
        );
565
566
        self::assertThat($actual, $constraint, $message);
567
    }
568
569
    /**
570
     * Asserts that a variable is not equal to an attribute of an object.