function Generator::__construct
Same name in this branch
- 11.1.x vendor/squizlabs/php_codesniffer/src/Generators/Generator.php \PHP_CodeSniffer\Generators\Generator::__construct()
Throws
UnknownSubscriberTypeException
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ Baseline/ Generator.php, line 39
Class
- Generator
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Runner\BaselineCode
public function __construct(Facade $facade, Source $source) {
$facade->registerSubscribers(new TestTriggeredDeprecationSubscriber($this), new TestTriggeredNoticeSubscriber($this), new TestTriggeredPhpDeprecationSubscriber($this), new TestTriggeredPhpNoticeSubscriber($this), new TestTriggeredPhpWarningSubscriber($this), new TestTriggeredWarningSubscriber($this));
$this->baseline = new Baseline();
$this->source = $source;
}