Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MetadataCollection.php

function MetadataCollection::isIgnoreMethodForCodeCoverage

Deprecated

https://github.com/sebastianbergmann/phpunit/issues/5513

File

vendor/phpunit/phpunit/src/Metadata/MetadataCollection.php, line 319

Class

MetadataCollection
@template-implements IteratorAggregate<int, Metadata>

Namespace

PHPUnit\Metadata

Code

public function isIgnoreMethodForCodeCoverage() : self {
    return new self(...array_filter($this->metadata, static fn(Metadata $metadata): bool => $metadata->isIgnoreMethodForCodeCoverage()));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal