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

Breadcrumb

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

function FileDoesNotHaveLineException::__construct

File

vendor/phpunit/phpunit/src/Runner/Baseline/Exception/FileDoesNotHaveLineException.php, line 23

Class

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

Namespace

PHPUnit\Runner\Baseline

Code

public function __construct(string $file, int $line) {
    parent::__construct(sprintf('File "%s" does not have line %d', $file, $line));
}

API Navigation

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