class FileDoesNotHaveLineException
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Runner\Baseline\FileDoesNotHaveLineException extends \RuntimeException implements \PHPUnit\Runner\Exception
Expanded class hierarchy of FileDoesNotHaveLineException
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ Baseline/ Exception/ FileDoesNotHaveLineException.php, line 21
Namespace
PHPUnit\Runner\BaselineView source
final class FileDoesNotHaveLineException extends RuntimeException implements Exception {
public function __construct(string $file, int $line) {
parent::__construct(sprintf('File "%s" does not have line %d', $file, $line));
}
}