function Plugin::getPHPCodeSnifferInstallPath
Returns the path to the PHP_CodeSniffer package installation location
Return value
string
5 calls to Plugin::getPHPCodeSnifferInstallPath()
- Plugin::cleanInstalledPaths in vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php - Iterate trough all known paths and check if they are still valid.
- Plugin::getPhpcsCommand in vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php - Get the command to call PHPCS.
- Plugin::loadInstalledPaths in vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php - Load all paths from PHP_CodeSniffer into an array.
- Plugin::saveInstalledPaths in vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php - Save all coding standard paths back into PHP_CodeSniffer
- Plugin::updateInstalledPaths in vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php - Check all installed packages (including the root package) against the installed paths from PHP_CodeSniffer and add the missing ones.
File
-
vendor/
dealerdirect/ phpcodesniffer-composer-installer/ src/ Plugin.php, line 555
Class
- Plugin
- PHP_CodeSniffer standard installation manager.
Namespace
PHPCSStandards\Composer\Plugin\Installers\PHPCodeSnifferCode
private function getPHPCodeSnifferInstallPath() {
return $this->composer
->getInstallationManager()
->getInstallPath($this->getPHPCodeSnifferPackage());
}