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

Breadcrumb

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

function PhptAssertionFailedError::__construct

Overrides Exception::__construct

File

vendor/phpunit/phpunit/src/Framework/Exception/PhptAssertionFailedError.php, line 26

Class

PhptAssertionFailedError
@psalm-immutable

Namespace

PHPUnit\Framework

Code

public function __construct(string $message, int $code, string $file, int $line, array $trace, string $diff) {
    parent::__construct($message, $code);
    $this->syntheticFile = $file;
    $this->syntheticLine = $line;
    $this->syntheticTrace = $trace;
    $this->diff = $diff;
}
RSS feed
Powered by Drupal