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

Breadcrumb

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

function CodeCoverage::merge

Merges the data from another instance.

File

vendor/phpunit/php-code-coverage/src/CodeCoverage.php, line 267

Class

CodeCoverage
Provides collection functionality for PHP code coverage information.

Namespace

SebastianBergmann\CodeCoverage

Code

public function merge(self $that) : void {
    $this->filter
        ->includeFiles($that->filter()
        ->files());
    $this->data
        ->merge($that->data);
    $this->tests = array_merge($this->tests, $that->getTests());
    $this->cachedReport = null;
}
RSS feed
Powered by Drupal