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

Breadcrumb

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

function PcovDriver::stop

Overrides Driver::stop

File

vendor/phpunit/php-code-coverage/src/Driver/PcovDriver.php, line 46

Class

PcovDriver
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage

Namespace

SebastianBergmann\CodeCoverage\Driver

Code

public function stop() : RawCodeCoverageData {
    stop();
    $filesToCollectCoverageFor = waiting();
    $collected = [];
    if ($filesToCollectCoverageFor) {
        if (!$this->filter
            ->isEmpty()) {
            $filesToCollectCoverageFor = array_intersect($filesToCollectCoverageFor, $this->filter
                ->files());
        }
        $collected = collect(inclusive, $filesToCollectCoverageFor);
        clear();
    }
    return RawCodeCoverageData::fromXdebugWithoutPathCoverage($collected);
}

API Navigation

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