You are here

protected function DeprecationAnalyser::populateAutoLoader in Upgrade Status 8

Populate the class loader for PHPStan.

1 call to DeprecationAnalyser::populateAutoLoader()
DeprecationAnalyser::__construct in src/DeprecationAnalyser.php
Constructs a \Drupal\upgrade_status\DeprecationAnalyser.

File

src/DeprecationAnalyser.php, line 148

Class

DeprecationAnalyser

Namespace

Drupal\upgrade_status

Code

protected function populateAutoLoader() {
  require_once DRUPAL_ROOT . '/core/tests/bootstrap.php';
  drupal_phpunit_populate_class_loader();
}