function Plugin::init
Prepares the plugin so it's main functionality can be run.
Throws
\RuntimeException
1 call to Plugin::init()
- Plugin::activate in vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php
File
-
vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php, line 149
Class
- Plugin
- PHP_CodeSniffer standard installation manager.
Namespace
PHPCSStandards\Composer\Plugin\Installers\PHPCodeSnifferCode
private function init() {
$this->cwd = getcwd();
$this->installedPaths = array();
$this->processExecutor = new ProcessExecutor($this->io);
$this->filesystem = new Filesystem($this->processExecutor);
}