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

Breadcrumb

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

function PHPUnit::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Event/Value/Runtime/PHPUnit.php \PHPUnit\Event\Runtime\PHPUnit::__construct()

@psalm-param ?non-empty-string $extensionsDirectory

File

vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/PHPUnit.php, line 83

Class

PHPUnit
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\TextUI\XmlConfiguration

Code

public function __construct(?string $cacheDirectory, bool $cacheResult, ?string $cacheResultFile, int|string $columns, string $colors, bool $stderr, bool $displayDetailsOnIncompleteTests, bool $displayDetailsOnSkippedTests, bool $displayDetailsOnTestsThatTriggerDeprecations, bool $displayDetailsOnPhpunitDeprecations, bool $displayDetailsOnTestsThatTriggerErrors, bool $displayDetailsOnTestsThatTriggerNotices, bool $displayDetailsOnTestsThatTriggerWarnings, bool $reverseDefectList, bool $requireCoverageMetadata, ?string $bootstrap, bool $processIsolation, bool $failOnDeprecation, bool $failOnPhpunitDeprecation, bool $failOnEmptyTestSuite, bool $failOnIncomplete, bool $failOnNotice, bool $failOnRisky, bool $failOnSkipped, bool $failOnWarning, bool $stopOnDefect, bool $stopOnDeprecation, bool $stopOnError, bool $stopOnFailure, bool $stopOnIncomplete, bool $stopOnNotice, bool $stopOnRisky, bool $stopOnSkipped, bool $stopOnWarning, ?string $extensionsDirectory, bool $beStrictAboutChangesToGlobalState, bool $beStrictAboutOutputDuringTests, bool $beStrictAboutTestsThatDoNotTestAnything, bool $beStrictAboutCoverageMetadata, bool $enforceTimeLimit, int $defaultTimeLimit, int $timeoutForSmallTests, int $timeoutForMediumTests, int $timeoutForLargeTests, ?string $defaultTestSuite, int $executionOrder, bool $resolveDependencies, bool $defectsFirst, bool $backupGlobals, bool $backupStaticProperties, bool $registerMockObjectsFromTestArgumentsRecursively, bool $testdoxPrinter, bool $controlGarbageCollector, int $numberOfTestsBeforeGarbageCollection) {
    $this->cacheDirectory = $cacheDirectory;
    $this->cacheResult = $cacheResult;
    $this->cacheResultFile = $cacheResultFile;
    $this->columns = $columns;
    $this->colors = $colors;
    $this->stderr = $stderr;
    $this->displayDetailsOnIncompleteTests = $displayDetailsOnIncompleteTests;
    $this->displayDetailsOnSkippedTests = $displayDetailsOnSkippedTests;
    $this->displayDetailsOnTestsThatTriggerDeprecations = $displayDetailsOnTestsThatTriggerDeprecations;
    $this->displayDetailsOnPhpunitDeprecations = $displayDetailsOnPhpunitDeprecations;
    $this->displayDetailsOnTestsThatTriggerErrors = $displayDetailsOnTestsThatTriggerErrors;
    $this->displayDetailsOnTestsThatTriggerNotices = $displayDetailsOnTestsThatTriggerNotices;
    $this->displayDetailsOnTestsThatTriggerWarnings = $displayDetailsOnTestsThatTriggerWarnings;
    $this->reverseDefectList = $reverseDefectList;
    $this->requireCoverageMetadata = $requireCoverageMetadata;
    $this->bootstrap = $bootstrap;
    $this->processIsolation = $processIsolation;
    $this->failOnDeprecation = $failOnDeprecation;
    $this->failOnPhpunitDeprecation = $failOnPhpunitDeprecation;
    $this->failOnEmptyTestSuite = $failOnEmptyTestSuite;
    $this->failOnIncomplete = $failOnIncomplete;
    $this->failOnNotice = $failOnNotice;
    $this->failOnRisky = $failOnRisky;
    $this->failOnSkipped = $failOnSkipped;
    $this->failOnWarning = $failOnWarning;
    $this->stopOnDefect = $stopOnDefect;
    $this->stopOnDeprecation = $stopOnDeprecation;
    $this->stopOnError = $stopOnError;
    $this->stopOnFailure = $stopOnFailure;
    $this->stopOnIncomplete = $stopOnIncomplete;
    $this->stopOnNotice = $stopOnNotice;
    $this->stopOnRisky = $stopOnRisky;
    $this->stopOnSkipped = $stopOnSkipped;
    $this->stopOnWarning = $stopOnWarning;
    $this->extensionsDirectory = $extensionsDirectory;
    $this->beStrictAboutChangesToGlobalState = $beStrictAboutChangesToGlobalState;
    $this->beStrictAboutOutputDuringTests = $beStrictAboutOutputDuringTests;
    $this->beStrictAboutTestsThatDoNotTestAnything = $beStrictAboutTestsThatDoNotTestAnything;
    $this->beStrictAboutCoverageMetadata = $beStrictAboutCoverageMetadata;
    $this->enforceTimeLimit = $enforceTimeLimit;
    $this->defaultTimeLimit = $defaultTimeLimit;
    $this->timeoutForSmallTests = $timeoutForSmallTests;
    $this->timeoutForMediumTests = $timeoutForMediumTests;
    $this->timeoutForLargeTests = $timeoutForLargeTests;
    $this->defaultTestSuite = $defaultTestSuite;
    $this->executionOrder = $executionOrder;
    $this->resolveDependencies = $resolveDependencies;
    $this->defectsFirst = $defectsFirst;
    $this->backupGlobals = $backupGlobals;
    $this->backupStaticProperties = $backupStaticProperties;
    $this->registerMockObjectsFromTestArgumentsRecursively = $registerMockObjectsFromTestArgumentsRecursively;
    $this->testdoxPrinter = $testdoxPrinter;
    $this->controlGarbageCollector = $controlGarbageCollector;
    $this->numberOfTestsBeforeGarbageCollection = $numberOfTestsBeforeGarbageCollection;
}

API Navigation

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