Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 173-183 (lines=11) @@
170
     *
171
     * @since  Method available since Release 3.0.0
172
     */
173
    public static function assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false)
174
    {
175
        self::assertContains(
176
            $needle,
177
            self::readAttribute($haystackClassOrObject, $haystackAttributeName),
178
            $message,
179
            $ignoreCase,
180
            $checkForObjectIdentity,
181
            $checkForNonObjectIdentity
182
        );
183
    }
184
185
    /**
186
     * Asserts that a haystack does not contain a needle.
@@ 246-256 (lines=11) @@
243
     *
244
     * @since  Method available since Release 3.0.0
245
     */
246
    public static function assertAttributeNotContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false)
247
    {
248
        self::assertNotContains(
249
            $needle,
250
            self::readAttribute($haystackClassOrObject, $haystackAttributeName),
251
            $message,
252
            $ignoreCase,
253
            $checkForObjectIdentity,
254
            $checkForNonObjectIdentity
255
        );
256
    }
257
258
    /**
259
     * Asserts that a haystack contains only values of a given type.